diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 868ad12..8ad7f05 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -33,6 +33,8 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Test with pytest - run: | - pytest + + # ? Currently no tests are available + #- name: Test with pytest + # run: | + # pytest \ No newline at end of file diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES deleted file mode 100644 index b5478a8..0000000 --- a/.openapi-generator/FILES +++ /dev/null @@ -1,1969 +0,0 @@ -.github/workflows/python.yml -.gitignore -.gitlab-ci.yml -.travis.yml -README.md -docs/ApiStatusGet200Response.md -docs/ApiV1AccessApprovalsPoliciesGet200Response.md -docs/ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.md -docs/ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.md -docs/ApiV1AccessApprovalsPoliciesPostRequest.md -docs/ApiV1AccessApprovalsRequestsCountGet200Response.md -docs/ApiV1AccessApprovalsRequestsGet200Response.md -docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.md -docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.md -docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.md -docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.md -docs/ApiV1AccessApprovalsRequestsPost200Response.md -docs/ApiV1AccessApprovalsRequestsPost200ResponseApproval.md -docs/ApiV1AccessApprovalsRequestsPostRequest.md -docs/ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.md -docs/ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.md -docs/ApiV1AdditionalPrivilegeIdentityDeleteRequest.md -docs/ApiV1AdditionalPrivilegeIdentityGet200Response.md -docs/ApiV1AdditionalPrivilegeIdentityPatchRequest.md -docs/ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.md -docs/ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.md -docs/ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.md -docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.md -docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.md -docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.md -docs/ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.md -docs/ApiV1AdditionalPrivilegeUsersGet200Response.md -docs/ApiV1AdditionalPrivilegeUsersPermanentPost200Response.md -docs/ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.md -docs/ApiV1AdditionalPrivilegeUsersPermanentPostRequest.md -docs/ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.md -docs/ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.md -docs/ApiV1AdminConfigGet200Response.md -docs/ApiV1AdminConfigGet200ResponseConfig.md -docs/ApiV1AdminConfigPatch200Response.md -docs/ApiV1AdminConfigPatch200ResponseConfig.md -docs/ApiV1AdminConfigPatchRequest.md -docs/ApiV1AdminSignupPost200Response.md -docs/ApiV1AdminSignupPostRequest.md -docs/ApiV1AdminUserManagementUsersGet200Response.md -docs/ApiV1AdminUserManagementUsersGet200ResponseUsersInner.md -docs/ApiV1AdminUserManagementUsersUserIdDelete200Response.md -docs/ApiV1AuditLogStreamsGet200Response.md -docs/ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.md -docs/ApiV1AuditLogStreamsIdGet200Response.md -docs/ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.md -docs/ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.md -docs/ApiV1AuditLogStreamsIdPatchRequest.md -docs/ApiV1AuditLogStreamsPost200Response.md -docs/ApiV1AuditLogStreamsPostRequest.md -docs/ApiV1AuditLogStreamsPostRequestHeadersInner.md -docs/ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.md -docs/ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.md -docs/ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.md -docs/ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.md -docs/ApiV1AuthAwsAuthLoginPostRequest.md -docs/ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.md -docs/ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.md -docs/ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.md -docs/ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.md -docs/ApiV1AuthCheckAuthPost200Response.md -docs/ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.md -docs/ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.md -docs/ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.md -docs/ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.md -docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.md -docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.md -docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.md -docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.md -docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.md -docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.md -docs/ApiV1AuthKubernetesAuthLoginPostRequest.md -docs/ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.md -docs/ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.md -docs/ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.md -docs/ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.md -docs/ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.md -docs/ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.md -docs/ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.md -docs/ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.md -docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.md -docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.md -docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md -docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.md -docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.md -docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md -docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.md -docs/ApiV1AuthTokenAuthTokensTokenIdPatch200Response.md -docs/ApiV1AuthTokenAuthTokensTokenIdPatchRequest.md -docs/ApiV1AuthTokenPost200Response.md -docs/ApiV1AuthTokenRenewPostRequest.md -docs/ApiV1AuthTokenRevokePostRequest.md -docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.md -docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.md -docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.md -docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.md -docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.md -docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.md -docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.md -docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.md -docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.md -docs/ApiV1AuthUniversalAuthLoginPostRequest.md -docs/ApiV1BotBotIdActivePatchRequest.md -docs/ApiV1BotBotIdActivePatchRequestBotKey.md -docs/ApiV1BotProjectIdGet200Response.md -docs/ApiV1BotProjectIdGet200ResponseBot.md -docs/ApiV1DynamicSecretsGet200Response.md -docs/ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.md -docs/ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.md -docs/ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.md -docs/ApiV1DynamicSecretsLeasesLeaseIdGet200Response.md -docs/ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.md -docs/ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.md -docs/ApiV1DynamicSecretsLeasesPost200Response.md -docs/ApiV1DynamicSecretsLeasesPostRequest.md -docs/ApiV1DynamicSecretsNameDeleteRequest.md -docs/ApiV1DynamicSecretsNameGet200Response.md -docs/ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.md -docs/ApiV1DynamicSecretsNameLeasesGet200Response.md -docs/ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.md -docs/ApiV1DynamicSecretsNamePatchRequest.md -docs/ApiV1DynamicSecretsNamePatchRequestData.md -docs/ApiV1DynamicSecretsPost200Response.md -docs/ApiV1DynamicSecretsPostRequest.md -docs/ApiV1DynamicSecretsPostRequestProvider.md -docs/ApiV1DynamicSecretsPostRequestProviderAnyOf.md -docs/ApiV1DynamicSecretsPostRequestProviderAnyOf1.md -docs/ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.md -docs/ApiV1DynamicSecretsPostRequestProviderAnyOf2.md -docs/ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.md -docs/ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.md -docs/ApiV1ExternalKmsGet200Response.md -docs/ApiV1ExternalKmsGet200ResponseExternalKmsListInner.md -docs/ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.md -docs/ApiV1ExternalKmsIdGet200Response.md -docs/ApiV1ExternalKmsIdGet200ResponseExternalKms.md -docs/ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.md -docs/ApiV1ExternalKmsIdPatchRequest.md -docs/ApiV1ExternalKmsIdPatchRequestProvider.md -docs/ApiV1ExternalKmsIdPatchRequestProviderInputs.md -docs/ApiV1ExternalKmsPost200Response.md -docs/ApiV1ExternalKmsPost200ResponseExternalKms.md -docs/ApiV1ExternalKmsPost200ResponseExternalKmsExternal.md -docs/ApiV1ExternalKmsPostRequest.md -docs/ApiV1ExternalKmsPostRequestProvider.md -docs/ApiV1ExternalKmsPostRequestProviderInputs.md -docs/ApiV1ExternalKmsPostRequestProviderInputsCredential.md -docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.md -docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.md -docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.md -docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.md -docs/ApiV1FoldersBatchPatchRequest.md -docs/ApiV1FoldersBatchPatchRequestFoldersInner.md -docs/ApiV1FoldersFolderIdOrNameDeleteRequest.md -docs/ApiV1FoldersFolderIdPatchRequest.md -docs/ApiV1FoldersGet200Response.md -docs/ApiV1FoldersGet200ResponseFoldersInner.md -docs/ApiV1FoldersPost200Response.md -docs/ApiV1FoldersPostRequest.md -docs/ApiV1GroupsCurrentSlugPatchRequest.md -docs/ApiV1GroupsPost200Response.md -docs/ApiV1GroupsPostRequest.md -docs/ApiV1GroupsSlugUsersGet200Response.md -docs/ApiV1GroupsSlugUsersGet200ResponseUsersInner.md -docs/ApiV1GroupsSlugUsersUsernamePost200Response.md -docs/ApiV1IdentitiesGet200Response.md -docs/ApiV1IdentitiesGet200ResponseIdentitiesInner.md -docs/ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.md -docs/ApiV1IdentitiesIdentityIdGet200Response.md -docs/ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.md -docs/ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.md -docs/ApiV1IdentitiesIdentityIdPatchRequest.md -docs/ApiV1IdentitiesPost200Response.md -docs/ApiV1IdentitiesPost200ResponseIdentity.md -docs/ApiV1IdentitiesPostRequest.md -docs/ApiV1IntegrationAuthAccessTokenPostRequest.md -docs/ApiV1IntegrationAuthDelete200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.md -docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.md -docs/ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.md -docs/ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.md -docs/ApiV1IntegrationAuthIntegrationOptionsGet200Response.md -docs/ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.md -docs/ApiV1IntegrationAuthOauthTokenPostRequest.md -docs/ApiV1IntegrationIntegrationIdPatchRequest.md -docs/ApiV1IntegrationIntegrationIdPatchRequestMetadata.md -docs/ApiV1IntegrationPost200Response.md -docs/ApiV1IntegrationPost200ResponseIntegration.md -docs/ApiV1IntegrationPostRequest.md -docs/ApiV1IntegrationPostRequestMetadata.md -docs/ApiV1IntegrationPostRequestMetadataSecretGCPLabel.md -docs/ApiV1InviteOrgSignupPost200Response.md -docs/ApiV1InviteOrgSignupPostRequest.md -docs/ApiV1InviteOrgVerifyPost200Response.md -docs/ApiV1InviteOrgVerifyPostRequest.md -docs/ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.md -docs/ApiV1LdapConfigConfigIdGroupMapsPost200Response.md -docs/ApiV1LdapConfigConfigIdGroupMapsPostRequest.md -docs/ApiV1LdapConfigGet200Response.md -docs/ApiV1LdapConfigPatchRequest.md -docs/ApiV1LdapConfigPost200Response.md -docs/ApiV1LdapConfigPostRequest.md -docs/ApiV1LdapLoginPostRequest.md -docs/ApiV1OrganizationAdminProjectsGet200Response.md -docs/ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md -docs/ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.md -docs/ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.md -docs/ApiV1OrganizationGet200Response.md -docs/ApiV1OrganizationGet200ResponseOrganizationsInner.md -docs/ApiV1OrganizationOrganizationIdGet200Response.md -docs/ApiV1OrganizationOrganizationIdGroupsGet200Response.md -docs/ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.md -docs/ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.md -docs/ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.md -docs/ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.md -docs/ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.md -docs/ApiV1OrganizationOrganizationIdPatch200Response.md -docs/ApiV1OrganizationOrganizationIdPatchRequest.md -docs/ApiV1OrganizationOrganizationIdPermissionsGet200Response.md -docs/ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.md -docs/ApiV1OrganizationOrganizationIdRolesGet200Response.md -docs/ApiV1OrganizationOrganizationIdRolesGet200ResponseData.md -docs/ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.md -docs/ApiV1OrganizationOrganizationIdRolesPost200Response.md -docs/ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.md -docs/ApiV1OrganizationOrganizationIdRolesPostRequest.md -docs/ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.md -docs/ApiV1OrganizationOrganizationIdUsersGet200Response.md -docs/ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.md -docs/ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.md -docs/ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.md -docs/ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.md -docs/ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.md -docs/ApiV1OrganizationsOrganizationIdPlanGet200Response.md -docs/ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.md -docs/ApiV1PasswordBackupPrivateKeyGet200Response.md -docs/ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.md -docs/ApiV1PasswordBackupPrivateKeyPostRequest.md -docs/ApiV1PasswordChangePasswordPostRequest.md -docs/ApiV1PasswordEmailPasswordResetPostRequest.md -docs/ApiV1PasswordEmailPasswordResetVerifyPost200Response.md -docs/ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md -docs/ApiV1PasswordEmailPasswordResetVerifyPostRequest.md -docs/ApiV1PasswordPasswordResetPostRequest.md -docs/ApiV1PasswordSrp1Post200Response.md -docs/ApiV1PasswordSrp1PostRequest.md -docs/ApiV1PkiCaCaIdCertificateGet200Response.md -docs/ApiV1PkiCaCaIdCrlGet200Response.md -docs/ApiV1PkiCaCaIdCsrGet200Response.md -docs/ApiV1PkiCaCaIdImportCertificatePost200Response.md -docs/ApiV1PkiCaCaIdImportCertificatePostRequest.md -docs/ApiV1PkiCaCaIdIssueCertificatePost200Response.md -docs/ApiV1PkiCaCaIdIssueCertificatePostRequest.md -docs/ApiV1PkiCaCaIdPatchRequest.md -docs/ApiV1PkiCaCaIdSignCertificatePost200Response.md -docs/ApiV1PkiCaCaIdSignCertificatePostRequest.md -docs/ApiV1PkiCaCaIdSignIntermediatePost200Response.md -docs/ApiV1PkiCaCaIdSignIntermediatePostRequest.md -docs/ApiV1PkiCaPost200Response.md -docs/ApiV1PkiCaPost200ResponseCa.md -docs/ApiV1PkiCaPostRequest.md -docs/ApiV1PkiCertificatesSerialNumberCertificateGet200Response.md -docs/ApiV1PkiCertificatesSerialNumberGet200Response.md -docs/ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.md -docs/ApiV1PkiCertificatesSerialNumberRevokePost200Response.md -docs/ApiV1PkiCertificatesSerialNumberRevokePostRequest.md -docs/ApiV1RateLimitGet200Response.md -docs/ApiV1RateLimitGet200ResponseRateLimit.md -docs/ApiV1RateLimitPutRequest.md -docs/ApiV1ScimGroupsGet200Response.md -docs/ApiV1ScimGroupsGet200ResponseResourcesInner.md -docs/ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.md -docs/ApiV1ScimGroupsGroupIdPatchRequest.md -docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.md -docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.md -docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.md -docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.md -docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.md -docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.md -docs/ApiV1ScimGroupsGroupIdPutRequest.md -docs/ApiV1ScimGroupsPost200Response.md -docs/ApiV1ScimGroupsPostRequest.md -docs/ApiV1ScimScimTokensGet200Response.md -docs/ApiV1ScimScimTokensGet200ResponseScimTokensInner.md -docs/ApiV1ScimScimTokensPost200Response.md -docs/ApiV1ScimScimTokensPostRequest.md -docs/ApiV1ScimScimTokensScimTokenIdDelete200Response.md -docs/ApiV1ScimUsersGet200Response.md -docs/ApiV1ScimUsersGet200ResponseResourcesInner.md -docs/ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.md -docs/ApiV1ScimUsersGet200ResponseResourcesInnerName.md -docs/ApiV1ScimUsersOrgMembershipIdGet201Response.md -docs/ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md -docs/ApiV1ScimUsersOrgMembershipIdPut200Response.md -docs/ApiV1ScimUsersOrgMembershipIdPutRequest.md -docs/ApiV1ScimUsersPost200Response.md -docs/ApiV1ScimUsersPostRequest.md -docs/ApiV1ScimUsersPostRequestEmailsInner.md -docs/ApiV1SecretApprovalRequestsCountGet200Response.md -docs/ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.md -docs/ApiV1SecretApprovalRequestsGet200Response.md -docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.md -docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.md -docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.md -docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.md -docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.md -docs/ApiV1SecretApprovalRequestsIdGet200Response.md -docs/ApiV1SecretApprovalRequestsIdGet200ResponseApproval.md -docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.md -docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.md -docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.md -docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.md -docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.md -docs/ApiV1SecretApprovalRequestsIdMergePost200Response.md -docs/ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md -docs/ApiV1SecretApprovalRequestsIdMergePostRequest.md -docs/ApiV1SecretApprovalRequestsIdReviewPost200Response.md -docs/ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.md -docs/ApiV1SecretApprovalRequestsIdReviewPostRequest.md -docs/ApiV1SecretApprovalRequestsIdStatusPostRequest.md -docs/ApiV1SecretApprovalsBoardGet200Response.md -docs/ApiV1SecretApprovalsGet200Response.md -docs/ApiV1SecretApprovalsGet200ResponseApprovalsInner.md -docs/ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md -docs/ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.md -docs/ApiV1SecretApprovalsPost200Response.md -docs/ApiV1SecretApprovalsPost200ResponseApproval.md -docs/ApiV1SecretApprovalsPostRequest.md -docs/ApiV1SecretApprovalsSapIdPatchRequest.md -docs/ApiV1SecretImportsGet200Response.md -docs/ApiV1SecretImportsGet200ResponseSecretImportsInner.md -docs/ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.md -docs/ApiV1SecretImportsPost200Response.md -docs/ApiV1SecretImportsPostRequest.md -docs/ApiV1SecretImportsPostRequestImport.md -docs/ApiV1SecretImportsSecretImportIdDeleteRequest.md -docs/ApiV1SecretImportsSecretImportIdPatchRequest.md -docs/ApiV1SecretImportsSecretImportIdPatchRequestImport.md -docs/ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.md -docs/ApiV1SecretImportsSecretsGet200Response.md -docs/ApiV1SecretImportsSecretsGet200ResponseSecretsInner.md -docs/ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.md -docs/ApiV1SecretImportsSecretsRawGet200Response.md -docs/ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.md -docs/ApiV1SecretRotationProvidersWorkspaceIdGet200Response.md -docs/ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.md -docs/ApiV1SecretRotationsGet200Response.md -docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInner.md -docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.md -docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.md -docs/ApiV1SecretRotationsPost200Response.md -docs/ApiV1SecretRotationsPost200ResponseSecretRotation.md -docs/ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.md -docs/ApiV1SecretRotationsPostRequest.md -docs/ApiV1SecretRotationsRestartPost200Response.md -docs/ApiV1SecretRotationsRestartPost200ResponseSecretRotation.md -docs/ApiV1SecretRotationsRestartPostRequest.md -docs/ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.md -docs/ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.md -docs/ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.md -docs/ApiV1SecretScanningLinkInstallationPost200Response.md -docs/ApiV1SecretScanningLinkInstallationPostRequest.md -docs/ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.md -docs/ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.md -docs/ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.md -docs/ApiV1SecretSecretIdSecretVersionsGet200Response.md -docs/ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md -docs/ApiV1SecretSharingGet200Response.md -docs/ApiV1SecretSharingGet200ResponseSecretsInner.md -docs/ApiV1SecretSharingPost200Response.md -docs/ApiV1SecretSharingPostRequest.md -docs/ApiV1SecretSharingPublicIdGet200Response.md -docs/ApiV1SecretSharingPublicPostRequest.md -docs/ApiV1SecretSnapshotSecretSnapshotIdGet200Response.md -docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.md -docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.md -docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.md -docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.md -docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.md -docs/ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.md -docs/ApiV1SsoConfigGet200Response.md -docs/ApiV1SsoConfigPatchRequest.md -docs/ApiV1SsoConfigPost200Response.md -docs/ApiV1SsoConfigPostRequest.md -docs/ApiV1SsoOidcConfigGet200Response.md -docs/ApiV1SsoOidcConfigPatch200Response.md -docs/ApiV1SsoOidcConfigPatchRequest.md -docs/ApiV1SsoOidcConfigPost200Response.md -docs/ApiV1SsoOidcConfigPostRequest.md -docs/ApiV1SsoTokenExchangePostRequest.md -docs/ApiV1UserActionGet200Response.md -docs/ApiV1UserActionGet200ResponseUserAction.md -docs/ApiV1UserActionPost200Response.md -docs/ApiV1UserActionPost200ResponseUserAction.md -docs/ApiV1UserActionPostRequest.md -docs/ApiV1UserEngagementMeWishPostRequest.md -docs/ApiV1UserGet200Response.md -docs/ApiV1UserGet200ResponseUser.md -docs/ApiV1UserMeProjectFavoritesGet200Response.md -docs/ApiV1UserMeProjectFavoritesPutRequest.md -docs/ApiV1UserPrivateKeyGet200Response.md -docs/ApiV1WebhooksGet200Response.md -docs/ApiV1WebhooksGet200ResponseWebhooksInner.md -docs/ApiV1WebhooksPost200Response.md -docs/ApiV1WebhooksPost200ResponseWebhook.md -docs/ApiV1WebhooksPostRequest.md -docs/ApiV1WebhooksWebhookIdPatchRequest.md -docs/ApiV1WorkspaceGet200Response.md -docs/ApiV1WorkspaceGet200ResponseWorkspacesInner.md -docs/ApiV1WorkspaceProjectIdPermissionsGet200Response.md -docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.md -docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.md -docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.md -docs/ApiV1WorkspaceProjectIdTagsGet200Response.md -docs/ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.md -docs/ApiV1WorkspaceProjectIdTagsPost200Response.md -docs/ApiV1WorkspaceProjectIdTagsPostRequest.md -docs/ApiV1WorkspaceProjectIdTagsTagIdGet200Response.md -docs/ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.md -docs/ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.md -docs/ApiV1WorkspaceProjectSlugRolesGet200Response.md -docs/ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.md -docs/ApiV1WorkspaceProjectSlugRolesPost200Response.md -docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.md -docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.md -docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.md -docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.md -docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.md -docs/ApiV1WorkspaceProjectSlugRolesPostRequest.md -docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.md -docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.md -docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.md -docs/ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.md -docs/ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.md -docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.md -docs/ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.md -docs/ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.md -docs/ApiV1WorkspaceWorkspaceIdDelete200Response.md -docs/ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.md -docs/ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.md -docs/ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.md -docs/ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.md -docs/ApiV1WorkspaceWorkspaceIdGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.md -docs/ApiV1WorkspaceWorkspaceIdKeyPostRequest.md -docs/ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.md -docs/ApiV1WorkspaceWorkspaceIdKeysGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.md -docs/ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.md -docs/ApiV1WorkspaceWorkspaceIdKmsGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.md -docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequest.md -docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.md -docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.md -docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.md -docs/ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.md -docs/ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md -docs/ApiV1WorkspaceWorkspaceIdNamePost200Response.md -docs/ApiV1WorkspaceWorkspaceIdNamePostRequest.md -docs/ApiV1WorkspaceWorkspaceIdPatch200Response.md -docs/ApiV1WorkspaceWorkspaceIdPatchRequest.md -docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.md -docs/ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.md -docs/ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.md -docs/ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.md -docs/ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.md -docs/ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.md -docs/ApiV1WorkspaceWorkspaceIdUsersGet200Response.md -docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.md -docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.md -docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.md -docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.md -docs/ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.md -docs/ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.md -docs/ApiV2AuthMfaVerifyPost200Response.md -docs/ApiV2AuthMfaVerifyPostRequest.md -docs/ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.md -docs/ApiV2OrganizationsOrganizationIdMembershipsGet200Response.md -docs/ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.md -docs/ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.md -docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.md -docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.md -docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.md -docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.md -docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.md -docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.md -docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.md -docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.md -docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.md -docs/ApiV2ServiceTokenGet200Response.md -docs/ApiV2ServiceTokenGet200ResponseUser.md -docs/ApiV2ServiceTokenPost200Response.md -docs/ApiV2ServiceTokenPostRequest.md -docs/ApiV2ServiceTokenPostRequestScopesInner.md -docs/ApiV2ServiceTokenServiceTokenIdDelete200Response.md -docs/ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.md -docs/ApiV2UsersMeApiKeysGet200ResponseInner.md -docs/ApiV2UsersMeApiKeysPost200Response.md -docs/ApiV2UsersMeApiKeysPostRequest.md -docs/ApiV2UsersMeAuthMethodsPutRequest.md -docs/ApiV2UsersMeEmailsCodePostRequest.md -docs/ApiV2UsersMeEmailsVerifyPostRequest.md -docs/ApiV2UsersMeMfaPatch200Response.md -docs/ApiV2UsersMeMfaPatchRequest.md -docs/ApiV2UsersMeNamePatchRequest.md -docs/ApiV2UsersMeSessionsGet200ResponseInner.md -docs/ApiV2WorkspacePost200Response.md -docs/ApiV2WorkspacePostRequest.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.md -docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.md -docs/ApiV2WorkspaceProjectIdMembershipsDeleteRequest.md -docs/ApiV2WorkspaceProjectIdMembershipsPost200Response.md -docs/ApiV2WorkspaceProjectIdMembershipsPostRequest.md -docs/ApiV2WorkspaceProjectIdUpgradePostRequest.md -docs/ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.md -docs/ApiV2WorkspaceProjectSlugGroupsGet200Response.md -docs/ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.md -docs/ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.md -docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.md -docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.md -docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.md -docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.md -docs/ApiV2WorkspaceSlugCasGet200Response.md -docs/ApiV2WorkspaceSlugCertificatesGet200Response.md -docs/ApiV2WorkspaceSlugPatchRequest.md -docs/ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.md -docs/ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.md -docs/ApiV3AuthLogin1PostRequest.md -docs/ApiV3AuthLogin2Post200Response.md -docs/ApiV3AuthLogin2Post200ResponseAnyOf.md -docs/ApiV3AuthLogin2Post200ResponseAnyOf1.md -docs/ApiV3AuthLogin2PostRequest.md -docs/ApiV3SecretsBackfillSecretReferencesPostRequest.md -docs/ApiV3SecretsBatchDeleteRequest.md -docs/ApiV3SecretsBatchDeleteRequestSecretsInner.md -docs/ApiV3SecretsBatchPatchRequest.md -docs/ApiV3SecretsBatchPatchRequestSecretsInner.md -docs/ApiV3SecretsBatchPost200Response.md -docs/ApiV3SecretsBatchPost200ResponseAnyOf.md -docs/ApiV3SecretsBatchPostRequest.md -docs/ApiV3SecretsBatchPostRequestSecretsInner.md -docs/ApiV3SecretsBatchRawDeleteRequest.md -docs/ApiV3SecretsBatchRawDeleteRequestSecretsInner.md -docs/ApiV3SecretsBatchRawPatchRequest.md -docs/ApiV3SecretsBatchRawPatchRequestSecretsInner.md -docs/ApiV3SecretsBatchRawPost200Response.md -docs/ApiV3SecretsBatchRawPost200ResponseAnyOf.md -docs/ApiV3SecretsBatchRawPostRequest.md -docs/ApiV3SecretsBatchRawPostRequestSecretsInner.md -docs/ApiV3SecretsGet200Response.md -docs/ApiV3SecretsGet200ResponseImportsInner.md -docs/ApiV3SecretsGet200ResponseImportsInnerSecretsInner.md -docs/ApiV3SecretsGet200ResponseSecretsInner.md -docs/ApiV3SecretsMovePost200Response.md -docs/ApiV3SecretsMovePostRequest.md -docs/ApiV3SecretsRawGet200Response.md -docs/ApiV3SecretsRawGet200ResponseImportsInner.md -docs/ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.md -docs/ApiV3SecretsRawGet200ResponseSecretsInner.md -docs/ApiV3SecretsRawSecretNameDeleteRequest.md -docs/ApiV3SecretsRawSecretNameGet200Response.md -docs/ApiV3SecretsRawSecretNameGet200ResponseSecret.md -docs/ApiV3SecretsRawSecretNamePatchRequest.md -docs/ApiV3SecretsRawSecretNamePost200Response.md -docs/ApiV3SecretsRawSecretNamePost200ResponseAnyOf.md -docs/ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.md -docs/ApiV3SecretsRawSecretNamePostRequest.md -docs/ApiV3SecretsSecretNameDeleteRequest.md -docs/ApiV3SecretsSecretNameGet200Response.md -docs/ApiV3SecretsSecretNameGet200ResponseSecret.md -docs/ApiV3SecretsSecretNamePatchRequest.md -docs/ApiV3SecretsSecretNamePost200Response.md -docs/ApiV3SecretsSecretNamePost200ResponseAnyOf.md -docs/ApiV3SecretsSecretNamePostRequest.md -docs/ApiV3SecretsTagsSecretNameDeleteRequest.md -docs/ApiV3SecretsTagsSecretNamePost200Response.md -docs/ApiV3SecretsTagsSecretNamePost200ResponseSecret.md -docs/ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.md -docs/ApiV3SecretsTagsSecretNamePostRequest.md -docs/ApiV3SignupCompleteAccountSignupPost200Response.md -docs/ApiV3SignupCompleteAccountSignupPostRequest.md -docs/ApiV3SignupEmailVerifyPost200Response.md -docs/ApiV3UsersMeApiKeysGet200Response.md -docs/ApiV3WorkspacesProjectIdSecretsGet200Response.md -docs/ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.md -docs/ApiV3WorkspacesProjectIdSecretsNamesPostRequest.md -docs/ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.md -docs/DefaultApi.md -git_push.sh -infisicalapi_client/__init__.py -infisicalapi_client/api/__init__.py -infisicalapi_client/api/default_api.py -infisicalapi_client/api_client.py -infisicalapi_client/api_response.py -infisicalapi_client/configuration.py -infisicalapi_client/exceptions.py -infisicalapi_client/models/__init__.py -infisicalapi_client/models/api_status_get200_response.py -infisicalapi_client/models/api_v1_access_approvals_policies_get200_response.py -infisicalapi_client/models/api_v1_access_approvals_policies_get200_response_approvals_inner.py -infisicalapi_client/models/api_v1_access_approvals_policies_policy_id_patch_request.py -infisicalapi_client/models/api_v1_access_approvals_policies_post_request.py -infisicalapi_client/models/api_v1_access_approvals_requests_count_get200_response.py -infisicalapi_client/models/api_v1_access_approvals_requests_get200_response.py -infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner.py -infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_policy.py -infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_privilege.py -infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner.py -infisicalapi_client/models/api_v1_access_approvals_requests_post200_response.py -infisicalapi_client/models/api_v1_access_approvals_requests_post200_response_approval.py -infisicalapi_client/models/api_v1_access_approvals_requests_post_request.py -infisicalapi_client/models/api_v1_access_approvals_requests_request_id_review_post200_response.py -infisicalapi_client/models/api_v1_access_approvals_requests_request_id_review_post200_response_review.py -infisicalapi_client/models/api_v1_additional_privilege_identity_delete_request.py -infisicalapi_client/models/api_v1_additional_privilege_identity_get200_response.py -infisicalapi_client/models/api_v1_additional_privilege_identity_patch_request.py -infisicalapi_client/models/api_v1_additional_privilege_identity_patch_request_privilege_details.py -infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post200_response.py -infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post200_response_privilege.py -infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request.py -infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request_privilege_permission.py -infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions.py -infisicalapi_client/models/api_v1_additional_privilege_identity_temporary_post_request.py -infisicalapi_client/models/api_v1_additional_privilege_users_get200_response.py -infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post200_response.py -infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post200_response_privilege.py -infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post_request.py -infisicalapi_client/models/api_v1_additional_privilege_users_privilege_id_patch_request.py -infisicalapi_client/models/api_v1_additional_privilege_users_temporary_post_request.py -infisicalapi_client/models/api_v1_admin_config_get200_response.py -infisicalapi_client/models/api_v1_admin_config_get200_response_config.py -infisicalapi_client/models/api_v1_admin_config_patch200_response.py -infisicalapi_client/models/api_v1_admin_config_patch200_response_config.py -infisicalapi_client/models/api_v1_admin_config_patch_request.py -infisicalapi_client/models/api_v1_admin_signup_post200_response.py -infisicalapi_client/models/api_v1_admin_signup_post_request.py -infisicalapi_client/models/api_v1_admin_user_management_users_get200_response.py -infisicalapi_client/models/api_v1_admin_user_management_users_get200_response_users_inner.py -infisicalapi_client/models/api_v1_admin_user_management_users_user_id_delete200_response.py -infisicalapi_client/models/api_v1_audit_log_streams_get200_response.py -infisicalapi_client/models/api_v1_audit_log_streams_get200_response_audit_log_streams_inner.py -infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response.py -infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response_audit_log_stream.py -infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner.py -infisicalapi_client/models/api_v1_audit_log_streams_id_patch_request.py -infisicalapi_client/models/api_v1_audit_log_streams_post200_response.py -infisicalapi_client/models/api_v1_audit_log_streams_post_request.py -infisicalapi_client/models/api_v1_audit_log_streams_post_request_headers_inner.py -infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_get200_response.py -infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth.py -infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_patch_request.py -infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_post_request.py -infisicalapi_client/models/api_v1_auth_aws_auth_login_post_request.py -infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_get200_response.py -infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth.py -infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_patch_request.py -infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_post_request.py -infisicalapi_client/models/api_v1_auth_check_auth_post200_response.py -infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_get200_response.py -infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth.py -infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_patch_request.py -infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_post_request.py -infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response.py -infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth.py -infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_get200_response.py -infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth.py -infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_patch_request.py -infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_post_request.py -infisicalapi_client/models/api_v1_auth_kubernetes_auth_login_post_request.py -infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_delete200_response.py -infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth.py -infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_get200_response.py -infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth.py -infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_patch_request.py -infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_post_request.py -infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_get200_response.py -infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth.py -infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_patch_request.py -infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_post_request.py -infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner.py -infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_get200_response.py -infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner.py -infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_post200_response.py -infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_post_request.py -infisicalapi_client/models/api_v1_auth_token_auth_tokens_token_id_patch200_response.py -infisicalapi_client/models/api_v1_auth_token_auth_tokens_token_id_patch_request.py -infisicalapi_client/models/api_v1_auth_token_post200_response.py -infisicalapi_client/models/api_v1_auth_token_renew_post_request.py -infisicalapi_client/models/api_v1_auth_token_revoke_post_request.py -infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response.py -infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response.py -infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner.py -infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response.py -infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request.py -infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_get200_response.py -infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth.py -infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_patch_request.py -infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_post_request.py -infisicalapi_client/models/api_v1_auth_universal_auth_login_post_request.py -infisicalapi_client/models/api_v1_bot_bot_id_active_patch_request.py -infisicalapi_client/models/api_v1_bot_bot_id_active_patch_request_bot_key.py -infisicalapi_client/models/api_v1_bot_project_id_get200_response.py -infisicalapi_client/models/api_v1_bot_project_id_get200_response_bot.py -infisicalapi_client/models/api_v1_dynamic_secrets_get200_response.py -infisicalapi_client/models/api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner.py -infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_delete200_response.py -infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_delete_request.py -infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_get200_response.py -infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_get200_response_lease.py -infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_renew_post_request.py -infisicalapi_client/models/api_v1_dynamic_secrets_leases_post200_response.py -infisicalapi_client/models/api_v1_dynamic_secrets_leases_post_request.py -infisicalapi_client/models/api_v1_dynamic_secrets_name_delete_request.py -infisicalapi_client/models/api_v1_dynamic_secrets_name_get200_response.py -infisicalapi_client/models/api_v1_dynamic_secrets_name_get200_response_dynamic_secret.py -infisicalapi_client/models/api_v1_dynamic_secrets_name_leases_get200_response.py -infisicalapi_client/models/api_v1_dynamic_secrets_name_leases_get200_response_leases_inner.py -infisicalapi_client/models/api_v1_dynamic_secrets_name_patch_request.py -infisicalapi_client/models/api_v1_dynamic_secrets_name_patch_request_data.py -infisicalapi_client/models/api_v1_dynamic_secrets_post200_response.py -infisicalapi_client/models/api_v1_dynamic_secrets_post_request.py -infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider.py -infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of.py -infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of1.py -infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of1_inputs.py -infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of2.py -infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of2_inputs.py -infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of_inputs.py -infisicalapi_client/models/api_v1_external_kms_get200_response.py -infisicalapi_client/models/api_v1_external_kms_get200_response_external_kms_list_inner.py -infisicalapi_client/models/api_v1_external_kms_get200_response_external_kms_list_inner_external_kms.py -infisicalapi_client/models/api_v1_external_kms_id_get200_response.py -infisicalapi_client/models/api_v1_external_kms_id_get200_response_external_kms.py -infisicalapi_client/models/api_v1_external_kms_id_get200_response_external_kms_external.py -infisicalapi_client/models/api_v1_external_kms_id_patch_request.py -infisicalapi_client/models/api_v1_external_kms_id_patch_request_provider.py -infisicalapi_client/models/api_v1_external_kms_id_patch_request_provider_inputs.py -infisicalapi_client/models/api_v1_external_kms_post200_response.py -infisicalapi_client/models/api_v1_external_kms_post200_response_external_kms.py -infisicalapi_client/models/api_v1_external_kms_post200_response_external_kms_external.py -infisicalapi_client/models/api_v1_external_kms_post_request.py -infisicalapi_client/models/api_v1_external_kms_post_request_provider.py -infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs.py -infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential.py -infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of.py -infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of1.py -infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data.py -infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of_data.py -infisicalapi_client/models/api_v1_folders_batch_patch_request.py -infisicalapi_client/models/api_v1_folders_batch_patch_request_folders_inner.py -infisicalapi_client/models/api_v1_folders_folder_id_or_name_delete_request.py -infisicalapi_client/models/api_v1_folders_folder_id_patch_request.py -infisicalapi_client/models/api_v1_folders_get200_response.py -infisicalapi_client/models/api_v1_folders_get200_response_folders_inner.py -infisicalapi_client/models/api_v1_folders_post200_response.py -infisicalapi_client/models/api_v1_folders_post_request.py -infisicalapi_client/models/api_v1_groups_current_slug_patch_request.py -infisicalapi_client/models/api_v1_groups_post200_response.py -infisicalapi_client/models/api_v1_groups_post_request.py -infisicalapi_client/models/api_v1_groups_slug_users_get200_response.py -infisicalapi_client/models/api_v1_groups_slug_users_get200_response_users_inner.py -infisicalapi_client/models/api_v1_groups_slug_users_username_post200_response.py -infisicalapi_client/models/api_v1_identities_get200_response.py -infisicalapi_client/models/api_v1_identities_get200_response_identities_inner.py -infisicalapi_client/models/api_v1_identities_get200_response_identities_inner_identity.py -infisicalapi_client/models/api_v1_identities_identity_id_get200_response.py -infisicalapi_client/models/api_v1_identities_identity_id_identity_memberships_get200_response.py -infisicalapi_client/models/api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner.py -infisicalapi_client/models/api_v1_identities_identity_id_patch_request.py -infisicalapi_client/models/api_v1_identities_post200_response.py -infisicalapi_client/models/api_v1_identities_post200_response_identity.py -infisicalapi_client/models/api_v1_identities_post_request.py -infisicalapi_client/models/api_v1_integration_auth_access_token_post_request.py -infisicalapi_client/models/api_v1_integration_auth_delete200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_apps_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_envs_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_orgs_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_railway_services_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teams_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_options_get200_response.py -infisicalapi_client/models/api_v1_integration_auth_integration_options_get200_response_integration_options_inner.py -infisicalapi_client/models/api_v1_integration_auth_oauth_token_post_request.py -infisicalapi_client/models/api_v1_integration_integration_id_patch_request.py -infisicalapi_client/models/api_v1_integration_integration_id_patch_request_metadata.py -infisicalapi_client/models/api_v1_integration_post200_response.py -infisicalapi_client/models/api_v1_integration_post200_response_integration.py -infisicalapi_client/models/api_v1_integration_post_request.py -infisicalapi_client/models/api_v1_integration_post_request_metadata.py -infisicalapi_client/models/api_v1_integration_post_request_metadata_secret_gcp_label.py -infisicalapi_client/models/api_v1_invite_org_signup_post200_response.py -infisicalapi_client/models/api_v1_invite_org_signup_post_request.py -infisicalapi_client/models/api_v1_invite_org_verify_post200_response.py -infisicalapi_client/models/api_v1_invite_org_verify_post_request.py -infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_get200_response_inner.py -infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_post200_response.py -infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_post_request.py -infisicalapi_client/models/api_v1_ldap_config_get200_response.py -infisicalapi_client/models/api_v1_ldap_config_patch_request.py -infisicalapi_client/models/api_v1_ldap_config_post200_response.py -infisicalapi_client/models/api_v1_ldap_config_post_request.py -infisicalapi_client/models/api_v1_ldap_login_post_request.py -infisicalapi_client/models/api_v1_organization_admin_projects_get200_response.py -infisicalapi_client/models/api_v1_organization_admin_projects_get200_response_projects_inner.py -infisicalapi_client/models/api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response.py -infisicalapi_client/models/api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership.py -infisicalapi_client/models/api_v1_organization_get200_response.py -infisicalapi_client/models/api_v1_organization_get200_response_organizations_inner.py -infisicalapi_client/models/api_v1_organization_organization_id_get200_response.py -infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response.py -infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response_groups_inner.py -infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role.py -infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_get200_response.py -infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner.py -infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_post200_response.py -infisicalapi_client/models/api_v1_organization_organization_id_patch200_response.py -infisicalapi_client/models/api_v1_organization_organization_id_patch_request.py -infisicalapi_client/models/api_v1_organization_organization_id_permissions_get200_response.py -infisicalapi_client/models/api_v1_organization_organization_id_permissions_get200_response_membership.py -infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response.py -infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response_data.py -infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response_data_roles_inner.py -infisicalapi_client/models/api_v1_organization_organization_id_roles_post200_response.py -infisicalapi_client/models/api_v1_organization_organization_id_roles_post200_response_role.py -infisicalapi_client/models/api_v1_organization_organization_id_roles_post_request.py -infisicalapi_client/models/api_v1_organization_organization_id_roles_role_id_patch_request.py -infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response.py -infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response_users_inner.py -infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response_users_inner_user.py -infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_patch_request.py -infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_payment_methods_post_request.py -infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_tax_ids_post_request.py -infisicalapi_client/models/api_v1_organizations_organization_id_plan_get200_response.py -infisicalapi_client/models/api_v1_organizations_organization_id_session_trial_post_request.py -infisicalapi_client/models/api_v1_password_backup_private_key_get200_response.py -infisicalapi_client/models/api_v1_password_backup_private_key_get200_response_backup_private_key.py -infisicalapi_client/models/api_v1_password_backup_private_key_post_request.py -infisicalapi_client/models/api_v1_password_change_password_post_request.py -infisicalapi_client/models/api_v1_password_email_password_reset_post_request.py -infisicalapi_client/models/api_v1_password_email_password_reset_verify_post200_response.py -infisicalapi_client/models/api_v1_password_email_password_reset_verify_post200_response_user.py -infisicalapi_client/models/api_v1_password_email_password_reset_verify_post_request.py -infisicalapi_client/models/api_v1_password_password_reset_post_request.py -infisicalapi_client/models/api_v1_password_srp1_post200_response.py -infisicalapi_client/models/api_v1_password_srp1_post_request.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_certificate_get200_response.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_crl_get200_response.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_csr_get200_response.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_import_certificate_post200_response.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_import_certificate_post_request.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_issue_certificate_post200_response.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_issue_certificate_post_request.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_patch_request.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_certificate_post200_response.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_certificate_post_request.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_intermediate_post200_response.py -infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_intermediate_post_request.py -infisicalapi_client/models/api_v1_pki_ca_post200_response.py -infisicalapi_client/models/api_v1_pki_ca_post200_response_ca.py -infisicalapi_client/models/api_v1_pki_ca_post_request.py -infisicalapi_client/models/api_v1_pki_certificates_serial_number_certificate_get200_response.py -infisicalapi_client/models/api_v1_pki_certificates_serial_number_get200_response.py -infisicalapi_client/models/api_v1_pki_certificates_serial_number_get200_response_certificate.py -infisicalapi_client/models/api_v1_pki_certificates_serial_number_revoke_post200_response.py -infisicalapi_client/models/api_v1_pki_certificates_serial_number_revoke_post_request.py -infisicalapi_client/models/api_v1_rate_limit_get200_response.py -infisicalapi_client/models/api_v1_rate_limit_get200_response_rate_limit.py -infisicalapi_client/models/api_v1_rate_limit_put_request.py -infisicalapi_client/models/api_v1_scim_groups_get200_response.py -infisicalapi_client/models/api_v1_scim_groups_get200_response_resources_inner.py -infisicalapi_client/models/api_v1_scim_groups_get200_response_resources_inner_meta.py -infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request.py -infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner.py -infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of.py -infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1.py -infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2.py -infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner.py -infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value.py -infisicalapi_client/models/api_v1_scim_groups_group_id_put_request.py -infisicalapi_client/models/api_v1_scim_groups_post200_response.py -infisicalapi_client/models/api_v1_scim_groups_post_request.py -infisicalapi_client/models/api_v1_scim_scim_tokens_get200_response.py -infisicalapi_client/models/api_v1_scim_scim_tokens_get200_response_scim_tokens_inner.py -infisicalapi_client/models/api_v1_scim_scim_tokens_post200_response.py -infisicalapi_client/models/api_v1_scim_scim_tokens_post_request.py -infisicalapi_client/models/api_v1_scim_scim_tokens_scim_token_id_delete200_response.py -infisicalapi_client/models/api_v1_scim_users_get200_response.py -infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner.py -infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner_emails_inner.py -infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner_name.py -infisicalapi_client/models/api_v1_scim_users_org_membership_id_get201_response.py -infisicalapi_client/models/api_v1_scim_users_org_membership_id_get201_response_groups_inner.py -infisicalapi_client/models/api_v1_scim_users_org_membership_id_put200_response.py -infisicalapi_client/models/api_v1_scim_users_org_membership_id_put_request.py -infisicalapi_client/models/api_v1_scim_users_post200_response.py -infisicalapi_client/models/api_v1_scim_users_post_request.py -infisicalapi_client/models/api_v1_scim_users_post_request_emails_inner.py -infisicalapi_client/models/api_v1_secret_approval_requests_count_get200_response.py -infisicalapi_client/models/api_v1_secret_approval_requests_count_get200_response_approvals.py -infisicalapi_client/models/api_v1_secret_approval_requests_get200_response.py -infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner.py -infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner.py -infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user.py -infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_policy.py -infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_policy.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post200_response.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post200_response_approval.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post_request.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post200_response.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post200_response_review.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post_request.py -infisicalapi_client/models/api_v1_secret_approval_requests_id_status_post_request.py -infisicalapi_client/models/api_v1_secret_approvals_board_get200_response.py -infisicalapi_client/models/api_v1_secret_approvals_get200_response.py -infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner.py -infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner_environment.py -infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner.py -infisicalapi_client/models/api_v1_secret_approvals_post200_response.py -infisicalapi_client/models/api_v1_secret_approvals_post200_response_approval.py -infisicalapi_client/models/api_v1_secret_approvals_post_request.py -infisicalapi_client/models/api_v1_secret_approvals_sap_id_patch_request.py -infisicalapi_client/models/api_v1_secret_imports_get200_response.py -infisicalapi_client/models/api_v1_secret_imports_get200_response_secret_imports_inner.py -infisicalapi_client/models/api_v1_secret_imports_get200_response_secret_imports_inner_import_env.py -infisicalapi_client/models/api_v1_secret_imports_post200_response.py -infisicalapi_client/models/api_v1_secret_imports_post_request.py -infisicalapi_client/models/api_v1_secret_imports_post_request_import.py -infisicalapi_client/models/api_v1_secret_imports_secret_import_id_delete_request.py -infisicalapi_client/models/api_v1_secret_imports_secret_import_id_patch_request.py -infisicalapi_client/models/api_v1_secret_imports_secret_import_id_patch_request_import.py -infisicalapi_client/models/api_v1_secret_imports_secret_import_id_replication_resync_post_request.py -infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response.py -infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response_secrets_inner.py -infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner.py -infisicalapi_client/models/api_v1_secret_imports_secrets_raw_get200_response.py -infisicalapi_client/models/api_v1_secret_imports_secrets_raw_get200_response_secrets_inner.py -infisicalapi_client/models/api_v1_secret_rotation_providers_workspace_id_get200_response.py -infisicalapi_client/models/api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner.py -infisicalapi_client/models/api_v1_secret_rotations_get200_response.py -infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner.py -infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner.py -infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret.py -infisicalapi_client/models/api_v1_secret_rotations_post200_response.py -infisicalapi_client/models/api_v1_secret_rotations_post200_response_secret_rotation.py -infisicalapi_client/models/api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner.py -infisicalapi_client/models/api_v1_secret_rotations_post_request.py -infisicalapi_client/models/api_v1_secret_rotations_restart_post200_response.py -infisicalapi_client/models/api_v1_secret_rotations_restart_post200_response_secret_rotation.py -infisicalapi_client/models/api_v1_secret_rotations_restart_post_request.py -infisicalapi_client/models/api_v1_secret_scanning_create_installation_session_organization_post200_response.py -infisicalapi_client/models/api_v1_secret_scanning_create_installation_session_organization_post_request.py -infisicalapi_client/models/api_v1_secret_scanning_installation_status_organization_organization_id_get200_response.py -infisicalapi_client/models/api_v1_secret_scanning_link_installation_post200_response.py -infisicalapi_client/models/api_v1_secret_scanning_link_installation_post_request.py -infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_get200_response.py -infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner.py -infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request.py -infisicalapi_client/models/api_v1_secret_secret_id_secret_versions_get200_response.py -infisicalapi_client/models/api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner.py -infisicalapi_client/models/api_v1_secret_sharing_get200_response.py -infisicalapi_client/models/api_v1_secret_sharing_get200_response_secrets_inner.py -infisicalapi_client/models/api_v1_secret_sharing_post200_response.py -infisicalapi_client/models/api_v1_secret_sharing_post_request.py -infisicalapi_client/models/api_v1_secret_sharing_public_id_get200_response.py -infisicalapi_client/models/api_v1_secret_sharing_public_post_request.py -infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response.py -infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot.py -infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment.py -infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner.py -infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner.py -infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner.py -infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response.py -infisicalapi_client/models/api_v1_sso_config_get200_response.py -infisicalapi_client/models/api_v1_sso_config_patch_request.py -infisicalapi_client/models/api_v1_sso_config_post200_response.py -infisicalapi_client/models/api_v1_sso_config_post_request.py -infisicalapi_client/models/api_v1_sso_oidc_config_get200_response.py -infisicalapi_client/models/api_v1_sso_oidc_config_patch200_response.py -infisicalapi_client/models/api_v1_sso_oidc_config_patch_request.py -infisicalapi_client/models/api_v1_sso_oidc_config_post200_response.py -infisicalapi_client/models/api_v1_sso_oidc_config_post_request.py -infisicalapi_client/models/api_v1_sso_token_exchange_post_request.py -infisicalapi_client/models/api_v1_user_action_get200_response.py -infisicalapi_client/models/api_v1_user_action_get200_response_user_action.py -infisicalapi_client/models/api_v1_user_action_post200_response.py -infisicalapi_client/models/api_v1_user_action_post200_response_user_action.py -infisicalapi_client/models/api_v1_user_action_post_request.py -infisicalapi_client/models/api_v1_user_engagement_me_wish_post_request.py -infisicalapi_client/models/api_v1_user_get200_response.py -infisicalapi_client/models/api_v1_user_get200_response_user.py -infisicalapi_client/models/api_v1_user_me_project_favorites_get200_response.py -infisicalapi_client/models/api_v1_user_me_project_favorites_put_request.py -infisicalapi_client/models/api_v1_user_private_key_get200_response.py -infisicalapi_client/models/api_v1_webhooks_get200_response.py -infisicalapi_client/models/api_v1_webhooks_get200_response_webhooks_inner.py -infisicalapi_client/models/api_v1_webhooks_post200_response.py -infisicalapi_client/models/api_v1_webhooks_post200_response_webhook.py -infisicalapi_client/models/api_v1_webhooks_post_request.py -infisicalapi_client/models/api_v1_webhooks_webhook_id_patch_request.py -infisicalapi_client/models/api_v1_workspace_get200_response.py -infisicalapi_client/models/api_v1_workspace_get200_response_workspaces_inner.py -infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response.py -infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data.py -infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data_membership.py -infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner.py -infisicalapi_client/models/api_v1_workspace_project_id_tags_get200_response.py -infisicalapi_client/models/api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner.py -infisicalapi_client/models/api_v1_workspace_project_id_tags_post200_response.py -infisicalapi_client/models/api_v1_workspace_project_id_tags_post_request.py -infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_get200_response.py -infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag.py -infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_patch_request.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_get200_response.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_get200_response_roles_inner.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path.py -infisicalapi_client/models/api_v1_workspace_project_slug_roles_role_id_patch_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event.py -infisicalapi_client/models/api_v1_workspace_workspace_id_authorizations_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_auto_capitalization_post_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_delete200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_environments_env_id_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_environments_env_id_get200_response_environment.py -infisicalapi_client/models/api_v1_workspace_workspace_id_environments_id_patch_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_environments_post200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_environments_post_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_integrations_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_key_post_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_key_post_request_key.py -infisicalapi_client/models/api_v1_workspace_workspace_id_keys_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_kms_backup_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_kms_backup_post_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_kms_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key.py -infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms.py -infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms_any_of.py -infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_details_post200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_details_post_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post_request_members_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_migrate_v3_post200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_name_post200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_name_post_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_patch200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_patch_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_count_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_service_token_data_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_post200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_post_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request.py -infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response.py -infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_project.py -infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner.py -infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_user.py -infisicalapi_client/models/api_v1_workspace_workspace_slug_audit_logs_retention_put_request.py -infisicalapi_client/models/api_v1_workspace_workspace_slug_version_limit_put_request.py -infisicalapi_client/models/api_v2_auth_mfa_verify_post200_response.py -infisicalapi_client/models/api_v2_auth_mfa_verify_post_request.py -infisicalapi_client/models/api_v2_organizations_org_id_identity_memberships_get200_response.py -infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response.py -infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response_users_inner.py -infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response_users_inner_user.py -infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_delete200_response.py -infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response.py -infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership.py -infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user.py -infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_patch_request.py -infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response.py -infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response.py -infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner.py -infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner.py -infisicalapi_client/models/api_v2_service_token_get200_response.py -infisicalapi_client/models/api_v2_service_token_get200_response_user.py -infisicalapi_client/models/api_v2_service_token_post200_response.py -infisicalapi_client/models/api_v2_service_token_post_request.py -infisicalapi_client/models/api_v2_service_token_post_request_scopes_inner.py -infisicalapi_client/models/api_v2_service_token_service_token_id_delete200_response.py -infisicalapi_client/models/api_v2_users_me_api_keys_api_key_data_id_delete200_response.py -infisicalapi_client/models/api_v2_users_me_api_keys_get200_response_inner.py -infisicalapi_client/models/api_v2_users_me_api_keys_post200_response.py -infisicalapi_client/models/api_v2_users_me_api_keys_post_request.py -infisicalapi_client/models/api_v2_users_me_auth_methods_put_request.py -infisicalapi_client/models/api_v2_users_me_emails_code_post_request.py -infisicalapi_client/models/api_v2_users_me_emails_verify_post_request.py -infisicalapi_client/models/api_v2_users_me_mfa_patch200_response.py -infisicalapi_client/models/api_v2_users_me_mfa_patch_request.py -infisicalapi_client/models/api_v2_users_me_name_patch_request.py -infisicalapi_client/models/api_v2_users_me_sessions_get200_response_inner.py -infisicalapi_client/models/api_v2_workspace_post200_response.py -infisicalapi_client/models/api_v2_workspace_post_request.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_get200_response.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post200_response.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of.py -infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1.py -infisicalapi_client/models/api_v2_workspace_project_id_memberships_delete_request.py -infisicalapi_client/models/api_v2_workspace_project_id_memberships_post200_response.py -infisicalapi_client/models/api_v2_workspace_project_id_memberships_post_request.py -infisicalapi_client/models/api_v2_workspace_project_id_upgrade_post_request.py -infisicalapi_client/models/api_v2_workspace_project_id_upgrade_status_get200_response.py -infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response.py -infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner.py -infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group.py -infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_patch_request.py -infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post200_response.py -infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership.py -infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post_request.py -infisicalapi_client/models/api_v2_workspace_slug_cas_get200_response.py -infisicalapi_client/models/api_v2_workspace_slug_certificates_get200_response.py -infisicalapi_client/models/api_v2_workspace_slug_patch_request.py -infisicalapi_client/models/api_v2_workspace_workspace_id_encrypted_key_get200_response.py -infisicalapi_client/models/api_v2_workspace_workspace_id_encrypted_key_get200_response_sender.py -infisicalapi_client/models/api_v3_auth_login1_post_request.py -infisicalapi_client/models/api_v3_auth_login2_post200_response.py -infisicalapi_client/models/api_v3_auth_login2_post200_response_any_of.py -infisicalapi_client/models/api_v3_auth_login2_post200_response_any_of1.py -infisicalapi_client/models/api_v3_auth_login2_post_request.py -infisicalapi_client/models/api_v3_secrets_backfill_secret_references_post_request.py -infisicalapi_client/models/api_v3_secrets_batch_delete_request.py -infisicalapi_client/models/api_v3_secrets_batch_delete_request_secrets_inner.py -infisicalapi_client/models/api_v3_secrets_batch_patch_request.py -infisicalapi_client/models/api_v3_secrets_batch_patch_request_secrets_inner.py -infisicalapi_client/models/api_v3_secrets_batch_post200_response.py -infisicalapi_client/models/api_v3_secrets_batch_post200_response_any_of.py -infisicalapi_client/models/api_v3_secrets_batch_post_request.py -infisicalapi_client/models/api_v3_secrets_batch_post_request_secrets_inner.py -infisicalapi_client/models/api_v3_secrets_batch_raw_delete_request.py -infisicalapi_client/models/api_v3_secrets_batch_raw_delete_request_secrets_inner.py -infisicalapi_client/models/api_v3_secrets_batch_raw_patch_request.py -infisicalapi_client/models/api_v3_secrets_batch_raw_patch_request_secrets_inner.py -infisicalapi_client/models/api_v3_secrets_batch_raw_post200_response.py -infisicalapi_client/models/api_v3_secrets_batch_raw_post200_response_any_of.py -infisicalapi_client/models/api_v3_secrets_batch_raw_post_request.py -infisicalapi_client/models/api_v3_secrets_batch_raw_post_request_secrets_inner.py -infisicalapi_client/models/api_v3_secrets_get200_response.py -infisicalapi_client/models/api_v3_secrets_get200_response_imports_inner.py -infisicalapi_client/models/api_v3_secrets_get200_response_imports_inner_secrets_inner.py -infisicalapi_client/models/api_v3_secrets_get200_response_secrets_inner.py -infisicalapi_client/models/api_v3_secrets_move_post200_response.py -infisicalapi_client/models/api_v3_secrets_move_post_request.py -infisicalapi_client/models/api_v3_secrets_raw_get200_response.py -infisicalapi_client/models/api_v3_secrets_raw_get200_response_imports_inner.py -infisicalapi_client/models/api_v3_secrets_raw_get200_response_imports_inner_secrets_inner.py -infisicalapi_client/models/api_v3_secrets_raw_get200_response_secrets_inner.py -infisicalapi_client/models/api_v3_secrets_raw_secret_name_delete_request.py -infisicalapi_client/models/api_v3_secrets_raw_secret_name_get200_response.py -infisicalapi_client/models/api_v3_secrets_raw_secret_name_get200_response_secret.py -infisicalapi_client/models/api_v3_secrets_raw_secret_name_patch_request.py -infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response.py -infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response_any_of.py -infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response_any_of1.py -infisicalapi_client/models/api_v3_secrets_raw_secret_name_post_request.py -infisicalapi_client/models/api_v3_secrets_secret_name_delete_request.py -infisicalapi_client/models/api_v3_secrets_secret_name_get200_response.py -infisicalapi_client/models/api_v3_secrets_secret_name_get200_response_secret.py -infisicalapi_client/models/api_v3_secrets_secret_name_patch_request.py -infisicalapi_client/models/api_v3_secrets_secret_name_post200_response.py -infisicalapi_client/models/api_v3_secrets_secret_name_post200_response_any_of.py -infisicalapi_client/models/api_v3_secrets_secret_name_post_request.py -infisicalapi_client/models/api_v3_secrets_tags_secret_name_delete_request.py -infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response.py -infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response_secret.py -infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner.py -infisicalapi_client/models/api_v3_secrets_tags_secret_name_post_request.py -infisicalapi_client/models/api_v3_signup_complete_account_signup_post200_response.py -infisicalapi_client/models/api_v3_signup_complete_account_signup_post_request.py -infisicalapi_client/models/api_v3_signup_email_verify_post200_response.py -infisicalapi_client/models/api_v3_users_me_api_keys_get200_response.py -infisicalapi_client/models/api_v3_workspaces_project_id_secrets_get200_response.py -infisicalapi_client/models/api_v3_workspaces_project_id_secrets_get200_response_secrets_inner.py -infisicalapi_client/models/api_v3_workspaces_project_id_secrets_names_post_request.py -infisicalapi_client/models/api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner.py -infisicalapi_client/py.typed -infisicalapi_client/rest.py -pyproject.toml -requirements.txt -setup.cfg -setup.py -test-requirements.txt -test/__init__.py -test/test_api_status_get200_response.py -test/test_api_v1_access_approvals_policies_get200_response.py -test/test_api_v1_access_approvals_policies_get200_response_approvals_inner.py -test/test_api_v1_access_approvals_policies_policy_id_patch_request.py -test/test_api_v1_access_approvals_policies_post_request.py -test/test_api_v1_access_approvals_requests_count_get200_response.py -test/test_api_v1_access_approvals_requests_get200_response.py -test/test_api_v1_access_approvals_requests_get200_response_requests_inner.py -test/test_api_v1_access_approvals_requests_get200_response_requests_inner_policy.py -test/test_api_v1_access_approvals_requests_get200_response_requests_inner_privilege.py -test/test_api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner.py -test/test_api_v1_access_approvals_requests_post200_response.py -test/test_api_v1_access_approvals_requests_post200_response_approval.py -test/test_api_v1_access_approvals_requests_post_request.py -test/test_api_v1_access_approvals_requests_request_id_review_post200_response.py -test/test_api_v1_access_approvals_requests_request_id_review_post200_response_review.py -test/test_api_v1_additional_privilege_identity_delete_request.py -test/test_api_v1_additional_privilege_identity_get200_response.py -test/test_api_v1_additional_privilege_identity_patch_request.py -test/test_api_v1_additional_privilege_identity_patch_request_privilege_details.py -test/test_api_v1_additional_privilege_identity_permanent_post200_response.py -test/test_api_v1_additional_privilege_identity_permanent_post200_response_privilege.py -test/test_api_v1_additional_privilege_identity_permanent_post_request.py -test/test_api_v1_additional_privilege_identity_permanent_post_request_privilege_permission.py -test/test_api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions.py -test/test_api_v1_additional_privilege_identity_temporary_post_request.py -test/test_api_v1_additional_privilege_users_get200_response.py -test/test_api_v1_additional_privilege_users_permanent_post200_response.py -test/test_api_v1_additional_privilege_users_permanent_post200_response_privilege.py -test/test_api_v1_additional_privilege_users_permanent_post_request.py -test/test_api_v1_additional_privilege_users_privilege_id_patch_request.py -test/test_api_v1_additional_privilege_users_temporary_post_request.py -test/test_api_v1_admin_config_get200_response.py -test/test_api_v1_admin_config_get200_response_config.py -test/test_api_v1_admin_config_patch200_response.py -test/test_api_v1_admin_config_patch200_response_config.py -test/test_api_v1_admin_config_patch_request.py -test/test_api_v1_admin_signup_post200_response.py -test/test_api_v1_admin_signup_post_request.py -test/test_api_v1_admin_user_management_users_get200_response.py -test/test_api_v1_admin_user_management_users_get200_response_users_inner.py -test/test_api_v1_admin_user_management_users_user_id_delete200_response.py -test/test_api_v1_audit_log_streams_get200_response.py -test/test_api_v1_audit_log_streams_get200_response_audit_log_streams_inner.py -test/test_api_v1_audit_log_streams_id_get200_response.py -test/test_api_v1_audit_log_streams_id_get200_response_audit_log_stream.py -test/test_api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner.py -test/test_api_v1_audit_log_streams_id_patch_request.py -test/test_api_v1_audit_log_streams_post200_response.py -test/test_api_v1_audit_log_streams_post_request.py -test/test_api_v1_audit_log_streams_post_request_headers_inner.py -test/test_api_v1_auth_aws_auth_identities_identity_id_get200_response.py -test/test_api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth.py -test/test_api_v1_auth_aws_auth_identities_identity_id_patch_request.py -test/test_api_v1_auth_aws_auth_identities_identity_id_post_request.py -test/test_api_v1_auth_aws_auth_login_post_request.py -test/test_api_v1_auth_azure_auth_identities_identity_id_get200_response.py -test/test_api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth.py -test/test_api_v1_auth_azure_auth_identities_identity_id_patch_request.py -test/test_api_v1_auth_azure_auth_identities_identity_id_post_request.py -test/test_api_v1_auth_check_auth_post200_response.py -test/test_api_v1_auth_gcp_auth_identities_identity_id_get200_response.py -test/test_api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth.py -test/test_api_v1_auth_gcp_auth_identities_identity_id_patch_request.py -test/test_api_v1_auth_gcp_auth_identities_identity_id_post_request.py -test/test_api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response.py -test/test_api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth.py -test/test_api_v1_auth_kubernetes_auth_identities_identity_id_get200_response.py -test/test_api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth.py -test/test_api_v1_auth_kubernetes_auth_identities_identity_id_patch_request.py -test/test_api_v1_auth_kubernetes_auth_identities_identity_id_post_request.py -test/test_api_v1_auth_kubernetes_auth_login_post_request.py -test/test_api_v1_auth_oidc_auth_identities_identity_id_delete200_response.py -test/test_api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth.py -test/test_api_v1_auth_oidc_auth_identities_identity_id_get200_response.py -test/test_api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth.py -test/test_api_v1_auth_oidc_auth_identities_identity_id_patch_request.py -test/test_api_v1_auth_oidc_auth_identities_identity_id_post_request.py -test/test_api_v1_auth_token_auth_identities_identity_id_get200_response.py -test/test_api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth.py -test/test_api_v1_auth_token_auth_identities_identity_id_patch_request.py -test/test_api_v1_auth_token_auth_identities_identity_id_post_request.py -test/test_api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner.py -test/test_api_v1_auth_token_auth_identities_identity_id_tokens_get200_response.py -test/test_api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner.py -test/test_api_v1_auth_token_auth_identities_identity_id_tokens_post200_response.py -test/test_api_v1_auth_token_auth_identities_identity_id_tokens_post_request.py -test/test_api_v1_auth_token_auth_tokens_token_id_patch200_response.py -test/test_api_v1_auth_token_auth_tokens_token_id_patch_request.py -test/test_api_v1_auth_token_post200_response.py -test/test_api_v1_auth_token_renew_post_request.py -test/test_api_v1_auth_token_revoke_post_request.py -test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response.py -test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response.py -test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner.py -test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response.py -test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request.py -test/test_api_v1_auth_universal_auth_identities_identity_id_get200_response.py -test/test_api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth.py -test/test_api_v1_auth_universal_auth_identities_identity_id_patch_request.py -test/test_api_v1_auth_universal_auth_identities_identity_id_post_request.py -test/test_api_v1_auth_universal_auth_login_post_request.py -test/test_api_v1_bot_bot_id_active_patch_request.py -test/test_api_v1_bot_bot_id_active_patch_request_bot_key.py -test/test_api_v1_bot_project_id_get200_response.py -test/test_api_v1_bot_project_id_get200_response_bot.py -test/test_api_v1_dynamic_secrets_get200_response.py -test/test_api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner.py -test/test_api_v1_dynamic_secrets_leases_lease_id_delete200_response.py -test/test_api_v1_dynamic_secrets_leases_lease_id_delete_request.py -test/test_api_v1_dynamic_secrets_leases_lease_id_get200_response.py -test/test_api_v1_dynamic_secrets_leases_lease_id_get200_response_lease.py -test/test_api_v1_dynamic_secrets_leases_lease_id_renew_post_request.py -test/test_api_v1_dynamic_secrets_leases_post200_response.py -test/test_api_v1_dynamic_secrets_leases_post_request.py -test/test_api_v1_dynamic_secrets_name_delete_request.py -test/test_api_v1_dynamic_secrets_name_get200_response.py -test/test_api_v1_dynamic_secrets_name_get200_response_dynamic_secret.py -test/test_api_v1_dynamic_secrets_name_leases_get200_response.py -test/test_api_v1_dynamic_secrets_name_leases_get200_response_leases_inner.py -test/test_api_v1_dynamic_secrets_name_patch_request.py -test/test_api_v1_dynamic_secrets_name_patch_request_data.py -test/test_api_v1_dynamic_secrets_post200_response.py -test/test_api_v1_dynamic_secrets_post_request.py -test/test_api_v1_dynamic_secrets_post_request_provider.py -test/test_api_v1_dynamic_secrets_post_request_provider_any_of.py -test/test_api_v1_dynamic_secrets_post_request_provider_any_of1.py -test/test_api_v1_dynamic_secrets_post_request_provider_any_of1_inputs.py -test/test_api_v1_dynamic_secrets_post_request_provider_any_of2.py -test/test_api_v1_dynamic_secrets_post_request_provider_any_of2_inputs.py -test/test_api_v1_dynamic_secrets_post_request_provider_any_of_inputs.py -test/test_api_v1_external_kms_get200_response.py -test/test_api_v1_external_kms_get200_response_external_kms_list_inner.py -test/test_api_v1_external_kms_get200_response_external_kms_list_inner_external_kms.py -test/test_api_v1_external_kms_id_get200_response.py -test/test_api_v1_external_kms_id_get200_response_external_kms.py -test/test_api_v1_external_kms_id_get200_response_external_kms_external.py -test/test_api_v1_external_kms_id_patch_request.py -test/test_api_v1_external_kms_id_patch_request_provider.py -test/test_api_v1_external_kms_id_patch_request_provider_inputs.py -test/test_api_v1_external_kms_post200_response.py -test/test_api_v1_external_kms_post200_response_external_kms.py -test/test_api_v1_external_kms_post200_response_external_kms_external.py -test/test_api_v1_external_kms_post_request.py -test/test_api_v1_external_kms_post_request_provider.py -test/test_api_v1_external_kms_post_request_provider_inputs.py -test/test_api_v1_external_kms_post_request_provider_inputs_credential.py -test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of.py -test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of1.py -test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data.py -test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of_data.py -test/test_api_v1_folders_batch_patch_request.py -test/test_api_v1_folders_batch_patch_request_folders_inner.py -test/test_api_v1_folders_folder_id_or_name_delete_request.py -test/test_api_v1_folders_folder_id_patch_request.py -test/test_api_v1_folders_get200_response.py -test/test_api_v1_folders_get200_response_folders_inner.py -test/test_api_v1_folders_post200_response.py -test/test_api_v1_folders_post_request.py -test/test_api_v1_groups_current_slug_patch_request.py -test/test_api_v1_groups_post200_response.py -test/test_api_v1_groups_post_request.py -test/test_api_v1_groups_slug_users_get200_response.py -test/test_api_v1_groups_slug_users_get200_response_users_inner.py -test/test_api_v1_groups_slug_users_username_post200_response.py -test/test_api_v1_identities_get200_response.py -test/test_api_v1_identities_get200_response_identities_inner.py -test/test_api_v1_identities_get200_response_identities_inner_identity.py -test/test_api_v1_identities_identity_id_get200_response.py -test/test_api_v1_identities_identity_id_identity_memberships_get200_response.py -test/test_api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner.py -test/test_api_v1_identities_identity_id_patch_request.py -test/test_api_v1_identities_post200_response.py -test/test_api_v1_identities_post200_response_identity.py -test/test_api_v1_identities_post_request.py -test/test_api_v1_integration_auth_access_token_post_request.py -test/test_api_v1_integration_auth_delete200_response.py -test/test_api_v1_integration_auth_integration_auth_id_apps_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner.py -test/test_api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner.py -test/test_api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner.py -test/test_api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner.py -test/test_api_v1_integration_auth_integration_auth_id_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_github_envs_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner.py -test/test_api_v1_integration_auth_integration_auth_id_github_orgs_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner.py -test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner.py -test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app.py -test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline.py -test/test_api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner.py -test/test_api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner.py -test/test_api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner.py -test/test_api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner.py -test/test_api_v1_integration_auth_integration_auth_id_railway_services_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner.py -test/test_api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner.py -test/test_api_v1_integration_auth_integration_auth_id_teams_get200_response.py -test/test_api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response.py -test/test_api_v1_integration_auth_integration_options_get200_response.py -test/test_api_v1_integration_auth_integration_options_get200_response_integration_options_inner.py -test/test_api_v1_integration_auth_oauth_token_post_request.py -test/test_api_v1_integration_integration_id_patch_request.py -test/test_api_v1_integration_integration_id_patch_request_metadata.py -test/test_api_v1_integration_post200_response.py -test/test_api_v1_integration_post200_response_integration.py -test/test_api_v1_integration_post_request.py -test/test_api_v1_integration_post_request_metadata.py -test/test_api_v1_integration_post_request_metadata_secret_gcp_label.py -test/test_api_v1_invite_org_signup_post200_response.py -test/test_api_v1_invite_org_signup_post_request.py -test/test_api_v1_invite_org_verify_post200_response.py -test/test_api_v1_invite_org_verify_post_request.py -test/test_api_v1_ldap_config_config_id_group_maps_get200_response_inner.py -test/test_api_v1_ldap_config_config_id_group_maps_post200_response.py -test/test_api_v1_ldap_config_config_id_group_maps_post_request.py -test/test_api_v1_ldap_config_get200_response.py -test/test_api_v1_ldap_config_patch_request.py -test/test_api_v1_ldap_config_post200_response.py -test/test_api_v1_ldap_config_post_request.py -test/test_api_v1_ldap_login_post_request.py -test/test_api_v1_organization_admin_projects_get200_response.py -test/test_api_v1_organization_admin_projects_get200_response_projects_inner.py -test/test_api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response.py -test/test_api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership.py -test/test_api_v1_organization_get200_response.py -test/test_api_v1_organization_get200_response_organizations_inner.py -test/test_api_v1_organization_organization_id_get200_response.py -test/test_api_v1_organization_organization_id_groups_get200_response.py -test/test_api_v1_organization_organization_id_groups_get200_response_groups_inner.py -test/test_api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role.py -test/test_api_v1_organization_organization_id_incident_contact_org_get200_response.py -test/test_api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner.py -test/test_api_v1_organization_organization_id_incident_contact_org_post200_response.py -test/test_api_v1_organization_organization_id_patch200_response.py -test/test_api_v1_organization_organization_id_patch_request.py -test/test_api_v1_organization_organization_id_permissions_get200_response.py -test/test_api_v1_organization_organization_id_permissions_get200_response_membership.py -test/test_api_v1_organization_organization_id_roles_get200_response.py -test/test_api_v1_organization_organization_id_roles_get200_response_data.py -test/test_api_v1_organization_organization_id_roles_get200_response_data_roles_inner.py -test/test_api_v1_organization_organization_id_roles_post200_response.py -test/test_api_v1_organization_organization_id_roles_post200_response_role.py -test/test_api_v1_organization_organization_id_roles_post_request.py -test/test_api_v1_organization_organization_id_roles_role_id_patch_request.py -test/test_api_v1_organization_organization_id_users_get200_response.py -test/test_api_v1_organization_organization_id_users_get200_response_users_inner.py -test/test_api_v1_organization_organization_id_users_get200_response_users_inner_user.py -test/test_api_v1_organizations_organization_id_billing_details_patch_request.py -test/test_api_v1_organizations_organization_id_billing_details_payment_methods_post_request.py -test/test_api_v1_organizations_organization_id_billing_details_tax_ids_post_request.py -test/test_api_v1_organizations_organization_id_plan_get200_response.py -test/test_api_v1_organizations_organization_id_session_trial_post_request.py -test/test_api_v1_password_backup_private_key_get200_response.py -test/test_api_v1_password_backup_private_key_get200_response_backup_private_key.py -test/test_api_v1_password_backup_private_key_post_request.py -test/test_api_v1_password_change_password_post_request.py -test/test_api_v1_password_email_password_reset_post_request.py -test/test_api_v1_password_email_password_reset_verify_post200_response.py -test/test_api_v1_password_email_password_reset_verify_post200_response_user.py -test/test_api_v1_password_email_password_reset_verify_post_request.py -test/test_api_v1_password_password_reset_post_request.py -test/test_api_v1_password_srp1_post200_response.py -test/test_api_v1_password_srp1_post_request.py -test/test_api_v1_pki_ca_ca_id_certificate_get200_response.py -test/test_api_v1_pki_ca_ca_id_crl_get200_response.py -test/test_api_v1_pki_ca_ca_id_csr_get200_response.py -test/test_api_v1_pki_ca_ca_id_import_certificate_post200_response.py -test/test_api_v1_pki_ca_ca_id_import_certificate_post_request.py -test/test_api_v1_pki_ca_ca_id_issue_certificate_post200_response.py -test/test_api_v1_pki_ca_ca_id_issue_certificate_post_request.py -test/test_api_v1_pki_ca_ca_id_patch_request.py -test/test_api_v1_pki_ca_ca_id_sign_certificate_post200_response.py -test/test_api_v1_pki_ca_ca_id_sign_certificate_post_request.py -test/test_api_v1_pki_ca_ca_id_sign_intermediate_post200_response.py -test/test_api_v1_pki_ca_ca_id_sign_intermediate_post_request.py -test/test_api_v1_pki_ca_post200_response.py -test/test_api_v1_pki_ca_post200_response_ca.py -test/test_api_v1_pki_ca_post_request.py -test/test_api_v1_pki_certificates_serial_number_certificate_get200_response.py -test/test_api_v1_pki_certificates_serial_number_get200_response.py -test/test_api_v1_pki_certificates_serial_number_get200_response_certificate.py -test/test_api_v1_pki_certificates_serial_number_revoke_post200_response.py -test/test_api_v1_pki_certificates_serial_number_revoke_post_request.py -test/test_api_v1_rate_limit_get200_response.py -test/test_api_v1_rate_limit_get200_response_rate_limit.py -test/test_api_v1_rate_limit_put_request.py -test/test_api_v1_scim_groups_get200_response.py -test/test_api_v1_scim_groups_get200_response_resources_inner.py -test/test_api_v1_scim_groups_get200_response_resources_inner_meta.py -test/test_api_v1_scim_groups_group_id_patch_request.py -test/test_api_v1_scim_groups_group_id_patch_request_operations_inner.py -test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of.py -test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1.py -test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2.py -test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner.py -test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value.py -test/test_api_v1_scim_groups_group_id_put_request.py -test/test_api_v1_scim_groups_post200_response.py -test/test_api_v1_scim_groups_post_request.py -test/test_api_v1_scim_scim_tokens_get200_response.py -test/test_api_v1_scim_scim_tokens_get200_response_scim_tokens_inner.py -test/test_api_v1_scim_scim_tokens_post200_response.py -test/test_api_v1_scim_scim_tokens_post_request.py -test/test_api_v1_scim_scim_tokens_scim_token_id_delete200_response.py -test/test_api_v1_scim_users_get200_response.py -test/test_api_v1_scim_users_get200_response_resources_inner.py -test/test_api_v1_scim_users_get200_response_resources_inner_emails_inner.py -test/test_api_v1_scim_users_get200_response_resources_inner_name.py -test/test_api_v1_scim_users_org_membership_id_get201_response.py -test/test_api_v1_scim_users_org_membership_id_get201_response_groups_inner.py -test/test_api_v1_scim_users_org_membership_id_put200_response.py -test/test_api_v1_scim_users_org_membership_id_put_request.py -test/test_api_v1_scim_users_post200_response.py -test/test_api_v1_scim_users_post_request.py -test/test_api_v1_scim_users_post_request_emails_inner.py -test/test_api_v1_secret_approval_requests_count_get200_response.py -test/test_api_v1_secret_approval_requests_count_get200_response_approvals.py -test/test_api_v1_secret_approval_requests_get200_response.py -test/test_api_v1_secret_approval_requests_get200_response_approvals_inner.py -test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner.py -test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user.py -test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_policy.py -test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner.py -test/test_api_v1_secret_approval_requests_id_get200_response.py -test/test_api_v1_secret_approval_requests_id_get200_response_approval.py -test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner.py -test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret.py -test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version.py -test/test_api_v1_secret_approval_requests_id_get200_response_approval_policy.py -test/test_api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner.py -test/test_api_v1_secret_approval_requests_id_merge_post200_response.py -test/test_api_v1_secret_approval_requests_id_merge_post200_response_approval.py -test/test_api_v1_secret_approval_requests_id_merge_post_request.py -test/test_api_v1_secret_approval_requests_id_review_post200_response.py -test/test_api_v1_secret_approval_requests_id_review_post200_response_review.py -test/test_api_v1_secret_approval_requests_id_review_post_request.py -test/test_api_v1_secret_approval_requests_id_status_post_request.py -test/test_api_v1_secret_approvals_board_get200_response.py -test/test_api_v1_secret_approvals_get200_response.py -test/test_api_v1_secret_approvals_get200_response_approvals_inner.py -test/test_api_v1_secret_approvals_get200_response_approvals_inner_environment.py -test/test_api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner.py -test/test_api_v1_secret_approvals_post200_response.py -test/test_api_v1_secret_approvals_post200_response_approval.py -test/test_api_v1_secret_approvals_post_request.py -test/test_api_v1_secret_approvals_sap_id_patch_request.py -test/test_api_v1_secret_imports_get200_response.py -test/test_api_v1_secret_imports_get200_response_secret_imports_inner.py -test/test_api_v1_secret_imports_get200_response_secret_imports_inner_import_env.py -test/test_api_v1_secret_imports_post200_response.py -test/test_api_v1_secret_imports_post_request.py -test/test_api_v1_secret_imports_post_request_import.py -test/test_api_v1_secret_imports_secret_import_id_delete_request.py -test/test_api_v1_secret_imports_secret_import_id_patch_request.py -test/test_api_v1_secret_imports_secret_import_id_patch_request_import.py -test/test_api_v1_secret_imports_secret_import_id_replication_resync_post_request.py -test/test_api_v1_secret_imports_secrets_get200_response.py -test/test_api_v1_secret_imports_secrets_get200_response_secrets_inner.py -test/test_api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner.py -test/test_api_v1_secret_imports_secrets_raw_get200_response.py -test/test_api_v1_secret_imports_secrets_raw_get200_response_secrets_inner.py -test/test_api_v1_secret_rotation_providers_workspace_id_get200_response.py -test/test_api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner.py -test/test_api_v1_secret_rotations_get200_response.py -test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner.py -test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner.py -test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret.py -test/test_api_v1_secret_rotations_post200_response.py -test/test_api_v1_secret_rotations_post200_response_secret_rotation.py -test/test_api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner.py -test/test_api_v1_secret_rotations_post_request.py -test/test_api_v1_secret_rotations_restart_post200_response.py -test/test_api_v1_secret_rotations_restart_post200_response_secret_rotation.py -test/test_api_v1_secret_rotations_restart_post_request.py -test/test_api_v1_secret_scanning_create_installation_session_organization_post200_response.py -test/test_api_v1_secret_scanning_create_installation_session_organization_post_request.py -test/test_api_v1_secret_scanning_installation_status_organization_organization_id_get200_response.py -test/test_api_v1_secret_scanning_link_installation_post200_response.py -test/test_api_v1_secret_scanning_link_installation_post_request.py -test/test_api_v1_secret_scanning_organization_organization_id_risks_get200_response.py -test/test_api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner.py -test/test_api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request.py -test/test_api_v1_secret_secret_id_secret_versions_get200_response.py -test/test_api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner.py -test/test_api_v1_secret_sharing_get200_response.py -test/test_api_v1_secret_sharing_get200_response_secrets_inner.py -test/test_api_v1_secret_sharing_post200_response.py -test/test_api_v1_secret_sharing_post_request.py -test/test_api_v1_secret_sharing_public_id_get200_response.py -test/test_api_v1_secret_sharing_public_post_request.py -test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response.py -test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot.py -test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment.py -test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner.py -test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner.py -test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner.py -test/test_api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response.py -test/test_api_v1_sso_config_get200_response.py -test/test_api_v1_sso_config_patch_request.py -test/test_api_v1_sso_config_post200_response.py -test/test_api_v1_sso_config_post_request.py -test/test_api_v1_sso_oidc_config_get200_response.py -test/test_api_v1_sso_oidc_config_patch200_response.py -test/test_api_v1_sso_oidc_config_patch_request.py -test/test_api_v1_sso_oidc_config_post200_response.py -test/test_api_v1_sso_oidc_config_post_request.py -test/test_api_v1_sso_token_exchange_post_request.py -test/test_api_v1_user_action_get200_response.py -test/test_api_v1_user_action_get200_response_user_action.py -test/test_api_v1_user_action_post200_response.py -test/test_api_v1_user_action_post200_response_user_action.py -test/test_api_v1_user_action_post_request.py -test/test_api_v1_user_engagement_me_wish_post_request.py -test/test_api_v1_user_get200_response.py -test/test_api_v1_user_get200_response_user.py -test/test_api_v1_user_me_project_favorites_get200_response.py -test/test_api_v1_user_me_project_favorites_put_request.py -test/test_api_v1_user_private_key_get200_response.py -test/test_api_v1_webhooks_get200_response.py -test/test_api_v1_webhooks_get200_response_webhooks_inner.py -test/test_api_v1_webhooks_post200_response.py -test/test_api_v1_webhooks_post200_response_webhook.py -test/test_api_v1_webhooks_post_request.py -test/test_api_v1_webhooks_webhook_id_patch_request.py -test/test_api_v1_workspace_get200_response.py -test/test_api_v1_workspace_get200_response_workspaces_inner.py -test/test_api_v1_workspace_project_id_permissions_get200_response.py -test/test_api_v1_workspace_project_id_permissions_get200_response_data.py -test/test_api_v1_workspace_project_id_permissions_get200_response_data_membership.py -test/test_api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner.py -test/test_api_v1_workspace_project_id_tags_get200_response.py -test/test_api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner.py -test/test_api_v1_workspace_project_id_tags_post200_response.py -test/test_api_v1_workspace_project_id_tags_post_request.py -test/test_api_v1_workspace_project_id_tags_tag_id_get200_response.py -test/test_api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag.py -test/test_api_v1_workspace_project_id_tags_tag_id_patch_request.py -test/test_api_v1_workspace_project_slug_roles_get200_response.py -test/test_api_v1_workspace_project_slug_roles_get200_response_roles_inner.py -test/test_api_v1_workspace_project_slug_roles_post200_response.py -test/test_api_v1_workspace_project_slug_roles_post200_response_role.py -test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner.py -test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions.py -test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path.py -test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject.py -test/test_api_v1_workspace_project_slug_roles_post_request.py -test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner.py -test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions.py -test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path.py -test/test_api_v1_workspace_project_slug_roles_role_id_patch_request.py -test/test_api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response.py -test/test_api_v1_workspace_workspace_id_audit_logs_get200_response.py -test/test_api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner.py -test/test_api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event.py -test/test_api_v1_workspace_workspace_id_authorizations_get200_response.py -test/test_api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner.py -test/test_api_v1_workspace_workspace_id_auto_capitalization_post_request.py -test/test_api_v1_workspace_workspace_id_delete200_response.py -test/test_api_v1_workspace_workspace_id_environments_env_id_get200_response.py -test/test_api_v1_workspace_workspace_id_environments_env_id_get200_response_environment.py -test/test_api_v1_workspace_workspace_id_environments_id_patch_request.py -test/test_api_v1_workspace_workspace_id_environments_post200_response.py -test/test_api_v1_workspace_workspace_id_environments_post_request.py -test/test_api_v1_workspace_workspace_id_get200_response.py -test/test_api_v1_workspace_workspace_id_integrations_get200_response.py -test/test_api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner.py -test/test_api_v1_workspace_workspace_id_key_post_request.py -test/test_api_v1_workspace_workspace_id_key_post_request_key.py -test/test_api_v1_workspace_workspace_id_keys_get200_response.py -test/test_api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner.py -test/test_api_v1_workspace_workspace_id_kms_backup_get200_response.py -test/test_api_v1_workspace_workspace_id_kms_backup_post_request.py -test/test_api_v1_workspace_workspace_id_kms_get200_response.py -test/test_api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key.py -test/test_api_v1_workspace_workspace_id_kms_patch_request.py -test/test_api_v1_workspace_workspace_id_kms_patch_request_kms.py -test/test_api_v1_workspace_workspace_id_kms_patch_request_kms_any_of.py -test/test_api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1.py -test/test_api_v1_workspace_workspace_id_memberships_details_post200_response.py -test/test_api_v1_workspace_workspace_id_memberships_details_post_request.py -test/test_api_v1_workspace_workspace_id_memberships_get200_response.py -test/test_api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner.py -test/test_api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user.py -test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch200_response.py -test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner.py -test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request.py -test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner.py -test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of.py -test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1.py -test/test_api_v1_workspace_workspace_id_memberships_post200_response.py -test/test_api_v1_workspace_workspace_id_memberships_post_request.py -test/test_api_v1_workspace_workspace_id_memberships_post_request_members_inner.py -test/test_api_v1_workspace_workspace_id_migrate_v3_post200_response.py -test/test_api_v1_workspace_workspace_id_name_post200_response.py -test/test_api_v1_workspace_workspace_id_name_post_request.py -test/test_api_v1_workspace_workspace_id_patch200_response.py -test/test_api_v1_workspace_workspace_id_patch_request.py -test/test_api_v1_workspace_workspace_id_secret_snapshots_count_get200_response.py -test/test_api_v1_workspace_workspace_id_secret_snapshots_get200_response.py -test/test_api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner.py -test/test_api_v1_workspace_workspace_id_service_token_data_get200_response.py -test/test_api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner.py -test/test_api_v1_workspace_workspace_id_trusted_ips_get200_response.py -test/test_api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner.py -test/test_api_v1_workspace_workspace_id_trusted_ips_post200_response.py -test/test_api_v1_workspace_workspace_id_trusted_ips_post_request.py -test/test_api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request.py -test/test_api_v1_workspace_workspace_id_users_get200_response.py -test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner.py -test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_project.py -test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner.py -test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_user.py -test/test_api_v1_workspace_workspace_slug_audit_logs_retention_put_request.py -test/test_api_v1_workspace_workspace_slug_version_limit_put_request.py -test/test_api_v2_auth_mfa_verify_post200_response.py -test/test_api_v2_auth_mfa_verify_post_request.py -test/test_api_v2_organizations_org_id_identity_memberships_get200_response.py -test/test_api_v2_organizations_organization_id_memberships_get200_response.py -test/test_api_v2_organizations_organization_id_memberships_get200_response_users_inner.py -test/test_api_v2_organizations_organization_id_memberships_get200_response_users_inner_user.py -test/test_api_v2_organizations_organization_id_memberships_membership_id_delete200_response.py -test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response.py -test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership.py -test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user.py -test/test_api_v2_organizations_organization_id_memberships_membership_id_patch_request.py -test/test_api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response.py -test/test_api_v2_organizations_organization_id_workspaces_get200_response.py -test/test_api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner.py -test/test_api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner.py -test/test_api_v2_service_token_get200_response.py -test/test_api_v2_service_token_get200_response_user.py -test/test_api_v2_service_token_post200_response.py -test/test_api_v2_service_token_post_request.py -test/test_api_v2_service_token_post_request_scopes_inner.py -test/test_api_v2_service_token_service_token_id_delete200_response.py -test/test_api_v2_users_me_api_keys_api_key_data_id_delete200_response.py -test/test_api_v2_users_me_api_keys_get200_response_inner.py -test/test_api_v2_users_me_api_keys_post200_response.py -test/test_api_v2_users_me_api_keys_post_request.py -test/test_api_v2_users_me_auth_methods_put_request.py -test/test_api_v2_users_me_emails_code_post_request.py -test/test_api_v2_users_me_emails_verify_post_request.py -test/test_api_v2_users_me_mfa_patch200_response.py -test/test_api_v2_users_me_mfa_patch_request.py -test/test_api_v2_users_me_name_patch_request.py -test/test_api_v2_users_me_sessions_get200_response_inner.py -test/test_api_v2_workspace_post200_response.py -test/test_api_v2_workspace_post_request.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_get200_response.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post200_response.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of.py -test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1.py -test/test_api_v2_workspace_project_id_memberships_delete_request.py -test/test_api_v2_workspace_project_id_memberships_post200_response.py -test/test_api_v2_workspace_project_id_memberships_post_request.py -test/test_api_v2_workspace_project_id_upgrade_post_request.py -test/test_api_v2_workspace_project_id_upgrade_status_get200_response.py -test/test_api_v2_workspace_project_slug_groups_get200_response.py -test/test_api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner.py -test/test_api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group.py -test/test_api_v2_workspace_project_slug_groups_group_slug_patch_request.py -test/test_api_v2_workspace_project_slug_groups_group_slug_post200_response.py -test/test_api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership.py -test/test_api_v2_workspace_project_slug_groups_group_slug_post_request.py -test/test_api_v2_workspace_slug_cas_get200_response.py -test/test_api_v2_workspace_slug_certificates_get200_response.py -test/test_api_v2_workspace_slug_patch_request.py -test/test_api_v2_workspace_workspace_id_encrypted_key_get200_response.py -test/test_api_v2_workspace_workspace_id_encrypted_key_get200_response_sender.py -test/test_api_v3_auth_login1_post_request.py -test/test_api_v3_auth_login2_post200_response.py -test/test_api_v3_auth_login2_post200_response_any_of.py -test/test_api_v3_auth_login2_post200_response_any_of1.py -test/test_api_v3_auth_login2_post_request.py -test/test_api_v3_secrets_backfill_secret_references_post_request.py -test/test_api_v3_secrets_batch_delete_request.py -test/test_api_v3_secrets_batch_delete_request_secrets_inner.py -test/test_api_v3_secrets_batch_patch_request.py -test/test_api_v3_secrets_batch_patch_request_secrets_inner.py -test/test_api_v3_secrets_batch_post200_response.py -test/test_api_v3_secrets_batch_post200_response_any_of.py -test/test_api_v3_secrets_batch_post_request.py -test/test_api_v3_secrets_batch_post_request_secrets_inner.py -test/test_api_v3_secrets_batch_raw_delete_request.py -test/test_api_v3_secrets_batch_raw_delete_request_secrets_inner.py -test/test_api_v3_secrets_batch_raw_patch_request.py -test/test_api_v3_secrets_batch_raw_patch_request_secrets_inner.py -test/test_api_v3_secrets_batch_raw_post200_response.py -test/test_api_v3_secrets_batch_raw_post200_response_any_of.py -test/test_api_v3_secrets_batch_raw_post_request.py -test/test_api_v3_secrets_batch_raw_post_request_secrets_inner.py -test/test_api_v3_secrets_get200_response.py -test/test_api_v3_secrets_get200_response_imports_inner.py -test/test_api_v3_secrets_get200_response_imports_inner_secrets_inner.py -test/test_api_v3_secrets_get200_response_secrets_inner.py -test/test_api_v3_secrets_move_post200_response.py -test/test_api_v3_secrets_move_post_request.py -test/test_api_v3_secrets_raw_get200_response.py -test/test_api_v3_secrets_raw_get200_response_imports_inner.py -test/test_api_v3_secrets_raw_get200_response_imports_inner_secrets_inner.py -test/test_api_v3_secrets_raw_get200_response_secrets_inner.py -test/test_api_v3_secrets_raw_secret_name_delete_request.py -test/test_api_v3_secrets_raw_secret_name_get200_response.py -test/test_api_v3_secrets_raw_secret_name_get200_response_secret.py -test/test_api_v3_secrets_raw_secret_name_patch_request.py -test/test_api_v3_secrets_raw_secret_name_post200_response.py -test/test_api_v3_secrets_raw_secret_name_post200_response_any_of.py -test/test_api_v3_secrets_raw_secret_name_post200_response_any_of1.py -test/test_api_v3_secrets_raw_secret_name_post_request.py -test/test_api_v3_secrets_secret_name_delete_request.py -test/test_api_v3_secrets_secret_name_get200_response.py -test/test_api_v3_secrets_secret_name_get200_response_secret.py -test/test_api_v3_secrets_secret_name_patch_request.py -test/test_api_v3_secrets_secret_name_post200_response.py -test/test_api_v3_secrets_secret_name_post200_response_any_of.py -test/test_api_v3_secrets_secret_name_post_request.py -test/test_api_v3_secrets_tags_secret_name_delete_request.py -test/test_api_v3_secrets_tags_secret_name_post200_response.py -test/test_api_v3_secrets_tags_secret_name_post200_response_secret.py -test/test_api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner.py -test/test_api_v3_secrets_tags_secret_name_post_request.py -test/test_api_v3_signup_complete_account_signup_post200_response.py -test/test_api_v3_signup_complete_account_signup_post_request.py -test/test_api_v3_signup_email_verify_post200_response.py -test/test_api_v3_users_me_api_keys_get200_response.py -test/test_api_v3_workspaces_project_id_secrets_get200_response.py -test/test_api_v3_workspaces_project_id_secrets_get200_response_secrets_inner.py -test/test_api_v3_workspaces_project_id_secrets_names_post_request.py -test/test_api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner.py -test/test_default_api.py -tox.ini diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION deleted file mode 100644 index 1985849..0000000 --- a/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.7.0 diff --git a/README.md b/README.md index 8321a68..02ea8a2 100644 --- a/README.md +++ b/README.md @@ -24,20 +24,7 @@ client = InfisicalSDKClient(host="https://app.infisical.com") client.auth.universal_auth.login(client_id="your_client_id", client_secret="your_client_secret") # Use the SDK to interact with Infisical -secrets = client.secrets.listSecrets(project_id="your_project_id", environment_slug="dev", secret_path="/") -``` - -### Accessing REST Endpoints -For Infisical APIs that aren't covered by the higher-level methods, you can access them via the `.rest` method. These APIs will use the authentication credentials provided by one of the successful login calls under the `.auth` method. Here’s an example of how to call one of these APIs using the `.rest` method. - -```python -from infisical_sdk import InfisicalSDKClient - -client1 = InfisicalSDKClient(host="https://app.infisical.com") - -client1.auth.aws_auth.login(identity_id="992cd584-aebf-4849-b303-d90726d1b790") - -client1.rest.api_v1_folders_get(workspace_id="639926527b2d39eaf761b468", environment="dev", path="/") +secrets = client.secrets.list_secrets(project_id="your_project_id", environment_slug="dev", secret_path="/") ``` ## Core Methods @@ -46,7 +33,6 @@ The SDK methods are organized into the following high-level categories: 1. `auth`: Handles authentication methods. 2. `secrets`: Manages CRUD operations for secrets. -3. `rest`: Provides access to all available rest API endpoints. ### `auth` @@ -92,7 +78,7 @@ secrets = client.secrets.list_secrets( - `tag_filters` (List[str]): Tags to filter secrets. **Returns:** -- `ApiV3SecretsRawGet200Response`: The response containing the list of secrets. +- `ListSecretsResponse`: The response containing the list of secrets. #### Create Secret @@ -122,7 +108,7 @@ new_secret = client.secrets.create_secret_by_name( - `secret_reminder_note` (str, optional): A note for the secret reminder. **Returns:** -- `ApiV3SecretsRawSecretNamePost200Response`: The response after creating the secret. +- `BaseSecret`: The response after creating the secret. #### Update Secret @@ -154,7 +140,7 @@ updated_secret = client.secrets.update_secret_by_name( - `new_secret_name` (str, optional): A new name for the secret. **Returns:** -- `ApiV3SecretsRawSecretNamePost200Response`: The response after updating the secret. +- `BaseSecret`: The response after updating the secret. #### Get Secret by Name @@ -180,7 +166,7 @@ secret = client.secrets.get_secret_by_name( - `version` (str, optional): The version of the secret to retrieve. Fetches the latest by default. **Returns:** -- `ApiV3SecretsRawSecretNameGet200Response`: The response containing the secret. +- `BaseSecret`: The response containing the secret. #### Delete Secret by Name @@ -200,1097 +186,4 @@ deleted_secret = client.secrets.delete_secret_by_name( - `secret_path` (str): The path to the secret. **Returns:** -- `ApiV3SecretsRawSecretNamePost200Response`: The response after deleting the secret. - -### `rest` - -The `rest` component exposes all available API endpoints in a standardized format. This allows for more advanced or custom operations not covered by the high-level methods. - -```python -# Example of using a custom API endpoint -custom_response = client.rest.custom_endpoint_method(param1="value1", param2="value2") -``` - -## Rest endpoints (exposed under `rest` method) - -All URIs are relative to `host` parameter of InfisicalSDKClient. Officially exposed API endpoints for public use are listed here https://infisical.com/docs/api-reference/overview/introduction. API endpoints not officially exposed are subject to change at anytime. - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*DefaultApi* | [**api_status_get**](docs/DefaultApi.md#api_status_get) | **GET** /api/status | -*DefaultApi* | [**api_v1_access_approvals_policies_count_get**](docs/DefaultApi.md#api_v1_access_approvals_policies_count_get) | **GET** /api/v1/access-approvals/policies/count | -*DefaultApi* | [**api_v1_access_approvals_policies_get**](docs/DefaultApi.md#api_v1_access_approvals_policies_get) | **GET** /api/v1/access-approvals/policies | -*DefaultApi* | [**api_v1_access_approvals_policies_policy_id_delete**](docs/DefaultApi.md#api_v1_access_approvals_policies_policy_id_delete) | **DELETE** /api/v1/access-approvals/policies/{policyId} | -*DefaultApi* | [**api_v1_access_approvals_policies_policy_id_patch**](docs/DefaultApi.md#api_v1_access_approvals_policies_policy_id_patch) | **PATCH** /api/v1/access-approvals/policies/{policyId} | -*DefaultApi* | [**api_v1_access_approvals_policies_post**](docs/DefaultApi.md#api_v1_access_approvals_policies_post) | **POST** /api/v1/access-approvals/policies | -*DefaultApi* | [**api_v1_access_approvals_requests_count_get**](docs/DefaultApi.md#api_v1_access_approvals_requests_count_get) | **GET** /api/v1/access-approvals/requests/count | -*DefaultApi* | [**api_v1_access_approvals_requests_get**](docs/DefaultApi.md#api_v1_access_approvals_requests_get) | **GET** /api/v1/access-approvals/requests | -*DefaultApi* | [**api_v1_access_approvals_requests_post**](docs/DefaultApi.md#api_v1_access_approvals_requests_post) | **POST** /api/v1/access-approvals/requests | -*DefaultApi* | [**api_v1_access_approvals_requests_request_id_review_post**](docs/DefaultApi.md#api_v1_access_approvals_requests_request_id_review_post) | **POST** /api/v1/access-approvals/requests/{requestId}/review | -*DefaultApi* | [**api_v1_additional_privilege_identity_delete**](docs/DefaultApi.md#api_v1_additional_privilege_identity_delete) | **DELETE** /api/v1/additional-privilege/identity | -*DefaultApi* | [**api_v1_additional_privilege_identity_get**](docs/DefaultApi.md#api_v1_additional_privilege_identity_get) | **GET** /api/v1/additional-privilege/identity | -*DefaultApi* | [**api_v1_additional_privilege_identity_patch**](docs/DefaultApi.md#api_v1_additional_privilege_identity_patch) | **PATCH** /api/v1/additional-privilege/identity | -*DefaultApi* | [**api_v1_additional_privilege_identity_permanent_post**](docs/DefaultApi.md#api_v1_additional_privilege_identity_permanent_post) | **POST** /api/v1/additional-privilege/identity/permanent | -*DefaultApi* | [**api_v1_additional_privilege_identity_privilege_slug_get**](docs/DefaultApi.md#api_v1_additional_privilege_identity_privilege_slug_get) | **GET** /api/v1/additional-privilege/identity/{privilegeSlug} | -*DefaultApi* | [**api_v1_additional_privilege_identity_temporary_post**](docs/DefaultApi.md#api_v1_additional_privilege_identity_temporary_post) | **POST** /api/v1/additional-privilege/identity/temporary | -*DefaultApi* | [**api_v1_additional_privilege_users_get**](docs/DefaultApi.md#api_v1_additional_privilege_users_get) | **GET** /api/v1/additional-privilege/users | -*DefaultApi* | [**api_v1_additional_privilege_users_permanent_post**](docs/DefaultApi.md#api_v1_additional_privilege_users_permanent_post) | **POST** /api/v1/additional-privilege/users/permanent | -*DefaultApi* | [**api_v1_additional_privilege_users_privilege_id_delete**](docs/DefaultApi.md#api_v1_additional_privilege_users_privilege_id_delete) | **DELETE** /api/v1/additional-privilege/users/{privilegeId} | -*DefaultApi* | [**api_v1_additional_privilege_users_privilege_id_get**](docs/DefaultApi.md#api_v1_additional_privilege_users_privilege_id_get) | **GET** /api/v1/additional-privilege/users/{privilegeId} | -*DefaultApi* | [**api_v1_additional_privilege_users_privilege_id_patch**](docs/DefaultApi.md#api_v1_additional_privilege_users_privilege_id_patch) | **PATCH** /api/v1/additional-privilege/users/{privilegeId} | -*DefaultApi* | [**api_v1_additional_privilege_users_temporary_post**](docs/DefaultApi.md#api_v1_additional_privilege_users_temporary_post) | **POST** /api/v1/additional-privilege/users/temporary | -*DefaultApi* | [**api_v1_admin_config_get**](docs/DefaultApi.md#api_v1_admin_config_get) | **GET** /api/v1/admin/config | -*DefaultApi* | [**api_v1_admin_config_patch**](docs/DefaultApi.md#api_v1_admin_config_patch) | **PATCH** /api/v1/admin/config | -*DefaultApi* | [**api_v1_admin_signup_post**](docs/DefaultApi.md#api_v1_admin_signup_post) | **POST** /api/v1/admin/signup | -*DefaultApi* | [**api_v1_admin_user_management_users_get**](docs/DefaultApi.md#api_v1_admin_user_management_users_get) | **GET** /api/v1/admin/user-management/users | -*DefaultApi* | [**api_v1_admin_user_management_users_user_id_delete**](docs/DefaultApi.md#api_v1_admin_user_management_users_user_id_delete) | **DELETE** /api/v1/admin/user-management/users/{userId} | -*DefaultApi* | [**api_v1_audit_log_streams_get**](docs/DefaultApi.md#api_v1_audit_log_streams_get) | **GET** /api/v1/audit-log-streams | -*DefaultApi* | [**api_v1_audit_log_streams_id_delete**](docs/DefaultApi.md#api_v1_audit_log_streams_id_delete) | **DELETE** /api/v1/audit-log-streams/{id} | -*DefaultApi* | [**api_v1_audit_log_streams_id_get**](docs/DefaultApi.md#api_v1_audit_log_streams_id_get) | **GET** /api/v1/audit-log-streams/{id} | -*DefaultApi* | [**api_v1_audit_log_streams_id_patch**](docs/DefaultApi.md#api_v1_audit_log_streams_id_patch) | **PATCH** /api/v1/audit-log-streams/{id} | -*DefaultApi* | [**api_v1_audit_log_streams_post**](docs/DefaultApi.md#api_v1_audit_log_streams_post) | **POST** /api/v1/audit-log-streams | -*DefaultApi* | [**api_v1_auth_aws_auth_identities_identity_id_delete**](docs/DefaultApi.md#api_v1_auth_aws_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/aws-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_aws_auth_identities_identity_id_get**](docs/DefaultApi.md#api_v1_auth_aws_auth_identities_identity_id_get) | **GET** /api/v1/auth/aws-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_aws_auth_identities_identity_id_patch**](docs/DefaultApi.md#api_v1_auth_aws_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/aws-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_aws_auth_identities_identity_id_post**](docs/DefaultApi.md#api_v1_auth_aws_auth_identities_identity_id_post) | **POST** /api/v1/auth/aws-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_aws_auth_login_post**](docs/DefaultApi.md#api_v1_auth_aws_auth_login_post) | **POST** /api/v1/auth/aws-auth/login | -*DefaultApi* | [**api_v1_auth_azure_auth_identities_identity_id_delete**](docs/DefaultApi.md#api_v1_auth_azure_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/azure-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_azure_auth_identities_identity_id_get**](docs/DefaultApi.md#api_v1_auth_azure_auth_identities_identity_id_get) | **GET** /api/v1/auth/azure-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_azure_auth_identities_identity_id_patch**](docs/DefaultApi.md#api_v1_auth_azure_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/azure-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_azure_auth_identities_identity_id_post**](docs/DefaultApi.md#api_v1_auth_azure_auth_identities_identity_id_post) | **POST** /api/v1/auth/azure-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_azure_auth_login_post**](docs/DefaultApi.md#api_v1_auth_azure_auth_login_post) | **POST** /api/v1/auth/azure-auth/login | -*DefaultApi* | [**api_v1_auth_check_auth_post**](docs/DefaultApi.md#api_v1_auth_check_auth_post) | **POST** /api/v1/auth/checkAuth | -*DefaultApi* | [**api_v1_auth_gcp_auth_identities_identity_id_delete**](docs/DefaultApi.md#api_v1_auth_gcp_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/gcp-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_gcp_auth_identities_identity_id_get**](docs/DefaultApi.md#api_v1_auth_gcp_auth_identities_identity_id_get) | **GET** /api/v1/auth/gcp-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_gcp_auth_identities_identity_id_patch**](docs/DefaultApi.md#api_v1_auth_gcp_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/gcp-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_gcp_auth_identities_identity_id_post**](docs/DefaultApi.md#api_v1_auth_gcp_auth_identities_identity_id_post) | **POST** /api/v1/auth/gcp-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_gcp_auth_login_post**](docs/DefaultApi.md#api_v1_auth_gcp_auth_login_post) | **POST** /api/v1/auth/gcp-auth/login | -*DefaultApi* | [**api_v1_auth_kubernetes_auth_identities_identity_id_delete**](docs/DefaultApi.md#api_v1_auth_kubernetes_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/kubernetes-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_kubernetes_auth_identities_identity_id_get**](docs/DefaultApi.md#api_v1_auth_kubernetes_auth_identities_identity_id_get) | **GET** /api/v1/auth/kubernetes-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_kubernetes_auth_identities_identity_id_patch**](docs/DefaultApi.md#api_v1_auth_kubernetes_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/kubernetes-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_kubernetes_auth_identities_identity_id_post**](docs/DefaultApi.md#api_v1_auth_kubernetes_auth_identities_identity_id_post) | **POST** /api/v1/auth/kubernetes-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_kubernetes_auth_login_post**](docs/DefaultApi.md#api_v1_auth_kubernetes_auth_login_post) | **POST** /api/v1/auth/kubernetes-auth/login | -*DefaultApi* | [**api_v1_auth_logout_post**](docs/DefaultApi.md#api_v1_auth_logout_post) | **POST** /api/v1/auth/logout | -*DefaultApi* | [**api_v1_auth_oidc_auth_identities_identity_id_delete**](docs/DefaultApi.md#api_v1_auth_oidc_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/oidc-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_oidc_auth_identities_identity_id_get**](docs/DefaultApi.md#api_v1_auth_oidc_auth_identities_identity_id_get) | **GET** /api/v1/auth/oidc-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_oidc_auth_identities_identity_id_patch**](docs/DefaultApi.md#api_v1_auth_oidc_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/oidc-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_oidc_auth_identities_identity_id_post**](docs/DefaultApi.md#api_v1_auth_oidc_auth_identities_identity_id_post) | **POST** /api/v1/auth/oidc-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_oidc_auth_login_post**](docs/DefaultApi.md#api_v1_auth_oidc_auth_login_post) | **POST** /api/v1/auth/oidc-auth/login | -*DefaultApi* | [**api_v1_auth_token_auth_identities_identity_id_delete**](docs/DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/token-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_token_auth_identities_identity_id_get**](docs/DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_get) | **GET** /api/v1/auth/token-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_token_auth_identities_identity_id_patch**](docs/DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/token-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_token_auth_identities_identity_id_post**](docs/DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_post) | **POST** /api/v1/auth/token-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_token_auth_identities_identity_id_tokens_get**](docs/DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_tokens_get) | **GET** /api/v1/auth/token-auth/identities/{identityId}/tokens | -*DefaultApi* | [**api_v1_auth_token_auth_identities_identity_id_tokens_post**](docs/DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_tokens_post) | **POST** /api/v1/auth/token-auth/identities/{identityId}/tokens | -*DefaultApi* | [**api_v1_auth_token_auth_tokens_token_id_patch**](docs/DefaultApi.md#api_v1_auth_token_auth_tokens_token_id_patch) | **PATCH** /api/v1/auth/token-auth/tokens/{tokenId} | -*DefaultApi* | [**api_v1_auth_token_auth_tokens_token_id_revoke_post**](docs/DefaultApi.md#api_v1_auth_token_auth_tokens_token_id_revoke_post) | **POST** /api/v1/auth/token-auth/tokens/{tokenId}/revoke | -*DefaultApi* | [**api_v1_auth_token_post**](docs/DefaultApi.md#api_v1_auth_token_post) | **POST** /api/v1/auth/token | -*DefaultApi* | [**api_v1_auth_token_renew_post**](docs/DefaultApi.md#api_v1_auth_token_renew_post) | **POST** /api/v1/auth/token/renew | -*DefaultApi* | [**api_v1_auth_token_revoke_post**](docs/DefaultApi.md#api_v1_auth_token_revoke_post) | **POST** /api/v1/auth/token/revoke | -*DefaultApi* | [**api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get**](docs/DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get) | **GET** /api/v1/auth/universal-auth/identities/{identityId}/client-secrets/{clientSecretId} | -*DefaultApi* | [**api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post**](docs/DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post) | **POST** /api/v1/auth/universal-auth/identities/{identityId}/client-secrets/{clientSecretId}/revoke | -*DefaultApi* | [**api_v1_auth_universal_auth_identities_identity_id_client_secrets_get**](docs/DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_client_secrets_get) | **GET** /api/v1/auth/universal-auth/identities/{identityId}/client-secrets | -*DefaultApi* | [**api_v1_auth_universal_auth_identities_identity_id_client_secrets_post**](docs/DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_client_secrets_post) | **POST** /api/v1/auth/universal-auth/identities/{identityId}/client-secrets | -*DefaultApi* | [**api_v1_auth_universal_auth_identities_identity_id_delete**](docs/DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/universal-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_universal_auth_identities_identity_id_get**](docs/DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_get) | **GET** /api/v1/auth/universal-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_universal_auth_identities_identity_id_patch**](docs/DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/universal-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_universal_auth_identities_identity_id_post**](docs/DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_post) | **POST** /api/v1/auth/universal-auth/identities/{identityId} | -*DefaultApi* | [**api_v1_auth_universal_auth_login_post**](docs/DefaultApi.md#api_v1_auth_universal_auth_login_post) | **POST** /api/v1/auth/universal-auth/login | -*DefaultApi* | [**api_v1_bot_bot_id_active_patch**](docs/DefaultApi.md#api_v1_bot_bot_id_active_patch) | **PATCH** /api/v1/bot/{botId}/active | -*DefaultApi* | [**api_v1_bot_project_id_get**](docs/DefaultApi.md#api_v1_bot_project_id_get) | **GET** /api/v1/bot/{projectId} | -*DefaultApi* | [**api_v1_dynamic_secrets_get**](docs/DefaultApi.md#api_v1_dynamic_secrets_get) | **GET** /api/v1/dynamic-secrets | -*DefaultApi* | [**api_v1_dynamic_secrets_leases_lease_id_delete**](docs/DefaultApi.md#api_v1_dynamic_secrets_leases_lease_id_delete) | **DELETE** /api/v1/dynamic-secrets/leases/{leaseId} | -*DefaultApi* | [**api_v1_dynamic_secrets_leases_lease_id_get**](docs/DefaultApi.md#api_v1_dynamic_secrets_leases_lease_id_get) | **GET** /api/v1/dynamic-secrets/leases/{leaseId} | -*DefaultApi* | [**api_v1_dynamic_secrets_leases_lease_id_renew_post**](docs/DefaultApi.md#api_v1_dynamic_secrets_leases_lease_id_renew_post) | **POST** /api/v1/dynamic-secrets/leases/{leaseId}/renew | -*DefaultApi* | [**api_v1_dynamic_secrets_leases_post**](docs/DefaultApi.md#api_v1_dynamic_secrets_leases_post) | **POST** /api/v1/dynamic-secrets/leases | -*DefaultApi* | [**api_v1_dynamic_secrets_name_delete**](docs/DefaultApi.md#api_v1_dynamic_secrets_name_delete) | **DELETE** /api/v1/dynamic-secrets/{name} | -*DefaultApi* | [**api_v1_dynamic_secrets_name_get**](docs/DefaultApi.md#api_v1_dynamic_secrets_name_get) | **GET** /api/v1/dynamic-secrets/{name} | -*DefaultApi* | [**api_v1_dynamic_secrets_name_leases_get**](docs/DefaultApi.md#api_v1_dynamic_secrets_name_leases_get) | **GET** /api/v1/dynamic-secrets/{name}/leases | -*DefaultApi* | [**api_v1_dynamic_secrets_name_patch**](docs/DefaultApi.md#api_v1_dynamic_secrets_name_patch) | **PATCH** /api/v1/dynamic-secrets/{name} | -*DefaultApi* | [**api_v1_dynamic_secrets_post**](docs/DefaultApi.md#api_v1_dynamic_secrets_post) | **POST** /api/v1/dynamic-secrets | -*DefaultApi* | [**api_v1_external_kms_get**](docs/DefaultApi.md#api_v1_external_kms_get) | **GET** /api/v1/external-kms | -*DefaultApi* | [**api_v1_external_kms_id_delete**](docs/DefaultApi.md#api_v1_external_kms_id_delete) | **DELETE** /api/v1/external-kms/{id} | -*DefaultApi* | [**api_v1_external_kms_id_get**](docs/DefaultApi.md#api_v1_external_kms_id_get) | **GET** /api/v1/external-kms/{id} | -*DefaultApi* | [**api_v1_external_kms_id_patch**](docs/DefaultApi.md#api_v1_external_kms_id_patch) | **PATCH** /api/v1/external-kms/{id} | -*DefaultApi* | [**api_v1_external_kms_post**](docs/DefaultApi.md#api_v1_external_kms_post) | **POST** /api/v1/external-kms | -*DefaultApi* | [**api_v1_external_kms_slug_slug_get**](docs/DefaultApi.md#api_v1_external_kms_slug_slug_get) | **GET** /api/v1/external-kms/slug/{slug} | -*DefaultApi* | [**api_v1_folders_batch_patch**](docs/DefaultApi.md#api_v1_folders_batch_patch) | **PATCH** /api/v1/folders/batch | -*DefaultApi* | [**api_v1_folders_folder_id_or_name_delete**](docs/DefaultApi.md#api_v1_folders_folder_id_or_name_delete) | **DELETE** /api/v1/folders/{folderIdOrName} | -*DefaultApi* | [**api_v1_folders_folder_id_patch**](docs/DefaultApi.md#api_v1_folders_folder_id_patch) | **PATCH** /api/v1/folders/{folderId} | -*DefaultApi* | [**api_v1_folders_get**](docs/DefaultApi.md#api_v1_folders_get) | **GET** /api/v1/folders | -*DefaultApi* | [**api_v1_folders_id_get**](docs/DefaultApi.md#api_v1_folders_id_get) | **GET** /api/v1/folders/{id} | -*DefaultApi* | [**api_v1_folders_post**](docs/DefaultApi.md#api_v1_folders_post) | **POST** /api/v1/folders | -*DefaultApi* | [**api_v1_groups_current_slug_patch**](docs/DefaultApi.md#api_v1_groups_current_slug_patch) | **PATCH** /api/v1/groups/{currentSlug} | -*DefaultApi* | [**api_v1_groups_post**](docs/DefaultApi.md#api_v1_groups_post) | **POST** /api/v1/groups | -*DefaultApi* | [**api_v1_groups_slug_delete**](docs/DefaultApi.md#api_v1_groups_slug_delete) | **DELETE** /api/v1/groups/{slug} | -*DefaultApi* | [**api_v1_groups_slug_users_get**](docs/DefaultApi.md#api_v1_groups_slug_users_get) | **GET** /api/v1/groups/{slug}/users | -*DefaultApi* | [**api_v1_groups_slug_users_username_delete**](docs/DefaultApi.md#api_v1_groups_slug_users_username_delete) | **DELETE** /api/v1/groups/{slug}/users/{username} | -*DefaultApi* | [**api_v1_groups_slug_users_username_post**](docs/DefaultApi.md#api_v1_groups_slug_users_username_post) | **POST** /api/v1/groups/{slug}/users/{username} | -*DefaultApi* | [**api_v1_identities_get**](docs/DefaultApi.md#api_v1_identities_get) | **GET** /api/v1/identities | -*DefaultApi* | [**api_v1_identities_identity_id_delete**](docs/DefaultApi.md#api_v1_identities_identity_id_delete) | **DELETE** /api/v1/identities/{identityId} | -*DefaultApi* | [**api_v1_identities_identity_id_get**](docs/DefaultApi.md#api_v1_identities_identity_id_get) | **GET** /api/v1/identities/{identityId} | -*DefaultApi* | [**api_v1_identities_identity_id_identity_memberships_get**](docs/DefaultApi.md#api_v1_identities_identity_id_identity_memberships_get) | **GET** /api/v1/identities/{identityId}/identity-memberships | -*DefaultApi* | [**api_v1_identities_identity_id_patch**](docs/DefaultApi.md#api_v1_identities_identity_id_patch) | **PATCH** /api/v1/identities/{identityId} | -*DefaultApi* | [**api_v1_identities_post**](docs/DefaultApi.md#api_v1_identities_post) | **POST** /api/v1/identities | -*DefaultApi* | [**api_v1_integration_auth_access_token_post**](docs/DefaultApi.md#api_v1_integration_auth_access_token_post) | **POST** /api/v1/integration-auth/access-token | -*DefaultApi* | [**api_v1_integration_auth_delete**](docs/DefaultApi.md#api_v1_integration_auth_delete) | **DELETE** /api/v1/integration-auth | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_apps_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_apps_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/apps | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/aws-secrets-manager/kms-keys | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/bitbucket/workspaces | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_checkly_groups_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_checkly_groups_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/checkly/groups | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_delete**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_delete) | **DELETE** /api/v1/integration-auth/{integrationAuthId} | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_get) | **GET** /api/v1/integration-auth/{integrationAuthId} | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_github_envs_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_github_envs_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/github/envs | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_github_orgs_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_github_orgs_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/github/orgs | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_heroku_pipelines_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_heroku_pipelines_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/heroku/pipelines | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/northflank/secret-groups | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_qovery_apps_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_apps_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/apps | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_qovery_containers_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_containers_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/containers | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_qovery_environments_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_environments_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/environments | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_qovery_jobs_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_jobs_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/jobs | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_qovery_orgs_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_orgs_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/orgs | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_qovery_projects_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_projects_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/projects | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_railway_environments_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_railway_environments_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/railway/environments | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_railway_services_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_railway_services_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/railway/services | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/teamcity/build-configs | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_teams_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_teams_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/teams | -*DefaultApi* | [**api_v1_integration_auth_integration_auth_id_vercel_branches_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_auth_id_vercel_branches_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/vercel/branches | -*DefaultApi* | [**api_v1_integration_auth_integration_options_get**](docs/DefaultApi.md#api_v1_integration_auth_integration_options_get) | **GET** /api/v1/integration-auth/integration-options | -*DefaultApi* | [**api_v1_integration_auth_oauth_token_post**](docs/DefaultApi.md#api_v1_integration_auth_oauth_token_post) | **POST** /api/v1/integration-auth/oauth-token | -*DefaultApi* | [**api_v1_integration_integration_id_delete**](docs/DefaultApi.md#api_v1_integration_integration_id_delete) | **DELETE** /api/v1/integration/{integrationId} | -*DefaultApi* | [**api_v1_integration_integration_id_patch**](docs/DefaultApi.md#api_v1_integration_integration_id_patch) | **PATCH** /api/v1/integration/{integrationId} | -*DefaultApi* | [**api_v1_integration_integration_id_sync_post**](docs/DefaultApi.md#api_v1_integration_integration_id_sync_post) | **POST** /api/v1/integration/{integrationId}/sync | -*DefaultApi* | [**api_v1_integration_post**](docs/DefaultApi.md#api_v1_integration_post) | **POST** /api/v1/integration | -*DefaultApi* | [**api_v1_invite_org_signup_post**](docs/DefaultApi.md#api_v1_invite_org_signup_post) | **POST** /api/v1/invite-org/signup | -*DefaultApi* | [**api_v1_invite_org_verify_post**](docs/DefaultApi.md#api_v1_invite_org_verify_post) | **POST** /api/v1/invite-org/verify | -*DefaultApi* | [**api_v1_ldap_config_config_id_group_maps_get**](docs/DefaultApi.md#api_v1_ldap_config_config_id_group_maps_get) | **GET** /api/v1/ldap/config/{configId}/group-maps | -*DefaultApi* | [**api_v1_ldap_config_config_id_group_maps_group_map_id_delete**](docs/DefaultApi.md#api_v1_ldap_config_config_id_group_maps_group_map_id_delete) | **DELETE** /api/v1/ldap/config/{configId}/group-maps/{groupMapId} | -*DefaultApi* | [**api_v1_ldap_config_config_id_group_maps_post**](docs/DefaultApi.md#api_v1_ldap_config_config_id_group_maps_post) | **POST** /api/v1/ldap/config/{configId}/group-maps | -*DefaultApi* | [**api_v1_ldap_config_config_id_test_connection_post**](docs/DefaultApi.md#api_v1_ldap_config_config_id_test_connection_post) | **POST** /api/v1/ldap/config/{configId}/test-connection | -*DefaultApi* | [**api_v1_ldap_config_get**](docs/DefaultApi.md#api_v1_ldap_config_get) | **GET** /api/v1/ldap/config | -*DefaultApi* | [**api_v1_ldap_config_patch**](docs/DefaultApi.md#api_v1_ldap_config_patch) | **PATCH** /api/v1/ldap/config | -*DefaultApi* | [**api_v1_ldap_config_post**](docs/DefaultApi.md#api_v1_ldap_config_post) | **POST** /api/v1/ldap/config | -*DefaultApi* | [**api_v1_ldap_login_post**](docs/DefaultApi.md#api_v1_ldap_login_post) | **POST** /api/v1/ldap/login | -*DefaultApi* | [**api_v1_organization_admin_projects_get**](docs/DefaultApi.md#api_v1_organization_admin_projects_get) | **GET** /api/v1/organization-admin/projects | -*DefaultApi* | [**api_v1_organization_admin_projects_project_id_grant_admin_access_post**](docs/DefaultApi.md#api_v1_organization_admin_projects_project_id_grant_admin_access_post) | **POST** /api/v1/organization-admin/projects/{projectId}/grant-admin-access | -*DefaultApi* | [**api_v1_organization_get**](docs/DefaultApi.md#api_v1_organization_get) | **GET** /api/v1/organization | -*DefaultApi* | [**api_v1_organization_organization_id_get**](docs/DefaultApi.md#api_v1_organization_organization_id_get) | **GET** /api/v1/organization/{organizationId} | -*DefaultApi* | [**api_v1_organization_organization_id_groups_get**](docs/DefaultApi.md#api_v1_organization_organization_id_groups_get) | **GET** /api/v1/organization/{organizationId}/groups | -*DefaultApi* | [**api_v1_organization_organization_id_incident_contact_org_get**](docs/DefaultApi.md#api_v1_organization_organization_id_incident_contact_org_get) | **GET** /api/v1/organization/{organizationId}/incidentContactOrg | -*DefaultApi* | [**api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete**](docs/DefaultApi.md#api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete) | **DELETE** /api/v1/organization/{organizationId}/incidentContactOrg/{incidentContactId} | -*DefaultApi* | [**api_v1_organization_organization_id_incident_contact_org_post**](docs/DefaultApi.md#api_v1_organization_organization_id_incident_contact_org_post) | **POST** /api/v1/organization/{organizationId}/incidentContactOrg | -*DefaultApi* | [**api_v1_organization_organization_id_patch**](docs/DefaultApi.md#api_v1_organization_organization_id_patch) | **PATCH** /api/v1/organization/{organizationId} | -*DefaultApi* | [**api_v1_organization_organization_id_permissions_get**](docs/DefaultApi.md#api_v1_organization_organization_id_permissions_get) | **GET** /api/v1/organization/{organizationId}/permissions | -*DefaultApi* | [**api_v1_organization_organization_id_roles_get**](docs/DefaultApi.md#api_v1_organization_organization_id_roles_get) | **GET** /api/v1/organization/{organizationId}/roles | -*DefaultApi* | [**api_v1_organization_organization_id_roles_post**](docs/DefaultApi.md#api_v1_organization_organization_id_roles_post) | **POST** /api/v1/organization/{organizationId}/roles | -*DefaultApi* | [**api_v1_organization_organization_id_roles_role_id_delete**](docs/DefaultApi.md#api_v1_organization_organization_id_roles_role_id_delete) | **DELETE** /api/v1/organization/{organizationId}/roles/{roleId} | -*DefaultApi* | [**api_v1_organization_organization_id_roles_role_id_get**](docs/DefaultApi.md#api_v1_organization_organization_id_roles_role_id_get) | **GET** /api/v1/organization/{organizationId}/roles/{roleId} | -*DefaultApi* | [**api_v1_organization_organization_id_roles_role_id_patch**](docs/DefaultApi.md#api_v1_organization_organization_id_roles_role_id_patch) | **PATCH** /api/v1/organization/{organizationId}/roles/{roleId} | -*DefaultApi* | [**api_v1_organization_organization_id_users_get**](docs/DefaultApi.md#api_v1_organization_organization_id_users_get) | **GET** /api/v1/organization/{organizationId}/users | -*DefaultApi* | [**api_v1_organizations_organization_id_billing_details_get**](docs/DefaultApi.md#api_v1_organizations_organization_id_billing_details_get) | **GET** /api/v1/organizations/{organizationId}/billing-details | -*DefaultApi* | [**api_v1_organizations_organization_id_billing_details_patch**](docs/DefaultApi.md#api_v1_organizations_organization_id_billing_details_patch) | **PATCH** /api/v1/organizations/{organizationId}/billing-details | -*DefaultApi* | [**api_v1_organizations_organization_id_billing_details_payment_methods_get**](docs/DefaultApi.md#api_v1_organizations_organization_id_billing_details_payment_methods_get) | **GET** /api/v1/organizations/{organizationId}/billing-details/payment-methods | -*DefaultApi* | [**api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete**](docs/DefaultApi.md#api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete) | **DELETE** /api/v1/organizations/{organizationId}/billing-details/payment-methods/{pmtMethodId} | -*DefaultApi* | [**api_v1_organizations_organization_id_billing_details_payment_methods_post**](docs/DefaultApi.md#api_v1_organizations_organization_id_billing_details_payment_methods_post) | **POST** /api/v1/organizations/{organizationId}/billing-details/payment-methods | -*DefaultApi* | [**api_v1_organizations_organization_id_billing_details_tax_ids_get**](docs/DefaultApi.md#api_v1_organizations_organization_id_billing_details_tax_ids_get) | **GET** /api/v1/organizations/{organizationId}/billing-details/tax-ids | -*DefaultApi* | [**api_v1_organizations_organization_id_billing_details_tax_ids_post**](docs/DefaultApi.md#api_v1_organizations_organization_id_billing_details_tax_ids_post) | **POST** /api/v1/organizations/{organizationId}/billing-details/tax-ids | -*DefaultApi* | [**api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete**](docs/DefaultApi.md#api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete) | **DELETE** /api/v1/organizations/{organizationId}/billing-details/tax-ids/{taxId} | -*DefaultApi* | [**api_v1_organizations_organization_id_customer_portal_session_post**](docs/DefaultApi.md#api_v1_organizations_organization_id_customer_portal_session_post) | **POST** /api/v1/organizations/{organizationId}/customer-portal-session | -*DefaultApi* | [**api_v1_organizations_organization_id_invoices_get**](docs/DefaultApi.md#api_v1_organizations_organization_id_invoices_get) | **GET** /api/v1/organizations/{organizationId}/invoices | -*DefaultApi* | [**api_v1_organizations_organization_id_licenses_get**](docs/DefaultApi.md#api_v1_organizations_organization_id_licenses_get) | **GET** /api/v1/organizations/{organizationId}/licenses | -*DefaultApi* | [**api_v1_organizations_organization_id_plan_billing_get**](docs/DefaultApi.md#api_v1_organizations_organization_id_plan_billing_get) | **GET** /api/v1/organizations/{organizationId}/plan/billing | -*DefaultApi* | [**api_v1_organizations_organization_id_plan_get**](docs/DefaultApi.md#api_v1_organizations_organization_id_plan_get) | **GET** /api/v1/organizations/{organizationId}/plan | -*DefaultApi* | [**api_v1_organizations_organization_id_plan_table_get**](docs/DefaultApi.md#api_v1_organizations_organization_id_plan_table_get) | **GET** /api/v1/organizations/{organizationId}/plan/table | -*DefaultApi* | [**api_v1_organizations_organization_id_plans_get**](docs/DefaultApi.md#api_v1_organizations_organization_id_plans_get) | **GET** /api/v1/organizations/{organizationId}/plans | -*DefaultApi* | [**api_v1_organizations_organization_id_plans_table_get**](docs/DefaultApi.md#api_v1_organizations_organization_id_plans_table_get) | **GET** /api/v1/organizations/{organizationId}/plans/table | -*DefaultApi* | [**api_v1_organizations_organization_id_session_trial_post**](docs/DefaultApi.md#api_v1_organizations_organization_id_session_trial_post) | **POST** /api/v1/organizations/{organizationId}/session/trial | -*DefaultApi* | [**api_v1_password_backup_private_key_get**](docs/DefaultApi.md#api_v1_password_backup_private_key_get) | **GET** /api/v1/password/backup-private-key | -*DefaultApi* | [**api_v1_password_backup_private_key_post**](docs/DefaultApi.md#api_v1_password_backup_private_key_post) | **POST** /api/v1/password/backup-private-key | -*DefaultApi* | [**api_v1_password_change_password_post**](docs/DefaultApi.md#api_v1_password_change_password_post) | **POST** /api/v1/password/change-password | -*DefaultApi* | [**api_v1_password_email_password_reset_post**](docs/DefaultApi.md#api_v1_password_email_password_reset_post) | **POST** /api/v1/password/email/password-reset | -*DefaultApi* | [**api_v1_password_email_password_reset_verify_post**](docs/DefaultApi.md#api_v1_password_email_password_reset_verify_post) | **POST** /api/v1/password/email/password-reset-verify | -*DefaultApi* | [**api_v1_password_password_reset_post**](docs/DefaultApi.md#api_v1_password_password_reset_post) | **POST** /api/v1/password/password-reset | -*DefaultApi* | [**api_v1_password_srp1_post**](docs/DefaultApi.md#api_v1_password_srp1_post) | **POST** /api/v1/password/srp1 | -*DefaultApi* | [**api_v1_pki_ca_ca_id_certificate_get**](docs/DefaultApi.md#api_v1_pki_ca_ca_id_certificate_get) | **GET** /api/v1/pki/ca/{caId}/certificate | -*DefaultApi* | [**api_v1_pki_ca_ca_id_crl_get**](docs/DefaultApi.md#api_v1_pki_ca_ca_id_crl_get) | **GET** /api/v1/pki/ca/{caId}/crl | -*DefaultApi* | [**api_v1_pki_ca_ca_id_csr_get**](docs/DefaultApi.md#api_v1_pki_ca_ca_id_csr_get) | **GET** /api/v1/pki/ca/{caId}/csr | -*DefaultApi* | [**api_v1_pki_ca_ca_id_delete**](docs/DefaultApi.md#api_v1_pki_ca_ca_id_delete) | **DELETE** /api/v1/pki/ca/{caId} | -*DefaultApi* | [**api_v1_pki_ca_ca_id_get**](docs/DefaultApi.md#api_v1_pki_ca_ca_id_get) | **GET** /api/v1/pki/ca/{caId} | -*DefaultApi* | [**api_v1_pki_ca_ca_id_import_certificate_post**](docs/DefaultApi.md#api_v1_pki_ca_ca_id_import_certificate_post) | **POST** /api/v1/pki/ca/{caId}/import-certificate | -*DefaultApi* | [**api_v1_pki_ca_ca_id_issue_certificate_post**](docs/DefaultApi.md#api_v1_pki_ca_ca_id_issue_certificate_post) | **POST** /api/v1/pki/ca/{caId}/issue-certificate | -*DefaultApi* | [**api_v1_pki_ca_ca_id_patch**](docs/DefaultApi.md#api_v1_pki_ca_ca_id_patch) | **PATCH** /api/v1/pki/ca/{caId} | -*DefaultApi* | [**api_v1_pki_ca_ca_id_sign_certificate_post**](docs/DefaultApi.md#api_v1_pki_ca_ca_id_sign_certificate_post) | **POST** /api/v1/pki/ca/{caId}/sign-certificate | -*DefaultApi* | [**api_v1_pki_ca_ca_id_sign_intermediate_post**](docs/DefaultApi.md#api_v1_pki_ca_ca_id_sign_intermediate_post) | **POST** /api/v1/pki/ca/{caId}/sign-intermediate | -*DefaultApi* | [**api_v1_pki_ca_post**](docs/DefaultApi.md#api_v1_pki_ca_post) | **POST** /api/v1/pki/ca | -*DefaultApi* | [**api_v1_pki_certificates_serial_number_certificate_get**](docs/DefaultApi.md#api_v1_pki_certificates_serial_number_certificate_get) | **GET** /api/v1/pki/certificates/{serialNumber}/certificate | -*DefaultApi* | [**api_v1_pki_certificates_serial_number_delete**](docs/DefaultApi.md#api_v1_pki_certificates_serial_number_delete) | **DELETE** /api/v1/pki/certificates/{serialNumber} | -*DefaultApi* | [**api_v1_pki_certificates_serial_number_get**](docs/DefaultApi.md#api_v1_pki_certificates_serial_number_get) | **GET** /api/v1/pki/certificates/{serialNumber} | -*DefaultApi* | [**api_v1_pki_certificates_serial_number_revoke_post**](docs/DefaultApi.md#api_v1_pki_certificates_serial_number_revoke_post) | **POST** /api/v1/pki/certificates/{serialNumber}/revoke | -*DefaultApi* | [**api_v1_rate_limit_get**](docs/DefaultApi.md#api_v1_rate_limit_get) | **GET** /api/v1/rate-limit | -*DefaultApi* | [**api_v1_rate_limit_put**](docs/DefaultApi.md#api_v1_rate_limit_put) | **PUT** /api/v1/rate-limit | -*DefaultApi* | [**api_v1_scim_groups_get**](docs/DefaultApi.md#api_v1_scim_groups_get) | **GET** /api/v1/scim/Groups | -*DefaultApi* | [**api_v1_scim_groups_group_id_delete**](docs/DefaultApi.md#api_v1_scim_groups_group_id_delete) | **DELETE** /api/v1/scim/Groups/{groupId} | -*DefaultApi* | [**api_v1_scim_groups_group_id_get**](docs/DefaultApi.md#api_v1_scim_groups_group_id_get) | **GET** /api/v1/scim/Groups/{groupId} | -*DefaultApi* | [**api_v1_scim_groups_group_id_patch**](docs/DefaultApi.md#api_v1_scim_groups_group_id_patch) | **PATCH** /api/v1/scim/Groups/{groupId} | -*DefaultApi* | [**api_v1_scim_groups_group_id_put**](docs/DefaultApi.md#api_v1_scim_groups_group_id_put) | **PUT** /api/v1/scim/Groups/{groupId} | -*DefaultApi* | [**api_v1_scim_groups_post**](docs/DefaultApi.md#api_v1_scim_groups_post) | **POST** /api/v1/scim/Groups | -*DefaultApi* | [**api_v1_scim_scim_tokens_get**](docs/DefaultApi.md#api_v1_scim_scim_tokens_get) | **GET** /api/v1/scim/scim-tokens | -*DefaultApi* | [**api_v1_scim_scim_tokens_post**](docs/DefaultApi.md#api_v1_scim_scim_tokens_post) | **POST** /api/v1/scim/scim-tokens | -*DefaultApi* | [**api_v1_scim_scim_tokens_scim_token_id_delete**](docs/DefaultApi.md#api_v1_scim_scim_tokens_scim_token_id_delete) | **DELETE** /api/v1/scim/scim-tokens/{scimTokenId} | -*DefaultApi* | [**api_v1_scim_users_get**](docs/DefaultApi.md#api_v1_scim_users_get) | **GET** /api/v1/scim/Users | -*DefaultApi* | [**api_v1_scim_users_org_membership_id_delete**](docs/DefaultApi.md#api_v1_scim_users_org_membership_id_delete) | **DELETE** /api/v1/scim/Users/{orgMembershipId} | -*DefaultApi* | [**api_v1_scim_users_org_membership_id_get**](docs/DefaultApi.md#api_v1_scim_users_org_membership_id_get) | **GET** /api/v1/scim/Users/{orgMembershipId} | -*DefaultApi* | [**api_v1_scim_users_org_membership_id_put**](docs/DefaultApi.md#api_v1_scim_users_org_membership_id_put) | **PUT** /api/v1/scim/Users/{orgMembershipId} | -*DefaultApi* | [**api_v1_scim_users_post**](docs/DefaultApi.md#api_v1_scim_users_post) | **POST** /api/v1/scim/Users | -*DefaultApi* | [**api_v1_secret_approval_requests_count_get**](docs/DefaultApi.md#api_v1_secret_approval_requests_count_get) | **GET** /api/v1/secret-approval-requests/count | -*DefaultApi* | [**api_v1_secret_approval_requests_get**](docs/DefaultApi.md#api_v1_secret_approval_requests_get) | **GET** /api/v1/secret-approval-requests | -*DefaultApi* | [**api_v1_secret_approval_requests_id_get**](docs/DefaultApi.md#api_v1_secret_approval_requests_id_get) | **GET** /api/v1/secret-approval-requests/{id} | -*DefaultApi* | [**api_v1_secret_approval_requests_id_merge_post**](docs/DefaultApi.md#api_v1_secret_approval_requests_id_merge_post) | **POST** /api/v1/secret-approval-requests/{id}/merge | -*DefaultApi* | [**api_v1_secret_approval_requests_id_review_post**](docs/DefaultApi.md#api_v1_secret_approval_requests_id_review_post) | **POST** /api/v1/secret-approval-requests/{id}/review | -*DefaultApi* | [**api_v1_secret_approval_requests_id_status_post**](docs/DefaultApi.md#api_v1_secret_approval_requests_id_status_post) | **POST** /api/v1/secret-approval-requests/{id}/status | -*DefaultApi* | [**api_v1_secret_approvals_board_get**](docs/DefaultApi.md#api_v1_secret_approvals_board_get) | **GET** /api/v1/secret-approvals/board | -*DefaultApi* | [**api_v1_secret_approvals_get**](docs/DefaultApi.md#api_v1_secret_approvals_get) | **GET** /api/v1/secret-approvals | -*DefaultApi* | [**api_v1_secret_approvals_post**](docs/DefaultApi.md#api_v1_secret_approvals_post) | **POST** /api/v1/secret-approvals | -*DefaultApi* | [**api_v1_secret_approvals_sap_id_delete**](docs/DefaultApi.md#api_v1_secret_approvals_sap_id_delete) | **DELETE** /api/v1/secret-approvals/{sapId} | -*DefaultApi* | [**api_v1_secret_approvals_sap_id_patch**](docs/DefaultApi.md#api_v1_secret_approvals_sap_id_patch) | **PATCH** /api/v1/secret-approvals/{sapId} | -*DefaultApi* | [**api_v1_secret_imports_get**](docs/DefaultApi.md#api_v1_secret_imports_get) | **GET** /api/v1/secret-imports | -*DefaultApi* | [**api_v1_secret_imports_post**](docs/DefaultApi.md#api_v1_secret_imports_post) | **POST** /api/v1/secret-imports | -*DefaultApi* | [**api_v1_secret_imports_secret_import_id_delete**](docs/DefaultApi.md#api_v1_secret_imports_secret_import_id_delete) | **DELETE** /api/v1/secret-imports/{secretImportId} | -*DefaultApi* | [**api_v1_secret_imports_secret_import_id_patch**](docs/DefaultApi.md#api_v1_secret_imports_secret_import_id_patch) | **PATCH** /api/v1/secret-imports/{secretImportId} | -*DefaultApi* | [**api_v1_secret_imports_secret_import_id_replication_resync_post**](docs/DefaultApi.md#api_v1_secret_imports_secret_import_id_replication_resync_post) | **POST** /api/v1/secret-imports/{secretImportId}/replication-resync | -*DefaultApi* | [**api_v1_secret_imports_secrets_get**](docs/DefaultApi.md#api_v1_secret_imports_secrets_get) | **GET** /api/v1/secret-imports/secrets | -*DefaultApi* | [**api_v1_secret_imports_secrets_raw_get**](docs/DefaultApi.md#api_v1_secret_imports_secrets_raw_get) | **GET** /api/v1/secret-imports/secrets/raw | -*DefaultApi* | [**api_v1_secret_rotation_providers_workspace_id_get**](docs/DefaultApi.md#api_v1_secret_rotation_providers_workspace_id_get) | **GET** /api/v1/secret-rotation-providers/{workspaceId} | -*DefaultApi* | [**api_v1_secret_rotations_get**](docs/DefaultApi.md#api_v1_secret_rotations_get) | **GET** /api/v1/secret-rotations | -*DefaultApi* | [**api_v1_secret_rotations_id_delete**](docs/DefaultApi.md#api_v1_secret_rotations_id_delete) | **DELETE** /api/v1/secret-rotations/{id} | -*DefaultApi* | [**api_v1_secret_rotations_post**](docs/DefaultApi.md#api_v1_secret_rotations_post) | **POST** /api/v1/secret-rotations | -*DefaultApi* | [**api_v1_secret_rotations_restart_post**](docs/DefaultApi.md#api_v1_secret_rotations_restart_post) | **POST** /api/v1/secret-rotations/restart | -*DefaultApi* | [**api_v1_secret_scanning_create_installation_session_organization_post**](docs/DefaultApi.md#api_v1_secret_scanning_create_installation_session_organization_post) | **POST** /api/v1/secret-scanning/create-installation-session/organization | -*DefaultApi* | [**api_v1_secret_scanning_installation_status_organization_organization_id_get**](docs/DefaultApi.md#api_v1_secret_scanning_installation_status_organization_organization_id_get) | **GET** /api/v1/secret-scanning/installation-status/organization/{organizationId} | -*DefaultApi* | [**api_v1_secret_scanning_link_installation_post**](docs/DefaultApi.md#api_v1_secret_scanning_link_installation_post) | **POST** /api/v1/secret-scanning/link-installation | -*DefaultApi* | [**api_v1_secret_scanning_organization_organization_id_risks_get**](docs/DefaultApi.md#api_v1_secret_scanning_organization_organization_id_risks_get) | **GET** /api/v1/secret-scanning/organization/{organizationId}/risks | -*DefaultApi* | [**api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post**](docs/DefaultApi.md#api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post) | **POST** /api/v1/secret-scanning/organization/{organizationId}/risks/{riskId}/status | -*DefaultApi* | [**api_v1_secret_secret_id_secret_versions_get**](docs/DefaultApi.md#api_v1_secret_secret_id_secret_versions_get) | **GET** /api/v1/secret/{secretId}/secret-versions | -*DefaultApi* | [**api_v1_secret_sharing_get**](docs/DefaultApi.md#api_v1_secret_sharing_get) | **GET** /api/v1/secret-sharing | -*DefaultApi* | [**api_v1_secret_sharing_post**](docs/DefaultApi.md#api_v1_secret_sharing_post) | **POST** /api/v1/secret-sharing | -*DefaultApi* | [**api_v1_secret_sharing_public_id_get**](docs/DefaultApi.md#api_v1_secret_sharing_public_id_get) | **GET** /api/v1/secret-sharing/public/{id} | -*DefaultApi* | [**api_v1_secret_sharing_public_post**](docs/DefaultApi.md#api_v1_secret_sharing_public_post) | **POST** /api/v1/secret-sharing/public | -*DefaultApi* | [**api_v1_secret_sharing_shared_secret_id_delete**](docs/DefaultApi.md#api_v1_secret_sharing_shared_secret_id_delete) | **DELETE** /api/v1/secret-sharing/{sharedSecretId} | -*DefaultApi* | [**api_v1_secret_snapshot_secret_snapshot_id_get**](docs/DefaultApi.md#api_v1_secret_snapshot_secret_snapshot_id_get) | **GET** /api/v1/secret-snapshot/{secretSnapshotId} | -*DefaultApi* | [**api_v1_secret_snapshot_secret_snapshot_id_rollback_post**](docs/DefaultApi.md#api_v1_secret_snapshot_secret_snapshot_id_rollback_post) | **POST** /api/v1/secret-snapshot/{secretSnapshotId}/rollback | -*DefaultApi* | [**api_v1_sso_config_get**](docs/DefaultApi.md#api_v1_sso_config_get) | **GET** /api/v1/sso/config | -*DefaultApi* | [**api_v1_sso_config_patch**](docs/DefaultApi.md#api_v1_sso_config_patch) | **PATCH** /api/v1/sso/config | -*DefaultApi* | [**api_v1_sso_config_post**](docs/DefaultApi.md#api_v1_sso_config_post) | **POST** /api/v1/sso/config | -*DefaultApi* | [**api_v1_sso_github_get**](docs/DefaultApi.md#api_v1_sso_github_get) | **GET** /api/v1/sso/github | -*DefaultApi* | [**api_v1_sso_gitlab_get**](docs/DefaultApi.md#api_v1_sso_gitlab_get) | **GET** /api/v1/sso/gitlab | -*DefaultApi* | [**api_v1_sso_google_get**](docs/DefaultApi.md#api_v1_sso_google_get) | **GET** /api/v1/sso/google | -*DefaultApi* | [**api_v1_sso_oidc_callback_get**](docs/DefaultApi.md#api_v1_sso_oidc_callback_get) | **GET** /api/v1/sso/oidc/callback | -*DefaultApi* | [**api_v1_sso_oidc_config_get**](docs/DefaultApi.md#api_v1_sso_oidc_config_get) | **GET** /api/v1/sso/oidc/config | -*DefaultApi* | [**api_v1_sso_oidc_config_patch**](docs/DefaultApi.md#api_v1_sso_oidc_config_patch) | **PATCH** /api/v1/sso/oidc/config | -*DefaultApi* | [**api_v1_sso_oidc_config_post**](docs/DefaultApi.md#api_v1_sso_oidc_config_post) | **POST** /api/v1/sso/oidc/config | -*DefaultApi* | [**api_v1_sso_oidc_login_error_get**](docs/DefaultApi.md#api_v1_sso_oidc_login_error_get) | **GET** /api/v1/sso/oidc/login/error | -*DefaultApi* | [**api_v1_sso_oidc_login_get**](docs/DefaultApi.md#api_v1_sso_oidc_login_get) | **GET** /api/v1/sso/oidc/login | -*DefaultApi* | [**api_v1_sso_redirect_github_get**](docs/DefaultApi.md#api_v1_sso_redirect_github_get) | **GET** /api/v1/sso/redirect/github | -*DefaultApi* | [**api_v1_sso_redirect_gitlab_get**](docs/DefaultApi.md#api_v1_sso_redirect_gitlab_get) | **GET** /api/v1/sso/redirect/gitlab | -*DefaultApi* | [**api_v1_sso_redirect_google_get**](docs/DefaultApi.md#api_v1_sso_redirect_google_get) | **GET** /api/v1/sso/redirect/google | -*DefaultApi* | [**api_v1_sso_redirect_saml2_organizations_org_slug_get**](docs/DefaultApi.md#api_v1_sso_redirect_saml2_organizations_org_slug_get) | **GET** /api/v1/sso/redirect/saml2/organizations/{orgSlug} | -*DefaultApi* | [**api_v1_sso_redirect_saml2_saml_config_id_get**](docs/DefaultApi.md#api_v1_sso_redirect_saml2_saml_config_id_get) | **GET** /api/v1/sso/redirect/saml2/{samlConfigId} | -*DefaultApi* | [**api_v1_sso_saml2_saml_config_id_post**](docs/DefaultApi.md#api_v1_sso_saml2_saml_config_id_post) | **POST** /api/v1/sso/saml2/{samlConfigId} | -*DefaultApi* | [**api_v1_sso_token_exchange_post**](docs/DefaultApi.md#api_v1_sso_token_exchange_post) | **POST** /api/v1/sso/token-exchange | -*DefaultApi* | [**api_v1_user_action_get**](docs/DefaultApi.md#api_v1_user_action_get) | **GET** /api/v1/user-action | -*DefaultApi* | [**api_v1_user_action_post**](docs/DefaultApi.md#api_v1_user_action_post) | **POST** /api/v1/user-action | -*DefaultApi* | [**api_v1_user_engagement_me_wish_post**](docs/DefaultApi.md#api_v1_user_engagement_me_wish_post) | **POST** /api/v1/user-engagement/me/wish | -*DefaultApi* | [**api_v1_user_get**](docs/DefaultApi.md#api_v1_user_get) | **GET** /api/v1/user | -*DefaultApi* | [**api_v1_user_me_project_favorites_get**](docs/DefaultApi.md#api_v1_user_me_project_favorites_get) | **GET** /api/v1/user/me/project-favorites | -*DefaultApi* | [**api_v1_user_me_project_favorites_put**](docs/DefaultApi.md#api_v1_user_me_project_favorites_put) | **PUT** /api/v1/user/me/project-favorites | -*DefaultApi* | [**api_v1_user_private_key_get**](docs/DefaultApi.md#api_v1_user_private_key_get) | **GET** /api/v1/user/private-key | -*DefaultApi* | [**api_v1_user_user_id_unlock_get**](docs/DefaultApi.md#api_v1_user_user_id_unlock_get) | **GET** /api/v1/user/{userId}/unlock | -*DefaultApi* | [**api_v1_webhooks_get**](docs/DefaultApi.md#api_v1_webhooks_get) | **GET** /api/v1/webhooks | -*DefaultApi* | [**api_v1_webhooks_post**](docs/DefaultApi.md#api_v1_webhooks_post) | **POST** /api/v1/webhooks | -*DefaultApi* | [**api_v1_webhooks_webhook_id_delete**](docs/DefaultApi.md#api_v1_webhooks_webhook_id_delete) | **DELETE** /api/v1/webhooks/{webhookId} | -*DefaultApi* | [**api_v1_webhooks_webhook_id_patch**](docs/DefaultApi.md#api_v1_webhooks_webhook_id_patch) | **PATCH** /api/v1/webhooks/{webhookId} | -*DefaultApi* | [**api_v1_webhooks_webhook_id_test_post**](docs/DefaultApi.md#api_v1_webhooks_webhook_id_test_post) | **POST** /api/v1/webhooks/{webhookId}/test | -*DefaultApi* | [**api_v1_workspace_get**](docs/DefaultApi.md#api_v1_workspace_get) | **GET** /api/v1/workspace | -*DefaultApi* | [**api_v1_workspace_project_id_permissions_get**](docs/DefaultApi.md#api_v1_workspace_project_id_permissions_get) | **GET** /api/v1/workspace/{projectId}/permissions | -*DefaultApi* | [**api_v1_workspace_project_id_tags_get**](docs/DefaultApi.md#api_v1_workspace_project_id_tags_get) | **GET** /api/v1/workspace/{projectId}/tags | -*DefaultApi* | [**api_v1_workspace_project_id_tags_post**](docs/DefaultApi.md#api_v1_workspace_project_id_tags_post) | **POST** /api/v1/workspace/{projectId}/tags | -*DefaultApi* | [**api_v1_workspace_project_id_tags_slug_tag_slug_get**](docs/DefaultApi.md#api_v1_workspace_project_id_tags_slug_tag_slug_get) | **GET** /api/v1/workspace/{projectId}/tags/slug/{tagSlug} | -*DefaultApi* | [**api_v1_workspace_project_id_tags_tag_id_delete**](docs/DefaultApi.md#api_v1_workspace_project_id_tags_tag_id_delete) | **DELETE** /api/v1/workspace/{projectId}/tags/{tagId} | -*DefaultApi* | [**api_v1_workspace_project_id_tags_tag_id_get**](docs/DefaultApi.md#api_v1_workspace_project_id_tags_tag_id_get) | **GET** /api/v1/workspace/{projectId}/tags/{tagId} | -*DefaultApi* | [**api_v1_workspace_project_id_tags_tag_id_patch**](docs/DefaultApi.md#api_v1_workspace_project_id_tags_tag_id_patch) | **PATCH** /api/v1/workspace/{projectId}/tags/{tagId} | -*DefaultApi* | [**api_v1_workspace_project_slug_roles_get**](docs/DefaultApi.md#api_v1_workspace_project_slug_roles_get) | **GET** /api/v1/workspace/{projectSlug}/roles | -*DefaultApi* | [**api_v1_workspace_project_slug_roles_post**](docs/DefaultApi.md#api_v1_workspace_project_slug_roles_post) | **POST** /api/v1/workspace/{projectSlug}/roles | -*DefaultApi* | [**api_v1_workspace_project_slug_roles_role_id_delete**](docs/DefaultApi.md#api_v1_workspace_project_slug_roles_role_id_delete) | **DELETE** /api/v1/workspace/{projectSlug}/roles/{roleId} | -*DefaultApi* | [**api_v1_workspace_project_slug_roles_role_id_patch**](docs/DefaultApi.md#api_v1_workspace_project_slug_roles_role_id_patch) | **PATCH** /api/v1/workspace/{projectSlug}/roles/{roleId} | -*DefaultApi* | [**api_v1_workspace_project_slug_roles_slug_slug_get**](docs/DefaultApi.md#api_v1_workspace_project_slug_roles_slug_slug_get) | **GET** /api/v1/workspace/{projectSlug}/roles/slug/{slug} | -*DefaultApi* | [**api_v1_workspace_workspace_id_audit_logs_filters_actors_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_audit_logs_filters_actors_get) | **GET** /api/v1/workspace/{workspaceId}/audit-logs/filters/actors | -*DefaultApi* | [**api_v1_workspace_workspace_id_audit_logs_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_audit_logs_get) | **GET** /api/v1/workspace/{workspaceId}/audit-logs | -*DefaultApi* | [**api_v1_workspace_workspace_id_authorizations_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_authorizations_get) | **GET** /api/v1/workspace/{workspaceId}/authorizations | -*DefaultApi* | [**api_v1_workspace_workspace_id_auto_capitalization_post**](docs/DefaultApi.md#api_v1_workspace_workspace_id_auto_capitalization_post) | **POST** /api/v1/workspace/{workspaceId}/auto-capitalization | -*DefaultApi* | [**api_v1_workspace_workspace_id_delete**](docs/DefaultApi.md#api_v1_workspace_workspace_id_delete) | **DELETE** /api/v1/workspace/{workspaceId} | -*DefaultApi* | [**api_v1_workspace_workspace_id_environments_env_id_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_environments_env_id_get) | **GET** /api/v1/workspace/{workspaceId}/environments/{envId} | -*DefaultApi* | [**api_v1_workspace_workspace_id_environments_id_delete**](docs/DefaultApi.md#api_v1_workspace_workspace_id_environments_id_delete) | **DELETE** /api/v1/workspace/{workspaceId}/environments/{id} | -*DefaultApi* | [**api_v1_workspace_workspace_id_environments_id_patch**](docs/DefaultApi.md#api_v1_workspace_workspace_id_environments_id_patch) | **PATCH** /api/v1/workspace/{workspaceId}/environments/{id} | -*DefaultApi* | [**api_v1_workspace_workspace_id_environments_post**](docs/DefaultApi.md#api_v1_workspace_workspace_id_environments_post) | **POST** /api/v1/workspace/{workspaceId}/environments | -*DefaultApi* | [**api_v1_workspace_workspace_id_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_get) | **GET** /api/v1/workspace/{workspaceId} | -*DefaultApi* | [**api_v1_workspace_workspace_id_integrations_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_integrations_get) | **GET** /api/v1/workspace/{workspaceId}/integrations | -*DefaultApi* | [**api_v1_workspace_workspace_id_key_post**](docs/DefaultApi.md#api_v1_workspace_workspace_id_key_post) | **POST** /api/v1/workspace/{workspaceId}/key | -*DefaultApi* | [**api_v1_workspace_workspace_id_keys_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_keys_get) | **GET** /api/v1/workspace/{workspaceId}/keys | -*DefaultApi* | [**api_v1_workspace_workspace_id_kms_backup_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_kms_backup_get) | **GET** /api/v1/workspace/{workspaceId}/kms/backup | -*DefaultApi* | [**api_v1_workspace_workspace_id_kms_backup_post**](docs/DefaultApi.md#api_v1_workspace_workspace_id_kms_backup_post) | **POST** /api/v1/workspace/{workspaceId}/kms/backup | -*DefaultApi* | [**api_v1_workspace_workspace_id_kms_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_kms_get) | **GET** /api/v1/workspace/{workspaceId}/kms | -*DefaultApi* | [**api_v1_workspace_workspace_id_kms_patch**](docs/DefaultApi.md#api_v1_workspace_workspace_id_kms_patch) | **PATCH** /api/v1/workspace/{workspaceId}/kms | -*DefaultApi* | [**api_v1_workspace_workspace_id_leave_delete**](docs/DefaultApi.md#api_v1_workspace_workspace_id_leave_delete) | **DELETE** /api/v1/workspace/{workspaceId}/leave | -*DefaultApi* | [**api_v1_workspace_workspace_id_memberships_details_post**](docs/DefaultApi.md#api_v1_workspace_workspace_id_memberships_details_post) | **POST** /api/v1/workspace/{workspaceId}/memberships/details | -*DefaultApi* | [**api_v1_workspace_workspace_id_memberships_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_memberships_get) | **GET** /api/v1/workspace/{workspaceId}/memberships | -*DefaultApi* | [**api_v1_workspace_workspace_id_memberships_membership_id_delete**](docs/DefaultApi.md#api_v1_workspace_workspace_id_memberships_membership_id_delete) | **DELETE** /api/v1/workspace/{workspaceId}/memberships/{membershipId} | -*DefaultApi* | [**api_v1_workspace_workspace_id_memberships_membership_id_patch**](docs/DefaultApi.md#api_v1_workspace_workspace_id_memberships_membership_id_patch) | **PATCH** /api/v1/workspace/{workspaceId}/memberships/{membershipId} | -*DefaultApi* | [**api_v1_workspace_workspace_id_memberships_post**](docs/DefaultApi.md#api_v1_workspace_workspace_id_memberships_post) | **POST** /api/v1/workspace/{workspaceId}/memberships | -*DefaultApi* | [**api_v1_workspace_workspace_id_migrate_v3_post**](docs/DefaultApi.md#api_v1_workspace_workspace_id_migrate_v3_post) | **POST** /api/v1/workspace/{workspaceId}/migrate-v3 | -*DefaultApi* | [**api_v1_workspace_workspace_id_name_post**](docs/DefaultApi.md#api_v1_workspace_workspace_id_name_post) | **POST** /api/v1/workspace/{workspaceId}/name | -*DefaultApi* | [**api_v1_workspace_workspace_id_patch**](docs/DefaultApi.md#api_v1_workspace_workspace_id_patch) | **PATCH** /api/v1/workspace/{workspaceId} | -*DefaultApi* | [**api_v1_workspace_workspace_id_secret_snapshots_count_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_secret_snapshots_count_get) | **GET** /api/v1/workspace/{workspaceId}/secret-snapshots/count | -*DefaultApi* | [**api_v1_workspace_workspace_id_secret_snapshots_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_secret_snapshots_get) | **GET** /api/v1/workspace/{workspaceId}/secret-snapshots | -*DefaultApi* | [**api_v1_workspace_workspace_id_service_token_data_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_service_token_data_get) | **GET** /api/v1/workspace/{workspaceId}/service-token-data | -*DefaultApi* | [**api_v1_workspace_workspace_id_trusted_ips_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_trusted_ips_get) | **GET** /api/v1/workspace/{workspaceId}/trusted-ips | -*DefaultApi* | [**api_v1_workspace_workspace_id_trusted_ips_post**](docs/DefaultApi.md#api_v1_workspace_workspace_id_trusted_ips_post) | **POST** /api/v1/workspace/{workspaceId}/trusted-ips | -*DefaultApi* | [**api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete**](docs/DefaultApi.md#api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete) | **DELETE** /api/v1/workspace/{workspaceId}/trusted-ips/{trustedIpId} | -*DefaultApi* | [**api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch**](docs/DefaultApi.md#api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch) | **PATCH** /api/v1/workspace/{workspaceId}/trusted-ips/{trustedIpId} | -*DefaultApi* | [**api_v1_workspace_workspace_id_users_get**](docs/DefaultApi.md#api_v1_workspace_workspace_id_users_get) | **GET** /api/v1/workspace/{workspaceId}/users | -*DefaultApi* | [**api_v1_workspace_workspace_slug_audit_logs_retention_put**](docs/DefaultApi.md#api_v1_workspace_workspace_slug_audit_logs_retention_put) | **PUT** /api/v1/workspace/{workspaceSlug}/audit-logs-retention | -*DefaultApi* | [**api_v1_workspace_workspace_slug_version_limit_put**](docs/DefaultApi.md#api_v1_workspace_workspace_slug_version_limit_put) | **PUT** /api/v1/workspace/{workspaceSlug}/version-limit | -*DefaultApi* | [**api_v2_auth_mfa_send_post**](docs/DefaultApi.md#api_v2_auth_mfa_send_post) | **POST** /api/v2/auth/mfa/send | -*DefaultApi* | [**api_v2_auth_mfa_verify_post**](docs/DefaultApi.md#api_v2_auth_mfa_verify_post) | **POST** /api/v2/auth/mfa/verify | -*DefaultApi* | [**api_v2_organizations_org_id_identity_memberships_get**](docs/DefaultApi.md#api_v2_organizations_org_id_identity_memberships_get) | **GET** /api/v2/organizations/{orgId}/identity-memberships | -*DefaultApi* | [**api_v2_organizations_organization_id_delete**](docs/DefaultApi.md#api_v2_organizations_organization_id_delete) | **DELETE** /api/v2/organizations/{organizationId} | -*DefaultApi* | [**api_v2_organizations_organization_id_memberships_get**](docs/DefaultApi.md#api_v2_organizations_organization_id_memberships_get) | **GET** /api/v2/organizations/{organizationId}/memberships | -*DefaultApi* | [**api_v2_organizations_organization_id_memberships_membership_id_delete**](docs/DefaultApi.md#api_v2_organizations_organization_id_memberships_membership_id_delete) | **DELETE** /api/v2/organizations/{organizationId}/memberships/{membershipId} | -*DefaultApi* | [**api_v2_organizations_organization_id_memberships_membership_id_get**](docs/DefaultApi.md#api_v2_organizations_organization_id_memberships_membership_id_get) | **GET** /api/v2/organizations/{organizationId}/memberships/{membershipId} | -*DefaultApi* | [**api_v2_organizations_organization_id_memberships_membership_id_patch**](docs/DefaultApi.md#api_v2_organizations_organization_id_memberships_membership_id_patch) | **PATCH** /api/v2/organizations/{organizationId}/memberships/{membershipId} | -*DefaultApi* | [**api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get**](docs/DefaultApi.md#api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get) | **GET** /api/v2/organizations/{organizationId}/memberships/{membershipId}/project-memberships | -*DefaultApi* | [**api_v2_organizations_organization_id_workspaces_get**](docs/DefaultApi.md#api_v2_organizations_organization_id_workspaces_get) | **GET** /api/v2/organizations/{organizationId}/workspaces | -*DefaultApi* | [**api_v2_organizations_post**](docs/DefaultApi.md#api_v2_organizations_post) | **POST** /api/v2/organizations | -*DefaultApi* | [**api_v2_service_token_get**](docs/DefaultApi.md#api_v2_service_token_get) | **GET** /api/v2/service-token | -*DefaultApi* | [**api_v2_service_token_post**](docs/DefaultApi.md#api_v2_service_token_post) | **POST** /api/v2/service-token | -*DefaultApi* | [**api_v2_service_token_service_token_id_delete**](docs/DefaultApi.md#api_v2_service_token_service_token_id_delete) | **DELETE** /api/v2/service-token/{serviceTokenId} | -*DefaultApi* | [**api_v2_users_me_api_keys_api_key_data_id_delete**](docs/DefaultApi.md#api_v2_users_me_api_keys_api_key_data_id_delete) | **DELETE** /api/v2/users/me/api-keys/{apiKeyDataId} | -*DefaultApi* | [**api_v2_users_me_api_keys_get**](docs/DefaultApi.md#api_v2_users_me_api_keys_get) | **GET** /api/v2/users/me/api-keys | -*DefaultApi* | [**api_v2_users_me_api_keys_post**](docs/DefaultApi.md#api_v2_users_me_api_keys_post) | **POST** /api/v2/users/me/api-keys | -*DefaultApi* | [**api_v2_users_me_auth_methods_put**](docs/DefaultApi.md#api_v2_users_me_auth_methods_put) | **PUT** /api/v2/users/me/auth-methods | -*DefaultApi* | [**api_v2_users_me_delete**](docs/DefaultApi.md#api_v2_users_me_delete) | **DELETE** /api/v2/users/me | -*DefaultApi* | [**api_v2_users_me_emails_code_post**](docs/DefaultApi.md#api_v2_users_me_emails_code_post) | **POST** /api/v2/users/me/emails/code | -*DefaultApi* | [**api_v2_users_me_emails_verify_post**](docs/DefaultApi.md#api_v2_users_me_emails_verify_post) | **POST** /api/v2/users/me/emails/verify | -*DefaultApi* | [**api_v2_users_me_get**](docs/DefaultApi.md#api_v2_users_me_get) | **GET** /api/v2/users/me | -*DefaultApi* | [**api_v2_users_me_mfa_patch**](docs/DefaultApi.md#api_v2_users_me_mfa_patch) | **PATCH** /api/v2/users/me/mfa | -*DefaultApi* | [**api_v2_users_me_name_patch**](docs/DefaultApi.md#api_v2_users_me_name_patch) | **PATCH** /api/v2/users/me/name | -*DefaultApi* | [**api_v2_users_me_organizations_get**](docs/DefaultApi.md#api_v2_users_me_organizations_get) | **GET** /api/v2/users/me/organizations | -*DefaultApi* | [**api_v2_users_me_sessions_delete**](docs/DefaultApi.md#api_v2_users_me_sessions_delete) | **DELETE** /api/v2/users/me/sessions | -*DefaultApi* | [**api_v2_users_me_sessions_get**](docs/DefaultApi.md#api_v2_users_me_sessions_get) | **GET** /api/v2/users/me/sessions | -*DefaultApi* | [**api_v2_workspace_post**](docs/DefaultApi.md#api_v2_workspace_post) | **POST** /api/v2/workspace | -*DefaultApi* | [**api_v2_workspace_project_id_identity_memberships_get**](docs/DefaultApi.md#api_v2_workspace_project_id_identity_memberships_get) | **GET** /api/v2/workspace/{projectId}/identity-memberships | -*DefaultApi* | [**api_v2_workspace_project_id_identity_memberships_identity_id_delete**](docs/DefaultApi.md#api_v2_workspace_project_id_identity_memberships_identity_id_delete) | **DELETE** /api/v2/workspace/{projectId}/identity-memberships/{identityId} | -*DefaultApi* | [**api_v2_workspace_project_id_identity_memberships_identity_id_get**](docs/DefaultApi.md#api_v2_workspace_project_id_identity_memberships_identity_id_get) | **GET** /api/v2/workspace/{projectId}/identity-memberships/{identityId} | -*DefaultApi* | [**api_v2_workspace_project_id_identity_memberships_identity_id_patch**](docs/DefaultApi.md#api_v2_workspace_project_id_identity_memberships_identity_id_patch) | **PATCH** /api/v2/workspace/{projectId}/identity-memberships/{identityId} | -*DefaultApi* | [**api_v2_workspace_project_id_identity_memberships_identity_id_post**](docs/DefaultApi.md#api_v2_workspace_project_id_identity_memberships_identity_id_post) | **POST** /api/v2/workspace/{projectId}/identity-memberships/{identityId} | -*DefaultApi* | [**api_v2_workspace_project_id_memberships_delete**](docs/DefaultApi.md#api_v2_workspace_project_id_memberships_delete) | **DELETE** /api/v2/workspace/{projectId}/memberships | -*DefaultApi* | [**api_v2_workspace_project_id_memberships_post**](docs/DefaultApi.md#api_v2_workspace_project_id_memberships_post) | **POST** /api/v2/workspace/{projectId}/memberships | -*DefaultApi* | [**api_v2_workspace_project_id_upgrade_post**](docs/DefaultApi.md#api_v2_workspace_project_id_upgrade_post) | **POST** /api/v2/workspace/{projectId}/upgrade | -*DefaultApi* | [**api_v2_workspace_project_id_upgrade_status_get**](docs/DefaultApi.md#api_v2_workspace_project_id_upgrade_status_get) | **GET** /api/v2/workspace/{projectId}/upgrade/status | -*DefaultApi* | [**api_v2_workspace_project_slug_groups_get**](docs/DefaultApi.md#api_v2_workspace_project_slug_groups_get) | **GET** /api/v2/workspace/{projectSlug}/groups | -*DefaultApi* | [**api_v2_workspace_project_slug_groups_group_slug_delete**](docs/DefaultApi.md#api_v2_workspace_project_slug_groups_group_slug_delete) | **DELETE** /api/v2/workspace/{projectSlug}/groups/{groupSlug} | -*DefaultApi* | [**api_v2_workspace_project_slug_groups_group_slug_patch**](docs/DefaultApi.md#api_v2_workspace_project_slug_groups_group_slug_patch) | **PATCH** /api/v2/workspace/{projectSlug}/groups/{groupSlug} | -*DefaultApi* | [**api_v2_workspace_project_slug_groups_group_slug_post**](docs/DefaultApi.md#api_v2_workspace_project_slug_groups_group_slug_post) | **POST** /api/v2/workspace/{projectSlug}/groups/{groupSlug} | -*DefaultApi* | [**api_v2_workspace_slug_cas_get**](docs/DefaultApi.md#api_v2_workspace_slug_cas_get) | **GET** /api/v2/workspace/{slug}/cas | -*DefaultApi* | [**api_v2_workspace_slug_certificates_get**](docs/DefaultApi.md#api_v2_workspace_slug_certificates_get) | **GET** /api/v2/workspace/{slug}/certificates | -*DefaultApi* | [**api_v2_workspace_slug_delete**](docs/DefaultApi.md#api_v2_workspace_slug_delete) | **DELETE** /api/v2/workspace/{slug} | -*DefaultApi* | [**api_v2_workspace_slug_get**](docs/DefaultApi.md#api_v2_workspace_slug_get) | **GET** /api/v2/workspace/{slug} | -*DefaultApi* | [**api_v2_workspace_slug_patch**](docs/DefaultApi.md#api_v2_workspace_slug_patch) | **PATCH** /api/v2/workspace/{slug} | -*DefaultApi* | [**api_v2_workspace_workspace_id_encrypted_key_get**](docs/DefaultApi.md#api_v2_workspace_workspace_id_encrypted_key_get) | **GET** /api/v2/workspace/{workspaceId}/encrypted-key | -*DefaultApi* | [**api_v3_auth_login1_post**](docs/DefaultApi.md#api_v3_auth_login1_post) | **POST** /api/v3/auth/login1 | -*DefaultApi* | [**api_v3_auth_login2_post**](docs/DefaultApi.md#api_v3_auth_login2_post) | **POST** /api/v3/auth/login2 | -*DefaultApi* | [**api_v3_auth_select_organization_post**](docs/DefaultApi.md#api_v3_auth_select_organization_post) | **POST** /api/v3/auth/select-organization | -*DefaultApi* | [**api_v3_secrets_backfill_secret_references_post**](docs/DefaultApi.md#api_v3_secrets_backfill_secret_references_post) | **POST** /api/v3/secrets/backfill-secret-references | -*DefaultApi* | [**api_v3_secrets_batch_delete**](docs/DefaultApi.md#api_v3_secrets_batch_delete) | **DELETE** /api/v3/secrets/batch | -*DefaultApi* | [**api_v3_secrets_batch_patch**](docs/DefaultApi.md#api_v3_secrets_batch_patch) | **PATCH** /api/v3/secrets/batch | -*DefaultApi* | [**api_v3_secrets_batch_post**](docs/DefaultApi.md#api_v3_secrets_batch_post) | **POST** /api/v3/secrets/batch | -*DefaultApi* | [**api_v3_secrets_batch_raw_delete**](docs/DefaultApi.md#api_v3_secrets_batch_raw_delete) | **DELETE** /api/v3/secrets/batch/raw | -*DefaultApi* | [**api_v3_secrets_batch_raw_patch**](docs/DefaultApi.md#api_v3_secrets_batch_raw_patch) | **PATCH** /api/v3/secrets/batch/raw | -*DefaultApi* | [**api_v3_secrets_batch_raw_post**](docs/DefaultApi.md#api_v3_secrets_batch_raw_post) | **POST** /api/v3/secrets/batch/raw | -*DefaultApi* | [**api_v3_secrets_get**](docs/DefaultApi.md#api_v3_secrets_get) | **GET** /api/v3/secrets | -*DefaultApi* | [**api_v3_secrets_move_post**](docs/DefaultApi.md#api_v3_secrets_move_post) | **POST** /api/v3/secrets/move | -*DefaultApi* | [**api_v3_secrets_raw_get**](docs/DefaultApi.md#api_v3_secrets_raw_get) | **GET** /api/v3/secrets/raw | -*DefaultApi* | [**api_v3_secrets_raw_secret_name_delete**](docs/DefaultApi.md#api_v3_secrets_raw_secret_name_delete) | **DELETE** /api/v3/secrets/raw/{secretName} | -*DefaultApi* | [**api_v3_secrets_raw_secret_name_get**](docs/DefaultApi.md#api_v3_secrets_raw_secret_name_get) | **GET** /api/v3/secrets/raw/{secretName} | -*DefaultApi* | [**api_v3_secrets_raw_secret_name_patch**](docs/DefaultApi.md#api_v3_secrets_raw_secret_name_patch) | **PATCH** /api/v3/secrets/raw/{secretName} | -*DefaultApi* | [**api_v3_secrets_raw_secret_name_post**](docs/DefaultApi.md#api_v3_secrets_raw_secret_name_post) | **POST** /api/v3/secrets/raw/{secretName} | -*DefaultApi* | [**api_v3_secrets_secret_name_delete**](docs/DefaultApi.md#api_v3_secrets_secret_name_delete) | **DELETE** /api/v3/secrets/{secretName} | -*DefaultApi* | [**api_v3_secrets_secret_name_get**](docs/DefaultApi.md#api_v3_secrets_secret_name_get) | **GET** /api/v3/secrets/{secretName} | -*DefaultApi* | [**api_v3_secrets_secret_name_patch**](docs/DefaultApi.md#api_v3_secrets_secret_name_patch) | **PATCH** /api/v3/secrets/{secretName} | -*DefaultApi* | [**api_v3_secrets_secret_name_post**](docs/DefaultApi.md#api_v3_secrets_secret_name_post) | **POST** /api/v3/secrets/{secretName} | -*DefaultApi* | [**api_v3_secrets_tags_secret_name_delete**](docs/DefaultApi.md#api_v3_secrets_tags_secret_name_delete) | **DELETE** /api/v3/secrets/tags/{secretName} | -*DefaultApi* | [**api_v3_secrets_tags_secret_name_post**](docs/DefaultApi.md#api_v3_secrets_tags_secret_name_post) | **POST** /api/v3/secrets/tags/{secretName} | -*DefaultApi* | [**api_v3_signup_complete_account_invite_post**](docs/DefaultApi.md#api_v3_signup_complete_account_invite_post) | **POST** /api/v3/signup/complete-account/invite | -*DefaultApi* | [**api_v3_signup_complete_account_signup_post**](docs/DefaultApi.md#api_v3_signup_complete_account_signup_post) | **POST** /api/v3/signup/complete-account/signup | -*DefaultApi* | [**api_v3_signup_email_signup_post**](docs/DefaultApi.md#api_v3_signup_email_signup_post) | **POST** /api/v3/signup/email/signup | -*DefaultApi* | [**api_v3_signup_email_verify_post**](docs/DefaultApi.md#api_v3_signup_email_verify_post) | **POST** /api/v3/signup/email/verify | -*DefaultApi* | [**api_v3_users_me_api_keys_get**](docs/DefaultApi.md#api_v3_users_me_api_keys_get) | **GET** /api/v3/users/me/api-keys | -*DefaultApi* | [**api_v3_workspaces_project_id_secrets_blind_index_status_get**](docs/DefaultApi.md#api_v3_workspaces_project_id_secrets_blind_index_status_get) | **GET** /api/v3/workspaces/{projectId}/secrets/blind-index-status | -*DefaultApi* | [**api_v3_workspaces_project_id_secrets_get**](docs/DefaultApi.md#api_v3_workspaces_project_id_secrets_get) | **GET** /api/v3/workspaces/{projectId}/secrets | -*DefaultApi* | [**api_v3_workspaces_project_id_secrets_names_post**](docs/DefaultApi.md#api_v3_workspaces_project_id_secrets_names_post) | **POST** /api/v3/workspaces/{projectId}/secrets/names | - - -## Documentation For Models - - - [ApiStatusGet200Response](docs/ApiStatusGet200Response.md) - - [ApiV1AccessApprovalsPoliciesGet200Response](docs/ApiV1AccessApprovalsPoliciesGet200Response.md) - - [ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner](docs/ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.md) - - [ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest](docs/ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.md) - - [ApiV1AccessApprovalsPoliciesPostRequest](docs/ApiV1AccessApprovalsPoliciesPostRequest.md) - - [ApiV1AccessApprovalsRequestsCountGet200Response](docs/ApiV1AccessApprovalsRequestsCountGet200Response.md) - - [ApiV1AccessApprovalsRequestsGet200Response](docs/ApiV1AccessApprovalsRequestsGet200Response.md) - - [ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner](docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.md) - - [ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy](docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.md) - - [ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege](docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.md) - - [ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner](docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.md) - - [ApiV1AccessApprovalsRequestsPost200Response](docs/ApiV1AccessApprovalsRequestsPost200Response.md) - - [ApiV1AccessApprovalsRequestsPost200ResponseApproval](docs/ApiV1AccessApprovalsRequestsPost200ResponseApproval.md) - - [ApiV1AccessApprovalsRequestsPostRequest](docs/ApiV1AccessApprovalsRequestsPostRequest.md) - - [ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response](docs/ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.md) - - [ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview](docs/ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.md) - - [ApiV1AdditionalPrivilegeIdentityDeleteRequest](docs/ApiV1AdditionalPrivilegeIdentityDeleteRequest.md) - - [ApiV1AdditionalPrivilegeIdentityGet200Response](docs/ApiV1AdditionalPrivilegeIdentityGet200Response.md) - - [ApiV1AdditionalPrivilegeIdentityPatchRequest](docs/ApiV1AdditionalPrivilegeIdentityPatchRequest.md) - - [ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails](docs/ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.md) - - [ApiV1AdditionalPrivilegeIdentityPermanentPost200Response](docs/ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.md) - - [ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege](docs/ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.md) - - [ApiV1AdditionalPrivilegeIdentityPermanentPostRequest](docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.md) - - [ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission](docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.md) - - [ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions](docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.md) - - [ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest](docs/ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.md) - - [ApiV1AdditionalPrivilegeUsersGet200Response](docs/ApiV1AdditionalPrivilegeUsersGet200Response.md) - - [ApiV1AdditionalPrivilegeUsersPermanentPost200Response](docs/ApiV1AdditionalPrivilegeUsersPermanentPost200Response.md) - - [ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege](docs/ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.md) - - [ApiV1AdditionalPrivilegeUsersPermanentPostRequest](docs/ApiV1AdditionalPrivilegeUsersPermanentPostRequest.md) - - [ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest](docs/ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.md) - - [ApiV1AdditionalPrivilegeUsersTemporaryPostRequest](docs/ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.md) - - [ApiV1AdminConfigGet200Response](docs/ApiV1AdminConfigGet200Response.md) - - [ApiV1AdminConfigGet200ResponseConfig](docs/ApiV1AdminConfigGet200ResponseConfig.md) - - [ApiV1AdminConfigPatch200Response](docs/ApiV1AdminConfigPatch200Response.md) - - [ApiV1AdminConfigPatch200ResponseConfig](docs/ApiV1AdminConfigPatch200ResponseConfig.md) - - [ApiV1AdminConfigPatchRequest](docs/ApiV1AdminConfigPatchRequest.md) - - [ApiV1AdminSignupPost200Response](docs/ApiV1AdminSignupPost200Response.md) - - [ApiV1AdminSignupPostRequest](docs/ApiV1AdminSignupPostRequest.md) - - [ApiV1AdminUserManagementUsersGet200Response](docs/ApiV1AdminUserManagementUsersGet200Response.md) - - [ApiV1AdminUserManagementUsersGet200ResponseUsersInner](docs/ApiV1AdminUserManagementUsersGet200ResponseUsersInner.md) - - [ApiV1AdminUserManagementUsersUserIdDelete200Response](docs/ApiV1AdminUserManagementUsersUserIdDelete200Response.md) - - [ApiV1AuditLogStreamsGet200Response](docs/ApiV1AuditLogStreamsGet200Response.md) - - [ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner](docs/ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.md) - - [ApiV1AuditLogStreamsIdGet200Response](docs/ApiV1AuditLogStreamsIdGet200Response.md) - - [ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream](docs/ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.md) - - [ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner](docs/ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.md) - - [ApiV1AuditLogStreamsIdPatchRequest](docs/ApiV1AuditLogStreamsIdPatchRequest.md) - - [ApiV1AuditLogStreamsPost200Response](docs/ApiV1AuditLogStreamsPost200Response.md) - - [ApiV1AuditLogStreamsPostRequest](docs/ApiV1AuditLogStreamsPostRequest.md) - - [ApiV1AuditLogStreamsPostRequestHeadersInner](docs/ApiV1AuditLogStreamsPostRequestHeadersInner.md) - - [ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response](docs/ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.md) - - [ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth](docs/ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.md) - - [ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest](docs/ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.md) - - [ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest](docs/ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.md) - - [ApiV1AuthAwsAuthLoginPostRequest](docs/ApiV1AuthAwsAuthLoginPostRequest.md) - - [ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response](docs/ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.md) - - [ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth](docs/ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.md) - - [ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest](docs/ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.md) - - [ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest](docs/ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.md) - - [ApiV1AuthCheckAuthPost200Response](docs/ApiV1AuthCheckAuthPost200Response.md) - - [ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response](docs/ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.md) - - [ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth](docs/ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.md) - - [ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest](docs/ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.md) - - [ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest](docs/ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.md) - - [ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response](docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.md) - - [ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth](docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.md) - - [ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response](docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.md) - - [ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth](docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.md) - - [ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest](docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.md) - - [ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest](docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.md) - - [ApiV1AuthKubernetesAuthLoginPostRequest](docs/ApiV1AuthKubernetesAuthLoginPostRequest.md) - - [ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response](docs/ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.md) - - [ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth](docs/ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.md) - - [ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response](docs/ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.md) - - [ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth](docs/ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.md) - - [ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest](docs/ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.md) - - [ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest](docs/ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.md) - - [ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response](docs/ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.md) - - [ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth](docs/ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.md) - - [ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest](docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.md) - - [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest](docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.md) - - [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner](docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) - - [ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response](docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.md) - - [ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner](docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.md) - - [ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response](docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md) - - [ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest](docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.md) - - [ApiV1AuthTokenAuthTokensTokenIdPatch200Response](docs/ApiV1AuthTokenAuthTokensTokenIdPatch200Response.md) - - [ApiV1AuthTokenAuthTokensTokenIdPatchRequest](docs/ApiV1AuthTokenAuthTokensTokenIdPatchRequest.md) - - [ApiV1AuthTokenPost200Response](docs/ApiV1AuthTokenPost200Response.md) - - [ApiV1AuthTokenRenewPostRequest](docs/ApiV1AuthTokenRenewPostRequest.md) - - [ApiV1AuthTokenRevokePostRequest](docs/ApiV1AuthTokenRevokePostRequest.md) - - [ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response](docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.md) - - [ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response](docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.md) - - [ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner](docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.md) - - [ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response](docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.md) - - [ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest](docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.md) - - [ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response](docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.md) - - [ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth](docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.md) - - [ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest](docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.md) - - [ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest](docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.md) - - [ApiV1AuthUniversalAuthLoginPostRequest](docs/ApiV1AuthUniversalAuthLoginPostRequest.md) - - [ApiV1BotBotIdActivePatchRequest](docs/ApiV1BotBotIdActivePatchRequest.md) - - [ApiV1BotBotIdActivePatchRequestBotKey](docs/ApiV1BotBotIdActivePatchRequestBotKey.md) - - [ApiV1BotProjectIdGet200Response](docs/ApiV1BotProjectIdGet200Response.md) - - [ApiV1BotProjectIdGet200ResponseBot](docs/ApiV1BotProjectIdGet200ResponseBot.md) - - [ApiV1DynamicSecretsGet200Response](docs/ApiV1DynamicSecretsGet200Response.md) - - [ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner](docs/ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.md) - - [ApiV1DynamicSecretsLeasesLeaseIdDelete200Response](docs/ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.md) - - [ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest](docs/ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.md) - - [ApiV1DynamicSecretsLeasesLeaseIdGet200Response](docs/ApiV1DynamicSecretsLeasesLeaseIdGet200Response.md) - - [ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease](docs/ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.md) - - [ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest](docs/ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.md) - - [ApiV1DynamicSecretsLeasesPost200Response](docs/ApiV1DynamicSecretsLeasesPost200Response.md) - - [ApiV1DynamicSecretsLeasesPostRequest](docs/ApiV1DynamicSecretsLeasesPostRequest.md) - - [ApiV1DynamicSecretsNameDeleteRequest](docs/ApiV1DynamicSecretsNameDeleteRequest.md) - - [ApiV1DynamicSecretsNameGet200Response](docs/ApiV1DynamicSecretsNameGet200Response.md) - - [ApiV1DynamicSecretsNameGet200ResponseDynamicSecret](docs/ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.md) - - [ApiV1DynamicSecretsNameLeasesGet200Response](docs/ApiV1DynamicSecretsNameLeasesGet200Response.md) - - [ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner](docs/ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.md) - - [ApiV1DynamicSecretsNamePatchRequest](docs/ApiV1DynamicSecretsNamePatchRequest.md) - - [ApiV1DynamicSecretsNamePatchRequestData](docs/ApiV1DynamicSecretsNamePatchRequestData.md) - - [ApiV1DynamicSecretsPost200Response](docs/ApiV1DynamicSecretsPost200Response.md) - - [ApiV1DynamicSecretsPostRequest](docs/ApiV1DynamicSecretsPostRequest.md) - - [ApiV1DynamicSecretsPostRequestProvider](docs/ApiV1DynamicSecretsPostRequestProvider.md) - - [ApiV1DynamicSecretsPostRequestProviderAnyOf](docs/ApiV1DynamicSecretsPostRequestProviderAnyOf.md) - - [ApiV1DynamicSecretsPostRequestProviderAnyOf1](docs/ApiV1DynamicSecretsPostRequestProviderAnyOf1.md) - - [ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs](docs/ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.md) - - [ApiV1DynamicSecretsPostRequestProviderAnyOf2](docs/ApiV1DynamicSecretsPostRequestProviderAnyOf2.md) - - [ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs](docs/ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.md) - - [ApiV1DynamicSecretsPostRequestProviderAnyOfInputs](docs/ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.md) - - [ApiV1ExternalKmsGet200Response](docs/ApiV1ExternalKmsGet200Response.md) - - [ApiV1ExternalKmsGet200ResponseExternalKmsListInner](docs/ApiV1ExternalKmsGet200ResponseExternalKmsListInner.md) - - [ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms](docs/ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.md) - - [ApiV1ExternalKmsIdGet200Response](docs/ApiV1ExternalKmsIdGet200Response.md) - - [ApiV1ExternalKmsIdGet200ResponseExternalKms](docs/ApiV1ExternalKmsIdGet200ResponseExternalKms.md) - - [ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal](docs/ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.md) - - [ApiV1ExternalKmsIdPatchRequest](docs/ApiV1ExternalKmsIdPatchRequest.md) - - [ApiV1ExternalKmsIdPatchRequestProvider](docs/ApiV1ExternalKmsIdPatchRequestProvider.md) - - [ApiV1ExternalKmsIdPatchRequestProviderInputs](docs/ApiV1ExternalKmsIdPatchRequestProviderInputs.md) - - [ApiV1ExternalKmsPost200Response](docs/ApiV1ExternalKmsPost200Response.md) - - [ApiV1ExternalKmsPost200ResponseExternalKms](docs/ApiV1ExternalKmsPost200ResponseExternalKms.md) - - [ApiV1ExternalKmsPost200ResponseExternalKmsExternal](docs/ApiV1ExternalKmsPost200ResponseExternalKmsExternal.md) - - [ApiV1ExternalKmsPostRequest](docs/ApiV1ExternalKmsPostRequest.md) - - [ApiV1ExternalKmsPostRequestProvider](docs/ApiV1ExternalKmsPostRequestProvider.md) - - [ApiV1ExternalKmsPostRequestProviderInputs](docs/ApiV1ExternalKmsPostRequestProviderInputs.md) - - [ApiV1ExternalKmsPostRequestProviderInputsCredential](docs/ApiV1ExternalKmsPostRequestProviderInputsCredential.md) - - [ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf](docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.md) - - [ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1](docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.md) - - [ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data](docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.md) - - [ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData](docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.md) - - [ApiV1FoldersBatchPatchRequest](docs/ApiV1FoldersBatchPatchRequest.md) - - [ApiV1FoldersBatchPatchRequestFoldersInner](docs/ApiV1FoldersBatchPatchRequestFoldersInner.md) - - [ApiV1FoldersFolderIdOrNameDeleteRequest](docs/ApiV1FoldersFolderIdOrNameDeleteRequest.md) - - [ApiV1FoldersFolderIdPatchRequest](docs/ApiV1FoldersFolderIdPatchRequest.md) - - [ApiV1FoldersGet200Response](docs/ApiV1FoldersGet200Response.md) - - [ApiV1FoldersGet200ResponseFoldersInner](docs/ApiV1FoldersGet200ResponseFoldersInner.md) - - [ApiV1FoldersPost200Response](docs/ApiV1FoldersPost200Response.md) - - [ApiV1FoldersPostRequest](docs/ApiV1FoldersPostRequest.md) - - [ApiV1GroupsCurrentSlugPatchRequest](docs/ApiV1GroupsCurrentSlugPatchRequest.md) - - [ApiV1GroupsPost200Response](docs/ApiV1GroupsPost200Response.md) - - [ApiV1GroupsPostRequest](docs/ApiV1GroupsPostRequest.md) - - [ApiV1GroupsSlugUsersGet200Response](docs/ApiV1GroupsSlugUsersGet200Response.md) - - [ApiV1GroupsSlugUsersGet200ResponseUsersInner](docs/ApiV1GroupsSlugUsersGet200ResponseUsersInner.md) - - [ApiV1GroupsSlugUsersUsernamePost200Response](docs/ApiV1GroupsSlugUsersUsernamePost200Response.md) - - [ApiV1IdentitiesGet200Response](docs/ApiV1IdentitiesGet200Response.md) - - [ApiV1IdentitiesGet200ResponseIdentitiesInner](docs/ApiV1IdentitiesGet200ResponseIdentitiesInner.md) - - [ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity](docs/ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.md) - - [ApiV1IdentitiesIdentityIdGet200Response](docs/ApiV1IdentitiesIdentityIdGet200Response.md) - - [ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response](docs/ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.md) - - [ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner](docs/ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.md) - - [ApiV1IdentitiesIdentityIdPatchRequest](docs/ApiV1IdentitiesIdentityIdPatchRequest.md) - - [ApiV1IdentitiesPost200Response](docs/ApiV1IdentitiesPost200Response.md) - - [ApiV1IdentitiesPost200ResponseIdentity](docs/ApiV1IdentitiesPost200ResponseIdentity.md) - - [ApiV1IdentitiesPostRequest](docs/ApiV1IdentitiesPostRequest.md) - - [ApiV1IntegrationAuthAccessTokenPostRequest](docs/ApiV1IntegrationAuthAccessTokenPostRequest.md) - - [ApiV1IntegrationAuthDelete200Response](docs/ApiV1IntegrationAuthDelete200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner](docs/ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner](docs/ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner](docs/ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner](docs/ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner](docs/ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner](docs/ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner](docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp](docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.md) - - [ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline](docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.md) - - [ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner](docs/ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner](docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner](docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner](docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner](docs/ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner](docs/ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.md) - - [ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response](docs/ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.md) - - [ApiV1IntegrationAuthIntegrationOptionsGet200Response](docs/ApiV1IntegrationAuthIntegrationOptionsGet200Response.md) - - [ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner](docs/ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.md) - - [ApiV1IntegrationAuthOauthTokenPostRequest](docs/ApiV1IntegrationAuthOauthTokenPostRequest.md) - - [ApiV1IntegrationIntegrationIdPatchRequest](docs/ApiV1IntegrationIntegrationIdPatchRequest.md) - - [ApiV1IntegrationIntegrationIdPatchRequestMetadata](docs/ApiV1IntegrationIntegrationIdPatchRequestMetadata.md) - - [ApiV1IntegrationPost200Response](docs/ApiV1IntegrationPost200Response.md) - - [ApiV1IntegrationPost200ResponseIntegration](docs/ApiV1IntegrationPost200ResponseIntegration.md) - - [ApiV1IntegrationPostRequest](docs/ApiV1IntegrationPostRequest.md) - - [ApiV1IntegrationPostRequestMetadata](docs/ApiV1IntegrationPostRequestMetadata.md) - - [ApiV1IntegrationPostRequestMetadataSecretGCPLabel](docs/ApiV1IntegrationPostRequestMetadataSecretGCPLabel.md) - - [ApiV1InviteOrgSignupPost200Response](docs/ApiV1InviteOrgSignupPost200Response.md) - - [ApiV1InviteOrgSignupPostRequest](docs/ApiV1InviteOrgSignupPostRequest.md) - - [ApiV1InviteOrgVerifyPost200Response](docs/ApiV1InviteOrgVerifyPost200Response.md) - - [ApiV1InviteOrgVerifyPostRequest](docs/ApiV1InviteOrgVerifyPostRequest.md) - - [ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner](docs/ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.md) - - [ApiV1LdapConfigConfigIdGroupMapsPost200Response](docs/ApiV1LdapConfigConfigIdGroupMapsPost200Response.md) - - [ApiV1LdapConfigConfigIdGroupMapsPostRequest](docs/ApiV1LdapConfigConfigIdGroupMapsPostRequest.md) - - [ApiV1LdapConfigGet200Response](docs/ApiV1LdapConfigGet200Response.md) - - [ApiV1LdapConfigPatchRequest](docs/ApiV1LdapConfigPatchRequest.md) - - [ApiV1LdapConfigPost200Response](docs/ApiV1LdapConfigPost200Response.md) - - [ApiV1LdapConfigPostRequest](docs/ApiV1LdapConfigPostRequest.md) - - [ApiV1LdapLoginPostRequest](docs/ApiV1LdapLoginPostRequest.md) - - [ApiV1OrganizationAdminProjectsGet200Response](docs/ApiV1OrganizationAdminProjectsGet200Response.md) - - [ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner](docs/ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md) - - [ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response](docs/ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.md) - - [ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership](docs/ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.md) - - [ApiV1OrganizationGet200Response](docs/ApiV1OrganizationGet200Response.md) - - [ApiV1OrganizationGet200ResponseOrganizationsInner](docs/ApiV1OrganizationGet200ResponseOrganizationsInner.md) - - [ApiV1OrganizationOrganizationIdGet200Response](docs/ApiV1OrganizationOrganizationIdGet200Response.md) - - [ApiV1OrganizationOrganizationIdGroupsGet200Response](docs/ApiV1OrganizationOrganizationIdGroupsGet200Response.md) - - [ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner](docs/ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.md) - - [ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole](docs/ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.md) - - [ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response](docs/ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.md) - - [ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner](docs/ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.md) - - [ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response](docs/ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.md) - - [ApiV1OrganizationOrganizationIdPatch200Response](docs/ApiV1OrganizationOrganizationIdPatch200Response.md) - - [ApiV1OrganizationOrganizationIdPatchRequest](docs/ApiV1OrganizationOrganizationIdPatchRequest.md) - - [ApiV1OrganizationOrganizationIdPermissionsGet200Response](docs/ApiV1OrganizationOrganizationIdPermissionsGet200Response.md) - - [ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership](docs/ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.md) - - [ApiV1OrganizationOrganizationIdRolesGet200Response](docs/ApiV1OrganizationOrganizationIdRolesGet200Response.md) - - [ApiV1OrganizationOrganizationIdRolesGet200ResponseData](docs/ApiV1OrganizationOrganizationIdRolesGet200ResponseData.md) - - [ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner](docs/ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.md) - - [ApiV1OrganizationOrganizationIdRolesPost200Response](docs/ApiV1OrganizationOrganizationIdRolesPost200Response.md) - - [ApiV1OrganizationOrganizationIdRolesPost200ResponseRole](docs/ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.md) - - [ApiV1OrganizationOrganizationIdRolesPostRequest](docs/ApiV1OrganizationOrganizationIdRolesPostRequest.md) - - [ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest](docs/ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.md) - - [ApiV1OrganizationOrganizationIdUsersGet200Response](docs/ApiV1OrganizationOrganizationIdUsersGet200Response.md) - - [ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner](docs/ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.md) - - [ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser](docs/ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.md) - - [ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest](docs/ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.md) - - [ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest](docs/ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.md) - - [ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest](docs/ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.md) - - [ApiV1OrganizationsOrganizationIdPlanGet200Response](docs/ApiV1OrganizationsOrganizationIdPlanGet200Response.md) - - [ApiV1OrganizationsOrganizationIdSessionTrialPostRequest](docs/ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.md) - - [ApiV1PasswordBackupPrivateKeyGet200Response](docs/ApiV1PasswordBackupPrivateKeyGet200Response.md) - - [ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey](docs/ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.md) - - [ApiV1PasswordBackupPrivateKeyPostRequest](docs/ApiV1PasswordBackupPrivateKeyPostRequest.md) - - [ApiV1PasswordChangePasswordPostRequest](docs/ApiV1PasswordChangePasswordPostRequest.md) - - [ApiV1PasswordEmailPasswordResetPostRequest](docs/ApiV1PasswordEmailPasswordResetPostRequest.md) - - [ApiV1PasswordEmailPasswordResetVerifyPost200Response](docs/ApiV1PasswordEmailPasswordResetVerifyPost200Response.md) - - [ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser](docs/ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md) - - [ApiV1PasswordEmailPasswordResetVerifyPostRequest](docs/ApiV1PasswordEmailPasswordResetVerifyPostRequest.md) - - [ApiV1PasswordPasswordResetPostRequest](docs/ApiV1PasswordPasswordResetPostRequest.md) - - [ApiV1PasswordSrp1Post200Response](docs/ApiV1PasswordSrp1Post200Response.md) - - [ApiV1PasswordSrp1PostRequest](docs/ApiV1PasswordSrp1PostRequest.md) - - [ApiV1PkiCaCaIdCertificateGet200Response](docs/ApiV1PkiCaCaIdCertificateGet200Response.md) - - [ApiV1PkiCaCaIdCrlGet200Response](docs/ApiV1PkiCaCaIdCrlGet200Response.md) - - [ApiV1PkiCaCaIdCsrGet200Response](docs/ApiV1PkiCaCaIdCsrGet200Response.md) - - [ApiV1PkiCaCaIdImportCertificatePost200Response](docs/ApiV1PkiCaCaIdImportCertificatePost200Response.md) - - [ApiV1PkiCaCaIdImportCertificatePostRequest](docs/ApiV1PkiCaCaIdImportCertificatePostRequest.md) - - [ApiV1PkiCaCaIdIssueCertificatePost200Response](docs/ApiV1PkiCaCaIdIssueCertificatePost200Response.md) - - [ApiV1PkiCaCaIdIssueCertificatePostRequest](docs/ApiV1PkiCaCaIdIssueCertificatePostRequest.md) - - [ApiV1PkiCaCaIdPatchRequest](docs/ApiV1PkiCaCaIdPatchRequest.md) - - [ApiV1PkiCaCaIdSignCertificatePost200Response](docs/ApiV1PkiCaCaIdSignCertificatePost200Response.md) - - [ApiV1PkiCaCaIdSignCertificatePostRequest](docs/ApiV1PkiCaCaIdSignCertificatePostRequest.md) - - [ApiV1PkiCaCaIdSignIntermediatePost200Response](docs/ApiV1PkiCaCaIdSignIntermediatePost200Response.md) - - [ApiV1PkiCaCaIdSignIntermediatePostRequest](docs/ApiV1PkiCaCaIdSignIntermediatePostRequest.md) - - [ApiV1PkiCaPost200Response](docs/ApiV1PkiCaPost200Response.md) - - [ApiV1PkiCaPost200ResponseCa](docs/ApiV1PkiCaPost200ResponseCa.md) - - [ApiV1PkiCaPostRequest](docs/ApiV1PkiCaPostRequest.md) - - [ApiV1PkiCertificatesSerialNumberCertificateGet200Response](docs/ApiV1PkiCertificatesSerialNumberCertificateGet200Response.md) - - [ApiV1PkiCertificatesSerialNumberGet200Response](docs/ApiV1PkiCertificatesSerialNumberGet200Response.md) - - [ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate](docs/ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.md) - - [ApiV1PkiCertificatesSerialNumberRevokePost200Response](docs/ApiV1PkiCertificatesSerialNumberRevokePost200Response.md) - - [ApiV1PkiCertificatesSerialNumberRevokePostRequest](docs/ApiV1PkiCertificatesSerialNumberRevokePostRequest.md) - - [ApiV1RateLimitGet200Response](docs/ApiV1RateLimitGet200Response.md) - - [ApiV1RateLimitGet200ResponseRateLimit](docs/ApiV1RateLimitGet200ResponseRateLimit.md) - - [ApiV1RateLimitPutRequest](docs/ApiV1RateLimitPutRequest.md) - - [ApiV1ScimGroupsGet200Response](docs/ApiV1ScimGroupsGet200Response.md) - - [ApiV1ScimGroupsGet200ResponseResourcesInner](docs/ApiV1ScimGroupsGet200ResponseResourcesInner.md) - - [ApiV1ScimGroupsGet200ResponseResourcesInnerMeta](docs/ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.md) - - [ApiV1ScimGroupsGroupIdPatchRequest](docs/ApiV1ScimGroupsGroupIdPatchRequest.md) - - [ApiV1ScimGroupsGroupIdPatchRequestOperationsInner](docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.md) - - [ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf](docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.md) - - [ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1](docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.md) - - [ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2](docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.md) - - [ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner](docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.md) - - [ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue](docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.md) - - [ApiV1ScimGroupsGroupIdPutRequest](docs/ApiV1ScimGroupsGroupIdPutRequest.md) - - [ApiV1ScimGroupsPost200Response](docs/ApiV1ScimGroupsPost200Response.md) - - [ApiV1ScimGroupsPostRequest](docs/ApiV1ScimGroupsPostRequest.md) - - [ApiV1ScimScimTokensGet200Response](docs/ApiV1ScimScimTokensGet200Response.md) - - [ApiV1ScimScimTokensGet200ResponseScimTokensInner](docs/ApiV1ScimScimTokensGet200ResponseScimTokensInner.md) - - [ApiV1ScimScimTokensPost200Response](docs/ApiV1ScimScimTokensPost200Response.md) - - [ApiV1ScimScimTokensPostRequest](docs/ApiV1ScimScimTokensPostRequest.md) - - [ApiV1ScimScimTokensScimTokenIdDelete200Response](docs/ApiV1ScimScimTokensScimTokenIdDelete200Response.md) - - [ApiV1ScimUsersGet200Response](docs/ApiV1ScimUsersGet200Response.md) - - [ApiV1ScimUsersGet200ResponseResourcesInner](docs/ApiV1ScimUsersGet200ResponseResourcesInner.md) - - [ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner](docs/ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.md) - - [ApiV1ScimUsersGet200ResponseResourcesInnerName](docs/ApiV1ScimUsersGet200ResponseResourcesInnerName.md) - - [ApiV1ScimUsersOrgMembershipIdGet201Response](docs/ApiV1ScimUsersOrgMembershipIdGet201Response.md) - - [ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner](docs/ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md) - - [ApiV1ScimUsersOrgMembershipIdPut200Response](docs/ApiV1ScimUsersOrgMembershipIdPut200Response.md) - - [ApiV1ScimUsersOrgMembershipIdPutRequest](docs/ApiV1ScimUsersOrgMembershipIdPutRequest.md) - - [ApiV1ScimUsersPost200Response](docs/ApiV1ScimUsersPost200Response.md) - - [ApiV1ScimUsersPostRequest](docs/ApiV1ScimUsersPostRequest.md) - - [ApiV1ScimUsersPostRequestEmailsInner](docs/ApiV1ScimUsersPostRequestEmailsInner.md) - - [ApiV1SecretApprovalRequestsCountGet200Response](docs/ApiV1SecretApprovalRequestsCountGet200Response.md) - - [ApiV1SecretApprovalRequestsCountGet200ResponseApprovals](docs/ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.md) - - [ApiV1SecretApprovalRequestsGet200Response](docs/ApiV1SecretApprovalRequestsGet200Response.md) - - [ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner](docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.md) - - [ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner](docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.md) - - [ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser](docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.md) - - [ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy](docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.md) - - [ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner](docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.md) - - [ApiV1SecretApprovalRequestsIdGet200Response](docs/ApiV1SecretApprovalRequestsIdGet200Response.md) - - [ApiV1SecretApprovalRequestsIdGet200ResponseApproval](docs/ApiV1SecretApprovalRequestsIdGet200ResponseApproval.md) - - [ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner](docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.md) - - [ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret](docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.md) - - [ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion](docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.md) - - [ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy](docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.md) - - [ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner](docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.md) - - [ApiV1SecretApprovalRequestsIdMergePost200Response](docs/ApiV1SecretApprovalRequestsIdMergePost200Response.md) - - [ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval](docs/ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md) - - [ApiV1SecretApprovalRequestsIdMergePostRequest](docs/ApiV1SecretApprovalRequestsIdMergePostRequest.md) - - [ApiV1SecretApprovalRequestsIdReviewPost200Response](docs/ApiV1SecretApprovalRequestsIdReviewPost200Response.md) - - [ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview](docs/ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.md) - - [ApiV1SecretApprovalRequestsIdReviewPostRequest](docs/ApiV1SecretApprovalRequestsIdReviewPostRequest.md) - - [ApiV1SecretApprovalRequestsIdStatusPostRequest](docs/ApiV1SecretApprovalRequestsIdStatusPostRequest.md) - - [ApiV1SecretApprovalsBoardGet200Response](docs/ApiV1SecretApprovalsBoardGet200Response.md) - - [ApiV1SecretApprovalsGet200Response](docs/ApiV1SecretApprovalsGet200Response.md) - - [ApiV1SecretApprovalsGet200ResponseApprovalsInner](docs/ApiV1SecretApprovalsGet200ResponseApprovalsInner.md) - - [ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment](docs/ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) - - [ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner](docs/ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.md) - - [ApiV1SecretApprovalsPost200Response](docs/ApiV1SecretApprovalsPost200Response.md) - - [ApiV1SecretApprovalsPost200ResponseApproval](docs/ApiV1SecretApprovalsPost200ResponseApproval.md) - - [ApiV1SecretApprovalsPostRequest](docs/ApiV1SecretApprovalsPostRequest.md) - - [ApiV1SecretApprovalsSapIdPatchRequest](docs/ApiV1SecretApprovalsSapIdPatchRequest.md) - - [ApiV1SecretImportsGet200Response](docs/ApiV1SecretImportsGet200Response.md) - - [ApiV1SecretImportsGet200ResponseSecretImportsInner](docs/ApiV1SecretImportsGet200ResponseSecretImportsInner.md) - - [ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv](docs/ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.md) - - [ApiV1SecretImportsPost200Response](docs/ApiV1SecretImportsPost200Response.md) - - [ApiV1SecretImportsPostRequest](docs/ApiV1SecretImportsPostRequest.md) - - [ApiV1SecretImportsPostRequestImport](docs/ApiV1SecretImportsPostRequestImport.md) - - [ApiV1SecretImportsSecretImportIdDeleteRequest](docs/ApiV1SecretImportsSecretImportIdDeleteRequest.md) - - [ApiV1SecretImportsSecretImportIdPatchRequest](docs/ApiV1SecretImportsSecretImportIdPatchRequest.md) - - [ApiV1SecretImportsSecretImportIdPatchRequestImport](docs/ApiV1SecretImportsSecretImportIdPatchRequestImport.md) - - [ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest](docs/ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.md) - - [ApiV1SecretImportsSecretsGet200Response](docs/ApiV1SecretImportsSecretsGet200Response.md) - - [ApiV1SecretImportsSecretsGet200ResponseSecretsInner](docs/ApiV1SecretImportsSecretsGet200ResponseSecretsInner.md) - - [ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner](docs/ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.md) - - [ApiV1SecretImportsSecretsRawGet200Response](docs/ApiV1SecretImportsSecretsRawGet200Response.md) - - [ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner](docs/ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.md) - - [ApiV1SecretRotationProvidersWorkspaceIdGet200Response](docs/ApiV1SecretRotationProvidersWorkspaceIdGet200Response.md) - - [ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner](docs/ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.md) - - [ApiV1SecretRotationsGet200Response](docs/ApiV1SecretRotationsGet200Response.md) - - [ApiV1SecretRotationsGet200ResponseSecretRotationsInner](docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInner.md) - - [ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner](docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.md) - - [ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret](docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.md) - - [ApiV1SecretRotationsPost200Response](docs/ApiV1SecretRotationsPost200Response.md) - - [ApiV1SecretRotationsPost200ResponseSecretRotation](docs/ApiV1SecretRotationsPost200ResponseSecretRotation.md) - - [ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner](docs/ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.md) - - [ApiV1SecretRotationsPostRequest](docs/ApiV1SecretRotationsPostRequest.md) - - [ApiV1SecretRotationsRestartPost200Response](docs/ApiV1SecretRotationsRestartPost200Response.md) - - [ApiV1SecretRotationsRestartPost200ResponseSecretRotation](docs/ApiV1SecretRotationsRestartPost200ResponseSecretRotation.md) - - [ApiV1SecretRotationsRestartPostRequest](docs/ApiV1SecretRotationsRestartPostRequest.md) - - [ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response](docs/ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.md) - - [ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest](docs/ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.md) - - [ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response](docs/ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.md) - - [ApiV1SecretScanningLinkInstallationPost200Response](docs/ApiV1SecretScanningLinkInstallationPost200Response.md) - - [ApiV1SecretScanningLinkInstallationPostRequest](docs/ApiV1SecretScanningLinkInstallationPostRequest.md) - - [ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response](docs/ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.md) - - [ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner](docs/ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.md) - - [ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest](docs/ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.md) - - [ApiV1SecretSecretIdSecretVersionsGet200Response](docs/ApiV1SecretSecretIdSecretVersionsGet200Response.md) - - [ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner](docs/ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md) - - [ApiV1SecretSharingGet200Response](docs/ApiV1SecretSharingGet200Response.md) - - [ApiV1SecretSharingGet200ResponseSecretsInner](docs/ApiV1SecretSharingGet200ResponseSecretsInner.md) - - [ApiV1SecretSharingPost200Response](docs/ApiV1SecretSharingPost200Response.md) - - [ApiV1SecretSharingPostRequest](docs/ApiV1SecretSharingPostRequest.md) - - [ApiV1SecretSharingPublicIdGet200Response](docs/ApiV1SecretSharingPublicIdGet200Response.md) - - [ApiV1SecretSharingPublicPostRequest](docs/ApiV1SecretSharingPublicPostRequest.md) - - [ApiV1SecretSnapshotSecretSnapshotIdGet200Response](docs/ApiV1SecretSnapshotSecretSnapshotIdGet200Response.md) - - [ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot](docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.md) - - [ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment](docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.md) - - [ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner](docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.md) - - [ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner](docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.md) - - [ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner](docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.md) - - [ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response](docs/ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.md) - - [ApiV1SsoConfigGet200Response](docs/ApiV1SsoConfigGet200Response.md) - - [ApiV1SsoConfigPatchRequest](docs/ApiV1SsoConfigPatchRequest.md) - - [ApiV1SsoConfigPost200Response](docs/ApiV1SsoConfigPost200Response.md) - - [ApiV1SsoConfigPostRequest](docs/ApiV1SsoConfigPostRequest.md) - - [ApiV1SsoOidcConfigGet200Response](docs/ApiV1SsoOidcConfigGet200Response.md) - - [ApiV1SsoOidcConfigPatch200Response](docs/ApiV1SsoOidcConfigPatch200Response.md) - - [ApiV1SsoOidcConfigPatchRequest](docs/ApiV1SsoOidcConfigPatchRequest.md) - - [ApiV1SsoOidcConfigPost200Response](docs/ApiV1SsoOidcConfigPost200Response.md) - - [ApiV1SsoOidcConfigPostRequest](docs/ApiV1SsoOidcConfigPostRequest.md) - - [ApiV1SsoTokenExchangePostRequest](docs/ApiV1SsoTokenExchangePostRequest.md) - - [ApiV1UserActionGet200Response](docs/ApiV1UserActionGet200Response.md) - - [ApiV1UserActionGet200ResponseUserAction](docs/ApiV1UserActionGet200ResponseUserAction.md) - - [ApiV1UserActionPost200Response](docs/ApiV1UserActionPost200Response.md) - - [ApiV1UserActionPost200ResponseUserAction](docs/ApiV1UserActionPost200ResponseUserAction.md) - - [ApiV1UserActionPostRequest](docs/ApiV1UserActionPostRequest.md) - - [ApiV1UserEngagementMeWishPostRequest](docs/ApiV1UserEngagementMeWishPostRequest.md) - - [ApiV1UserGet200Response](docs/ApiV1UserGet200Response.md) - - [ApiV1UserGet200ResponseUser](docs/ApiV1UserGet200ResponseUser.md) - - [ApiV1UserMeProjectFavoritesGet200Response](docs/ApiV1UserMeProjectFavoritesGet200Response.md) - - [ApiV1UserMeProjectFavoritesPutRequest](docs/ApiV1UserMeProjectFavoritesPutRequest.md) - - [ApiV1UserPrivateKeyGet200Response](docs/ApiV1UserPrivateKeyGet200Response.md) - - [ApiV1WebhooksGet200Response](docs/ApiV1WebhooksGet200Response.md) - - [ApiV1WebhooksGet200ResponseWebhooksInner](docs/ApiV1WebhooksGet200ResponseWebhooksInner.md) - - [ApiV1WebhooksPost200Response](docs/ApiV1WebhooksPost200Response.md) - - [ApiV1WebhooksPost200ResponseWebhook](docs/ApiV1WebhooksPost200ResponseWebhook.md) - - [ApiV1WebhooksPostRequest](docs/ApiV1WebhooksPostRequest.md) - - [ApiV1WebhooksWebhookIdPatchRequest](docs/ApiV1WebhooksWebhookIdPatchRequest.md) - - [ApiV1WorkspaceGet200Response](docs/ApiV1WorkspaceGet200Response.md) - - [ApiV1WorkspaceGet200ResponseWorkspacesInner](docs/ApiV1WorkspaceGet200ResponseWorkspacesInner.md) - - [ApiV1WorkspaceProjectIdPermissionsGet200Response](docs/ApiV1WorkspaceProjectIdPermissionsGet200Response.md) - - [ApiV1WorkspaceProjectIdPermissionsGet200ResponseData](docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.md) - - [ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership](docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.md) - - [ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner](docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.md) - - [ApiV1WorkspaceProjectIdTagsGet200Response](docs/ApiV1WorkspaceProjectIdTagsGet200Response.md) - - [ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner](docs/ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.md) - - [ApiV1WorkspaceProjectIdTagsPost200Response](docs/ApiV1WorkspaceProjectIdTagsPost200Response.md) - - [ApiV1WorkspaceProjectIdTagsPostRequest](docs/ApiV1WorkspaceProjectIdTagsPostRequest.md) - - [ApiV1WorkspaceProjectIdTagsTagIdGet200Response](docs/ApiV1WorkspaceProjectIdTagsTagIdGet200Response.md) - - [ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag](docs/ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.md) - - [ApiV1WorkspaceProjectIdTagsTagIdPatchRequest](docs/ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.md) - - [ApiV1WorkspaceProjectSlugRolesGet200Response](docs/ApiV1WorkspaceProjectSlugRolesGet200Response.md) - - [ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner](docs/ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.md) - - [ApiV1WorkspaceProjectSlugRolesPost200Response](docs/ApiV1WorkspaceProjectSlugRolesPost200Response.md) - - [ApiV1WorkspaceProjectSlugRolesPost200ResponseRole](docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.md) - - [ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner](docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.md) - - [ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions](docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.md) - - [ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath](docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.md) - - [ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject](docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.md) - - [ApiV1WorkspaceProjectSlugRolesPostRequest](docs/ApiV1WorkspaceProjectSlugRolesPostRequest.md) - - [ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner](docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.md) - - [ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions](docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.md) - - [ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath](docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.md) - - [ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest](docs/ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.md) - - [ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response](docs/ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response](docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner](docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.md) - - [ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent](docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.md) - - [ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response](docs/ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner](docs/ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.md) - - [ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest](docs/ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.md) - - [ApiV1WorkspaceWorkspaceIdDelete200Response](docs/ApiV1WorkspaceWorkspaceIdDelete200Response.md) - - [ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response](docs/ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment](docs/ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.md) - - [ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest](docs/ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.md) - - [ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response](docs/ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.md) - - [ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest](docs/ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.md) - - [ApiV1WorkspaceWorkspaceIdGet200Response](docs/ApiV1WorkspaceWorkspaceIdGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response](docs/ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner](docs/ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.md) - - [ApiV1WorkspaceWorkspaceIdKeyPostRequest](docs/ApiV1WorkspaceWorkspaceIdKeyPostRequest.md) - - [ApiV1WorkspaceWorkspaceIdKeyPostRequestKey](docs/ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.md) - - [ApiV1WorkspaceWorkspaceIdKeysGet200Response](docs/ApiV1WorkspaceWorkspaceIdKeysGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner](docs/ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.md) - - [ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response](docs/ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest](docs/ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.md) - - [ApiV1WorkspaceWorkspaceIdKmsGet200Response](docs/ApiV1WorkspaceWorkspaceIdKmsGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey](docs/ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.md) - - [ApiV1WorkspaceWorkspaceIdKmsPatchRequest](docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequest.md) - - [ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms](docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.md) - - [ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf](docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.md) - - [ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1](docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response](docs/ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest](docs/ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsGet200Response](docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner](docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser](docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response](docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner](docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest](docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner](docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf](docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1](docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsPost200Response](docs/ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsPostRequest](docs/ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.md) - - [ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner](docs/ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.md) - - [ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response](docs/ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - - [ApiV1WorkspaceWorkspaceIdNamePost200Response](docs/ApiV1WorkspaceWorkspaceIdNamePost200Response.md) - - [ApiV1WorkspaceWorkspaceIdNamePostRequest](docs/ApiV1WorkspaceWorkspaceIdNamePostRequest.md) - - [ApiV1WorkspaceWorkspaceIdPatch200Response](docs/ApiV1WorkspaceWorkspaceIdPatch200Response.md) - - [ApiV1WorkspaceWorkspaceIdPatchRequest](docs/ApiV1WorkspaceWorkspaceIdPatchRequest.md) - - [ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response](docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response](docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner](docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.md) - - [ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response](docs/ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner](docs/ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.md) - - [ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response](docs/ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner](docs/ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.md) - - [ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response](docs/ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.md) - - [ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest](docs/ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.md) - - [ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest](docs/ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.md) - - [ApiV1WorkspaceWorkspaceIdUsersGet200Response](docs/ApiV1WorkspaceWorkspaceIdUsersGet200Response.md) - - [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner](docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.md) - - [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject](docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.md) - - [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner](docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.md) - - [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser](docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.md) - - [ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest](docs/ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.md) - - [ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest](docs/ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.md) - - [ApiV2AuthMfaVerifyPost200Response](docs/ApiV2AuthMfaVerifyPost200Response.md) - - [ApiV2AuthMfaVerifyPostRequest](docs/ApiV2AuthMfaVerifyPostRequest.md) - - [ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response](docs/ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.md) - - [ApiV2OrganizationsOrganizationIdMembershipsGet200Response](docs/ApiV2OrganizationsOrganizationIdMembershipsGet200Response.md) - - [ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner](docs/ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.md) - - [ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser](docs/ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.md) - - [ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response](docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.md) - - [ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response](docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.md) - - [ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership](docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.md) - - [ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser](docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.md) - - [ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest](docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.md) - - [ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response](docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.md) - - [ApiV2OrganizationsOrganizationIdWorkspacesGet200Response](docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.md) - - [ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner](docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.md) - - [ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner](docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.md) - - [ApiV2ServiceTokenGet200Response](docs/ApiV2ServiceTokenGet200Response.md) - - [ApiV2ServiceTokenGet200ResponseUser](docs/ApiV2ServiceTokenGet200ResponseUser.md) - - [ApiV2ServiceTokenPost200Response](docs/ApiV2ServiceTokenPost200Response.md) - - [ApiV2ServiceTokenPostRequest](docs/ApiV2ServiceTokenPostRequest.md) - - [ApiV2ServiceTokenPostRequestScopesInner](docs/ApiV2ServiceTokenPostRequestScopesInner.md) - - [ApiV2ServiceTokenServiceTokenIdDelete200Response](docs/ApiV2ServiceTokenServiceTokenIdDelete200Response.md) - - [ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response](docs/ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.md) - - [ApiV2UsersMeApiKeysGet200ResponseInner](docs/ApiV2UsersMeApiKeysGet200ResponseInner.md) - - [ApiV2UsersMeApiKeysPost200Response](docs/ApiV2UsersMeApiKeysPost200Response.md) - - [ApiV2UsersMeApiKeysPostRequest](docs/ApiV2UsersMeApiKeysPostRequest.md) - - [ApiV2UsersMeAuthMethodsPutRequest](docs/ApiV2UsersMeAuthMethodsPutRequest.md) - - [ApiV2UsersMeEmailsCodePostRequest](docs/ApiV2UsersMeEmailsCodePostRequest.md) - - [ApiV2UsersMeEmailsVerifyPostRequest](docs/ApiV2UsersMeEmailsVerifyPostRequest.md) - - [ApiV2UsersMeMfaPatch200Response](docs/ApiV2UsersMeMfaPatch200Response.md) - - [ApiV2UsersMeMfaPatchRequest](docs/ApiV2UsersMeMfaPatchRequest.md) - - [ApiV2UsersMeNamePatchRequest](docs/ApiV2UsersMeNamePatchRequest.md) - - [ApiV2UsersMeSessionsGet200ResponseInner](docs/ApiV2UsersMeSessionsGet200ResponseInner.md) - - [ApiV2WorkspacePost200Response](docs/ApiV2WorkspacePost200Response.md) - - [ApiV2WorkspacePostRequest](docs/ApiV2WorkspacePostRequest.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.md) - - [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1](docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.md) - - [ApiV2WorkspaceProjectIdMembershipsDeleteRequest](docs/ApiV2WorkspaceProjectIdMembershipsDeleteRequest.md) - - [ApiV2WorkspaceProjectIdMembershipsPost200Response](docs/ApiV2WorkspaceProjectIdMembershipsPost200Response.md) - - [ApiV2WorkspaceProjectIdMembershipsPostRequest](docs/ApiV2WorkspaceProjectIdMembershipsPostRequest.md) - - [ApiV2WorkspaceProjectIdUpgradePostRequest](docs/ApiV2WorkspaceProjectIdUpgradePostRequest.md) - - [ApiV2WorkspaceProjectIdUpgradeStatusGet200Response](docs/ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.md) - - [ApiV2WorkspaceProjectSlugGroupsGet200Response](docs/ApiV2WorkspaceProjectSlugGroupsGet200Response.md) - - [ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner](docs/ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.md) - - [ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup](docs/ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.md) - - [ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest](docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.md) - - [ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response](docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.md) - - [ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership](docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.md) - - [ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest](docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.md) - - [ApiV2WorkspaceSlugCasGet200Response](docs/ApiV2WorkspaceSlugCasGet200Response.md) - - [ApiV2WorkspaceSlugCertificatesGet200Response](docs/ApiV2WorkspaceSlugCertificatesGet200Response.md) - - [ApiV2WorkspaceSlugPatchRequest](docs/ApiV2WorkspaceSlugPatchRequest.md) - - [ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response](docs/ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.md) - - [ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender](docs/ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.md) - - [ApiV3AuthLogin1PostRequest](docs/ApiV3AuthLogin1PostRequest.md) - - [ApiV3AuthLogin2Post200Response](docs/ApiV3AuthLogin2Post200Response.md) - - [ApiV3AuthLogin2Post200ResponseAnyOf](docs/ApiV3AuthLogin2Post200ResponseAnyOf.md) - - [ApiV3AuthLogin2Post200ResponseAnyOf1](docs/ApiV3AuthLogin2Post200ResponseAnyOf1.md) - - [ApiV3AuthLogin2PostRequest](docs/ApiV3AuthLogin2PostRequest.md) - - [ApiV3SecretsBackfillSecretReferencesPostRequest](docs/ApiV3SecretsBackfillSecretReferencesPostRequest.md) - - [ApiV3SecretsBatchDeleteRequest](docs/ApiV3SecretsBatchDeleteRequest.md) - - [ApiV3SecretsBatchDeleteRequestSecretsInner](docs/ApiV3SecretsBatchDeleteRequestSecretsInner.md) - - [ApiV3SecretsBatchPatchRequest](docs/ApiV3SecretsBatchPatchRequest.md) - - [ApiV3SecretsBatchPatchRequestSecretsInner](docs/ApiV3SecretsBatchPatchRequestSecretsInner.md) - - [ApiV3SecretsBatchPost200Response](docs/ApiV3SecretsBatchPost200Response.md) - - [ApiV3SecretsBatchPost200ResponseAnyOf](docs/ApiV3SecretsBatchPost200ResponseAnyOf.md) - - [ApiV3SecretsBatchPostRequest](docs/ApiV3SecretsBatchPostRequest.md) - - [ApiV3SecretsBatchPostRequestSecretsInner](docs/ApiV3SecretsBatchPostRequestSecretsInner.md) - - [ApiV3SecretsBatchRawDeleteRequest](docs/ApiV3SecretsBatchRawDeleteRequest.md) - - [ApiV3SecretsBatchRawDeleteRequestSecretsInner](docs/ApiV3SecretsBatchRawDeleteRequestSecretsInner.md) - - [ApiV3SecretsBatchRawPatchRequest](docs/ApiV3SecretsBatchRawPatchRequest.md) - - [ApiV3SecretsBatchRawPatchRequestSecretsInner](docs/ApiV3SecretsBatchRawPatchRequestSecretsInner.md) - - [ApiV3SecretsBatchRawPost200Response](docs/ApiV3SecretsBatchRawPost200Response.md) - - [ApiV3SecretsBatchRawPost200ResponseAnyOf](docs/ApiV3SecretsBatchRawPost200ResponseAnyOf.md) - - [ApiV3SecretsBatchRawPostRequest](docs/ApiV3SecretsBatchRawPostRequest.md) - - [ApiV3SecretsBatchRawPostRequestSecretsInner](docs/ApiV3SecretsBatchRawPostRequestSecretsInner.md) - - [ApiV3SecretsGet200Response](docs/ApiV3SecretsGet200Response.md) - - [ApiV3SecretsGet200ResponseImportsInner](docs/ApiV3SecretsGet200ResponseImportsInner.md) - - [ApiV3SecretsGet200ResponseImportsInnerSecretsInner](docs/ApiV3SecretsGet200ResponseImportsInnerSecretsInner.md) - - [ApiV3SecretsGet200ResponseSecretsInner](docs/ApiV3SecretsGet200ResponseSecretsInner.md) - - [ApiV3SecretsMovePost200Response](docs/ApiV3SecretsMovePost200Response.md) - - [ApiV3SecretsMovePostRequest](docs/ApiV3SecretsMovePostRequest.md) - - [ApiV3SecretsRawGet200Response](docs/ApiV3SecretsRawGet200Response.md) - - [ApiV3SecretsRawGet200ResponseImportsInner](docs/ApiV3SecretsRawGet200ResponseImportsInner.md) - - [ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner](docs/ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.md) - - [ApiV3SecretsRawGet200ResponseSecretsInner](docs/ApiV3SecretsRawGet200ResponseSecretsInner.md) - - [ApiV3SecretsRawSecretNameDeleteRequest](docs/ApiV3SecretsRawSecretNameDeleteRequest.md) - - [ApiV3SecretsRawSecretNameGet200Response](docs/ApiV3SecretsRawSecretNameGet200Response.md) - - [ApiV3SecretsRawSecretNameGet200ResponseSecret](docs/ApiV3SecretsRawSecretNameGet200ResponseSecret.md) - - [ApiV3SecretsRawSecretNamePatchRequest](docs/ApiV3SecretsRawSecretNamePatchRequest.md) - - [ApiV3SecretsRawSecretNamePost200Response](docs/ApiV3SecretsRawSecretNamePost200Response.md) - - [ApiV3SecretsRawSecretNamePost200ResponseAnyOf](docs/ApiV3SecretsRawSecretNamePost200ResponseAnyOf.md) - - [ApiV3SecretsRawSecretNamePost200ResponseAnyOf1](docs/ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.md) - - [ApiV3SecretsRawSecretNamePostRequest](docs/ApiV3SecretsRawSecretNamePostRequest.md) - - [ApiV3SecretsSecretNameDeleteRequest](docs/ApiV3SecretsSecretNameDeleteRequest.md) - - [ApiV3SecretsSecretNameGet200Response](docs/ApiV3SecretsSecretNameGet200Response.md) - - [ApiV3SecretsSecretNameGet200ResponseSecret](docs/ApiV3SecretsSecretNameGet200ResponseSecret.md) - - [ApiV3SecretsSecretNamePatchRequest](docs/ApiV3SecretsSecretNamePatchRequest.md) - - [ApiV3SecretsSecretNamePost200Response](docs/ApiV3SecretsSecretNamePost200Response.md) - - [ApiV3SecretsSecretNamePost200ResponseAnyOf](docs/ApiV3SecretsSecretNamePost200ResponseAnyOf.md) - - [ApiV3SecretsSecretNamePostRequest](docs/ApiV3SecretsSecretNamePostRequest.md) - - [ApiV3SecretsTagsSecretNameDeleteRequest](docs/ApiV3SecretsTagsSecretNameDeleteRequest.md) - - [ApiV3SecretsTagsSecretNamePost200Response](docs/ApiV3SecretsTagsSecretNamePost200Response.md) - - [ApiV3SecretsTagsSecretNamePost200ResponseSecret](docs/ApiV3SecretsTagsSecretNamePost200ResponseSecret.md) - - [ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner](docs/ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.md) - - [ApiV3SecretsTagsSecretNamePostRequest](docs/ApiV3SecretsTagsSecretNamePostRequest.md) - - [ApiV3SignupCompleteAccountSignupPost200Response](docs/ApiV3SignupCompleteAccountSignupPost200Response.md) - - [ApiV3SignupCompleteAccountSignupPostRequest](docs/ApiV3SignupCompleteAccountSignupPostRequest.md) - - [ApiV3SignupEmailVerifyPost200Response](docs/ApiV3SignupEmailVerifyPost200Response.md) - - [ApiV3UsersMeApiKeysGet200Response](docs/ApiV3UsersMeApiKeysGet200Response.md) - - [ApiV3WorkspacesProjectIdSecretsGet200Response](docs/ApiV3WorkspacesProjectIdSecretsGet200Response.md) - - [ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner](docs/ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.md) - - [ApiV3WorkspacesProjectIdSecretsNamesPostRequest](docs/ApiV3WorkspacesProjectIdSecretsNamesPostRequest.md) - - [ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner](docs/ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.md) - - - - - +- `BaseSecret`: The response after deleting the secret. diff --git a/docs/ApiStatusGet200Response.md b/docs/ApiStatusGet200Response.md deleted file mode 100644 index 0bb4ef5..0000000 --- a/docs/ApiStatusGet200Response.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiStatusGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**var_date** | **datetime** | | -**message** | **str** | | -**email_configured** | **bool** | | [optional] -**invite_only_signup** | **bool** | | [optional] -**redis_configured** | **bool** | | [optional] -**secret_scanning_configured** | **bool** | | [optional] -**saml_default_org_slug** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_status_get200_response import ApiStatusGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiStatusGet200Response from a JSON string -api_status_get200_response_instance = ApiStatusGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiStatusGet200Response.to_json() - -# convert the object into a dict -api_status_get200_response_dict = api_status_get200_response_instance.to_dict() -# create an instance of ApiStatusGet200Response from a dict -api_status_get200_response_from_dict = ApiStatusGet200Response.from_dict(api_status_get200_response_dict) -``` -[[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/docs/ApiV1AccessApprovalsPoliciesGet200Response.md b/docs/ApiV1AccessApprovalsPoliciesGet200Response.md deleted file mode 100644 index 69e7c97..0000000 --- a/docs/ApiV1AccessApprovalsPoliciesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AccessApprovalsPoliciesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**approvals** | [**List[ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner]**](ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response import ApiV1AccessApprovalsPoliciesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsPoliciesGet200Response from a JSON string -api_v1_access_approvals_policies_get200_response_instance = ApiV1AccessApprovalsPoliciesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsPoliciesGet200Response.to_json() - -# convert the object into a dict -api_v1_access_approvals_policies_get200_response_dict = api_v1_access_approvals_policies_get200_response_instance.to_dict() -# create an instance of ApiV1AccessApprovalsPoliciesGet200Response from a dict -api_v1_access_approvals_policies_get200_response_from_dict = ApiV1AccessApprovalsPoliciesGet200Response.from_dict(api_v1_access_approvals_policies_get200_response_dict) -``` -[[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/docs/ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.md b/docs/ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.md deleted file mode 100644 index 1cc1b67..0000000 --- a/docs/ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**secret_path** | **str** | | [optional] -**approvals** | **float** | | [optional] [default to 1] -**env_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**enforcement_level** | **str** | | [optional] [default to 'hard'] -**environment** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | -**project_id** | **str** | | -**approvers** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response_approvals_inner import ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner from a JSON string -api_v1_access_approvals_policies_get200_response_approvals_inner_instance = ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.to_json() - -# convert the object into a dict -api_v1_access_approvals_policies_get200_response_approvals_inner_dict = api_v1_access_approvals_policies_get200_response_approvals_inner_instance.to_dict() -# create an instance of ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner from a dict -api_v1_access_approvals_policies_get200_response_approvals_inner_from_dict = ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.from_dict(api_v1_access_approvals_policies_get200_response_approvals_inner_dict) -``` -[[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/docs/ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.md b/docs/ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.md deleted file mode 100644 index e999c6f..0000000 --- a/docs/ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**secret_path** | **str** | | [optional] -**approvers** | **List[str]** | | -**approvals** | **float** | | [optional] [default to 1] -**enforcement_level** | **str** | | [optional] [default to 'hard'] - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_policies_policy_id_patch_request import ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest from a JSON string -api_v1_access_approvals_policies_policy_id_patch_request_instance = ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_access_approvals_policies_policy_id_patch_request_dict = api_v1_access_approvals_policies_policy_id_patch_request_instance.to_dict() -# create an instance of ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest from a dict -api_v1_access_approvals_policies_policy_id_patch_request_from_dict = ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.from_dict(api_v1_access_approvals_policies_policy_id_patch_request_dict) -``` -[[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/docs/ApiV1AccessApprovalsPoliciesPostRequest.md b/docs/ApiV1AccessApprovalsPoliciesPostRequest.md deleted file mode 100644 index 0882a4f..0000000 --- a/docs/ApiV1AccessApprovalsPoliciesPostRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1AccessApprovalsPoliciesPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | | -**name** | **str** | | [optional] -**secret_path** | **str** | | [optional] [default to '/'] -**environment** | **str** | | -**approvers** | **List[str]** | | -**approvals** | **float** | | [optional] [default to 1] -**enforcement_level** | **str** | | [optional] [default to 'hard'] - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_policies_post_request import ApiV1AccessApprovalsPoliciesPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsPoliciesPostRequest from a JSON string -api_v1_access_approvals_policies_post_request_instance = ApiV1AccessApprovalsPoliciesPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsPoliciesPostRequest.to_json() - -# convert the object into a dict -api_v1_access_approvals_policies_post_request_dict = api_v1_access_approvals_policies_post_request_instance.to_dict() -# create an instance of ApiV1AccessApprovalsPoliciesPostRequest from a dict -api_v1_access_approvals_policies_post_request_from_dict = ApiV1AccessApprovalsPoliciesPostRequest.from_dict(api_v1_access_approvals_policies_post_request_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsCountGet200Response.md b/docs/ApiV1AccessApprovalsRequestsCountGet200Response.md deleted file mode 100644 index 00d5f67..0000000 --- a/docs/ApiV1AccessApprovalsRequestsCountGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1AccessApprovalsRequestsCountGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pending_count** | **float** | | -**finalized_count** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_count_get200_response import ApiV1AccessApprovalsRequestsCountGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsCountGet200Response from a JSON string -api_v1_access_approvals_requests_count_get200_response_instance = ApiV1AccessApprovalsRequestsCountGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsCountGet200Response.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_count_get200_response_dict = api_v1_access_approvals_requests_count_get200_response_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsCountGet200Response from a dict -api_v1_access_approvals_requests_count_get200_response_from_dict = ApiV1AccessApprovalsRequestsCountGet200Response.from_dict(api_v1_access_approvals_requests_count_get200_response_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsGet200Response.md b/docs/ApiV1AccessApprovalsRequestsGet200Response.md deleted file mode 100644 index 7aae230..0000000 --- a/docs/ApiV1AccessApprovalsRequestsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AccessApprovalsRequestsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**requests** | [**List[ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner]**](ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response import ApiV1AccessApprovalsRequestsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsGet200Response from a JSON string -api_v1_access_approvals_requests_get200_response_instance = ApiV1AccessApprovalsRequestsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsGet200Response.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_get200_response_dict = api_v1_access_approvals_requests_get200_response_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsGet200Response from a dict -api_v1_access_approvals_requests_get200_response_from_dict = ApiV1AccessApprovalsRequestsGet200Response.from_dict(api_v1_access_approvals_requests_get200_response_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.md b/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.md deleted file mode 100644 index 8f3f68d..0000000 --- a/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.md +++ /dev/null @@ -1,41 +0,0 @@ -# ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**policy_id** | **str** | | -**privilege_id** | **str** | | [optional] -**requested_by** | **str** | | -**is_temporary** | **bool** | | -**temporary_range** | **str** | | [optional] -**permissions** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**environment_name** | **str** | | -**is_approved** | **bool** | | -**privilege** | [**ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege**](ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.md) | | -**policy** | [**ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy**](ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.md) | | -**reviewers** | [**List[ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner]**](ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner from a JSON string -api_v1_access_approvals_requests_get200_response_requests_inner_instance = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_get200_response_requests_inner_dict = api_v1_access_approvals_requests_get200_response_requests_inner_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner from a dict -api_v1_access_approvals_requests_get200_response_requests_inner_from_dict = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.from_dict(api_v1_access_approvals_requests_get200_response_requests_inner_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.md b/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.md deleted file mode 100644 index 0bdc245..0000000 --- a/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**approvals** | **float** | | -**approvers** | **List[str]** | | -**secret_path** | **str** | | [optional] -**env_id** | **str** | | -**enforcement_level** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_policy import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy from a JSON string -api_v1_access_approvals_requests_get200_response_requests_inner_policy_instance = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_get200_response_requests_inner_policy_dict = api_v1_access_approvals_requests_get200_response_requests_inner_policy_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy from a dict -api_v1_access_approvals_requests_get200_response_requests_inner_policy_from_dict = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.from_dict(api_v1_access_approvals_requests_get200_response_requests_inner_policy_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.md b/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.md deleted file mode 100644 index f0bf05c..0000000 --- a/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**membership_id** | **str** | | -**is_temporary** | **bool** | | -**temporary_mode** | **str** | | [optional] -**temporary_range** | **str** | | [optional] -**temporary_access_start_time** | **datetime** | | [optional] -**temporary_access_end_time** | **datetime** | | [optional] -**permissions** | **object** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_privilege import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege from a JSON string -api_v1_access_approvals_requests_get200_response_requests_inner_privilege_instance = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_get200_response_requests_inner_privilege_dict = api_v1_access_approvals_requests_get200_response_requests_inner_privilege_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege from a dict -api_v1_access_approvals_requests_get200_response_requests_inner_privilege_from_dict = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.from_dict(api_v1_access_approvals_requests_get200_response_requests_inner_privilege_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.md b/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.md deleted file mode 100644 index 9c5ddd0..0000000 --- a/docs/ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**member** | **str** | | -**status** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner from a JSON string -api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner_instance = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner_dict = api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner from a dict -api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner_from_dict = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.from_dict(api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsPost200Response.md b/docs/ApiV1AccessApprovalsRequestsPost200Response.md deleted file mode 100644 index b49ba8c..0000000 --- a/docs/ApiV1AccessApprovalsRequestsPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AccessApprovalsRequestsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**approval** | [**ApiV1AccessApprovalsRequestsPost200ResponseApproval**](ApiV1AccessApprovalsRequestsPost200ResponseApproval.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response import ApiV1AccessApprovalsRequestsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsPost200Response from a JSON string -api_v1_access_approvals_requests_post200_response_instance = ApiV1AccessApprovalsRequestsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsPost200Response.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_post200_response_dict = api_v1_access_approvals_requests_post200_response_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsPost200Response from a dict -api_v1_access_approvals_requests_post200_response_from_dict = ApiV1AccessApprovalsRequestsPost200Response.from_dict(api_v1_access_approvals_requests_post200_response_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsPost200ResponseApproval.md b/docs/ApiV1AccessApprovalsRequestsPost200ResponseApproval.md deleted file mode 100644 index d172156..0000000 --- a/docs/ApiV1AccessApprovalsRequestsPost200ResponseApproval.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV1AccessApprovalsRequestsPost200ResponseApproval - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**policy_id** | **str** | | -**privilege_id** | **str** | | [optional] -**requested_by** | **str** | | -**is_temporary** | **bool** | | -**temporary_range** | **str** | | [optional] -**permissions** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response_approval import ApiV1AccessApprovalsRequestsPost200ResponseApproval - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsPost200ResponseApproval from a JSON string -api_v1_access_approvals_requests_post200_response_approval_instance = ApiV1AccessApprovalsRequestsPost200ResponseApproval.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsPost200ResponseApproval.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_post200_response_approval_dict = api_v1_access_approvals_requests_post200_response_approval_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsPost200ResponseApproval from a dict -api_v1_access_approvals_requests_post200_response_approval_from_dict = ApiV1AccessApprovalsRequestsPost200ResponseApproval.from_dict(api_v1_access_approvals_requests_post200_response_approval_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsPostRequest.md b/docs/ApiV1AccessApprovalsRequestsPostRequest.md deleted file mode 100644 index 964b81d..0000000 --- a/docs/ApiV1AccessApprovalsRequestsPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1AccessApprovalsRequestsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**permissions** | **List[str]** | | -**is_temporary** | **bool** | | -**temporary_range** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_post_request import ApiV1AccessApprovalsRequestsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsPostRequest from a JSON string -api_v1_access_approvals_requests_post_request_instance = ApiV1AccessApprovalsRequestsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsPostRequest.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_post_request_dict = api_v1_access_approvals_requests_post_request_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsPostRequest from a dict -api_v1_access_approvals_requests_post_request_from_dict = ApiV1AccessApprovalsRequestsPostRequest.from_dict(api_v1_access_approvals_requests_post_request_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.md b/docs/ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.md deleted file mode 100644 index c179295..0000000 --- a/docs/ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**review** | [**ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview**](ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response import ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response from a JSON string -api_v1_access_approvals_requests_request_id_review_post200_response_instance = ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_request_id_review_post200_response_dict = api_v1_access_approvals_requests_request_id_review_post200_response_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response from a dict -api_v1_access_approvals_requests_request_id_review_post200_response_from_dict = ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.from_dict(api_v1_access_approvals_requests_request_id_review_post200_response_dict) -``` -[[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/docs/ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.md b/docs/ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.md deleted file mode 100644 index 727b382..0000000 --- a/docs/ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**member** | **str** | | -**status** | **str** | | -**request_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response_review import ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview from a JSON string -api_v1_access_approvals_requests_request_id_review_post200_response_review_instance = ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.from_json(json) -# print the JSON string representation of the object -print ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.to_json() - -# convert the object into a dict -api_v1_access_approvals_requests_request_id_review_post200_response_review_dict = api_v1_access_approvals_requests_request_id_review_post200_response_review_instance.to_dict() -# create an instance of ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview from a dict -api_v1_access_approvals_requests_request_id_review_post200_response_review_from_dict = ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.from_dict(api_v1_access_approvals_requests_request_id_review_post200_response_review_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeIdentityDeleteRequest.md b/docs/ApiV1AdditionalPrivilegeIdentityDeleteRequest.md deleted file mode 100644 index e2d9eda..0000000 --- a/docs/ApiV1AdditionalPrivilegeIdentityDeleteRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1AdditionalPrivilegeIdentityDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**privilege_slug** | **str** | The slug of the privilege to delete. | -**identity_id** | **str** | The ID of the identity to delete. | -**project_slug** | **str** | The slug of the project of the identity in. | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_identity_delete_request import ApiV1AdditionalPrivilegeIdentityDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeIdentityDeleteRequest from a JSON string -api_v1_additional_privilege_identity_delete_request_instance = ApiV1AdditionalPrivilegeIdentityDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeIdentityDeleteRequest.to_json() - -# convert the object into a dict -api_v1_additional_privilege_identity_delete_request_dict = api_v1_additional_privilege_identity_delete_request_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeIdentityDeleteRequest from a dict -api_v1_additional_privilege_identity_delete_request_from_dict = ApiV1AdditionalPrivilegeIdentityDeleteRequest.from_dict(api_v1_additional_privilege_identity_delete_request_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeIdentityGet200Response.md b/docs/ApiV1AdditionalPrivilegeIdentityGet200Response.md deleted file mode 100644 index f23fef8..0000000 --- a/docs/ApiV1AdditionalPrivilegeIdentityGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AdditionalPrivilegeIdentityGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**privileges** | [**List[ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege]**](ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_identity_get200_response import ApiV1AdditionalPrivilegeIdentityGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeIdentityGet200Response from a JSON string -api_v1_additional_privilege_identity_get200_response_instance = ApiV1AdditionalPrivilegeIdentityGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeIdentityGet200Response.to_json() - -# convert the object into a dict -api_v1_additional_privilege_identity_get200_response_dict = api_v1_additional_privilege_identity_get200_response_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeIdentityGet200Response from a dict -api_v1_additional_privilege_identity_get200_response_from_dict = ApiV1AdditionalPrivilegeIdentityGet200Response.from_dict(api_v1_additional_privilege_identity_get200_response_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeIdentityPatchRequest.md b/docs/ApiV1AdditionalPrivilegeIdentityPatchRequest.md deleted file mode 100644 index edf9a2f..0000000 --- a/docs/ApiV1AdditionalPrivilegeIdentityPatchRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1AdditionalPrivilegeIdentityPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**privilege_slug** | **str** | The slug of the privilege to update. | -**identity_id** | **str** | The ID of the identity to update. | -**project_slug** | **str** | The slug of the project of the identity in. | -**privilege_details** | [**ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails**](ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request import ApiV1AdditionalPrivilegeIdentityPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeIdentityPatchRequest from a JSON string -api_v1_additional_privilege_identity_patch_request_instance = ApiV1AdditionalPrivilegeIdentityPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeIdentityPatchRequest.to_json() - -# convert the object into a dict -api_v1_additional_privilege_identity_patch_request_dict = api_v1_additional_privilege_identity_patch_request_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeIdentityPatchRequest from a dict -api_v1_additional_privilege_identity_patch_request_from_dict = ApiV1AdditionalPrivilegeIdentityPatchRequest.from_dict(api_v1_additional_privilege_identity_patch_request_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.md b/docs/ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.md deleted file mode 100644 index 5919e67..0000000 --- a/docs/ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | The new slug of the privilege to update. | [optional] -**permissions** | [**List[ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner]**](ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.md) | @deprecated - use privilegePermission The permission object for the privilege. - Read secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"]} ``` - Read and Write secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"], {\"action\": \"write\", \"subject\": \"secrets\"]} ``` - Read secrets scoped to an environment and secret path ``` - { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\", \"conditions\": { \"environment\": \"dev\", \"secretPath\": { \"$glob\": \"/\" } }}] } ``` | [optional] -**privilege_permission** | [**ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission**](ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.md) | | [optional] -**is_temporary** | **bool** | Whether the privilege is temporary. | [optional] -**temporary_mode** | **str** | Type of temporary access given. Types: relative | [optional] -**temporary_range** | **str** | TTL for the temporay time. Eg: 1m, 1h, 1d | [optional] -**temporary_access_start_time** | **datetime** | ISO time for which temporary access should begin. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request_privilege_details import ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails from a JSON string -api_v1_additional_privilege_identity_patch_request_privilege_details_instance = ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.to_json() - -# convert the object into a dict -api_v1_additional_privilege_identity_patch_request_privilege_details_dict = api_v1_additional_privilege_identity_patch_request_privilege_details_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails from a dict -api_v1_additional_privilege_identity_patch_request_privilege_details_from_dict = ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.from_dict(api_v1_additional_privilege_identity_patch_request_privilege_details_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.md b/docs/ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.md deleted file mode 100644 index 5875bfd..0000000 --- a/docs/ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AdditionalPrivilegeIdentityPermanentPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**privilege** | [**ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege**](ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response import ApiV1AdditionalPrivilegeIdentityPermanentPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPost200Response from a JSON string -api_v1_additional_privilege_identity_permanent_post200_response_instance = ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.to_json() - -# convert the object into a dict -api_v1_additional_privilege_identity_permanent_post200_response_dict = api_v1_additional_privilege_identity_permanent_post200_response_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPost200Response from a dict -api_v1_additional_privilege_identity_permanent_post200_response_from_dict = ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.from_dict(api_v1_additional_privilege_identity_permanent_post200_response_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.md b/docs/ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.md deleted file mode 100644 index 8041b90..0000000 --- a/docs/ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**slug** | **str** | | -**project_membership_id** | **str** | | -**is_temporary** | **bool** | | [optional] [default to False] -**temporary_mode** | **str** | | [optional] -**temporary_range** | **str** | | [optional] -**temporary_access_start_time** | **datetime** | | [optional] -**temporary_access_end_time** | **datetime** | | [optional] -**permissions** | [**List[ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner]**](ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.md) | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege from a JSON string -api_v1_additional_privilege_identity_permanent_post200_response_privilege_instance = ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.to_json() - -# convert the object into a dict -api_v1_additional_privilege_identity_permanent_post200_response_privilege_dict = api_v1_additional_privilege_identity_permanent_post200_response_privilege_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege from a dict -api_v1_additional_privilege_identity_permanent_post200_response_privilege_from_dict = ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.from_dict(api_v1_additional_privilege_identity_permanent_post200_response_privilege_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.md b/docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.md deleted file mode 100644 index b81f3d9..0000000 --- a/docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1AdditionalPrivilegeIdentityPermanentPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_id** | **str** | The ID of the identity to create. | -**project_slug** | **str** | The slug of the project of the identity in. | -**slug** | **str** | The slug of the privilege to create. | [optional] -**permissions** | [**List[ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner]**](ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.md) | @deprecated - use privilegePermission The permission object for the privilege. - Read secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"]} ``` - Read and Write secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"], {\"action\": \"write\", \"subject\": \"secrets\"]} ``` - Read secrets scoped to an environment and secret path ``` - { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\", \"conditions\": { \"environment\": \"dev\", \"secretPath\": { \"$glob\": \"/\" } }}] } ``` | [optional] -**privilege_permission** | [**ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission**](ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request import ApiV1AdditionalPrivilegeIdentityPermanentPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequest from a JSON string -api_v1_additional_privilege_identity_permanent_post_request_instance = ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.to_json() - -# convert the object into a dict -api_v1_additional_privilege_identity_permanent_post_request_dict = api_v1_additional_privilege_identity_permanent_post_request_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequest from a dict -api_v1_additional_privilege_identity_permanent_post_request_from_dict = ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.from_dict(api_v1_additional_privilege_identity_permanent_post_request_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.md b/docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.md deleted file mode 100644 index d9c5b17..0000000 --- a/docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission - -The permission object for the privilege. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**actions** | **List[str]** | Describe what action an entity can take. Possible actions: create, edit, delete, and read | -**subject** | **str** | The entity this permission pertains to. Possible options: secrets, environments | -**conditions** | [**ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions**](ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission from a JSON string -api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_instance = ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.to_json() - -# convert the object into a dict -api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_dict = api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission from a dict -api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_from_dict = ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.from_dict(api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.md b/docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.md deleted file mode 100644 index a112d78..0000000 --- a/docs/ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions - -When specified, only matching conditions will be allowed to access given resource. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**environment** | **str** | The environment slug this permission should allow. | -**secret_path** | [**ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath**](ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions from a JSON string -api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions_instance = ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.to_json() - -# convert the object into a dict -api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions_dict = api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions from a dict -api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions_from_dict = ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.from_dict(api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.md b/docs/ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.md deleted file mode 100644 index f6ec1d9..0000000 --- a/docs/ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_id** | **str** | The ID of the identity to create. | -**project_slug** | **str** | The slug of the project of the identity in. | -**slug** | **str** | The slug of the privilege to create. | [optional] -**permissions** | [**List[ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner]**](ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.md) | @deprecated - use privilegePermission The permission object for the privilege. - Read secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"]} ``` - Read and Write secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"], {\"action\": \"write\", \"subject\": \"secrets\"]} ``` - Read secrets scoped to an environment and secret path ``` - { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\", \"conditions\": { \"environment\": \"dev\", \"secretPath\": { \"$glob\": \"/\" } }}] } ``` | [optional] -**privilege_permission** | [**ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission**](ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.md) | | [optional] -**temporary_mode** | **str** | Type of temporary access given. Types: relative | -**temporary_range** | **str** | TTL for the temporay time. Eg: 1m, 1h, 1d | -**temporary_access_start_time** | **datetime** | ISO time for which temporary access should begin. | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_identity_temporary_post_request import ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest from a JSON string -api_v1_additional_privilege_identity_temporary_post_request_instance = ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.to_json() - -# convert the object into a dict -api_v1_additional_privilege_identity_temporary_post_request_dict = api_v1_additional_privilege_identity_temporary_post_request_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest from a dict -api_v1_additional_privilege_identity_temporary_post_request_from_dict = ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.from_dict(api_v1_additional_privilege_identity_temporary_post_request_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeUsersGet200Response.md b/docs/ApiV1AdditionalPrivilegeUsersGet200Response.md deleted file mode 100644 index a9a2b8f..0000000 --- a/docs/ApiV1AdditionalPrivilegeUsersGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AdditionalPrivilegeUsersGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**privileges** | [**List[ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege]**](ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_users_get200_response import ApiV1AdditionalPrivilegeUsersGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeUsersGet200Response from a JSON string -api_v1_additional_privilege_users_get200_response_instance = ApiV1AdditionalPrivilegeUsersGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeUsersGet200Response.to_json() - -# convert the object into a dict -api_v1_additional_privilege_users_get200_response_dict = api_v1_additional_privilege_users_get200_response_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeUsersGet200Response from a dict -api_v1_additional_privilege_users_get200_response_from_dict = ApiV1AdditionalPrivilegeUsersGet200Response.from_dict(api_v1_additional_privilege_users_get200_response_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeUsersPermanentPost200Response.md b/docs/ApiV1AdditionalPrivilegeUsersPermanentPost200Response.md deleted file mode 100644 index db4be7f..0000000 --- a/docs/ApiV1AdditionalPrivilegeUsersPermanentPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AdditionalPrivilegeUsersPermanentPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**privilege** | [**ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege**](ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response import ApiV1AdditionalPrivilegeUsersPermanentPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeUsersPermanentPost200Response from a JSON string -api_v1_additional_privilege_users_permanent_post200_response_instance = ApiV1AdditionalPrivilegeUsersPermanentPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeUsersPermanentPost200Response.to_json() - -# convert the object into a dict -api_v1_additional_privilege_users_permanent_post200_response_dict = api_v1_additional_privilege_users_permanent_post200_response_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeUsersPermanentPost200Response from a dict -api_v1_additional_privilege_users_permanent_post200_response_from_dict = ApiV1AdditionalPrivilegeUsersPermanentPost200Response.from_dict(api_v1_additional_privilege_users_permanent_post200_response_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.md b/docs/ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.md deleted file mode 100644 index 7951624..0000000 --- a/docs/ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**slug** | **str** | | -**project_membership_id** | **str** | | -**is_temporary** | **bool** | | [optional] [default to False] -**temporary_mode** | **str** | | [optional] -**temporary_range** | **str** | | [optional] -**temporary_access_start_time** | **datetime** | | [optional] -**temporary_access_end_time** | **datetime** | | [optional] -**permissions** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege from a JSON string -api_v1_additional_privilege_users_permanent_post200_response_privilege_instance = ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.to_json() - -# convert the object into a dict -api_v1_additional_privilege_users_permanent_post200_response_privilege_dict = api_v1_additional_privilege_users_permanent_post200_response_privilege_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege from a dict -api_v1_additional_privilege_users_permanent_post200_response_privilege_from_dict = ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.from_dict(api_v1_additional_privilege_users_permanent_post200_response_privilege_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeUsersPermanentPostRequest.md b/docs/ApiV1AdditionalPrivilegeUsersPermanentPostRequest.md deleted file mode 100644 index 0792d4c..0000000 --- a/docs/ApiV1AdditionalPrivilegeUsersPermanentPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1AdditionalPrivilegeUsersPermanentPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_membership_id** | **str** | Project membership id of user | -**slug** | **str** | The slug of the privilege to create. | [optional] -**permissions** | **List[str]** | The permission object for the privilege. Refer https://casl.js.org/v6/en/guide/define-rules#the-shape-of-raw-rule to understand the shape | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post_request import ApiV1AdditionalPrivilegeUsersPermanentPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeUsersPermanentPostRequest from a JSON string -api_v1_additional_privilege_users_permanent_post_request_instance = ApiV1AdditionalPrivilegeUsersPermanentPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeUsersPermanentPostRequest.to_json() - -# convert the object into a dict -api_v1_additional_privilege_users_permanent_post_request_dict = api_v1_additional_privilege_users_permanent_post_request_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeUsersPermanentPostRequest from a dict -api_v1_additional_privilege_users_permanent_post_request_from_dict = ApiV1AdditionalPrivilegeUsersPermanentPostRequest.from_dict(api_v1_additional_privilege_users_permanent_post_request_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.md b/docs/ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.md deleted file mode 100644 index f1000e1..0000000 --- a/docs/ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | The slug of the privilege to create. | [optional] -**permissions** | **List[str]** | The permission object for the privilege. Refer https://casl.js.org/v6/en/guide/define-rules#the-shape-of-raw-rule to understand the shape | [optional] -**is_temporary** | **bool** | Whether the privilege is temporary. | [optional] -**temporary_mode** | **str** | Type of temporary access given. Types: relative | [optional] -**temporary_range** | **str** | TTL for the temporay time. Eg: 1m, 1h, 1d | [optional] -**temporary_access_start_time** | **datetime** | ISO time for which temporary access should begin. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_users_privilege_id_patch_request import ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest from a JSON string -api_v1_additional_privilege_users_privilege_id_patch_request_instance = ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_additional_privilege_users_privilege_id_patch_request_dict = api_v1_additional_privilege_users_privilege_id_patch_request_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest from a dict -api_v1_additional_privilege_users_privilege_id_patch_request_from_dict = ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.from_dict(api_v1_additional_privilege_users_privilege_id_patch_request_dict) -``` -[[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/docs/ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.md b/docs/ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.md deleted file mode 100644 index 7f27294..0000000 --- a/docs/ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1AdditionalPrivilegeUsersTemporaryPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_membership_id** | **str** | Project membership id of user | -**slug** | **str** | The slug of the privilege to create. | [optional] -**permissions** | **List[str]** | The permission object for the privilege. Refer https://casl.js.org/v6/en/guide/define-rules#the-shape-of-raw-rule to understand the shape | -**temporary_mode** | **str** | Type of temporary access given. Types: relative | -**temporary_range** | **str** | TTL for the temporay time. Eg: 1m, 1h, 1d | -**temporary_access_start_time** | **datetime** | ISO time for which temporary access should begin. | - -## Example - -```python -from infisicalapi_client.models.api_v1_additional_privilege_users_temporary_post_request import ApiV1AdditionalPrivilegeUsersTemporaryPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdditionalPrivilegeUsersTemporaryPostRequest from a JSON string -api_v1_additional_privilege_users_temporary_post_request_instance = ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.to_json() - -# convert the object into a dict -api_v1_additional_privilege_users_temporary_post_request_dict = api_v1_additional_privilege_users_temporary_post_request_instance.to_dict() -# create an instance of ApiV1AdditionalPrivilegeUsersTemporaryPostRequest from a dict -api_v1_additional_privilege_users_temporary_post_request_from_dict = ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.from_dict(api_v1_additional_privilege_users_temporary_post_request_dict) -``` -[[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/docs/ApiV1AdminConfigGet200Response.md b/docs/ApiV1AdminConfigGet200Response.md deleted file mode 100644 index cedef18..0000000 --- a/docs/ApiV1AdminConfigGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AdminConfigGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**config** | [**ApiV1AdminConfigGet200ResponseConfig**](ApiV1AdminConfigGet200ResponseConfig.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_admin_config_get200_response import ApiV1AdminConfigGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdminConfigGet200Response from a JSON string -api_v1_admin_config_get200_response_instance = ApiV1AdminConfigGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AdminConfigGet200Response.to_json() - -# convert the object into a dict -api_v1_admin_config_get200_response_dict = api_v1_admin_config_get200_response_instance.to_dict() -# create an instance of ApiV1AdminConfigGet200Response from a dict -api_v1_admin_config_get200_response_from_dict = ApiV1AdminConfigGet200Response.from_dict(api_v1_admin_config_get200_response_dict) -``` -[[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/docs/ApiV1AdminConfigGet200ResponseConfig.md b/docs/ApiV1AdminConfigGet200ResponseConfig.md deleted file mode 100644 index f088f14..0000000 --- a/docs/ApiV1AdminConfigGet200ResponseConfig.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1AdminConfigGet200ResponseConfig - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**initialized** | **bool** | | [optional] [default to False] -**allow_sign_up** | **bool** | | [optional] [default to True] -**allowed_sign_up_domain** | **str** | | [optional] -**instance_id** | **str** | | [optional] [default to '00000000-0000-0000-0000-000000000000'] -**trust_saml_emails** | **bool** | | [optional] [default to False] -**trust_ldap_emails** | **bool** | | [optional] [default to False] -**trust_oidc_emails** | **bool** | | [optional] [default to False] -**default_auth_org_id** | **str** | | [optional] -**enabled_login_methods** | **List[str]** | | [optional] -**is_migration_mode_on** | **bool** | | -**default_auth_org_slug** | **str** | | -**is_secret_scanning_disabled** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_admin_config_get200_response_config import ApiV1AdminConfigGet200ResponseConfig - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdminConfigGet200ResponseConfig from a JSON string -api_v1_admin_config_get200_response_config_instance = ApiV1AdminConfigGet200ResponseConfig.from_json(json) -# print the JSON string representation of the object -print ApiV1AdminConfigGet200ResponseConfig.to_json() - -# convert the object into a dict -api_v1_admin_config_get200_response_config_dict = api_v1_admin_config_get200_response_config_instance.to_dict() -# create an instance of ApiV1AdminConfigGet200ResponseConfig from a dict -api_v1_admin_config_get200_response_config_from_dict = ApiV1AdminConfigGet200ResponseConfig.from_dict(api_v1_admin_config_get200_response_config_dict) -``` -[[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/docs/ApiV1AdminConfigPatch200Response.md b/docs/ApiV1AdminConfigPatch200Response.md deleted file mode 100644 index 8899710..0000000 --- a/docs/ApiV1AdminConfigPatch200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AdminConfigPatch200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**config** | [**ApiV1AdminConfigPatch200ResponseConfig**](ApiV1AdminConfigPatch200ResponseConfig.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_admin_config_patch200_response import ApiV1AdminConfigPatch200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdminConfigPatch200Response from a JSON string -api_v1_admin_config_patch200_response_instance = ApiV1AdminConfigPatch200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AdminConfigPatch200Response.to_json() - -# convert the object into a dict -api_v1_admin_config_patch200_response_dict = api_v1_admin_config_patch200_response_instance.to_dict() -# create an instance of ApiV1AdminConfigPatch200Response from a dict -api_v1_admin_config_patch200_response_from_dict = ApiV1AdminConfigPatch200Response.from_dict(api_v1_admin_config_patch200_response_dict) -``` -[[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/docs/ApiV1AdminConfigPatch200ResponseConfig.md b/docs/ApiV1AdminConfigPatch200ResponseConfig.md deleted file mode 100644 index 350e6c0..0000000 --- a/docs/ApiV1AdminConfigPatch200ResponseConfig.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1AdminConfigPatch200ResponseConfig - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**initialized** | **bool** | | [optional] [default to False] -**allow_sign_up** | **bool** | | [optional] [default to True] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**allowed_sign_up_domain** | **str** | | [optional] -**instance_id** | **str** | | [optional] [default to '00000000-0000-0000-0000-000000000000'] -**trust_saml_emails** | **bool** | | [optional] [default to False] -**trust_ldap_emails** | **bool** | | [optional] [default to False] -**trust_oidc_emails** | **bool** | | [optional] [default to False] -**default_auth_org_id** | **str** | | [optional] -**enabled_login_methods** | **List[str]** | | [optional] -**default_auth_org_slug** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_admin_config_patch200_response_config import ApiV1AdminConfigPatch200ResponseConfig - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdminConfigPatch200ResponseConfig from a JSON string -api_v1_admin_config_patch200_response_config_instance = ApiV1AdminConfigPatch200ResponseConfig.from_json(json) -# print the JSON string representation of the object -print ApiV1AdminConfigPatch200ResponseConfig.to_json() - -# convert the object into a dict -api_v1_admin_config_patch200_response_config_dict = api_v1_admin_config_patch200_response_config_instance.to_dict() -# create an instance of ApiV1AdminConfigPatch200ResponseConfig from a dict -api_v1_admin_config_patch200_response_config_from_dict = ApiV1AdminConfigPatch200ResponseConfig.from_dict(api_v1_admin_config_patch200_response_config_dict) -``` -[[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/docs/ApiV1AdminConfigPatchRequest.md b/docs/ApiV1AdminConfigPatchRequest.md deleted file mode 100644 index e73a419..0000000 --- a/docs/ApiV1AdminConfigPatchRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1AdminConfigPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allow_sign_up** | **bool** | | [optional] -**allowed_sign_up_domain** | **str** | | [optional] -**trust_saml_emails** | **bool** | | [optional] -**trust_ldap_emails** | **bool** | | [optional] -**trust_oidc_emails** | **bool** | | [optional] -**default_auth_org_id** | **str** | | [optional] -**enabled_login_methods** | **List[str]** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_admin_config_patch_request import ApiV1AdminConfigPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdminConfigPatchRequest from a JSON string -api_v1_admin_config_patch_request_instance = ApiV1AdminConfigPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AdminConfigPatchRequest.to_json() - -# convert the object into a dict -api_v1_admin_config_patch_request_dict = api_v1_admin_config_patch_request_instance.to_dict() -# create an instance of ApiV1AdminConfigPatchRequest from a dict -api_v1_admin_config_patch_request_from_dict = ApiV1AdminConfigPatchRequest.from_dict(api_v1_admin_config_patch_request_dict) -``` -[[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/docs/ApiV1AdminSignupPost200Response.md b/docs/ApiV1AdminSignupPost200Response.md deleted file mode 100644 index 72fcc4a..0000000 --- a/docs/ApiV1AdminSignupPost200Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1AdminSignupPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**user** | [**ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser**](ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md) | | -**organization** | [**ApiV1OrganizationGet200ResponseOrganizationsInner**](ApiV1OrganizationGet200ResponseOrganizationsInner.md) | | -**token** | **str** | | -**new** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_admin_signup_post200_response import ApiV1AdminSignupPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdminSignupPost200Response from a JSON string -api_v1_admin_signup_post200_response_instance = ApiV1AdminSignupPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AdminSignupPost200Response.to_json() - -# convert the object into a dict -api_v1_admin_signup_post200_response_dict = api_v1_admin_signup_post200_response_instance.to_dict() -# create an instance of ApiV1AdminSignupPost200Response from a dict -api_v1_admin_signup_post200_response_from_dict = ApiV1AdminSignupPost200Response.from_dict(api_v1_admin_signup_post200_response_dict) -``` -[[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/docs/ApiV1AdminSignupPostRequest.md b/docs/ApiV1AdminSignupPostRequest.md deleted file mode 100644 index ce7c539..0000000 --- a/docs/ApiV1AdminSignupPostRequest.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1AdminSignupPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | -**password** | **str** | | -**first_name** | **str** | | -**last_name** | **str** | | [optional] -**protected_key** | **str** | | -**protected_key_iv** | **str** | | -**protected_key_tag** | **str** | | -**public_key** | **str** | | -**encrypted_private_key** | **str** | | -**encrypted_private_key_iv** | **str** | | -**encrypted_private_key_tag** | **str** | | -**salt** | **str** | | -**verifier** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_admin_signup_post_request import ApiV1AdminSignupPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdminSignupPostRequest from a JSON string -api_v1_admin_signup_post_request_instance = ApiV1AdminSignupPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AdminSignupPostRequest.to_json() - -# convert the object into a dict -api_v1_admin_signup_post_request_dict = api_v1_admin_signup_post_request_instance.to_dict() -# create an instance of ApiV1AdminSignupPostRequest from a dict -api_v1_admin_signup_post_request_from_dict = ApiV1AdminSignupPostRequest.from_dict(api_v1_admin_signup_post_request_dict) -``` -[[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/docs/ApiV1AdminUserManagementUsersGet200Response.md b/docs/ApiV1AdminUserManagementUsersGet200Response.md deleted file mode 100644 index ca0ccff..0000000 --- a/docs/ApiV1AdminUserManagementUsersGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AdminUserManagementUsersGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**users** | [**List[ApiV1AdminUserManagementUsersGet200ResponseUsersInner]**](ApiV1AdminUserManagementUsersGet200ResponseUsersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response import ApiV1AdminUserManagementUsersGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdminUserManagementUsersGet200Response from a JSON string -api_v1_admin_user_management_users_get200_response_instance = ApiV1AdminUserManagementUsersGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AdminUserManagementUsersGet200Response.to_json() - -# convert the object into a dict -api_v1_admin_user_management_users_get200_response_dict = api_v1_admin_user_management_users_get200_response_instance.to_dict() -# create an instance of ApiV1AdminUserManagementUsersGet200Response from a dict -api_v1_admin_user_management_users_get200_response_from_dict = ApiV1AdminUserManagementUsersGet200Response.from_dict(api_v1_admin_user_management_users_get200_response_dict) -``` -[[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/docs/ApiV1AdminUserManagementUsersGet200ResponseUsersInner.md b/docs/ApiV1AdminUserManagementUsersGet200ResponseUsersInner.md deleted file mode 100644 index 38dd72e..0000000 --- a/docs/ApiV1AdminUserManagementUsersGet200ResponseUsersInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1AdminUserManagementUsersGet200ResponseUsersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**email** | **str** | | [optional] -**id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response_users_inner import ApiV1AdminUserManagementUsersGet200ResponseUsersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdminUserManagementUsersGet200ResponseUsersInner from a JSON string -api_v1_admin_user_management_users_get200_response_users_inner_instance = ApiV1AdminUserManagementUsersGet200ResponseUsersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1AdminUserManagementUsersGet200ResponseUsersInner.to_json() - -# convert the object into a dict -api_v1_admin_user_management_users_get200_response_users_inner_dict = api_v1_admin_user_management_users_get200_response_users_inner_instance.to_dict() -# create an instance of ApiV1AdminUserManagementUsersGet200ResponseUsersInner from a dict -api_v1_admin_user_management_users_get200_response_users_inner_from_dict = ApiV1AdminUserManagementUsersGet200ResponseUsersInner.from_dict(api_v1_admin_user_management_users_get200_response_users_inner_dict) -``` -[[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/docs/ApiV1AdminUserManagementUsersUserIdDelete200Response.md b/docs/ApiV1AdminUserManagementUsersUserIdDelete200Response.md deleted file mode 100644 index dc274b5..0000000 --- a/docs/ApiV1AdminUserManagementUsersUserIdDelete200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AdminUserManagementUsersUserIdDelete200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**users** | [**ApiV1AdminUserManagementUsersGet200ResponseUsersInner**](ApiV1AdminUserManagementUsersGet200ResponseUsersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_admin_user_management_users_user_id_delete200_response import ApiV1AdminUserManagementUsersUserIdDelete200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AdminUserManagementUsersUserIdDelete200Response from a JSON string -api_v1_admin_user_management_users_user_id_delete200_response_instance = ApiV1AdminUserManagementUsersUserIdDelete200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AdminUserManagementUsersUserIdDelete200Response.to_json() - -# convert the object into a dict -api_v1_admin_user_management_users_user_id_delete200_response_dict = api_v1_admin_user_management_users_user_id_delete200_response_instance.to_dict() -# create an instance of ApiV1AdminUserManagementUsersUserIdDelete200Response from a dict -api_v1_admin_user_management_users_user_id_delete200_response_from_dict = ApiV1AdminUserManagementUsersUserIdDelete200Response.from_dict(api_v1_admin_user_management_users_user_id_delete200_response_dict) -``` -[[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/docs/ApiV1AuditLogStreamsGet200Response.md b/docs/ApiV1AuditLogStreamsGet200Response.md deleted file mode 100644 index 253bf38..0000000 --- a/docs/ApiV1AuditLogStreamsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuditLogStreamsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**audit_log_streams** | [**List[ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner]**](ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response import ApiV1AuditLogStreamsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuditLogStreamsGet200Response from a JSON string -api_v1_audit_log_streams_get200_response_instance = ApiV1AuditLogStreamsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuditLogStreamsGet200Response.to_json() - -# convert the object into a dict -api_v1_audit_log_streams_get200_response_dict = api_v1_audit_log_streams_get200_response_instance.to_dict() -# create an instance of ApiV1AuditLogStreamsGet200Response from a dict -api_v1_audit_log_streams_get200_response_from_dict = ApiV1AuditLogStreamsGet200Response.from_dict(api_v1_audit_log_streams_get200_response_dict) -``` -[[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/docs/ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.md b/docs/ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.md deleted file mode 100644 index 90a77a6..0000000 --- a/docs/ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**url** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response_audit_log_streams_inner import ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner from a JSON string -api_v1_audit_log_streams_get200_response_audit_log_streams_inner_instance = ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.to_json() - -# convert the object into a dict -api_v1_audit_log_streams_get200_response_audit_log_streams_inner_dict = api_v1_audit_log_streams_get200_response_audit_log_streams_inner_instance.to_dict() -# create an instance of ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner from a dict -api_v1_audit_log_streams_get200_response_audit_log_streams_inner_from_dict = ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.from_dict(api_v1_audit_log_streams_get200_response_audit_log_streams_inner_dict) -``` -[[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/docs/ApiV1AuditLogStreamsIdGet200Response.md b/docs/ApiV1AuditLogStreamsIdGet200Response.md deleted file mode 100644 index 7a33e46..0000000 --- a/docs/ApiV1AuditLogStreamsIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuditLogStreamsIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**audit_log_stream** | [**ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream**](ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response import ApiV1AuditLogStreamsIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuditLogStreamsIdGet200Response from a JSON string -api_v1_audit_log_streams_id_get200_response_instance = ApiV1AuditLogStreamsIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuditLogStreamsIdGet200Response.to_json() - -# convert the object into a dict -api_v1_audit_log_streams_id_get200_response_dict = api_v1_audit_log_streams_id_get200_response_instance.to_dict() -# create an instance of ApiV1AuditLogStreamsIdGet200Response from a dict -api_v1_audit_log_streams_id_get200_response_from_dict = ApiV1AuditLogStreamsIdGet200Response.from_dict(api_v1_audit_log_streams_id_get200_response_dict) -``` -[[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/docs/ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.md b/docs/ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.md deleted file mode 100644 index 2d61352..0000000 --- a/docs/ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**url** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**headers** | [**List[ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner]**](ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream from a JSON string -api_v1_audit_log_streams_id_get200_response_audit_log_stream_instance = ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.from_json(json) -# print the JSON string representation of the object -print ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.to_json() - -# convert the object into a dict -api_v1_audit_log_streams_id_get200_response_audit_log_stream_dict = api_v1_audit_log_streams_id_get200_response_audit_log_stream_instance.to_dict() -# create an instance of ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream from a dict -api_v1_audit_log_streams_id_get200_response_audit_log_stream_from_dict = ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.from_dict(api_v1_audit_log_streams_id_get200_response_audit_log_stream_dict) -``` -[[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/docs/ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.md b/docs/ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.md deleted file mode 100644 index 2368160..0000000 --- a/docs/ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**key** | **str** | | -**value** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner from a JSON string -api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner_instance = ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.to_json() - -# convert the object into a dict -api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner_dict = api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner_instance.to_dict() -# create an instance of ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner from a dict -api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner_from_dict = ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.from_dict(api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner_dict) -``` -[[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/docs/ApiV1AuditLogStreamsIdPatchRequest.md b/docs/ApiV1AuditLogStreamsIdPatchRequest.md deleted file mode 100644 index 802a2ed..0000000 --- a/docs/ApiV1AuditLogStreamsIdPatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1AuditLogStreamsIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**url** | **str** | The HTTP URL to push logs to. | [optional] -**headers** | [**List[ApiV1AuditLogStreamsPostRequestHeadersInner]**](ApiV1AuditLogStreamsPostRequestHeadersInner.md) | The HTTP headers attached for the external prrovider requests. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_audit_log_streams_id_patch_request import ApiV1AuditLogStreamsIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuditLogStreamsIdPatchRequest from a JSON string -api_v1_audit_log_streams_id_patch_request_instance = ApiV1AuditLogStreamsIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuditLogStreamsIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_audit_log_streams_id_patch_request_dict = api_v1_audit_log_streams_id_patch_request_instance.to_dict() -# create an instance of ApiV1AuditLogStreamsIdPatchRequest from a dict -api_v1_audit_log_streams_id_patch_request_from_dict = ApiV1AuditLogStreamsIdPatchRequest.from_dict(api_v1_audit_log_streams_id_patch_request_dict) -``` -[[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/docs/ApiV1AuditLogStreamsPost200Response.md b/docs/ApiV1AuditLogStreamsPost200Response.md deleted file mode 100644 index efd4f33..0000000 --- a/docs/ApiV1AuditLogStreamsPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuditLogStreamsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**audit_log_stream** | [**ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner**](ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_audit_log_streams_post200_response import ApiV1AuditLogStreamsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuditLogStreamsPost200Response from a JSON string -api_v1_audit_log_streams_post200_response_instance = ApiV1AuditLogStreamsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuditLogStreamsPost200Response.to_json() - -# convert the object into a dict -api_v1_audit_log_streams_post200_response_dict = api_v1_audit_log_streams_post200_response_instance.to_dict() -# create an instance of ApiV1AuditLogStreamsPost200Response from a dict -api_v1_audit_log_streams_post200_response_from_dict = ApiV1AuditLogStreamsPost200Response.from_dict(api_v1_audit_log_streams_post200_response_dict) -``` -[[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/docs/ApiV1AuditLogStreamsPostRequest.md b/docs/ApiV1AuditLogStreamsPostRequest.md deleted file mode 100644 index 5a15aa0..0000000 --- a/docs/ApiV1AuditLogStreamsPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1AuditLogStreamsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**url** | **str** | The HTTP URL to push logs to. | -**headers** | [**List[ApiV1AuditLogStreamsPostRequestHeadersInner]**](ApiV1AuditLogStreamsPostRequestHeadersInner.md) | The HTTP headers attached for the external prrovider requests. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_audit_log_streams_post_request import ApiV1AuditLogStreamsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuditLogStreamsPostRequest from a JSON string -api_v1_audit_log_streams_post_request_instance = ApiV1AuditLogStreamsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuditLogStreamsPostRequest.to_json() - -# convert the object into a dict -api_v1_audit_log_streams_post_request_dict = api_v1_audit_log_streams_post_request_instance.to_dict() -# create an instance of ApiV1AuditLogStreamsPostRequest from a dict -api_v1_audit_log_streams_post_request_from_dict = ApiV1AuditLogStreamsPostRequest.from_dict(api_v1_audit_log_streams_post_request_dict) -``` -[[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/docs/ApiV1AuditLogStreamsPostRequestHeadersInner.md b/docs/ApiV1AuditLogStreamsPostRequestHeadersInner.md deleted file mode 100644 index f3eb601..0000000 --- a/docs/ApiV1AuditLogStreamsPostRequestHeadersInner.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1AuditLogStreamsPostRequestHeadersInner - -The HTTP headers attached for the external prrovider requests. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**key** | **str** | The HTTP header key name. | -**value** | **str** | The HTTP header value. | - -## Example - -```python -from infisicalapi_client.models.api_v1_audit_log_streams_post_request_headers_inner import ApiV1AuditLogStreamsPostRequestHeadersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuditLogStreamsPostRequestHeadersInner from a JSON string -api_v1_audit_log_streams_post_request_headers_inner_instance = ApiV1AuditLogStreamsPostRequestHeadersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1AuditLogStreamsPostRequestHeadersInner.to_json() - -# convert the object into a dict -api_v1_audit_log_streams_post_request_headers_inner_dict = api_v1_audit_log_streams_post_request_headers_inner_instance.to_dict() -# create an instance of ApiV1AuditLogStreamsPostRequestHeadersInner from a dict -api_v1_audit_log_streams_post_request_headers_inner_from_dict = ApiV1AuditLogStreamsPostRequestHeadersInner.from_dict(api_v1_audit_log_streams_post_request_headers_inner_dict) -``` -[[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/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.md b/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.md deleted file mode 100644 index 119532d..0000000 --- a/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_aws_auth** | [**ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth**](ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response from a JSON string -api_v1_auth_aws_auth_identities_identity_id_get200_response_instance = ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.to_json() - -# convert the object into a dict -api_v1_auth_aws_auth_identities_identity_id_get200_response_dict = api_v1_auth_aws_auth_identities_identity_id_get200_response_instance.to_dict() -# create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response from a dict -api_v1_auth_aws_auth_identities_identity_id_get200_response_from_dict = ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.from_dict(api_v1_auth_aws_auth_identities_identity_id_get200_response_dict) -``` -[[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/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.md b/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.md deleted file mode 100644 index 174009c..0000000 --- a/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**access_token_ttl** | **float** | | [optional] [default to 7200] -**access_token_max_ttl** | **float** | | [optional] [default to 7200] -**access_token_num_uses_limit** | **float** | | [optional] [default to 0] -**access_token_trusted_ips** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**identity_id** | **str** | | -**type** | **str** | | -**sts_endpoint** | **str** | | -**allowed_principal_arns** | **str** | | -**allowed_account_ids** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth from a JSON string -api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth_instance = ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.to_json() - -# convert the object into a dict -api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth_dict = api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth_instance.to_dict() -# create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth from a dict -api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth_from_dict = ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.from_dict(api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth_dict) -``` -[[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/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.md b/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.md deleted file mode 100644 index 4c9c128..0000000 --- a/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sts_endpoint** | **str** | The new endpoint URL for the AWS STS API. | [optional] -**allowed_principal_arns** | **str** | The new comma-separated list of trusted IAM principal ARNs that are allowed to authenticate with Infisical. | [optional] [default to ''] -**allowed_account_ids** | **str** | The new comma-separated list of trusted AWS account IDs that are allowed to authenticate with Infisical. | [optional] [default to ''] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The new IPs or CIDR ranges that access tokens can be used from. | [optional] -**access_token_ttl** | **int** | The new lifetime for an acccess token in seconds. | [optional] -**access_token_num_uses_limit** | **int** | The new maximum number of times that an access token can be used. | [optional] -**access_token_max_ttl** | **int** | The new maximum lifetime for an acccess token in seconds. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_patch_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest from a JSON string -api_v1_auth_aws_auth_identities_identity_id_patch_request_instance = ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_auth_aws_auth_identities_identity_id_patch_request_dict = api_v1_auth_aws_auth_identities_identity_id_patch_request_instance.to_dict() -# create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest from a dict -api_v1_auth_aws_auth_identities_identity_id_patch_request_from_dict = ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.from_dict(api_v1_auth_aws_auth_identities_identity_id_patch_request_dict) -``` -[[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/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.md b/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.md deleted file mode 100644 index 34aade8..0000000 --- a/docs/ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sts_endpoint** | **str** | The endpoint URL for the AWS STS API. | [optional] [default to 'https://sts.amazonaws.com/'] -**allowed_principal_arns** | **str** | The comma-separated list of trusted IAM principal ARNs that are allowed to authenticate with Infisical. | [optional] [default to ''] -**allowed_account_ids** | **str** | The comma-separated list of trusted AWS account IDs that are allowed to authenticate with Infisical. | [optional] [default to ''] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The IPs or CIDR ranges that access tokens can be used from. | [optional] [default to [{"ipAddress":"0.0.0.0/0"},{"ipAddress":"::/0"}]] -**access_token_ttl** | **int** | The lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_max_ttl** | **int** | The maximum lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_num_uses_limit** | **int** | The maximum number of times that an access token can be used. | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_post_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest from a JSON string -api_v1_auth_aws_auth_identities_identity_id_post_request_instance = ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_aws_auth_identities_identity_id_post_request_dict = api_v1_auth_aws_auth_identities_identity_id_post_request_instance.to_dict() -# create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest from a dict -api_v1_auth_aws_auth_identities_identity_id_post_request_from_dict = ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.from_dict(api_v1_auth_aws_auth_identities_identity_id_post_request_dict) -``` -[[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/docs/ApiV1AuthAwsAuthLoginPostRequest.md b/docs/ApiV1AuthAwsAuthLoginPostRequest.md deleted file mode 100644 index 091bb3b..0000000 --- a/docs/ApiV1AuthAwsAuthLoginPostRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1AuthAwsAuthLoginPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_id** | **str** | The ID of the identity to login. | -**iam_http_request_method** | **str** | The HTTP request method used in the signed request. | [optional] [default to 'POST'] -**iam_request_body** | **str** | The base64-encoded body of the signed request. Most likely, the base64-encoding of Action=GetCallerIdentity&Version=2011-06-15. | -**iam_request_headers** | **str** | The base64-encoded headers of the sts:GetCallerIdentity signed request. | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_aws_auth_login_post_request import ApiV1AuthAwsAuthLoginPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthAwsAuthLoginPostRequest from a JSON string -api_v1_auth_aws_auth_login_post_request_instance = ApiV1AuthAwsAuthLoginPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthAwsAuthLoginPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_aws_auth_login_post_request_dict = api_v1_auth_aws_auth_login_post_request_instance.to_dict() -# create an instance of ApiV1AuthAwsAuthLoginPostRequest from a dict -api_v1_auth_aws_auth_login_post_request_from_dict = ApiV1AuthAwsAuthLoginPostRequest.from_dict(api_v1_auth_aws_auth_login_post_request_dict) -``` -[[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/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.md b/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.md deleted file mode 100644 index 2094d72..0000000 --- a/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_azure_auth** | [**ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth**](ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response from a JSON string -api_v1_auth_azure_auth_identities_identity_id_get200_response_instance = ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.to_json() - -# convert the object into a dict -api_v1_auth_azure_auth_identities_identity_id_get200_response_dict = api_v1_auth_azure_auth_identities_identity_id_get200_response_instance.to_dict() -# create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response from a dict -api_v1_auth_azure_auth_identities_identity_id_get200_response_from_dict = ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.from_dict(api_v1_auth_azure_auth_identities_identity_id_get200_response_dict) -``` -[[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/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.md b/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.md deleted file mode 100644 index af30585..0000000 --- a/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**access_token_ttl** | **float** | | [optional] [default to 7200] -**access_token_max_ttl** | **float** | | [optional] [default to 7200] -**access_token_num_uses_limit** | **float** | | [optional] [default to 0] -**access_token_trusted_ips** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**identity_id** | **str** | | -**tenant_id** | **str** | | -**resource** | **str** | | -**allowed_service_principal_ids** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth from a JSON string -api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth_instance = ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.to_json() - -# convert the object into a dict -api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth_dict = api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth_instance.to_dict() -# create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth from a dict -api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth_from_dict = ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.from_dict(api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth_dict) -``` -[[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/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.md b/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.md deleted file mode 100644 index 177287f..0000000 --- a/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tenant_id** | **str** | The new tenant ID for the Azure AD organization. | [optional] -**resource** | **str** | The new resource URL for the application registered in Azure AD. | [optional] -**allowed_service_principal_ids** | **str** | The new comma-separated list of Azure AD service principal IDs that are allowed to authenticate with Infisical. | [optional] [default to ''] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The new IPs or CIDR ranges that access tokens can be used from. | [optional] -**access_token_ttl** | **int** | The new lifetime for an acccess token in seconds. | [optional] -**access_token_num_uses_limit** | **int** | The new maximum number of times that an access token can be used. | [optional] -**access_token_max_ttl** | **int** | The new maximum lifetime for an acccess token in seconds. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_patch_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest from a JSON string -api_v1_auth_azure_auth_identities_identity_id_patch_request_instance = ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_auth_azure_auth_identities_identity_id_patch_request_dict = api_v1_auth_azure_auth_identities_identity_id_patch_request_instance.to_dict() -# create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest from a dict -api_v1_auth_azure_auth_identities_identity_id_patch_request_from_dict = ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.from_dict(api_v1_auth_azure_auth_identities_identity_id_patch_request_dict) -``` -[[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/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.md b/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.md deleted file mode 100644 index 1376e3d..0000000 --- a/docs/ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tenant_id** | **str** | The tenant ID for the Azure AD organization. | -**resource** | **str** | The resource URL for the application registered in Azure AD. | -**allowed_service_principal_ids** | **str** | The comma-separated list of Azure AD service principal IDs that are allowed to authenticate with Infisical. | [optional] [default to ''] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The IPs or CIDR ranges that access tokens can be used from. | [optional] [default to [{"ipAddress":"0.0.0.0/0"},{"ipAddress":"::/0"}]] -**access_token_ttl** | **int** | The lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_max_ttl** | **int** | The maximum lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_num_uses_limit** | **int** | The maximum number of times that an access token can be used. | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_post_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest from a JSON string -api_v1_auth_azure_auth_identities_identity_id_post_request_instance = ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_azure_auth_identities_identity_id_post_request_dict = api_v1_auth_azure_auth_identities_identity_id_post_request_instance.to_dict() -# create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest from a dict -api_v1_auth_azure_auth_identities_identity_id_post_request_from_dict = ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.from_dict(api_v1_auth_azure_auth_identities_identity_id_post_request_dict) -``` -[[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/docs/ApiV1AuthCheckAuthPost200Response.md b/docs/ApiV1AuthCheckAuthPost200Response.md deleted file mode 100644 index 69ca562..0000000 --- a/docs/ApiV1AuthCheckAuthPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthCheckAuthPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_check_auth_post200_response import ApiV1AuthCheckAuthPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthCheckAuthPost200Response from a JSON string -api_v1_auth_check_auth_post200_response_instance = ApiV1AuthCheckAuthPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthCheckAuthPost200Response.to_json() - -# convert the object into a dict -api_v1_auth_check_auth_post200_response_dict = api_v1_auth_check_auth_post200_response_instance.to_dict() -# create an instance of ApiV1AuthCheckAuthPost200Response from a dict -api_v1_auth_check_auth_post200_response_from_dict = ApiV1AuthCheckAuthPost200Response.from_dict(api_v1_auth_check_auth_post200_response_dict) -``` -[[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/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.md b/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.md deleted file mode 100644 index 54afb8f..0000000 --- a/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_gcp_auth** | [**ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth**](ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response from a JSON string -api_v1_auth_gcp_auth_identities_identity_id_get200_response_instance = ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.to_json() - -# convert the object into a dict -api_v1_auth_gcp_auth_identities_identity_id_get200_response_dict = api_v1_auth_gcp_auth_identities_identity_id_get200_response_instance.to_dict() -# create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response from a dict -api_v1_auth_gcp_auth_identities_identity_id_get200_response_from_dict = ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.from_dict(api_v1_auth_gcp_auth_identities_identity_id_get200_response_dict) -``` -[[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/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.md b/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.md deleted file mode 100644 index ff59fac..0000000 --- a/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**access_token_ttl** | **float** | | [optional] [default to 7200] -**access_token_max_ttl** | **float** | | [optional] [default to 7200] -**access_token_num_uses_limit** | **float** | | [optional] [default to 0] -**access_token_trusted_ips** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**identity_id** | **str** | | -**type** | **str** | | -**allowed_service_accounts** | **str** | | -**allowed_projects** | **str** | | -**allowed_zones** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth from a JSON string -api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth_instance = ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.to_json() - -# convert the object into a dict -api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth_dict = api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth_instance.to_dict() -# create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth from a dict -api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth_from_dict = ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.from_dict(api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth_dict) -``` -[[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/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.md b/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.md deleted file mode 100644 index a025f90..0000000 --- a/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | [optional] -**allowed_service_accounts** | **str** | The new comma-separated list of trusted service account emails corresponding to the GCE resource(s) allowed to authenticate with Infisical. | [optional] [default to ''] -**allowed_projects** | **str** | The new comma-separated list of trusted GCP projects that the GCE instance must belong to authenticate with Infisical. | [optional] [default to ''] -**allowed_zones** | **str** | The new comma-separated list of trusted zones that the GCE instances must belong to authenticate with Infisical. | [optional] [default to ''] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The new IPs or CIDR ranges that access tokens can be used from. | [optional] -**access_token_ttl** | **int** | The new lifetime for an acccess token in seconds. | [optional] -**access_token_num_uses_limit** | **int** | The new maximum number of times that an access token can be used. | [optional] -**access_token_max_ttl** | **int** | The new maximum lifetime for an acccess token in seconds. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_patch_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest from a JSON string -api_v1_auth_gcp_auth_identities_identity_id_patch_request_instance = ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_auth_gcp_auth_identities_identity_id_patch_request_dict = api_v1_auth_gcp_auth_identities_identity_id_patch_request_instance.to_dict() -# create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest from a dict -api_v1_auth_gcp_auth_identities_identity_id_patch_request_from_dict = ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.from_dict(api_v1_auth_gcp_auth_identities_identity_id_patch_request_dict) -``` -[[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/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.md b/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.md deleted file mode 100644 index 30e48e7..0000000 --- a/docs/ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**allowed_service_accounts** | **str** | The comma-separated list of trusted service account emails corresponding to the GCE resource(s) allowed to authenticate with Infisical. | [optional] [default to ''] -**allowed_projects** | **str** | The comma-separated list of trusted GCP projects that the GCE instance must belong to authenticate with Infisical. | [optional] [default to ''] -**allowed_zones** | **str** | The comma-separated list of trusted zones that the GCE instances must belong to authenticate with Infisical. | [optional] [default to ''] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The IPs or CIDR ranges that access tokens can be used from. | [optional] [default to [{"ipAddress":"0.0.0.0/0"},{"ipAddress":"::/0"}]] -**access_token_ttl** | **int** | The lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_max_ttl** | **int** | The maximum lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_num_uses_limit** | **int** | The maximum number of times that an access token can be used. | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_post_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest from a JSON string -api_v1_auth_gcp_auth_identities_identity_id_post_request_instance = ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_gcp_auth_identities_identity_id_post_request_dict = api_v1_auth_gcp_auth_identities_identity_id_post_request_instance.to_dict() -# create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest from a dict -api_v1_auth_gcp_auth_identities_identity_id_post_request_from_dict = ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.from_dict(api_v1_auth_gcp_auth_identities_identity_id_post_request_dict) -``` -[[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/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.md b/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.md deleted file mode 100644 index b55f3c3..0000000 --- a/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_kubernetes_auth** | [**ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth**](ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response from a JSON string -api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_instance = ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.to_json() - -# convert the object into a dict -api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_dict = api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_instance.to_dict() -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response from a dict -api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_from_dict = ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.from_dict(api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_dict) -``` -[[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/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.md b/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.md deleted file mode 100644 index ccb94c1..0000000 --- a/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**access_token_ttl** | **float** | | [optional] [default to 7200] -**access_token_max_ttl** | **float** | | [optional] [default to 7200] -**access_token_num_uses_limit** | **float** | | [optional] [default to 0] -**access_token_trusted_ips** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**identity_id** | **str** | | -**kubernetes_host** | **str** | | -**allowed_namespaces** | **str** | | -**allowed_names** | **str** | | -**allowed_audience** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth from a JSON string -api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth_instance = ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.to_json() - -# convert the object into a dict -api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth_dict = api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth_instance.to_dict() -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth from a dict -api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth_from_dict = ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.from_dict(api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth_dict) -``` -[[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/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.md b/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.md deleted file mode 100644 index f0f51be..0000000 --- a/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_kubernetes_auth** | [**ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth**](ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response from a JSON string -api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_instance = ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.to_json() - -# convert the object into a dict -api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_dict = api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_instance.to_dict() -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response from a dict -api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_from_dict = ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.from_dict(api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_dict) -``` -[[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/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.md b/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.md deleted file mode 100644 index dcdfd96..0000000 --- a/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.md +++ /dev/null @@ -1,41 +0,0 @@ -# ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**access_token_ttl** | **float** | | [optional] [default to 7200] -**access_token_max_ttl** | **float** | | [optional] [default to 7200] -**access_token_num_uses_limit** | **float** | | [optional] [default to 0] -**access_token_trusted_ips** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**identity_id** | **str** | | -**kubernetes_host** | **str** | | -**allowed_namespaces** | **str** | | -**allowed_names** | **str** | | -**allowed_audience** | **str** | | -**ca_cert** | **str** | | -**token_reviewer_jwt** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth from a JSON string -api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth_instance = ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.to_json() - -# convert the object into a dict -api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth_dict = api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth_instance.to_dict() -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth from a dict -api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth_from_dict = ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.from_dict(api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth_dict) -``` -[[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/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.md b/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.md deleted file mode 100644 index fffbde4..0000000 --- a/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**kubernetes_host** | **str** | The new host string, host:port pair, or URL to the base of the Kubernetes API server. | [optional] -**ca_cert** | **str** | The new PEM-encoded CA cert for the Kubernetes API server. | [optional] -**token_reviewer_jwt** | **str** | The new long-lived service account JWT token for Infisical to access the TokenReview API to validate other service account JWT tokens submitted by applications/pods. | [optional] -**allowed_namespaces** | **str** | The new comma-separated list of trusted namespaces that service accounts must belong to authenticate with Infisical. | [optional] -**allowed_names** | **str** | The new comma-separated list of trusted service account names that can authenticate with Infisical. | [optional] -**allowed_audience** | **str** | The new optional audience claim that the service account JWT token must have to authenticate with Infisical. | [optional] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The new IPs or CIDR ranges that access tokens can be used from. | [optional] -**access_token_ttl** | **int** | The new lifetime for an acccess token in seconds. | [optional] -**access_token_num_uses_limit** | **int** | The new maximum number of times that an access token can be used. | [optional] -**access_token_max_ttl** | **int** | The new maximum lifetime for an acccess token in seconds. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_patch_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest from a JSON string -api_v1_auth_kubernetes_auth_identities_identity_id_patch_request_instance = ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_auth_kubernetes_auth_identities_identity_id_patch_request_dict = api_v1_auth_kubernetes_auth_identities_identity_id_patch_request_instance.to_dict() -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest from a dict -api_v1_auth_kubernetes_auth_identities_identity_id_patch_request_from_dict = ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.from_dict(api_v1_auth_kubernetes_auth_identities_identity_id_patch_request_dict) -``` -[[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/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.md b/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.md deleted file mode 100644 index e84cec4..0000000 --- a/docs/ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**kubernetes_host** | **str** | The host string, host:port pair, or URL to the base of the Kubernetes API server. | -**ca_cert** | **str** | The PEM-encoded CA cert for the Kubernetes API server. | [optional] [default to ''] -**token_reviewer_jwt** | **str** | The long-lived service account JWT token for Infisical to access the TokenReview API to validate other service account JWT tokens submitted by applications/pods. | -**allowed_namespaces** | **str** | The comma-separated list of trusted namespaces that service accounts must belong to authenticate with Infisical. | -**allowed_names** | **str** | The comma-separated list of trusted service account names that can authenticate with Infisical. | -**allowed_audience** | **str** | The optional audience claim that the service account JWT token must have to authenticate with Infisical. | -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The IPs or CIDR ranges that access tokens can be used from. | [optional] [default to [{"ipAddress":"0.0.0.0/0"},{"ipAddress":"::/0"}]] -**access_token_ttl** | **int** | The lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_max_ttl** | **int** | The maximum lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_num_uses_limit** | **int** | The maximum number of times that an access token can be used. | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_post_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest from a JSON string -api_v1_auth_kubernetes_auth_identities_identity_id_post_request_instance = ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_kubernetes_auth_identities_identity_id_post_request_dict = api_v1_auth_kubernetes_auth_identities_identity_id_post_request_instance.to_dict() -# create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest from a dict -api_v1_auth_kubernetes_auth_identities_identity_id_post_request_from_dict = ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.from_dict(api_v1_auth_kubernetes_auth_identities_identity_id_post_request_dict) -``` -[[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/docs/ApiV1AuthKubernetesAuthLoginPostRequest.md b/docs/ApiV1AuthKubernetesAuthLoginPostRequest.md deleted file mode 100644 index dd97aed..0000000 --- a/docs/ApiV1AuthKubernetesAuthLoginPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1AuthKubernetesAuthLoginPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_id** | **str** | The ID of the identity to login. | -**jwt** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_login_post_request import ApiV1AuthKubernetesAuthLoginPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthKubernetesAuthLoginPostRequest from a JSON string -api_v1_auth_kubernetes_auth_login_post_request_instance = ApiV1AuthKubernetesAuthLoginPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthKubernetesAuthLoginPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_kubernetes_auth_login_post_request_dict = api_v1_auth_kubernetes_auth_login_post_request_instance.to_dict() -# create an instance of ApiV1AuthKubernetesAuthLoginPostRequest from a dict -api_v1_auth_kubernetes_auth_login_post_request_from_dict = ApiV1AuthKubernetesAuthLoginPostRequest.from_dict(api_v1_auth_kubernetes_auth_login_post_request_dict) -``` -[[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/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.md b/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.md deleted file mode 100644 index 05b429a..0000000 --- a/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_oidc_auth** | [**ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth**](ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response from a JSON string -api_v1_auth_oidc_auth_identities_identity_id_delete200_response_instance = ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.to_json() - -# convert the object into a dict -api_v1_auth_oidc_auth_identities_identity_id_delete200_response_dict = api_v1_auth_oidc_auth_identities_identity_id_delete200_response_instance.to_dict() -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response from a dict -api_v1_auth_oidc_auth_identities_identity_id_delete200_response_from_dict = ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.from_dict(api_v1_auth_oidc_auth_identities_identity_id_delete200_response_dict) -``` -[[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/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.md b/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.md deleted file mode 100644 index beb36cf..0000000 --- a/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**access_token_ttl** | **float** | | [optional] [default to 7200] -**access_token_max_ttl** | **float** | | [optional] [default to 7200] -**access_token_num_uses_limit** | **float** | | [optional] [default to 0] -**access_token_trusted_ips** | **object** | | [optional] -**identity_id** | **str** | | -**oidc_discovery_url** | **str** | | -**bound_issuer** | **str** | | -**bound_audiences** | **str** | | -**bound_claims** | **object** | | [optional] -**bound_subject** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth from a JSON string -api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth_instance = ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.to_json() - -# convert the object into a dict -api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth_dict = api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth_instance.to_dict() -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth from a dict -api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth_from_dict = ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.from_dict(api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth_dict) -``` -[[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/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.md b/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.md deleted file mode 100644 index 4a4c364..0000000 --- a/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_oidc_auth** | [**ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth**](ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response from a JSON string -api_v1_auth_oidc_auth_identities_identity_id_get200_response_instance = ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.to_json() - -# convert the object into a dict -api_v1_auth_oidc_auth_identities_identity_id_get200_response_dict = api_v1_auth_oidc_auth_identities_identity_id_get200_response_instance.to_dict() -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response from a dict -api_v1_auth_oidc_auth_identities_identity_id_get200_response_from_dict = ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.from_dict(api_v1_auth_oidc_auth_identities_identity_id_get200_response_dict) -``` -[[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/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.md b/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.md deleted file mode 100644 index 31d94ec..0000000 --- a/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.md +++ /dev/null @@ -1,41 +0,0 @@ -# ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**access_token_ttl** | **float** | | [optional] [default to 7200] -**access_token_max_ttl** | **float** | | [optional] [default to 7200] -**access_token_num_uses_limit** | **float** | | [optional] [default to 0] -**access_token_trusted_ips** | **object** | | [optional] -**identity_id** | **str** | | -**oidc_discovery_url** | **str** | | -**bound_issuer** | **str** | | -**bound_audiences** | **str** | | -**bound_claims** | **object** | | [optional] -**bound_subject** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**ca_cert** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth from a JSON string -api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth_instance = ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.to_json() - -# convert the object into a dict -api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth_dict = api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth_instance.to_dict() -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth from a dict -api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth_from_dict = ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.from_dict(api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth_dict) -``` -[[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/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.md b/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.md deleted file mode 100644 index b2cf977..0000000 --- a/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**oidc_discovery_url** | **str** | The new URL used to retrieve the OpenID Connect configuration from the identity provider. | [optional] -**ca_cert** | **str** | The new PEM-encoded CA cert for establishing secure communication with the Identity Provider endpoints. | [optional] [default to ''] -**bound_issuer** | **str** | The new unique identifier of the identity provider issuing the JWT. | [optional] -**bound_audiences** | **str** | The new list of intended recipients. | [optional] [default to ''] -**bound_claims** | **Dict[str, str]** | The new attributes that should be present in the JWT for it to be valid. | [optional] -**bound_subject** | **str** | The new expected principal that is the subject of the JWT. | [optional] [default to ''] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The new IPs or CIDR ranges that access tokens can be used from. | [optional] [default to [{"ipAddress":"0.0.0.0/0"},{"ipAddress":"::/0"}]] -**access_token_ttl** | **int** | The new lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_max_ttl** | **int** | The new maximum lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_num_uses_limit** | **int** | The new maximum number of times that an access token can be used. | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_patch_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest from a JSON string -api_v1_auth_oidc_auth_identities_identity_id_patch_request_instance = ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_auth_oidc_auth_identities_identity_id_patch_request_dict = api_v1_auth_oidc_auth_identities_identity_id_patch_request_instance.to_dict() -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest from a dict -api_v1_auth_oidc_auth_identities_identity_id_patch_request_from_dict = ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.from_dict(api_v1_auth_oidc_auth_identities_identity_id_patch_request_dict) -``` -[[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/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.md b/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.md deleted file mode 100644 index 99f345f..0000000 --- a/docs/ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**oidc_discovery_url** | **str** | The URL used to retrieve the OpenID Connect configuration from the identity provider. | -**ca_cert** | **str** | The PEM-encoded CA cert for establishing secure communication with the Identity Provider endpoints. | [optional] [default to ''] -**bound_issuer** | **str** | The unique identifier of the identity provider issuing the JWT. | -**bound_audiences** | **str** | The list of intended recipients. | [optional] [default to ''] -**bound_claims** | **Dict[str, str]** | The attributes that should be present in the JWT for it to be valid. | -**bound_subject** | **str** | The expected principal that is the subject of the JWT. | [optional] [default to ''] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The IPs or CIDR ranges that access tokens can be used from. | [optional] [default to [{"ipAddress":"0.0.0.0/0"},{"ipAddress":"::/0"}]] -**access_token_ttl** | **int** | The lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_max_ttl** | **int** | The maximum lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_num_uses_limit** | **int** | The maximum number of times that an access token can be used. | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_post_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest from a JSON string -api_v1_auth_oidc_auth_identities_identity_id_post_request_instance = ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_oidc_auth_identities_identity_id_post_request_dict = api_v1_auth_oidc_auth_identities_identity_id_post_request_instance.to_dict() -# create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest from a dict -api_v1_auth_oidc_auth_identities_identity_id_post_request_from_dict = ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.from_dict(api_v1_auth_oidc_auth_identities_identity_id_post_request_dict) -``` -[[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/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.md b/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.md deleted file mode 100644 index 75d5f06..0000000 --- a/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_token_auth** | [**ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth**](ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response from a JSON string -api_v1_auth_token_auth_identities_identity_id_get200_response_instance = ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_identities_identity_id_get200_response_dict = api_v1_auth_token_auth_identities_identity_id_get200_response_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response from a dict -api_v1_auth_token_auth_identities_identity_id_get200_response_from_dict = ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.from_dict(api_v1_auth_token_auth_identities_identity_id_get200_response_dict) -``` -[[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/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.md b/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.md deleted file mode 100644 index a324ca9..0000000 --- a/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**access_token_ttl** | **float** | | [optional] [default to 7200] -**access_token_max_ttl** | **float** | | [optional] [default to 7200] -**access_token_num_uses_limit** | **float** | | [optional] [default to 0] -**access_token_trusted_ips** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**identity_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth from a JSON string -api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth_instance = ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth_dict = api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth from a dict -api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth_from_dict = ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.from_dict(api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth_dict) -``` -[[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/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.md b/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.md deleted file mode 100644 index b8ae311..0000000 --- a/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The new IPs or CIDR ranges that access tokens can be used from. | [optional] -**access_token_ttl** | **int** | The new lifetime for an acccess token in seconds. | [optional] -**access_token_num_uses_limit** | **int** | The new maximum number of times that an access token can be used. | [optional] -**access_token_max_ttl** | **int** | The new maximum lifetime for an acccess token in seconds. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_patch_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest from a JSON string -api_v1_auth_token_auth_identities_identity_id_patch_request_instance = ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_identities_identity_id_patch_request_dict = api_v1_auth_token_auth_identities_identity_id_patch_request_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest from a dict -api_v1_auth_token_auth_identities_identity_id_patch_request_from_dict = ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.from_dict(api_v1_auth_token_auth_identities_identity_id_patch_request_dict) -``` -[[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/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.md b/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.md deleted file mode 100644 index 71c8747..0000000 --- a/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The IPs or CIDR ranges that access tokens can be used from. | [optional] [default to [{"ipAddress":"0.0.0.0/0"},{"ipAddress":"::/0"}]] -**access_token_ttl** | **int** | The lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_max_ttl** | **int** | The maximum lifetime for an acccess token in seconds. | [optional] [default to 2592000] -**access_token_num_uses_limit** | **int** | The maximum number of times that an access token can be used. | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest from a JSON string -api_v1_auth_token_auth_identities_identity_id_post_request_instance = ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_identities_identity_id_post_request_dict = api_v1_auth_token_auth_identities_identity_id_post_request_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest from a dict -api_v1_auth_token_auth_identities_identity_id_post_request_from_dict = ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.from_dict(api_v1_auth_token_auth_identities_identity_id_post_request_dict) -``` -[[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/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md b/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md deleted file mode 100644 index 25a785d..0000000 --- a/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ip_address** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner from a JSON string -api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner_instance = ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner_dict = api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner from a dict -api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner_from_dict = ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner_dict) -``` -[[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/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.md b/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.md deleted file mode 100644 index 840b248..0000000 --- a/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tokens** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response from a JSON string -api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_instance = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_dict = api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response from a dict -api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_from_dict = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.from_dict(api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_dict) -``` -[[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/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.md b/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.md deleted file mode 100644 index 664cc36..0000000 --- a/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**access_token_ttl** | **float** | | [optional] [default to 2592000] -**access_token_max_ttl** | **float** | | [optional] [default to 2592000] -**access_token_num_uses** | **float** | | [optional] [default to 0] -**access_token_num_uses_limit** | **float** | | [optional] [default to 0] -**access_token_last_used_at** | **datetime** | | [optional] -**access_token_last_renewed_at** | **datetime** | | [optional] -**is_access_token_revoked** | **bool** | | [optional] [default to False] -**identity_ua_client_secret_id** | **str** | | [optional] -**identity_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**name** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner from a JSON string -api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner_instance = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner_dict = api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner from a dict -api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner_from_dict = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.from_dict(api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner_dict) -``` -[[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/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md b/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md deleted file mode 100644 index 429c92d..0000000 --- a/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_token** | **str** | | -**expires_in** | **float** | | -**access_token_max_ttl** | **float** | | -**token_type** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response from a JSON string -api_v1_auth_token_auth_identities_identity_id_tokens_post200_response_instance = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_identities_identity_id_tokens_post200_response_dict = api_v1_auth_token_auth_identities_identity_id_tokens_post200_response_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response from a dict -api_v1_auth_token_auth_identities_identity_id_tokens_post200_response_from_dict = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.from_dict(api_v1_auth_token_auth_identities_identity_id_tokens_post200_response_dict) -``` -[[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/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.md b/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.md deleted file mode 100644 index 341052a..0000000 --- a/docs/ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The name of the token to create | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest from a JSON string -api_v1_auth_token_auth_identities_identity_id_tokens_post_request_instance = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_identities_identity_id_tokens_post_request_dict = api_v1_auth_token_auth_identities_identity_id_tokens_post_request_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest from a dict -api_v1_auth_token_auth_identities_identity_id_tokens_post_request_from_dict = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.from_dict(api_v1_auth_token_auth_identities_identity_id_tokens_post_request_dict) -``` -[[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/docs/ApiV1AuthTokenAuthTokensTokenIdPatch200Response.md b/docs/ApiV1AuthTokenAuthTokensTokenIdPatch200Response.md deleted file mode 100644 index d1932a1..0000000 --- a/docs/ApiV1AuthTokenAuthTokensTokenIdPatch200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthTokenAuthTokensTokenIdPatch200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**token** | [**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch200_response import ApiV1AuthTokenAuthTokensTokenIdPatch200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthTokensTokenIdPatch200Response from a JSON string -api_v1_auth_token_auth_tokens_token_id_patch200_response_instance = ApiV1AuthTokenAuthTokensTokenIdPatch200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthTokensTokenIdPatch200Response.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_tokens_token_id_patch200_response_dict = api_v1_auth_token_auth_tokens_token_id_patch200_response_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthTokensTokenIdPatch200Response from a dict -api_v1_auth_token_auth_tokens_token_id_patch200_response_from_dict = ApiV1AuthTokenAuthTokensTokenIdPatch200Response.from_dict(api_v1_auth_token_auth_tokens_token_id_patch200_response_dict) -``` -[[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/docs/ApiV1AuthTokenAuthTokensTokenIdPatchRequest.md b/docs/ApiV1AuthTokenAuthTokensTokenIdPatchRequest.md deleted file mode 100644 index a0c7997..0000000 --- a/docs/ApiV1AuthTokenAuthTokensTokenIdPatchRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthTokenAuthTokensTokenIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The name of the token to update to | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch_request import ApiV1AuthTokenAuthTokensTokenIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenAuthTokensTokenIdPatchRequest from a JSON string -api_v1_auth_token_auth_tokens_token_id_patch_request_instance = ApiV1AuthTokenAuthTokensTokenIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenAuthTokensTokenIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_auth_token_auth_tokens_token_id_patch_request_dict = api_v1_auth_token_auth_tokens_token_id_patch_request_instance.to_dict() -# create an instance of ApiV1AuthTokenAuthTokensTokenIdPatchRequest from a dict -api_v1_auth_token_auth_tokens_token_id_patch_request_from_dict = ApiV1AuthTokenAuthTokensTokenIdPatchRequest.from_dict(api_v1_auth_token_auth_tokens_token_id_patch_request_dict) -``` -[[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/docs/ApiV1AuthTokenPost200Response.md b/docs/ApiV1AuthTokenPost200Response.md deleted file mode 100644 index f9aa7c9..0000000 --- a/docs/ApiV1AuthTokenPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthTokenPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**token** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_post200_response import ApiV1AuthTokenPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenPost200Response from a JSON string -api_v1_auth_token_post200_response_instance = ApiV1AuthTokenPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenPost200Response.to_json() - -# convert the object into a dict -api_v1_auth_token_post200_response_dict = api_v1_auth_token_post200_response_instance.to_dict() -# create an instance of ApiV1AuthTokenPost200Response from a dict -api_v1_auth_token_post200_response_from_dict = ApiV1AuthTokenPost200Response.from_dict(api_v1_auth_token_post200_response_dict) -``` -[[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/docs/ApiV1AuthTokenRenewPostRequest.md b/docs/ApiV1AuthTokenRenewPostRequest.md deleted file mode 100644 index 4e0fa54..0000000 --- a/docs/ApiV1AuthTokenRenewPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthTokenRenewPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_token** | **str** | The access token to renew. | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_renew_post_request import ApiV1AuthTokenRenewPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenRenewPostRequest from a JSON string -api_v1_auth_token_renew_post_request_instance = ApiV1AuthTokenRenewPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenRenewPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_token_renew_post_request_dict = api_v1_auth_token_renew_post_request_instance.to_dict() -# create an instance of ApiV1AuthTokenRenewPostRequest from a dict -api_v1_auth_token_renew_post_request_from_dict = ApiV1AuthTokenRenewPostRequest.from_dict(api_v1_auth_token_renew_post_request_dict) -``` -[[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/docs/ApiV1AuthTokenRevokePostRequest.md b/docs/ApiV1AuthTokenRevokePostRequest.md deleted file mode 100644 index 53eca59..0000000 --- a/docs/ApiV1AuthTokenRevokePostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthTokenRevokePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_token** | **str** | The access token to revoke. | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_token_revoke_post_request import ApiV1AuthTokenRevokePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthTokenRevokePostRequest from a JSON string -api_v1_auth_token_revoke_post_request_instance = ApiV1AuthTokenRevokePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthTokenRevokePostRequest.to_json() - -# convert the object into a dict -api_v1_auth_token_revoke_post_request_dict = api_v1_auth_token_revoke_post_request_instance.to_dict() -# create an instance of ApiV1AuthTokenRevokePostRequest from a dict -api_v1_auth_token_revoke_post_request_from_dict = ApiV1AuthTokenRevokePostRequest.from_dict(api_v1_auth_token_revoke_post_request_dict) -``` -[[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/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.md b/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.md deleted file mode 100644 index f237477..0000000 --- a/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_secret_data** | [**ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner**](ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response from a JSON string -api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response_instance = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.to_json() - -# convert the object into a dict -api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response_dict = api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response_instance.to_dict() -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response from a dict -api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response_from_dict = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.from_dict(api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response_dict) -``` -[[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/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.md b/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.md deleted file mode 100644 index 2e20f7a..0000000 --- a/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_secret_data** | [**List[ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner]**](ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response from a JSON string -api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_instance = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.to_json() - -# convert the object into a dict -api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_dict = api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_instance.to_dict() -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response from a dict -api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_from_dict = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.from_dict(api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_dict) -``` -[[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/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.md b/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.md deleted file mode 100644 index fad4caf..0000000 --- a/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**description** | **str** | | -**client_secret_prefix** | **str** | | -**client_secret_num_uses** | **float** | | [optional] [default to 0] -**client_secret_num_uses_limit** | **float** | | [optional] [default to 0] -**client_secret_ttl** | **float** | | [optional] [default to 0] -**identity_uaid** | **str** | | -**is_client_secret_revoked** | **bool** | | [optional] [default to False] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner from a JSON string -api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner_instance = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.to_json() - -# convert the object into a dict -api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner_dict = api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner_instance.to_dict() -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner from a dict -api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner_from_dict = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.from_dict(api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner_dict) -``` -[[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/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.md b/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.md deleted file mode 100644 index 55db24a..0000000 --- a/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_secret** | **str** | | -**client_secret_data** | [**ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner**](ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response from a JSON string -api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response_instance = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.to_json() - -# convert the object into a dict -api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response_dict = api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response_instance.to_dict() -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response from a dict -api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response_from_dict = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.from_dict(api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response_dict) -``` -[[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/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.md b/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.md deleted file mode 100644 index 38632a9..0000000 --- a/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**description** | **str** | The description of the client secret. | [optional] [default to ''] -**num_uses_limit** | **float** | The maximum number of times that the client secret can be used; a value of 0 implies infinite number of uses. | [optional] [default to 0] -**ttl** | **float** | The lifetime for the client secret in seconds. | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest from a JSON string -api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request_instance = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request_dict = api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request_instance.to_dict() -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest from a dict -api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request_from_dict = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.from_dict(api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request_dict) -``` -[[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/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.md b/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.md deleted file mode 100644 index 3246016..0000000 --- a/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_universal_auth** | [**ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth**](ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response from a JSON string -api_v1_auth_universal_auth_identities_identity_id_get200_response_instance = ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.to_json() - -# convert the object into a dict -api_v1_auth_universal_auth_identities_identity_id_get200_response_dict = api_v1_auth_universal_auth_identities_identity_id_get200_response_instance.to_dict() -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response from a dict -api_v1_auth_universal_auth_identities_identity_id_get200_response_from_dict = ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.from_dict(api_v1_auth_universal_auth_identities_identity_id_get200_response_dict) -``` -[[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/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.md b/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.md deleted file mode 100644 index a0434ac..0000000 --- a/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**client_id** | **str** | | -**access_token_ttl** | **float** | | [optional] [default to 7200] -**access_token_max_ttl** | **float** | | [optional] [default to 7200] -**access_token_num_uses_limit** | **float** | | [optional] [default to 0] -**client_secret_trusted_ips** | **object** | | [optional] -**access_token_trusted_ips** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**identity_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth from a JSON string -api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth_instance = ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.to_json() - -# convert the object into a dict -api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth_dict = api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth_instance.to_dict() -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth from a dict -api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth_from_dict = ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.from_dict(api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth_dict) -``` -[[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/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.md b/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.md deleted file mode 100644 index 3e57266..0000000 --- a/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_secret_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The new list of IPs or CIDR ranges that the Client Secret can be used from. | [optional] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | The new list of IPs or CIDR ranges that access tokens can be used from. | [optional] -**access_token_ttl** | **int** | The new lifetime for an access token in seconds. | [optional] -**access_token_num_uses_limit** | **int** | The new maximum number of times that an access token can be used. | [optional] -**access_token_max_ttl** | **int** | The new maximum lifetime for an access token in seconds. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_patch_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest from a JSON string -api_v1_auth_universal_auth_identities_identity_id_patch_request_instance = ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_auth_universal_auth_identities_identity_id_patch_request_dict = api_v1_auth_universal_auth_identities_identity_id_patch_request_instance.to_dict() -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest from a dict -api_v1_auth_universal_auth_identities_identity_id_patch_request_from_dict = ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.from_dict(api_v1_auth_universal_auth_identities_identity_id_patch_request_dict) -``` -[[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/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.md b/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.md deleted file mode 100644 index 87ddb3e..0000000 --- a/docs/ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_secret_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | A list of IPs or CIDR ranges that the Client Secret can be used from together with the Client ID to get back an access token. You can use 0.0.0.0/0, to allow usage from any network address. | [optional] [default to [{"ipAddress":"0.0.0.0/0"},{"ipAddress":"::/0"}]] -**access_token_trusted_ips** | [**List[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner]**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.md) | A list of IPs or CIDR ranges that access tokens can be used from. You can use 0.0.0.0/0, to allow usage from any network address. | [optional] [default to [{"ipAddress":"0.0.0.0/0"},{"ipAddress":"::/0"}]] -**access_token_ttl** | **int** | The lifetime for an access token in seconds. This value will be referenced at renewal time. | [optional] [default to 2592000] -**access_token_max_ttl** | **int** | The maximum lifetime for an access token in seconds. This value will be referenced at renewal time. | [optional] [default to 2592000] -**access_token_num_uses_limit** | **int** | The maximum number of times that an access token can be used; a value of 0 implies infinite number of uses. | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest from a JSON string -api_v1_auth_universal_auth_identities_identity_id_post_request_instance = ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_universal_auth_identities_identity_id_post_request_dict = api_v1_auth_universal_auth_identities_identity_id_post_request_instance.to_dict() -# create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest from a dict -api_v1_auth_universal_auth_identities_identity_id_post_request_from_dict = ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.from_dict(api_v1_auth_universal_auth_identities_identity_id_post_request_dict) -``` -[[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/docs/ApiV1AuthUniversalAuthLoginPostRequest.md b/docs/ApiV1AuthUniversalAuthLoginPostRequest.md deleted file mode 100644 index c7a3abf..0000000 --- a/docs/ApiV1AuthUniversalAuthLoginPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1AuthUniversalAuthLoginPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_id** | **str** | Your Machine Identity Client ID. | -**client_secret** | **str** | Your Machine Identity Client Secret. | - -## Example - -```python -from infisicalapi_client.models.api_v1_auth_universal_auth_login_post_request import ApiV1AuthUniversalAuthLoginPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1AuthUniversalAuthLoginPostRequest from a JSON string -api_v1_auth_universal_auth_login_post_request_instance = ApiV1AuthUniversalAuthLoginPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1AuthUniversalAuthLoginPostRequest.to_json() - -# convert the object into a dict -api_v1_auth_universal_auth_login_post_request_dict = api_v1_auth_universal_auth_login_post_request_instance.to_dict() -# create an instance of ApiV1AuthUniversalAuthLoginPostRequest from a dict -api_v1_auth_universal_auth_login_post_request_from_dict = ApiV1AuthUniversalAuthLoginPostRequest.from_dict(api_v1_auth_universal_auth_login_post_request_dict) -``` -[[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/docs/ApiV1BotBotIdActivePatchRequest.md b/docs/ApiV1BotBotIdActivePatchRequest.md deleted file mode 100644 index c02067c..0000000 --- a/docs/ApiV1BotBotIdActivePatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1BotBotIdActivePatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is_active** | **bool** | | -**bot_key** | [**ApiV1BotBotIdActivePatchRequestBotKey**](ApiV1BotBotIdActivePatchRequestBotKey.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request import ApiV1BotBotIdActivePatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1BotBotIdActivePatchRequest from a JSON string -api_v1_bot_bot_id_active_patch_request_instance = ApiV1BotBotIdActivePatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1BotBotIdActivePatchRequest.to_json() - -# convert the object into a dict -api_v1_bot_bot_id_active_patch_request_dict = api_v1_bot_bot_id_active_patch_request_instance.to_dict() -# create an instance of ApiV1BotBotIdActivePatchRequest from a dict -api_v1_bot_bot_id_active_patch_request_from_dict = ApiV1BotBotIdActivePatchRequest.from_dict(api_v1_bot_bot_id_active_patch_request_dict) -``` -[[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/docs/ApiV1BotBotIdActivePatchRequestBotKey.md b/docs/ApiV1BotBotIdActivePatchRequestBotKey.md deleted file mode 100644 index 8334cf4..0000000 --- a/docs/ApiV1BotBotIdActivePatchRequestBotKey.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1BotBotIdActivePatchRequestBotKey - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nonce** | **str** | | [optional] -**encrypted_key** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request_bot_key import ApiV1BotBotIdActivePatchRequestBotKey - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1BotBotIdActivePatchRequestBotKey from a JSON string -api_v1_bot_bot_id_active_patch_request_bot_key_instance = ApiV1BotBotIdActivePatchRequestBotKey.from_json(json) -# print the JSON string representation of the object -print ApiV1BotBotIdActivePatchRequestBotKey.to_json() - -# convert the object into a dict -api_v1_bot_bot_id_active_patch_request_bot_key_dict = api_v1_bot_bot_id_active_patch_request_bot_key_instance.to_dict() -# create an instance of ApiV1BotBotIdActivePatchRequestBotKey from a dict -api_v1_bot_bot_id_active_patch_request_bot_key_from_dict = ApiV1BotBotIdActivePatchRequestBotKey.from_dict(api_v1_bot_bot_id_active_patch_request_bot_key_dict) -``` -[[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/docs/ApiV1BotProjectIdGet200Response.md b/docs/ApiV1BotProjectIdGet200Response.md deleted file mode 100644 index 0905d41..0000000 --- a/docs/ApiV1BotProjectIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1BotProjectIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bot** | [**ApiV1BotProjectIdGet200ResponseBot**](ApiV1BotProjectIdGet200ResponseBot.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_bot_project_id_get200_response import ApiV1BotProjectIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1BotProjectIdGet200Response from a JSON string -api_v1_bot_project_id_get200_response_instance = ApiV1BotProjectIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1BotProjectIdGet200Response.to_json() - -# convert the object into a dict -api_v1_bot_project_id_get200_response_dict = api_v1_bot_project_id_get200_response_instance.to_dict() -# create an instance of ApiV1BotProjectIdGet200Response from a dict -api_v1_bot_project_id_get200_response_from_dict = ApiV1BotProjectIdGet200Response.from_dict(api_v1_bot_project_id_get200_response_dict) -``` -[[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/docs/ApiV1BotProjectIdGet200ResponseBot.md b/docs/ApiV1BotProjectIdGet200ResponseBot.md deleted file mode 100644 index 3eee10b..0000000 --- a/docs/ApiV1BotProjectIdGet200ResponseBot.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1BotProjectIdGet200ResponseBot - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**is_active** | **bool** | | [optional] [default to False] -**public_key** | **str** | | -**encrypted_project_key** | **str** | | [optional] -**encrypted_project_key_nonce** | **str** | | [optional] -**project_id** | **str** | | -**sender_id** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_bot_project_id_get200_response_bot import ApiV1BotProjectIdGet200ResponseBot - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1BotProjectIdGet200ResponseBot from a JSON string -api_v1_bot_project_id_get200_response_bot_instance = ApiV1BotProjectIdGet200ResponseBot.from_json(json) -# print the JSON string representation of the object -print ApiV1BotProjectIdGet200ResponseBot.to_json() - -# convert the object into a dict -api_v1_bot_project_id_get200_response_bot_dict = api_v1_bot_project_id_get200_response_bot_instance.to_dict() -# create an instance of ApiV1BotProjectIdGet200ResponseBot from a dict -api_v1_bot_project_id_get200_response_bot_from_dict = ApiV1BotProjectIdGet200ResponseBot.from_dict(api_v1_bot_project_id_get200_response_bot_dict) -``` -[[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/docs/ApiV1DynamicSecretsGet200Response.md b/docs/ApiV1DynamicSecretsGet200Response.md deleted file mode 100644 index 4b2cb9f..0000000 --- a/docs/ApiV1DynamicSecretsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1DynamicSecretsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dynamic_secrets** | [**List[ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner]**](ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response import ApiV1DynamicSecretsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsGet200Response from a JSON string -api_v1_dynamic_secrets_get200_response_instance = ApiV1DynamicSecretsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsGet200Response.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_get200_response_dict = api_v1_dynamic_secrets_get200_response_instance.to_dict() -# create an instance of ApiV1DynamicSecretsGet200Response from a dict -api_v1_dynamic_secrets_get200_response_from_dict = ApiV1DynamicSecretsGet200Response.from_dict(api_v1_dynamic_secrets_get200_response_dict) -``` -[[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/docs/ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.md b/docs/ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.md deleted file mode 100644 index b29910d..0000000 --- a/docs/ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**version** | **float** | | -**type** | **str** | | -**default_ttl** | **str** | | -**max_ttl** | **str** | | [optional] -**folder_id** | **str** | | -**status** | **str** | | [optional] -**status_details** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner import ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner from a JSON string -api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner_instance = ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner_dict = api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner_instance.to_dict() -# create an instance of ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner from a dict -api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner_from_dict = ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.from_dict(api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner_dict) -``` -[[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/docs/ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.md b/docs/ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.md deleted file mode 100644 index 7368df6..0000000 --- a/docs/ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1DynamicSecretsLeasesLeaseIdDelete200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**lease** | [**ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner**](ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete200_response import ApiV1DynamicSecretsLeasesLeaseIdDelete200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsLeasesLeaseIdDelete200Response from a JSON string -api_v1_dynamic_secrets_leases_lease_id_delete200_response_instance = ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_leases_lease_id_delete200_response_dict = api_v1_dynamic_secrets_leases_lease_id_delete200_response_instance.to_dict() -# create an instance of ApiV1DynamicSecretsLeasesLeaseIdDelete200Response from a dict -api_v1_dynamic_secrets_leases_lease_id_delete200_response_from_dict = ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.from_dict(api_v1_dynamic_secrets_leases_lease_id_delete200_response_dict) -``` -[[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/docs/ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.md b/docs/ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.md deleted file mode 100644 index 104d87d..0000000 --- a/docs/ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | The slug of the project of the dynamic secret in. | -**path** | **str** | The path of the dynamic secret in. | [optional] [default to '/'] -**environment_slug** | **str** | The slug of the environment of the dynamic secret in. | -**is_forced** | **bool** | A boolean flag to delete the the dynamic secret from infisical without trying to remove it from external provider. Used when the dynamic secret got modified externally. | [optional] [default to False] - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete_request import ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest from a JSON string -api_v1_dynamic_secrets_leases_lease_id_delete_request_instance = ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_leases_lease_id_delete_request_dict = api_v1_dynamic_secrets_leases_lease_id_delete_request_instance.to_dict() -# create an instance of ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest from a dict -api_v1_dynamic_secrets_leases_lease_id_delete_request_from_dict = ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.from_dict(api_v1_dynamic_secrets_leases_lease_id_delete_request_dict) -``` -[[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/docs/ApiV1DynamicSecretsLeasesLeaseIdGet200Response.md b/docs/ApiV1DynamicSecretsLeasesLeaseIdGet200Response.md deleted file mode 100644 index 25557bc..0000000 --- a/docs/ApiV1DynamicSecretsLeasesLeaseIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1DynamicSecretsLeasesLeaseIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**lease** | [**ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease**](ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response import ApiV1DynamicSecretsLeasesLeaseIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsLeasesLeaseIdGet200Response from a JSON string -api_v1_dynamic_secrets_leases_lease_id_get200_response_instance = ApiV1DynamicSecretsLeasesLeaseIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsLeasesLeaseIdGet200Response.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_leases_lease_id_get200_response_dict = api_v1_dynamic_secrets_leases_lease_id_get200_response_instance.to_dict() -# create an instance of ApiV1DynamicSecretsLeasesLeaseIdGet200Response from a dict -api_v1_dynamic_secrets_leases_lease_id_get200_response_from_dict = ApiV1DynamicSecretsLeasesLeaseIdGet200Response.from_dict(api_v1_dynamic_secrets_leases_lease_id_get200_response_dict) -``` -[[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/docs/ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.md b/docs/ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.md deleted file mode 100644 index 3c81f8f..0000000 --- a/docs/ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | -**external_entity_id** | **str** | | -**expire_at** | **datetime** | | -**status** | **str** | | [optional] -**status_details** | **str** | | [optional] -**dynamic_secret_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**dynamic_secret** | [**ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner**](ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response_lease import ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease from a JSON string -api_v1_dynamic_secrets_leases_lease_id_get200_response_lease_instance = ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_leases_lease_id_get200_response_lease_dict = api_v1_dynamic_secrets_leases_lease_id_get200_response_lease_instance.to_dict() -# create an instance of ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease from a dict -api_v1_dynamic_secrets_leases_lease_id_get200_response_lease_from_dict = ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.from_dict(api_v1_dynamic_secrets_leases_lease_id_get200_response_lease_dict) -``` -[[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/docs/ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.md b/docs/ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.md deleted file mode 100644 index 3f6def7..0000000 --- a/docs/ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ttl** | **str** | The renew TTL that gets added with current expiry (ensure it's below max TTL) for a total less than creation time + max TTL. | [optional] -**project_slug** | **str** | The slug of the project of the dynamic secret in. | -**path** | **str** | The path of the dynamic secret in. | [optional] [default to '/'] -**environment_slug** | **str** | The slug of the environment of the dynamic secret in. | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_renew_post_request import ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest from a JSON string -api_v1_dynamic_secrets_leases_lease_id_renew_post_request_instance = ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_leases_lease_id_renew_post_request_dict = api_v1_dynamic_secrets_leases_lease_id_renew_post_request_instance.to_dict() -# create an instance of ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest from a dict -api_v1_dynamic_secrets_leases_lease_id_renew_post_request_from_dict = ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.from_dict(api_v1_dynamic_secrets_leases_lease_id_renew_post_request_dict) -``` -[[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/docs/ApiV1DynamicSecretsLeasesPost200Response.md b/docs/ApiV1DynamicSecretsLeasesPost200Response.md deleted file mode 100644 index 5b3e41d..0000000 --- a/docs/ApiV1DynamicSecretsLeasesPost200Response.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1DynamicSecretsLeasesPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**lease** | [**ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner**](ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.md) | | -**dynamic_secret** | [**ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner**](ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.md) | | -**data** | **object** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post200_response import ApiV1DynamicSecretsLeasesPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsLeasesPost200Response from a JSON string -api_v1_dynamic_secrets_leases_post200_response_instance = ApiV1DynamicSecretsLeasesPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsLeasesPost200Response.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_leases_post200_response_dict = api_v1_dynamic_secrets_leases_post200_response_instance.to_dict() -# create an instance of ApiV1DynamicSecretsLeasesPost200Response from a dict -api_v1_dynamic_secrets_leases_post200_response_from_dict = ApiV1DynamicSecretsLeasesPost200Response.from_dict(api_v1_dynamic_secrets_leases_post200_response_dict) -``` -[[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/docs/ApiV1DynamicSecretsLeasesPostRequest.md b/docs/ApiV1DynamicSecretsLeasesPostRequest.md deleted file mode 100644 index bb0ad78..0000000 --- a/docs/ApiV1DynamicSecretsLeasesPostRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1DynamicSecretsLeasesPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dynamic_secret_name** | **str** | The name of the dynamic secret. | -**project_slug** | **str** | The slug of the project of the dynamic secret in. | -**ttl** | **str** | The lease lifetime ttl. If not provided the default TTL of dynamic secret will be used. | [optional] -**path** | **str** | The path of the dynamic secret in. | [optional] [default to '/'] -**environment_slug** | **str** | The path of the dynamic secret in. | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post_request import ApiV1DynamicSecretsLeasesPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsLeasesPostRequest from a JSON string -api_v1_dynamic_secrets_leases_post_request_instance = ApiV1DynamicSecretsLeasesPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsLeasesPostRequest.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_leases_post_request_dict = api_v1_dynamic_secrets_leases_post_request_instance.to_dict() -# create an instance of ApiV1DynamicSecretsLeasesPostRequest from a dict -api_v1_dynamic_secrets_leases_post_request_from_dict = ApiV1DynamicSecretsLeasesPostRequest.from_dict(api_v1_dynamic_secrets_leases_post_request_dict) -``` -[[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/docs/ApiV1DynamicSecretsNameDeleteRequest.md b/docs/ApiV1DynamicSecretsNameDeleteRequest.md deleted file mode 100644 index 3a22e74..0000000 --- a/docs/ApiV1DynamicSecretsNameDeleteRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1DynamicSecretsNameDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | The slug of the project to delete dynamic secret in. | -**path** | **str** | The path to delete the dynamic secret in. | [optional] [default to '/'] -**environment_slug** | **str** | The slug of the environment to delete the dynamic secret in. | -**is_forced** | **bool** | A boolean flag to delete the the dynamic secret from infisical without trying to remove it from external provider. Used when the dynamic secret got modified externally. | [optional] [default to False] - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_name_delete_request import ApiV1DynamicSecretsNameDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsNameDeleteRequest from a JSON string -api_v1_dynamic_secrets_name_delete_request_instance = ApiV1DynamicSecretsNameDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsNameDeleteRequest.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_name_delete_request_dict = api_v1_dynamic_secrets_name_delete_request_instance.to_dict() -# create an instance of ApiV1DynamicSecretsNameDeleteRequest from a dict -api_v1_dynamic_secrets_name_delete_request_from_dict = ApiV1DynamicSecretsNameDeleteRequest.from_dict(api_v1_dynamic_secrets_name_delete_request_dict) -``` -[[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/docs/ApiV1DynamicSecretsNameGet200Response.md b/docs/ApiV1DynamicSecretsNameGet200Response.md deleted file mode 100644 index 2d54192..0000000 --- a/docs/ApiV1DynamicSecretsNameGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1DynamicSecretsNameGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dynamic_secret** | [**ApiV1DynamicSecretsNameGet200ResponseDynamicSecret**](ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response import ApiV1DynamicSecretsNameGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsNameGet200Response from a JSON string -api_v1_dynamic_secrets_name_get200_response_instance = ApiV1DynamicSecretsNameGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsNameGet200Response.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_name_get200_response_dict = api_v1_dynamic_secrets_name_get200_response_instance.to_dict() -# create an instance of ApiV1DynamicSecretsNameGet200Response from a dict -api_v1_dynamic_secrets_name_get200_response_from_dict = ApiV1DynamicSecretsNameGet200Response.from_dict(api_v1_dynamic_secrets_name_get200_response_dict) -``` -[[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/docs/ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.md b/docs/ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.md deleted file mode 100644 index 82e6efc..0000000 --- a/docs/ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1DynamicSecretsNameGet200ResponseDynamicSecret - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**version** | **float** | | -**type** | **str** | | -**default_ttl** | **str** | | -**max_ttl** | **str** | | [optional] -**folder_id** | **str** | | -**status** | **str** | | [optional] -**status_details** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**inputs** | **object** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response_dynamic_secret import ApiV1DynamicSecretsNameGet200ResponseDynamicSecret - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsNameGet200ResponseDynamicSecret from a JSON string -api_v1_dynamic_secrets_name_get200_response_dynamic_secret_instance = ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_name_get200_response_dynamic_secret_dict = api_v1_dynamic_secrets_name_get200_response_dynamic_secret_instance.to_dict() -# create an instance of ApiV1DynamicSecretsNameGet200ResponseDynamicSecret from a dict -api_v1_dynamic_secrets_name_get200_response_dynamic_secret_from_dict = ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.from_dict(api_v1_dynamic_secrets_name_get200_response_dynamic_secret_dict) -``` -[[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/docs/ApiV1DynamicSecretsNameLeasesGet200Response.md b/docs/ApiV1DynamicSecretsNameLeasesGet200Response.md deleted file mode 100644 index c7577f8..0000000 --- a/docs/ApiV1DynamicSecretsNameLeasesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1DynamicSecretsNameLeasesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**leases** | [**List[ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner]**](ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response import ApiV1DynamicSecretsNameLeasesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsNameLeasesGet200Response from a JSON string -api_v1_dynamic_secrets_name_leases_get200_response_instance = ApiV1DynamicSecretsNameLeasesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsNameLeasesGet200Response.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_name_leases_get200_response_dict = api_v1_dynamic_secrets_name_leases_get200_response_instance.to_dict() -# create an instance of ApiV1DynamicSecretsNameLeasesGet200Response from a dict -api_v1_dynamic_secrets_name_leases_get200_response_from_dict = ApiV1DynamicSecretsNameLeasesGet200Response.from_dict(api_v1_dynamic_secrets_name_leases_get200_response_dict) -``` -[[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/docs/ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.md b/docs/ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.md deleted file mode 100644 index 227c33c..0000000 --- a/docs/ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | -**external_entity_id** | **str** | | -**expire_at** | **datetime** | | -**status** | **str** | | [optional] -**status_details** | **str** | | [optional] -**dynamic_secret_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response_leases_inner import ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner from a JSON string -api_v1_dynamic_secrets_name_leases_get200_response_leases_inner_instance = ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_name_leases_get200_response_leases_inner_dict = api_v1_dynamic_secrets_name_leases_get200_response_leases_inner_instance.to_dict() -# create an instance of ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner from a dict -api_v1_dynamic_secrets_name_leases_get200_response_leases_inner_from_dict = ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.from_dict(api_v1_dynamic_secrets_name_leases_get200_response_leases_inner_dict) -``` -[[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/docs/ApiV1DynamicSecretsNamePatchRequest.md b/docs/ApiV1DynamicSecretsNamePatchRequest.md deleted file mode 100644 index e0d28ab..0000000 --- a/docs/ApiV1DynamicSecretsNamePatchRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1DynamicSecretsNamePatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | The slug of the project to update dynamic secret in. | -**path** | **str** | The path to update the dynamic secret in. | [optional] [default to '/'] -**environment_slug** | **str** | The slug of the environment to update the dynamic secret in. | -**data** | [**ApiV1DynamicSecretsNamePatchRequestData**](ApiV1DynamicSecretsNamePatchRequestData.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request import ApiV1DynamicSecretsNamePatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsNamePatchRequest from a JSON string -api_v1_dynamic_secrets_name_patch_request_instance = ApiV1DynamicSecretsNamePatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsNamePatchRequest.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_name_patch_request_dict = api_v1_dynamic_secrets_name_patch_request_instance.to_dict() -# create an instance of ApiV1DynamicSecretsNamePatchRequest from a dict -api_v1_dynamic_secrets_name_patch_request_from_dict = ApiV1DynamicSecretsNamePatchRequest.from_dict(api_v1_dynamic_secrets_name_patch_request_dict) -``` -[[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/docs/ApiV1DynamicSecretsNamePatchRequestData.md b/docs/ApiV1DynamicSecretsNamePatchRequestData.md deleted file mode 100644 index 5a8e3ca..0000000 --- a/docs/ApiV1DynamicSecretsNamePatchRequestData.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1DynamicSecretsNamePatchRequestData - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**inputs** | **object** | The new partial values for the configurated provider of the dynamic secret | [optional] -**default_ttl** | **str** | The default TTL that will be applied for all the leases. | [optional] -**max_ttl** | **str** | The maximum limit a TTL can be leases or renewed. | [optional] -**new_name** | **str** | The new name for the dynamic secret. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request_data import ApiV1DynamicSecretsNamePatchRequestData - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsNamePatchRequestData from a JSON string -api_v1_dynamic_secrets_name_patch_request_data_instance = ApiV1DynamicSecretsNamePatchRequestData.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsNamePatchRequestData.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_name_patch_request_data_dict = api_v1_dynamic_secrets_name_patch_request_data_instance.to_dict() -# create an instance of ApiV1DynamicSecretsNamePatchRequestData from a dict -api_v1_dynamic_secrets_name_patch_request_data_from_dict = ApiV1DynamicSecretsNamePatchRequestData.from_dict(api_v1_dynamic_secrets_name_patch_request_data_dict) -``` -[[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/docs/ApiV1DynamicSecretsPost200Response.md b/docs/ApiV1DynamicSecretsPost200Response.md deleted file mode 100644 index 23080cb..0000000 --- a/docs/ApiV1DynamicSecretsPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1DynamicSecretsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dynamic_secret** | [**ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner**](ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_post200_response import ApiV1DynamicSecretsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsPost200Response from a JSON string -api_v1_dynamic_secrets_post200_response_instance = ApiV1DynamicSecretsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsPost200Response.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_post200_response_dict = api_v1_dynamic_secrets_post200_response_instance.to_dict() -# create an instance of ApiV1DynamicSecretsPost200Response from a dict -api_v1_dynamic_secrets_post200_response_from_dict = ApiV1DynamicSecretsPost200Response.from_dict(api_v1_dynamic_secrets_post200_response_dict) -``` -[[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/docs/ApiV1DynamicSecretsPostRequest.md b/docs/ApiV1DynamicSecretsPostRequest.md deleted file mode 100644 index a089f0d..0000000 --- a/docs/ApiV1DynamicSecretsPostRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1DynamicSecretsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | The slug of the project to create dynamic secret in. | -**provider** | [**ApiV1DynamicSecretsPostRequestProvider**](ApiV1DynamicSecretsPostRequestProvider.md) | | -**default_ttl** | **str** | The default TTL that will be applied for all the leases. | -**max_ttl** | **str** | The maximum limit a TTL can be leases or renewed. | [optional] -**path** | **str** | The path to create the dynamic secret in. | [optional] [default to '/'] -**environment_slug** | **str** | The slug of the environment to create the dynamic secret in. | -**name** | **str** | The name of the dynamic secret. | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request import ApiV1DynamicSecretsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsPostRequest from a JSON string -api_v1_dynamic_secrets_post_request_instance = ApiV1DynamicSecretsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsPostRequest.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_post_request_dict = api_v1_dynamic_secrets_post_request_instance.to_dict() -# create an instance of ApiV1DynamicSecretsPostRequest from a dict -api_v1_dynamic_secrets_post_request_from_dict = ApiV1DynamicSecretsPostRequest.from_dict(api_v1_dynamic_secrets_post_request_dict) -``` -[[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/docs/ApiV1DynamicSecretsPostRequestProvider.md b/docs/ApiV1DynamicSecretsPostRequestProvider.md deleted file mode 100644 index bef0269..0000000 --- a/docs/ApiV1DynamicSecretsPostRequestProvider.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1DynamicSecretsPostRequestProvider - -The type of dynamic secret. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**inputs** | [**ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs**](ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider import ApiV1DynamicSecretsPostRequestProvider - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsPostRequestProvider from a JSON string -api_v1_dynamic_secrets_post_request_provider_instance = ApiV1DynamicSecretsPostRequestProvider.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsPostRequestProvider.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_post_request_provider_dict = api_v1_dynamic_secrets_post_request_provider_instance.to_dict() -# create an instance of ApiV1DynamicSecretsPostRequestProvider from a dict -api_v1_dynamic_secrets_post_request_provider_from_dict = ApiV1DynamicSecretsPostRequestProvider.from_dict(api_v1_dynamic_secrets_post_request_provider_dict) -``` -[[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/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf.md b/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf.md deleted file mode 100644 index 5904f7d..0000000 --- a/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1DynamicSecretsPostRequestProviderAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**inputs** | [**ApiV1DynamicSecretsPostRequestProviderAnyOfInputs**](ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of import ApiV1DynamicSecretsPostRequestProviderAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf from a JSON string -api_v1_dynamic_secrets_post_request_provider_any_of_instance = ApiV1DynamicSecretsPostRequestProviderAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsPostRequestProviderAnyOf.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_post_request_provider_any_of_dict = api_v1_dynamic_secrets_post_request_provider_any_of_instance.to_dict() -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf from a dict -api_v1_dynamic_secrets_post_request_provider_any_of_from_dict = ApiV1DynamicSecretsPostRequestProviderAnyOf.from_dict(api_v1_dynamic_secrets_post_request_provider_any_of_dict) -``` -[[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/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf1.md b/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf1.md deleted file mode 100644 index 7f84e5c..0000000 --- a/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf1.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1DynamicSecretsPostRequestProviderAnyOf1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**inputs** | [**ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs**](ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of1 import ApiV1DynamicSecretsPostRequestProviderAnyOf1 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf1 from a JSON string -api_v1_dynamic_secrets_post_request_provider_any_of1_instance = ApiV1DynamicSecretsPostRequestProviderAnyOf1.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsPostRequestProviderAnyOf1.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_post_request_provider_any_of1_dict = api_v1_dynamic_secrets_post_request_provider_any_of1_instance.to_dict() -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf1 from a dict -api_v1_dynamic_secrets_post_request_provider_any_of1_from_dict = ApiV1DynamicSecretsPostRequestProviderAnyOf1.from_dict(api_v1_dynamic_secrets_post_request_provider_any_of1_dict) -``` -[[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/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.md b/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.md deleted file mode 100644 index eb7f65a..0000000 --- a/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**host** | **str** | | -**port** | **float** | | -**local_data_center** | **str** | | -**keyspace** | **str** | | [optional] -**username** | **str** | | -**password** | **str** | | -**creation_statement** | **str** | | -**revocation_statement** | **str** | | -**renew_statement** | **str** | | [optional] -**ca** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of1_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs from a JSON string -api_v1_dynamic_secrets_post_request_provider_any_of1_inputs_instance = ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_post_request_provider_any_of1_inputs_dict = api_v1_dynamic_secrets_post_request_provider_any_of1_inputs_instance.to_dict() -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs from a dict -api_v1_dynamic_secrets_post_request_provider_any_of1_inputs_from_dict = ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.from_dict(api_v1_dynamic_secrets_post_request_provider_any_of1_inputs_dict) -``` -[[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/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf2.md b/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf2.md deleted file mode 100644 index e795720..0000000 --- a/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf2.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1DynamicSecretsPostRequestProviderAnyOf2 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**inputs** | [**ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs**](ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of2 import ApiV1DynamicSecretsPostRequestProviderAnyOf2 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf2 from a JSON string -api_v1_dynamic_secrets_post_request_provider_any_of2_instance = ApiV1DynamicSecretsPostRequestProviderAnyOf2.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsPostRequestProviderAnyOf2.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_post_request_provider_any_of2_dict = api_v1_dynamic_secrets_post_request_provider_any_of2_instance.to_dict() -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf2 from a dict -api_v1_dynamic_secrets_post_request_provider_any_of2_from_dict = ApiV1DynamicSecretsPostRequestProviderAnyOf2.from_dict(api_v1_dynamic_secrets_post_request_provider_any_of2_dict) -``` -[[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/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.md b/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.md deleted file mode 100644 index 4b431bf..0000000 --- a/docs/ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_key** | **str** | | -**secret_access_key** | **str** | | -**region** | **str** | | -**aws_path** | **str** | | [optional] -**permission_boundary_policy_arn** | **str** | | [optional] -**policy_document** | **str** | | [optional] -**user_groups** | **str** | | [optional] -**policy_arns** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of2_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs from a JSON string -api_v1_dynamic_secrets_post_request_provider_any_of2_inputs_instance = ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_post_request_provider_any_of2_inputs_dict = api_v1_dynamic_secrets_post_request_provider_any_of2_inputs_instance.to_dict() -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs from a dict -api_v1_dynamic_secrets_post_request_provider_any_of2_inputs_from_dict = ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.from_dict(api_v1_dynamic_secrets_post_request_provider_any_of2_inputs_dict) -``` -[[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/docs/ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.md b/docs/ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.md deleted file mode 100644 index 35abd95..0000000 --- a/docs/ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1DynamicSecretsPostRequestProviderAnyOfInputs - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client** | **str** | | -**host** | **str** | | -**port** | **float** | | -**database** | **str** | | -**username** | **str** | | -**password** | **str** | | -**creation_statement** | **str** | | -**revocation_statement** | **str** | | -**renew_statement** | **str** | | [optional] -**ca** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOfInputs - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOfInputs from a JSON string -api_v1_dynamic_secrets_post_request_provider_any_of_inputs_instance = ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.from_json(json) -# print the JSON string representation of the object -print ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.to_json() - -# convert the object into a dict -api_v1_dynamic_secrets_post_request_provider_any_of_inputs_dict = api_v1_dynamic_secrets_post_request_provider_any_of_inputs_instance.to_dict() -# create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOfInputs from a dict -api_v1_dynamic_secrets_post_request_provider_any_of_inputs_from_dict = ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.from_dict(api_v1_dynamic_secrets_post_request_provider_any_of_inputs_dict) -``` -[[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/docs/ApiV1ExternalKmsGet200Response.md b/docs/ApiV1ExternalKmsGet200Response.md deleted file mode 100644 index b698dcb..0000000 --- a/docs/ApiV1ExternalKmsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1ExternalKmsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**external_kms_list** | [**List[ApiV1ExternalKmsGet200ResponseExternalKmsListInner]**](ApiV1ExternalKmsGet200ResponseExternalKmsListInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_get200_response import ApiV1ExternalKmsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsGet200Response from a JSON string -api_v1_external_kms_get200_response_instance = ApiV1ExternalKmsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsGet200Response.to_json() - -# convert the object into a dict -api_v1_external_kms_get200_response_dict = api_v1_external_kms_get200_response_instance.to_dict() -# create an instance of ApiV1ExternalKmsGet200Response from a dict -api_v1_external_kms_get200_response_from_dict = ApiV1ExternalKmsGet200Response.from_dict(api_v1_external_kms_get200_response_dict) -``` -[[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/docs/ApiV1ExternalKmsGet200ResponseExternalKmsListInner.md b/docs/ApiV1ExternalKmsGet200ResponseExternalKmsListInner.md deleted file mode 100644 index 4e251ce..0000000 --- a/docs/ApiV1ExternalKmsGet200ResponseExternalKmsListInner.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1ExternalKmsGet200ResponseExternalKmsListInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**description** | **str** | | [optional] -**is_disabled** | **bool** | | [optional] [default to False] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**slug** | **str** | | -**external_kms** | [**ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms**](ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_get200_response_external_kms_list_inner import ApiV1ExternalKmsGet200ResponseExternalKmsListInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsGet200ResponseExternalKmsListInner from a JSON string -api_v1_external_kms_get200_response_external_kms_list_inner_instance = ApiV1ExternalKmsGet200ResponseExternalKmsListInner.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsGet200ResponseExternalKmsListInner.to_json() - -# convert the object into a dict -api_v1_external_kms_get200_response_external_kms_list_inner_dict = api_v1_external_kms_get200_response_external_kms_list_inner_instance.to_dict() -# create an instance of ApiV1ExternalKmsGet200ResponseExternalKmsListInner from a dict -api_v1_external_kms_get200_response_external_kms_list_inner_from_dict = ApiV1ExternalKmsGet200ResponseExternalKmsListInner.from_dict(api_v1_external_kms_get200_response_external_kms_list_inner_dict) -``` -[[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/docs/ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.md b/docs/ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.md deleted file mode 100644 index cf658bd..0000000 --- a/docs/ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**provider** | **str** | | -**status** | **str** | | [optional] -**status_details** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_get200_response_external_kms_list_inner_external_kms import ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms from a JSON string -api_v1_external_kms_get200_response_external_kms_list_inner_external_kms_instance = ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.to_json() - -# convert the object into a dict -api_v1_external_kms_get200_response_external_kms_list_inner_external_kms_dict = api_v1_external_kms_get200_response_external_kms_list_inner_external_kms_instance.to_dict() -# create an instance of ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms from a dict -api_v1_external_kms_get200_response_external_kms_list_inner_external_kms_from_dict = ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.from_dict(api_v1_external_kms_get200_response_external_kms_list_inner_external_kms_dict) -``` -[[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/docs/ApiV1ExternalKmsIdGet200Response.md b/docs/ApiV1ExternalKmsIdGet200Response.md deleted file mode 100644 index d19b7e4..0000000 --- a/docs/ApiV1ExternalKmsIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1ExternalKmsIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**external_kms** | [**ApiV1ExternalKmsIdGet200ResponseExternalKms**](ApiV1ExternalKmsIdGet200ResponseExternalKms.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_id_get200_response import ApiV1ExternalKmsIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsIdGet200Response from a JSON string -api_v1_external_kms_id_get200_response_instance = ApiV1ExternalKmsIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsIdGet200Response.to_json() - -# convert the object into a dict -api_v1_external_kms_id_get200_response_dict = api_v1_external_kms_id_get200_response_instance.to_dict() -# create an instance of ApiV1ExternalKmsIdGet200Response from a dict -api_v1_external_kms_id_get200_response_from_dict = ApiV1ExternalKmsIdGet200Response.from_dict(api_v1_external_kms_id_get200_response_dict) -``` -[[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/docs/ApiV1ExternalKmsIdGet200ResponseExternalKms.md b/docs/ApiV1ExternalKmsIdGet200ResponseExternalKms.md deleted file mode 100644 index 1f6b3ae..0000000 --- a/docs/ApiV1ExternalKmsIdGet200ResponseExternalKms.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV1ExternalKmsIdGet200ResponseExternalKms - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**description** | **str** | | [optional] -**is_disabled** | **bool** | | [optional] [default to False] -**is_reserved** | **bool** | | [optional] [default to True] -**org_id** | **str** | | -**slug** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**external** | [**ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal**](ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_id_get200_response_external_kms import ApiV1ExternalKmsIdGet200ResponseExternalKms - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsIdGet200ResponseExternalKms from a JSON string -api_v1_external_kms_id_get200_response_external_kms_instance = ApiV1ExternalKmsIdGet200ResponseExternalKms.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsIdGet200ResponseExternalKms.to_json() - -# convert the object into a dict -api_v1_external_kms_id_get200_response_external_kms_dict = api_v1_external_kms_id_get200_response_external_kms_instance.to_dict() -# create an instance of ApiV1ExternalKmsIdGet200ResponseExternalKms from a dict -api_v1_external_kms_id_get200_response_external_kms_from_dict = ApiV1ExternalKmsIdGet200ResponseExternalKms.from_dict(api_v1_external_kms_id_get200_response_external_kms_dict) -``` -[[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/docs/ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.md b/docs/ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.md deleted file mode 100644 index 1372ac7..0000000 --- a/docs/ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**status** | **str** | | [optional] -**status_details** | **str** | | [optional] -**provider** | **str** | | -**provider_input** | [**ApiV1ExternalKmsPostRequestProviderInputs**](ApiV1ExternalKmsPostRequestProviderInputs.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_id_get200_response_external_kms_external import ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal from a JSON string -api_v1_external_kms_id_get200_response_external_kms_external_instance = ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.to_json() - -# convert the object into a dict -api_v1_external_kms_id_get200_response_external_kms_external_dict = api_v1_external_kms_id_get200_response_external_kms_external_instance.to_dict() -# create an instance of ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal from a dict -api_v1_external_kms_id_get200_response_external_kms_external_from_dict = ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.from_dict(api_v1_external_kms_id_get200_response_external_kms_external_dict) -``` -[[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/docs/ApiV1ExternalKmsIdPatchRequest.md b/docs/ApiV1ExternalKmsIdPatchRequest.md deleted file mode 100644 index 6ed66b2..0000000 --- a/docs/ApiV1ExternalKmsIdPatchRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ExternalKmsIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | | [optional] -**description** | **str** | | [optional] -**provider** | [**ApiV1ExternalKmsIdPatchRequestProvider**](ApiV1ExternalKmsIdPatchRequestProvider.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_id_patch_request import ApiV1ExternalKmsIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsIdPatchRequest from a JSON string -api_v1_external_kms_id_patch_request_instance = ApiV1ExternalKmsIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_external_kms_id_patch_request_dict = api_v1_external_kms_id_patch_request_instance.to_dict() -# create an instance of ApiV1ExternalKmsIdPatchRequest from a dict -api_v1_external_kms_id_patch_request_from_dict = ApiV1ExternalKmsIdPatchRequest.from_dict(api_v1_external_kms_id_patch_request_dict) -``` -[[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/docs/ApiV1ExternalKmsIdPatchRequestProvider.md b/docs/ApiV1ExternalKmsIdPatchRequestProvider.md deleted file mode 100644 index 35d72aa..0000000 --- a/docs/ApiV1ExternalKmsIdPatchRequestProvider.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ExternalKmsIdPatchRequestProvider - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**inputs** | [**ApiV1ExternalKmsIdPatchRequestProviderInputs**](ApiV1ExternalKmsIdPatchRequestProviderInputs.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_id_patch_request_provider import ApiV1ExternalKmsIdPatchRequestProvider - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsIdPatchRequestProvider from a JSON string -api_v1_external_kms_id_patch_request_provider_instance = ApiV1ExternalKmsIdPatchRequestProvider.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsIdPatchRequestProvider.to_json() - -# convert the object into a dict -api_v1_external_kms_id_patch_request_provider_dict = api_v1_external_kms_id_patch_request_provider_instance.to_dict() -# create an instance of ApiV1ExternalKmsIdPatchRequestProvider from a dict -api_v1_external_kms_id_patch_request_provider_from_dict = ApiV1ExternalKmsIdPatchRequestProvider.from_dict(api_v1_external_kms_id_patch_request_provider_dict) -``` -[[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/docs/ApiV1ExternalKmsIdPatchRequestProviderInputs.md b/docs/ApiV1ExternalKmsIdPatchRequestProviderInputs.md deleted file mode 100644 index 27289aa..0000000 --- a/docs/ApiV1ExternalKmsIdPatchRequestProviderInputs.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ExternalKmsIdPatchRequestProviderInputs - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**credential** | [**ApiV1ExternalKmsPostRequestProviderInputsCredential**](ApiV1ExternalKmsPostRequestProviderInputsCredential.md) | | [optional] -**aws_region** | **str** | AWS region to connect | [optional] -**kms_key_id** | **str** | A pre existing AWS KMS key id to be used for encryption. If not provided a kms key will be generated. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_id_patch_request_provider_inputs import ApiV1ExternalKmsIdPatchRequestProviderInputs - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsIdPatchRequestProviderInputs from a JSON string -api_v1_external_kms_id_patch_request_provider_inputs_instance = ApiV1ExternalKmsIdPatchRequestProviderInputs.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsIdPatchRequestProviderInputs.to_json() - -# convert the object into a dict -api_v1_external_kms_id_patch_request_provider_inputs_dict = api_v1_external_kms_id_patch_request_provider_inputs_instance.to_dict() -# create an instance of ApiV1ExternalKmsIdPatchRequestProviderInputs from a dict -api_v1_external_kms_id_patch_request_provider_inputs_from_dict = ApiV1ExternalKmsIdPatchRequestProviderInputs.from_dict(api_v1_external_kms_id_patch_request_provider_inputs_dict) -``` -[[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/docs/ApiV1ExternalKmsPost200Response.md b/docs/ApiV1ExternalKmsPost200Response.md deleted file mode 100644 index 1894978..0000000 --- a/docs/ApiV1ExternalKmsPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1ExternalKmsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**external_kms** | [**ApiV1ExternalKmsPost200ResponseExternalKms**](ApiV1ExternalKmsPost200ResponseExternalKms.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post200_response import ApiV1ExternalKmsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPost200Response from a JSON string -api_v1_external_kms_post200_response_instance = ApiV1ExternalKmsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPost200Response.to_json() - -# convert the object into a dict -api_v1_external_kms_post200_response_dict = api_v1_external_kms_post200_response_instance.to_dict() -# create an instance of ApiV1ExternalKmsPost200Response from a dict -api_v1_external_kms_post200_response_from_dict = ApiV1ExternalKmsPost200Response.from_dict(api_v1_external_kms_post200_response_dict) -``` -[[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/docs/ApiV1ExternalKmsPost200ResponseExternalKms.md b/docs/ApiV1ExternalKmsPost200ResponseExternalKms.md deleted file mode 100644 index db6a907..0000000 --- a/docs/ApiV1ExternalKmsPost200ResponseExternalKms.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV1ExternalKmsPost200ResponseExternalKms - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**description** | **str** | | [optional] -**is_disabled** | **bool** | | [optional] [default to False] -**is_reserved** | **bool** | | [optional] [default to True] -**org_id** | **str** | | -**slug** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**external** | [**ApiV1ExternalKmsPost200ResponseExternalKmsExternal**](ApiV1ExternalKmsPost200ResponseExternalKmsExternal.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post200_response_external_kms import ApiV1ExternalKmsPost200ResponseExternalKms - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPost200ResponseExternalKms from a JSON string -api_v1_external_kms_post200_response_external_kms_instance = ApiV1ExternalKmsPost200ResponseExternalKms.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPost200ResponseExternalKms.to_json() - -# convert the object into a dict -api_v1_external_kms_post200_response_external_kms_dict = api_v1_external_kms_post200_response_external_kms_instance.to_dict() -# create an instance of ApiV1ExternalKmsPost200ResponseExternalKms from a dict -api_v1_external_kms_post200_response_external_kms_from_dict = ApiV1ExternalKmsPost200ResponseExternalKms.from_dict(api_v1_external_kms_post200_response_external_kms_dict) -``` -[[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/docs/ApiV1ExternalKmsPost200ResponseExternalKmsExternal.md b/docs/ApiV1ExternalKmsPost200ResponseExternalKmsExternal.md deleted file mode 100644 index 94a6d58..0000000 --- a/docs/ApiV1ExternalKmsPost200ResponseExternalKmsExternal.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1ExternalKmsPost200ResponseExternalKmsExternal - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**status** | **str** | | [optional] -**status_details** | **str** | | [optional] -**provider** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post200_response_external_kms_external import ApiV1ExternalKmsPost200ResponseExternalKmsExternal - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPost200ResponseExternalKmsExternal from a JSON string -api_v1_external_kms_post200_response_external_kms_external_instance = ApiV1ExternalKmsPost200ResponseExternalKmsExternal.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPost200ResponseExternalKmsExternal.to_json() - -# convert the object into a dict -api_v1_external_kms_post200_response_external_kms_external_dict = api_v1_external_kms_post200_response_external_kms_external_instance.to_dict() -# create an instance of ApiV1ExternalKmsPost200ResponseExternalKmsExternal from a dict -api_v1_external_kms_post200_response_external_kms_external_from_dict = ApiV1ExternalKmsPost200ResponseExternalKmsExternal.from_dict(api_v1_external_kms_post200_response_external_kms_external_dict) -``` -[[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/docs/ApiV1ExternalKmsPostRequest.md b/docs/ApiV1ExternalKmsPostRequest.md deleted file mode 100644 index fae3ff1..0000000 --- a/docs/ApiV1ExternalKmsPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ExternalKmsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | | -**description** | **str** | | [optional] -**provider** | [**ApiV1ExternalKmsPostRequestProvider**](ApiV1ExternalKmsPostRequestProvider.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post_request import ApiV1ExternalKmsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPostRequest from a JSON string -api_v1_external_kms_post_request_instance = ApiV1ExternalKmsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPostRequest.to_json() - -# convert the object into a dict -api_v1_external_kms_post_request_dict = api_v1_external_kms_post_request_instance.to_dict() -# create an instance of ApiV1ExternalKmsPostRequest from a dict -api_v1_external_kms_post_request_from_dict = ApiV1ExternalKmsPostRequest.from_dict(api_v1_external_kms_post_request_dict) -``` -[[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/docs/ApiV1ExternalKmsPostRequestProvider.md b/docs/ApiV1ExternalKmsPostRequestProvider.md deleted file mode 100644 index 92a8393..0000000 --- a/docs/ApiV1ExternalKmsPostRequestProvider.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ExternalKmsPostRequestProvider - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**inputs** | [**ApiV1ExternalKmsPostRequestProviderInputs**](ApiV1ExternalKmsPostRequestProviderInputs.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post_request_provider import ApiV1ExternalKmsPostRequestProvider - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPostRequestProvider from a JSON string -api_v1_external_kms_post_request_provider_instance = ApiV1ExternalKmsPostRequestProvider.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPostRequestProvider.to_json() - -# convert the object into a dict -api_v1_external_kms_post_request_provider_dict = api_v1_external_kms_post_request_provider_instance.to_dict() -# create an instance of ApiV1ExternalKmsPostRequestProvider from a dict -api_v1_external_kms_post_request_provider_from_dict = ApiV1ExternalKmsPostRequestProvider.from_dict(api_v1_external_kms_post_request_provider_dict) -``` -[[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/docs/ApiV1ExternalKmsPostRequestProviderInputs.md b/docs/ApiV1ExternalKmsPostRequestProviderInputs.md deleted file mode 100644 index b98a5aa..0000000 --- a/docs/ApiV1ExternalKmsPostRequestProviderInputs.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ExternalKmsPostRequestProviderInputs - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**credential** | [**ApiV1ExternalKmsPostRequestProviderInputsCredential**](ApiV1ExternalKmsPostRequestProviderInputsCredential.md) | | -**aws_region** | **str** | AWS region to connect | -**kms_key_id** | **str** | A pre existing AWS KMS key id to be used for encryption. If not provided a kms key will be generated. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs import ApiV1ExternalKmsPostRequestProviderInputs - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPostRequestProviderInputs from a JSON string -api_v1_external_kms_post_request_provider_inputs_instance = ApiV1ExternalKmsPostRequestProviderInputs.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPostRequestProviderInputs.to_json() - -# convert the object into a dict -api_v1_external_kms_post_request_provider_inputs_dict = api_v1_external_kms_post_request_provider_inputs_instance.to_dict() -# create an instance of ApiV1ExternalKmsPostRequestProviderInputs from a dict -api_v1_external_kms_post_request_provider_inputs_from_dict = ApiV1ExternalKmsPostRequestProviderInputs.from_dict(api_v1_external_kms_post_request_provider_inputs_dict) -``` -[[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/docs/ApiV1ExternalKmsPostRequestProviderInputsCredential.md b/docs/ApiV1ExternalKmsPostRequestProviderInputsCredential.md deleted file mode 100644 index ce5d717..0000000 --- a/docs/ApiV1ExternalKmsPostRequestProviderInputsCredential.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ExternalKmsPostRequestProviderInputsCredential - -AWS credential information to connect - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**data** | [**ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data**](ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential import ApiV1ExternalKmsPostRequestProviderInputsCredential - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredential from a JSON string -api_v1_external_kms_post_request_provider_inputs_credential_instance = ApiV1ExternalKmsPostRequestProviderInputsCredential.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPostRequestProviderInputsCredential.to_json() - -# convert the object into a dict -api_v1_external_kms_post_request_provider_inputs_credential_dict = api_v1_external_kms_post_request_provider_inputs_credential_instance.to_dict() -# create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredential from a dict -api_v1_external_kms_post_request_provider_inputs_credential_from_dict = ApiV1ExternalKmsPostRequestProviderInputsCredential.from_dict(api_v1_external_kms_post_request_provider_inputs_credential_dict) -``` -[[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/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.md b/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.md deleted file mode 100644 index cd048ec..0000000 --- a/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**data** | [**ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData**](ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf from a JSON string -api_v1_external_kms_post_request_provider_inputs_credential_any_of_instance = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.to_json() - -# convert the object into a dict -api_v1_external_kms_post_request_provider_inputs_credential_any_of_dict = api_v1_external_kms_post_request_provider_inputs_credential_any_of_instance.to_dict() -# create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf from a dict -api_v1_external_kms_post_request_provider_inputs_credential_any_of_from_dict = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.from_dict(api_v1_external_kms_post_request_provider_inputs_credential_any_of_dict) -``` -[[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/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.md b/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.md deleted file mode 100644 index a5b01b2..0000000 --- a/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**data** | [**ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data**](ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of1 import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 from a JSON string -api_v1_external_kms_post_request_provider_inputs_credential_any_of1_instance = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.to_json() - -# convert the object into a dict -api_v1_external_kms_post_request_provider_inputs_credential_any_of1_dict = api_v1_external_kms_post_request_provider_inputs_credential_any_of1_instance.to_dict() -# create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 from a dict -api_v1_external_kms_post_request_provider_inputs_credential_any_of1_from_dict = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.from_dict(api_v1_external_kms_post_request_provider_inputs_credential_any_of1_dict) -``` -[[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/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.md b/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.md deleted file mode 100644 index ae49c44..0000000 --- a/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**assume_role_arn** | **str** | AWS user role to be assumed by infisical | -**external_id** | **str** | AWS assume role external id for furthur security in authentication | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data from a JSON string -api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data_instance = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.to_json() - -# convert the object into a dict -api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data_dict = api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data_instance.to_dict() -# create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data from a dict -api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data_from_dict = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.from_dict(api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data_dict) -``` -[[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/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.md b/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.md deleted file mode 100644 index fdf8f36..0000000 --- a/docs/ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_key** | **str** | AWS user account access key | -**secret_key** | **str** | AWS user account secret key | - -## Example - -```python -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of_data import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData from a JSON string -api_v1_external_kms_post_request_provider_inputs_credential_any_of_data_instance = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.from_json(json) -# print the JSON string representation of the object -print ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.to_json() - -# convert the object into a dict -api_v1_external_kms_post_request_provider_inputs_credential_any_of_data_dict = api_v1_external_kms_post_request_provider_inputs_credential_any_of_data_instance.to_dict() -# create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData from a dict -api_v1_external_kms_post_request_provider_inputs_credential_any_of_data_from_dict = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.from_dict(api_v1_external_kms_post_request_provider_inputs_credential_any_of_data_dict) -``` -[[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/docs/ApiV1FoldersBatchPatchRequest.md b/docs/ApiV1FoldersBatchPatchRequest.md deleted file mode 100644 index 7c9f9cd..0000000 --- a/docs/ApiV1FoldersBatchPatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1FoldersBatchPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | The slug of the project where the folder is located. | -**folders** | [**List[ApiV1FoldersBatchPatchRequestFoldersInner]**](ApiV1FoldersBatchPatchRequestFoldersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_folders_batch_patch_request import ApiV1FoldersBatchPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1FoldersBatchPatchRequest from a JSON string -api_v1_folders_batch_patch_request_instance = ApiV1FoldersBatchPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1FoldersBatchPatchRequest.to_json() - -# convert the object into a dict -api_v1_folders_batch_patch_request_dict = api_v1_folders_batch_patch_request_instance.to_dict() -# create an instance of ApiV1FoldersBatchPatchRequest from a dict -api_v1_folders_batch_patch_request_from_dict = ApiV1FoldersBatchPatchRequest.from_dict(api_v1_folders_batch_patch_request_dict) -``` -[[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/docs/ApiV1FoldersBatchPatchRequestFoldersInner.md b/docs/ApiV1FoldersBatchPatchRequestFoldersInner.md deleted file mode 100644 index 66140ac..0000000 --- a/docs/ApiV1FoldersBatchPatchRequestFoldersInner.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1FoldersBatchPatchRequestFoldersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | The ID of the folder to update. | -**environment** | **str** | The slug of the environment where the folder is located. | -**name** | **str** | The new name of the folder. | -**path** | **str** | The path of the folder to update. | [optional] [default to '/'] - -## Example - -```python -from infisicalapi_client.models.api_v1_folders_batch_patch_request_folders_inner import ApiV1FoldersBatchPatchRequestFoldersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1FoldersBatchPatchRequestFoldersInner from a JSON string -api_v1_folders_batch_patch_request_folders_inner_instance = ApiV1FoldersBatchPatchRequestFoldersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1FoldersBatchPatchRequestFoldersInner.to_json() - -# convert the object into a dict -api_v1_folders_batch_patch_request_folders_inner_dict = api_v1_folders_batch_patch_request_folders_inner_instance.to_dict() -# create an instance of ApiV1FoldersBatchPatchRequestFoldersInner from a dict -api_v1_folders_batch_patch_request_folders_inner_from_dict = ApiV1FoldersBatchPatchRequestFoldersInner.from_dict(api_v1_folders_batch_patch_request_folders_inner_dict) -``` -[[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/docs/ApiV1FoldersFolderIdOrNameDeleteRequest.md b/docs/ApiV1FoldersFolderIdOrNameDeleteRequest.md deleted file mode 100644 index 301d19b..0000000 --- a/docs/ApiV1FoldersFolderIdOrNameDeleteRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1FoldersFolderIdOrNameDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project to delete the folder from. | -**environment** | **str** | The slug of the environment where the folder is located. | -**path** | **str** | The path of the folder to delete. | [optional] [default to '/'] -**directory** | **str** | The directory of the folder to delete. (Deprecated in favor of path) | [optional] [default to '/'] - -## Example - -```python -from infisicalapi_client.models.api_v1_folders_folder_id_or_name_delete_request import ApiV1FoldersFolderIdOrNameDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1FoldersFolderIdOrNameDeleteRequest from a JSON string -api_v1_folders_folder_id_or_name_delete_request_instance = ApiV1FoldersFolderIdOrNameDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1FoldersFolderIdOrNameDeleteRequest.to_json() - -# convert the object into a dict -api_v1_folders_folder_id_or_name_delete_request_dict = api_v1_folders_folder_id_or_name_delete_request_instance.to_dict() -# create an instance of ApiV1FoldersFolderIdOrNameDeleteRequest from a dict -api_v1_folders_folder_id_or_name_delete_request_from_dict = ApiV1FoldersFolderIdOrNameDeleteRequest.from_dict(api_v1_folders_folder_id_or_name_delete_request_dict) -``` -[[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/docs/ApiV1FoldersFolderIdPatchRequest.md b/docs/ApiV1FoldersFolderIdPatchRequest.md deleted file mode 100644 index 83986e0..0000000 --- a/docs/ApiV1FoldersFolderIdPatchRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1FoldersFolderIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project where the folder is located. | -**environment** | **str** | The slug of the environment where the folder is located. | -**name** | **str** | The new name of the folder. | -**path** | **str** | The path of the folder to update. | [optional] [default to '/'] -**directory** | **str** | The new directory of the folder to update. (Deprecated in favor of path) | [optional] [default to '/'] - -## Example - -```python -from infisicalapi_client.models.api_v1_folders_folder_id_patch_request import ApiV1FoldersFolderIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1FoldersFolderIdPatchRequest from a JSON string -api_v1_folders_folder_id_patch_request_instance = ApiV1FoldersFolderIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1FoldersFolderIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_folders_folder_id_patch_request_dict = api_v1_folders_folder_id_patch_request_instance.to_dict() -# create an instance of ApiV1FoldersFolderIdPatchRequest from a dict -api_v1_folders_folder_id_patch_request_from_dict = ApiV1FoldersFolderIdPatchRequest.from_dict(api_v1_folders_folder_id_patch_request_dict) -``` -[[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/docs/ApiV1FoldersGet200Response.md b/docs/ApiV1FoldersGet200Response.md deleted file mode 100644 index c39228c..0000000 --- a/docs/ApiV1FoldersGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1FoldersGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**folders** | [**List[ApiV1FoldersGet200ResponseFoldersInner]**](ApiV1FoldersGet200ResponseFoldersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_folders_get200_response import ApiV1FoldersGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1FoldersGet200Response from a JSON string -api_v1_folders_get200_response_instance = ApiV1FoldersGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1FoldersGet200Response.to_json() - -# convert the object into a dict -api_v1_folders_get200_response_dict = api_v1_folders_get200_response_instance.to_dict() -# create an instance of ApiV1FoldersGet200Response from a dict -api_v1_folders_get200_response_from_dict = ApiV1FoldersGet200Response.from_dict(api_v1_folders_get200_response_dict) -``` -[[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/docs/ApiV1FoldersGet200ResponseFoldersInner.md b/docs/ApiV1FoldersGet200ResponseFoldersInner.md deleted file mode 100644 index 38de329..0000000 --- a/docs/ApiV1FoldersGet200ResponseFoldersInner.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1FoldersGet200ResponseFoldersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**version** | **float** | | [optional] [default to 1] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**env_id** | **str** | | -**parent_id** | **str** | | [optional] -**is_reserved** | **bool** | | [optional] [default to False] - -## Example - -```python -from infisicalapi_client.models.api_v1_folders_get200_response_folders_inner import ApiV1FoldersGet200ResponseFoldersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1FoldersGet200ResponseFoldersInner from a JSON string -api_v1_folders_get200_response_folders_inner_instance = ApiV1FoldersGet200ResponseFoldersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1FoldersGet200ResponseFoldersInner.to_json() - -# convert the object into a dict -api_v1_folders_get200_response_folders_inner_dict = api_v1_folders_get200_response_folders_inner_instance.to_dict() -# create an instance of ApiV1FoldersGet200ResponseFoldersInner from a dict -api_v1_folders_get200_response_folders_inner_from_dict = ApiV1FoldersGet200ResponseFoldersInner.from_dict(api_v1_folders_get200_response_folders_inner_dict) -``` -[[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/docs/ApiV1FoldersPost200Response.md b/docs/ApiV1FoldersPost200Response.md deleted file mode 100644 index 0b86fb3..0000000 --- a/docs/ApiV1FoldersPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1FoldersPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**folder** | [**ApiV1FoldersGet200ResponseFoldersInner**](ApiV1FoldersGet200ResponseFoldersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_folders_post200_response import ApiV1FoldersPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1FoldersPost200Response from a JSON string -api_v1_folders_post200_response_instance = ApiV1FoldersPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1FoldersPost200Response.to_json() - -# convert the object into a dict -api_v1_folders_post200_response_dict = api_v1_folders_post200_response_instance.to_dict() -# create an instance of ApiV1FoldersPost200Response from a dict -api_v1_folders_post200_response_from_dict = ApiV1FoldersPost200Response.from_dict(api_v1_folders_post200_response_dict) -``` -[[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/docs/ApiV1FoldersPostRequest.md b/docs/ApiV1FoldersPostRequest.md deleted file mode 100644 index 66a7f68..0000000 --- a/docs/ApiV1FoldersPostRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1FoldersPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project to create the folder in. | -**environment** | **str** | The slug of the environment to create the folder in. | -**name** | **str** | The name of the folder to create. | -**path** | **str** | The path of the folder to create. | [optional] [default to '/'] -**directory** | **str** | The directory of the folder to create. (Deprecated in favor of path) | [optional] [default to '/'] - -## Example - -```python -from infisicalapi_client.models.api_v1_folders_post_request import ApiV1FoldersPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1FoldersPostRequest from a JSON string -api_v1_folders_post_request_instance = ApiV1FoldersPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1FoldersPostRequest.to_json() - -# convert the object into a dict -api_v1_folders_post_request_dict = api_v1_folders_post_request_instance.to_dict() -# create an instance of ApiV1FoldersPostRequest from a dict -api_v1_folders_post_request_from_dict = ApiV1FoldersPostRequest.from_dict(api_v1_folders_post_request_dict) -``` -[[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/docs/ApiV1GroupsCurrentSlugPatchRequest.md b/docs/ApiV1GroupsCurrentSlugPatchRequest.md deleted file mode 100644 index e75d5de..0000000 --- a/docs/ApiV1GroupsCurrentSlugPatchRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1GroupsCurrentSlugPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The new name of the group to update to. | [optional] -**slug** | **str** | The new slug of the group to update to. | [optional] -**role** | **str** | The new role of the group to update to. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_groups_current_slug_patch_request import ApiV1GroupsCurrentSlugPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1GroupsCurrentSlugPatchRequest from a JSON string -api_v1_groups_current_slug_patch_request_instance = ApiV1GroupsCurrentSlugPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1GroupsCurrentSlugPatchRequest.to_json() - -# convert the object into a dict -api_v1_groups_current_slug_patch_request_dict = api_v1_groups_current_slug_patch_request_instance.to_dict() -# create an instance of ApiV1GroupsCurrentSlugPatchRequest from a dict -api_v1_groups_current_slug_patch_request_from_dict = ApiV1GroupsCurrentSlugPatchRequest.from_dict(api_v1_groups_current_slug_patch_request_dict) -``` -[[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/docs/ApiV1GroupsPost200Response.md b/docs/ApiV1GroupsPost200Response.md deleted file mode 100644 index 27af8e4..0000000 --- a/docs/ApiV1GroupsPost200Response.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1GroupsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**org_id** | **str** | | -**name** | **str** | | -**slug** | **str** | | -**role** | **str** | | -**role_id** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_groups_post200_response import ApiV1GroupsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1GroupsPost200Response from a JSON string -api_v1_groups_post200_response_instance = ApiV1GroupsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1GroupsPost200Response.to_json() - -# convert the object into a dict -api_v1_groups_post200_response_dict = api_v1_groups_post200_response_instance.to_dict() -# create an instance of ApiV1GroupsPost200Response from a dict -api_v1_groups_post200_response_from_dict = ApiV1GroupsPost200Response.from_dict(api_v1_groups_post200_response_dict) -``` -[[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/docs/ApiV1GroupsPostRequest.md b/docs/ApiV1GroupsPostRequest.md deleted file mode 100644 index efa21a9..0000000 --- a/docs/ApiV1GroupsPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1GroupsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The name of the group to create. | -**slug** | **str** | The slug of the group to create. | [optional] -**role** | **str** | The role of the group to create. | [optional] [default to 'no-access'] - -## Example - -```python -from infisicalapi_client.models.api_v1_groups_post_request import ApiV1GroupsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1GroupsPostRequest from a JSON string -api_v1_groups_post_request_instance = ApiV1GroupsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1GroupsPostRequest.to_json() - -# convert the object into a dict -api_v1_groups_post_request_dict = api_v1_groups_post_request_instance.to_dict() -# create an instance of ApiV1GroupsPostRequest from a dict -api_v1_groups_post_request_from_dict = ApiV1GroupsPostRequest.from_dict(api_v1_groups_post_request_dict) -``` -[[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/docs/ApiV1GroupsSlugUsersGet200Response.md b/docs/ApiV1GroupsSlugUsersGet200Response.md deleted file mode 100644 index 467aabc..0000000 --- a/docs/ApiV1GroupsSlugUsersGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1GroupsSlugUsersGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**users** | [**List[ApiV1GroupsSlugUsersGet200ResponseUsersInner]**](ApiV1GroupsSlugUsersGet200ResponseUsersInner.md) | | -**total_count** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response import ApiV1GroupsSlugUsersGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1GroupsSlugUsersGet200Response from a JSON string -api_v1_groups_slug_users_get200_response_instance = ApiV1GroupsSlugUsersGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1GroupsSlugUsersGet200Response.to_json() - -# convert the object into a dict -api_v1_groups_slug_users_get200_response_dict = api_v1_groups_slug_users_get200_response_instance.to_dict() -# create an instance of ApiV1GroupsSlugUsersGet200Response from a dict -api_v1_groups_slug_users_get200_response_from_dict = ApiV1GroupsSlugUsersGet200Response.from_dict(api_v1_groups_slug_users_get200_response_dict) -``` -[[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/docs/ApiV1GroupsSlugUsersGet200ResponseUsersInner.md b/docs/ApiV1GroupsSlugUsersGet200ResponseUsersInner.md deleted file mode 100644 index a925ddc..0000000 --- a/docs/ApiV1GroupsSlugUsersGet200ResponseUsersInner.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1GroupsSlugUsersGet200ResponseUsersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**username** | **str** | | -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**id** | **str** | | -**is_part_of_group** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response_users_inner import ApiV1GroupsSlugUsersGet200ResponseUsersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1GroupsSlugUsersGet200ResponseUsersInner from a JSON string -api_v1_groups_slug_users_get200_response_users_inner_instance = ApiV1GroupsSlugUsersGet200ResponseUsersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1GroupsSlugUsersGet200ResponseUsersInner.to_json() - -# convert the object into a dict -api_v1_groups_slug_users_get200_response_users_inner_dict = api_v1_groups_slug_users_get200_response_users_inner_instance.to_dict() -# create an instance of ApiV1GroupsSlugUsersGet200ResponseUsersInner from a dict -api_v1_groups_slug_users_get200_response_users_inner_from_dict = ApiV1GroupsSlugUsersGet200ResponseUsersInner.from_dict(api_v1_groups_slug_users_get200_response_users_inner_dict) -``` -[[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/docs/ApiV1GroupsSlugUsersUsernamePost200Response.md b/docs/ApiV1GroupsSlugUsersUsernamePost200Response.md deleted file mode 100644 index d8a9894..0000000 --- a/docs/ApiV1GroupsSlugUsersUsernamePost200Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1GroupsSlugUsersUsernamePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**username** | **str** | | -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_groups_slug_users_username_post200_response import ApiV1GroupsSlugUsersUsernamePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1GroupsSlugUsersUsernamePost200Response from a JSON string -api_v1_groups_slug_users_username_post200_response_instance = ApiV1GroupsSlugUsersUsernamePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1GroupsSlugUsersUsernamePost200Response.to_json() - -# convert the object into a dict -api_v1_groups_slug_users_username_post200_response_dict = api_v1_groups_slug_users_username_post200_response_instance.to_dict() -# create an instance of ApiV1GroupsSlugUsersUsernamePost200Response from a dict -api_v1_groups_slug_users_username_post200_response_from_dict = ApiV1GroupsSlugUsersUsernamePost200Response.from_dict(api_v1_groups_slug_users_username_post200_response_dict) -``` -[[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/docs/ApiV1IdentitiesGet200Response.md b/docs/ApiV1IdentitiesGet200Response.md deleted file mode 100644 index 6e3c112..0000000 --- a/docs/ApiV1IdentitiesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IdentitiesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identities** | [**List[ApiV1IdentitiesGet200ResponseIdentitiesInner]**](ApiV1IdentitiesGet200ResponseIdentitiesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_identities_get200_response import ApiV1IdentitiesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IdentitiesGet200Response from a JSON string -api_v1_identities_get200_response_instance = ApiV1IdentitiesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IdentitiesGet200Response.to_json() - -# convert the object into a dict -api_v1_identities_get200_response_dict = api_v1_identities_get200_response_instance.to_dict() -# create an instance of ApiV1IdentitiesGet200Response from a dict -api_v1_identities_get200_response_from_dict = ApiV1IdentitiesGet200Response.from_dict(api_v1_identities_get200_response_dict) -``` -[[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/docs/ApiV1IdentitiesGet200ResponseIdentitiesInner.md b/docs/ApiV1IdentitiesGet200ResponseIdentitiesInner.md deleted file mode 100644 index 2014c10..0000000 --- a/docs/ApiV1IdentitiesGet200ResponseIdentitiesInner.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV1IdentitiesGet200ResponseIdentitiesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**role** | **str** | | -**role_id** | **str** | | [optional] -**org_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**identity_id** | **str** | | -**custom_role** | [**ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole**](ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.md) | | [optional] -**identity** | [**ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity**](ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner import ApiV1IdentitiesGet200ResponseIdentitiesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IdentitiesGet200ResponseIdentitiesInner from a JSON string -api_v1_identities_get200_response_identities_inner_instance = ApiV1IdentitiesGet200ResponseIdentitiesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IdentitiesGet200ResponseIdentitiesInner.to_json() - -# convert the object into a dict -api_v1_identities_get200_response_identities_inner_dict = api_v1_identities_get200_response_identities_inner_instance.to_dict() -# create an instance of ApiV1IdentitiesGet200ResponseIdentitiesInner from a dict -api_v1_identities_get200_response_identities_inner_from_dict = ApiV1IdentitiesGet200ResponseIdentitiesInner.from_dict(api_v1_identities_get200_response_identities_inner_dict) -``` -[[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/docs/ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.md b/docs/ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.md deleted file mode 100644 index 4419d2b..0000000 --- a/docs/ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**id** | **str** | | -**auth_method** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner_identity import ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity from a JSON string -api_v1_identities_get200_response_identities_inner_identity_instance = ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.from_json(json) -# print the JSON string representation of the object -print ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.to_json() - -# convert the object into a dict -api_v1_identities_get200_response_identities_inner_identity_dict = api_v1_identities_get200_response_identities_inner_identity_instance.to_dict() -# create an instance of ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity from a dict -api_v1_identities_get200_response_identities_inner_identity_from_dict = ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.from_dict(api_v1_identities_get200_response_identities_inner_identity_dict) -``` -[[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/docs/ApiV1IdentitiesIdentityIdGet200Response.md b/docs/ApiV1IdentitiesIdentityIdGet200Response.md deleted file mode 100644 index f24b255..0000000 --- a/docs/ApiV1IdentitiesIdentityIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IdentitiesIdentityIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity** | [**ApiV1IdentitiesGet200ResponseIdentitiesInner**](ApiV1IdentitiesGet200ResponseIdentitiesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_identities_identity_id_get200_response import ApiV1IdentitiesIdentityIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IdentitiesIdentityIdGet200Response from a JSON string -api_v1_identities_identity_id_get200_response_instance = ApiV1IdentitiesIdentityIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IdentitiesIdentityIdGet200Response.to_json() - -# convert the object into a dict -api_v1_identities_identity_id_get200_response_dict = api_v1_identities_identity_id_get200_response_instance.to_dict() -# create an instance of ApiV1IdentitiesIdentityIdGet200Response from a dict -api_v1_identities_identity_id_get200_response_from_dict = ApiV1IdentitiesIdentityIdGet200Response.from_dict(api_v1_identities_identity_id_get200_response_dict) -``` -[[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/docs/ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.md b/docs/ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.md deleted file mode 100644 index 44ca7de..0000000 --- a/docs/ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_memberships** | [**List[ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner]**](ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response from a JSON string -api_v1_identities_identity_id_identity_memberships_get200_response_instance = ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.to_json() - -# convert the object into a dict -api_v1_identities_identity_id_identity_memberships_get200_response_dict = api_v1_identities_identity_id_identity_memberships_get200_response_instance.to_dict() -# create an instance of ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response from a dict -api_v1_identities_identity_id_identity_memberships_get200_response_from_dict = ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.from_dict(api_v1_identities_identity_id_identity_memberships_get200_response_dict) -``` -[[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/docs/ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.md b/docs/ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.md deleted file mode 100644 index c5c3a7f..0000000 --- a/docs/ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**identity_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**roles** | [**List[ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner]**](ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.md) | | -**identity** | [**ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity**](ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.md) | | -**project** | [**ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject**](ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner from a JSON string -api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner_instance = ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.to_json() - -# convert the object into a dict -api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner_dict = api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner_instance.to_dict() -# create an instance of ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner from a dict -api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner_from_dict = ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.from_dict(api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner_dict) -``` -[[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/docs/ApiV1IdentitiesIdentityIdPatchRequest.md b/docs/ApiV1IdentitiesIdentityIdPatchRequest.md deleted file mode 100644 index d78a6e3..0000000 --- a/docs/ApiV1IdentitiesIdentityIdPatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IdentitiesIdentityIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The new name of the identity. | [optional] -**role** | **str** | The new role of the identity. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_identities_identity_id_patch_request import ApiV1IdentitiesIdentityIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IdentitiesIdentityIdPatchRequest from a JSON string -api_v1_identities_identity_id_patch_request_instance = ApiV1IdentitiesIdentityIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1IdentitiesIdentityIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_identities_identity_id_patch_request_dict = api_v1_identities_identity_id_patch_request_instance.to_dict() -# create an instance of ApiV1IdentitiesIdentityIdPatchRequest from a dict -api_v1_identities_identity_id_patch_request_from_dict = ApiV1IdentitiesIdentityIdPatchRequest.from_dict(api_v1_identities_identity_id_patch_request_dict) -``` -[[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/docs/ApiV1IdentitiesPost200Response.md b/docs/ApiV1IdentitiesPost200Response.md deleted file mode 100644 index 9e68251..0000000 --- a/docs/ApiV1IdentitiesPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IdentitiesPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity** | [**ApiV1IdentitiesPost200ResponseIdentity**](ApiV1IdentitiesPost200ResponseIdentity.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_identities_post200_response import ApiV1IdentitiesPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IdentitiesPost200Response from a JSON string -api_v1_identities_post200_response_instance = ApiV1IdentitiesPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IdentitiesPost200Response.to_json() - -# convert the object into a dict -api_v1_identities_post200_response_dict = api_v1_identities_post200_response_instance.to_dict() -# create an instance of ApiV1IdentitiesPost200Response from a dict -api_v1_identities_post200_response_from_dict = ApiV1IdentitiesPost200Response.from_dict(api_v1_identities_post200_response_dict) -``` -[[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/docs/ApiV1IdentitiesPost200ResponseIdentity.md b/docs/ApiV1IdentitiesPost200ResponseIdentity.md deleted file mode 100644 index df64f37..0000000 --- a/docs/ApiV1IdentitiesPost200ResponseIdentity.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1IdentitiesPost200ResponseIdentity - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**auth_method** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_identities_post200_response_identity import ApiV1IdentitiesPost200ResponseIdentity - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IdentitiesPost200ResponseIdentity from a JSON string -api_v1_identities_post200_response_identity_instance = ApiV1IdentitiesPost200ResponseIdentity.from_json(json) -# print the JSON string representation of the object -print ApiV1IdentitiesPost200ResponseIdentity.to_json() - -# convert the object into a dict -api_v1_identities_post200_response_identity_dict = api_v1_identities_post200_response_identity_instance.to_dict() -# create an instance of ApiV1IdentitiesPost200ResponseIdentity from a dict -api_v1_identities_post200_response_identity_from_dict = ApiV1IdentitiesPost200ResponseIdentity.from_dict(api_v1_identities_post200_response_identity_dict) -``` -[[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/docs/ApiV1IdentitiesPostRequest.md b/docs/ApiV1IdentitiesPostRequest.md deleted file mode 100644 index c8ba3f7..0000000 --- a/docs/ApiV1IdentitiesPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1IdentitiesPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The name of the identity to create. | -**organization_id** | **str** | The organization ID to which the identity belongs. | -**role** | **str** | The role of the identity. Possible values are 'no-access', 'member', and 'admin'. | [optional] [default to 'no-access'] - -## Example - -```python -from infisicalapi_client.models.api_v1_identities_post_request import ApiV1IdentitiesPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IdentitiesPostRequest from a JSON string -api_v1_identities_post_request_instance = ApiV1IdentitiesPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1IdentitiesPostRequest.to_json() - -# convert the object into a dict -api_v1_identities_post_request_dict = api_v1_identities_post_request_instance.to_dict() -# create an instance of ApiV1IdentitiesPostRequest from a dict -api_v1_identities_post_request_from_dict = ApiV1IdentitiesPostRequest.from_dict(api_v1_identities_post_request_dict) -``` -[[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/docs/ApiV1IntegrationAuthAccessTokenPostRequest.md b/docs/ApiV1IntegrationAuthAccessTokenPostRequest.md deleted file mode 100644 index 2def95a..0000000 --- a/docs/ApiV1IntegrationAuthAccessTokenPostRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1IntegrationAuthAccessTokenPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project to create the integration auth for. | -**integration** | **str** | The slug of integration for the auth object. | -**access_id** | **str** | The unique authorized access id of the external integration provider. | [optional] -**access_token** | **str** | The unique authorized access token of the external integration provider. | [optional] -**aws_assume_iam_role_arn** | **str** | The AWS IAM Role to be assumed by Infisical | [optional] -**url** | **str** | | [optional] -**namespace** | **str** | | [optional] -**refresh_token** | **str** | The refresh token for integration authorization. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_access_token_post_request import ApiV1IntegrationAuthAccessTokenPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthAccessTokenPostRequest from a JSON string -api_v1_integration_auth_access_token_post_request_instance = ApiV1IntegrationAuthAccessTokenPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthAccessTokenPostRequest.to_json() - -# convert the object into a dict -api_v1_integration_auth_access_token_post_request_dict = api_v1_integration_auth_access_token_post_request_instance.to_dict() -# create an instance of ApiV1IntegrationAuthAccessTokenPostRequest from a dict -api_v1_integration_auth_access_token_post_request_from_dict = ApiV1IntegrationAuthAccessTokenPostRequest.from_dict(api_v1_integration_auth_access_token_post_request_dict) -``` -[[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/docs/ApiV1IntegrationAuthDelete200Response.md b/docs/ApiV1IntegrationAuthDelete200Response.md deleted file mode 100644 index 680baca..0000000 --- a/docs/ApiV1IntegrationAuthDelete200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthDelete200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**integration_auth** | [**List[ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner]**](ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_delete200_response import ApiV1IntegrationAuthDelete200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthDelete200Response from a JSON string -api_v1_integration_auth_delete200_response_instance = ApiV1IntegrationAuthDelete200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthDelete200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_delete200_response_dict = api_v1_integration_auth_delete200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthDelete200Response from a dict -api_v1_integration_auth_delete200_response_from_dict = ApiV1IntegrationAuthDelete200Response.from_dict(api_v1_integration_auth_delete200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.md deleted file mode 100644 index b4a4cff..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**apps** | [**List[ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner]**](ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_apps_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_apps_get200_response_dict = api_v1_integration_auth_integration_auth_id_apps_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_apps_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_apps_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.md deleted file mode 100644 index 20c3baa..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**app_id** | **str** | | [optional] -**owner** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner from a JSON string -api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner_dict = api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner from a dict -api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.from_dict(api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.md deleted file mode 100644 index a4d1f1c..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**kms_keys** | [**List[ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner]**](ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_dict = api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response from a dict -api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.md deleted file mode 100644 index 0342d6a..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**alias** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner from a JSON string -api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner_dict = api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner from a dict -api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.from_dict(api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.md deleted file mode 100644 index b4708e0..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspaces** | [**List[ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner]**](ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_dict = api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response from a dict -api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.md deleted file mode 100644 index a89aa70..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**slug** | **str** | | -**uuid** | **str** | | -**type** | **str** | | -**is_private** | **bool** | | -**created_on** | **str** | | -**updated_on** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner from a JSON string -api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner_dict = api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner from a dict -api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.from_dict(api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.md deleted file mode 100644 index 7751b40..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**groups** | [**List[ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner]**](ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_dict = api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.md deleted file mode 100644 index 8ea2570..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**group_id** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner from a JSON string -api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner_dict = api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner from a dict -api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.from_dict(api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdGet200Response.md deleted file mode 100644 index 027d9aa..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**integration_auth** | [**ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner**](ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_get200_response_dict = api_v1_integration_auth_integration_auth_id_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdGet200Response from a dict -api_v1_integration_auth_integration_auth_id_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.md deleted file mode 100644 index b6761af..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**envs** | [**List[ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner]**](ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_github_envs_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_github_envs_get200_response_dict = api_v1_integration_auth_integration_auth_id_github_envs_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_github_envs_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_github_envs_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.md deleted file mode 100644 index f52e821..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**env_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner from a JSON string -api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner_dict = api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner from a dict -api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.from_dict(api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.md deleted file mode 100644 index 6d16e28..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**orgs** | [**List[ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner]**](ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_dict = api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.md deleted file mode 100644 index 19e1e13..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**org_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner from a JSON string -api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner_dict = api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner from a dict -api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.from_dict(api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.md deleted file mode 100644 index 92ea1b7..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pipelines** | [**List[ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner]**](ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_dict = api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response from a dict -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.md deleted file mode 100644 index ab2be4c..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**app** | [**ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp**](ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.md) | | -**stage** | **str** | | -**pipeline** | [**ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline**](ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner from a JSON string -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_dict = api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner from a dict -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.from_dict(api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.md deleted file mode 100644 index 076b740..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**app_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp from a JSON string -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app_instance = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app_dict = api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp from a dict -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app_from_dict = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.from_dict(api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.md deleted file mode 100644 index 7584f3a..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**pipeline_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline from a JSON string -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline_instance = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline_dict = api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline from a dict -api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline_from_dict = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.from_dict(api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.md deleted file mode 100644 index 7bb0d6e..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_groups** | [**List[ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner]**](ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_dict = api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.md deleted file mode 100644 index 680fa1e..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**group_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner from a JSON string -api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner_dict = api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner from a dict -api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.from_dict(api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.md deleted file mode 100644 index 3806e84..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**apps** | [**List[ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner]**](ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_dict = api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.md deleted file mode 100644 index 0f97adc..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**app_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner from a JSON string -api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner_dict = api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner from a dict -api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.from_dict(api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.md deleted file mode 100644 index c5422f6..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**containers** | [**List[ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner]**](ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response_dict = api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response from a dict -api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.md deleted file mode 100644 index 36bd6e4..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**environments** | [**List[ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner]**](ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_dict = api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.md deleted file mode 100644 index a913f19..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**environment_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner from a JSON string -api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner_dict = api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner from a dict -api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.from_dict(api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.md deleted file mode 100644 index 7441722..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**jobs** | [**List[ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner]**](ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response_dict = api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.md deleted file mode 100644 index b980733..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**projects** | [**List[ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner]**](ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_dict = api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.md deleted file mode 100644 index 5a0a362..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**project_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner from a JSON string -api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner_dict = api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner from a dict -api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.from_dict(api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.md deleted file mode 100644 index bfb819c..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**services** | [**List[ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner]**](ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_railway_services_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_railway_services_get200_response_dict = api_v1_integration_auth_integration_auth_id_railway_services_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response from a dict -api_v1_integration_auth_integration_auth_id_railway_services_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_railway_services_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.md deleted file mode 100644 index fb729a8..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**service_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner from a JSON string -api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner_dict = api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner from a dict -api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.from_dict(api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.md deleted file mode 100644 index c20895b..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**build_configs** | [**List[ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner]**](ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_dict = api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.md deleted file mode 100644 index 3c38692..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**build_config_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner from a JSON string -api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner_instance = ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner_dict = api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner from a dict -api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner_from_dict = ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.from_dict(api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.md deleted file mode 100644 index 61b5875..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**teams** | [**List[ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject]**](ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teams_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_teams_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_teams_get200_response_dict = api_v1_integration_auth_integration_auth_id_teams_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response from a dict -api_v1_integration_auth_integration_auth_id_teams_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_teams_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.md deleted file mode 100644 index e1acff2..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**branches** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response import ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response from a JSON string -api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response_instance = ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response_dict = api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response from a dict -api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response_from_dict = ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.from_dict(api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationOptionsGet200Response.md b/docs/ApiV1IntegrationAuthIntegrationOptionsGet200Response.md deleted file mode 100644 index 4c8092f..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationOptionsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationAuthIntegrationOptionsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**integration_options** | [**List[ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner]**](ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response import ApiV1IntegrationAuthIntegrationOptionsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationOptionsGet200Response from a JSON string -api_v1_integration_auth_integration_options_get200_response_instance = ApiV1IntegrationAuthIntegrationOptionsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationOptionsGet200Response.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_options_get200_response_dict = api_v1_integration_auth_integration_options_get200_response_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationOptionsGet200Response from a dict -api_v1_integration_auth_integration_options_get200_response_from_dict = ApiV1IntegrationAuthIntegrationOptionsGet200Response.from_dict(api_v1_integration_auth_integration_options_get200_response_dict) -``` -[[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/docs/ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.md b/docs/ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.md deleted file mode 100644 index 3b571b6..0000000 --- a/docs/ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**slug** | **str** | | -**client_slug** | **str** | | [optional] -**image** | **str** | | -**is_available** | **bool** | | [optional] -**type** | **str** | | -**client_id** | **str** | | [optional] -**docs_link** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response_integration_options_inner import ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner from a JSON string -api_v1_integration_auth_integration_options_get200_response_integration_options_inner_instance = ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.to_json() - -# convert the object into a dict -api_v1_integration_auth_integration_options_get200_response_integration_options_inner_dict = api_v1_integration_auth_integration_options_get200_response_integration_options_inner_instance.to_dict() -# create an instance of ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner from a dict -api_v1_integration_auth_integration_options_get200_response_integration_options_inner_from_dict = ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.from_dict(api_v1_integration_auth_integration_options_get200_response_integration_options_inner_dict) -``` -[[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/docs/ApiV1IntegrationAuthOauthTokenPostRequest.md b/docs/ApiV1IntegrationAuthOauthTokenPostRequest.md deleted file mode 100644 index 557e5b8..0000000 --- a/docs/ApiV1IntegrationAuthOauthTokenPostRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1IntegrationAuthOauthTokenPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | | -**code** | **str** | | -**integration** | **str** | | -**url** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_auth_oauth_token_post_request import ApiV1IntegrationAuthOauthTokenPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationAuthOauthTokenPostRequest from a JSON string -api_v1_integration_auth_oauth_token_post_request_instance = ApiV1IntegrationAuthOauthTokenPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationAuthOauthTokenPostRequest.to_json() - -# convert the object into a dict -api_v1_integration_auth_oauth_token_post_request_dict = api_v1_integration_auth_oauth_token_post_request_instance.to_dict() -# create an instance of ApiV1IntegrationAuthOauthTokenPostRequest from a dict -api_v1_integration_auth_oauth_token_post_request_from_dict = ApiV1IntegrationAuthOauthTokenPostRequest.from_dict(api_v1_integration_auth_oauth_token_post_request_dict) -``` -[[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/docs/ApiV1IntegrationIntegrationIdPatchRequest.md b/docs/ApiV1IntegrationIntegrationIdPatchRequest.md deleted file mode 100644 index ec23a8e..0000000 --- a/docs/ApiV1IntegrationIntegrationIdPatchRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1IntegrationIntegrationIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**app** | **str** | The name of the external integration providers app entity that you want to sync secrets with. Used in Netlify, GitHub, Vercel integrations. | [optional] -**app_id** | **str** | The ID of the external integration providers app entity that you want to sync secrets with. Used in Netlify, GitHub, Vercel integrations. | [optional] -**is_active** | **bool** | Whether the integration should be active or disabled. | -**secret_path** | **str** | The path of the secrets to sync secrets from. | [optional] [default to '/'] -**target_environment** | **str** | The target environment of the integration provider. Used in cloudflare pages, TeamCity, Gitlab integrations. | -**owner** | **str** | External integration providers service entity owner. Used in Github. | -**environment** | **str** | The environment to sync secrets from. | -**metadata** | [**ApiV1IntegrationIntegrationIdPatchRequestMetadata**](ApiV1IntegrationIntegrationIdPatchRequestMetadata.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request import ApiV1IntegrationIntegrationIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationIntegrationIdPatchRequest from a JSON string -api_v1_integration_integration_id_patch_request_instance = ApiV1IntegrationIntegrationIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationIntegrationIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_integration_integration_id_patch_request_dict = api_v1_integration_integration_id_patch_request_instance.to_dict() -# create an instance of ApiV1IntegrationIntegrationIdPatchRequest from a dict -api_v1_integration_integration_id_patch_request_from_dict = ApiV1IntegrationIntegrationIdPatchRequest.from_dict(api_v1_integration_integration_id_patch_request_dict) -``` -[[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/docs/ApiV1IntegrationIntegrationIdPatchRequestMetadata.md b/docs/ApiV1IntegrationIntegrationIdPatchRequestMetadata.md deleted file mode 100644 index 7ecff34..0000000 --- a/docs/ApiV1IntegrationIntegrationIdPatchRequestMetadata.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1IntegrationIntegrationIdPatchRequestMetadata - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_prefix** | **str** | The prefix for the saved secret. Used by GCP. | [optional] -**secret_suffix** | **str** | The suffix for the saved secret. Used by GCP. | [optional] -**initial_sync_behavior** | **str** | Type of syncing behavoir with the integration. | [optional] -**mapping_behavior** | **str** | The mapping behavior of the integration. | [optional] -**should_auto_redeploy** | **bool** | Used by Render to trigger auto deploy. | [optional] -**secret_gcp_label** | [**ApiV1IntegrationPostRequestMetadataSecretGCPLabel**](ApiV1IntegrationPostRequestMetadataSecretGCPLabel.md) | | [optional] -**secret_aws_tag** | [**List[ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner]**](ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.md) | The tags for AWS secrets. | [optional] -**kms_key_id** | **str** | The ID of the encryption key from AWS KMS. | [optional] -**should_disable_delete** | **bool** | The flag to disable deletion of secrets in AWS Parameter Store. | [optional] -**should_enable_delete** | **bool** | The flag to enable deletion of secrets | [optional] -**should_mask_secrets** | **bool** | Specifies if the secrets synced from Infisical to Gitlab should be marked as 'Masked'. | [optional] -**should_protect_secrets** | **bool** | Specifies if the secrets synced from Infisical to Gitlab should be marked as 'Protected'. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request_metadata import ApiV1IntegrationIntegrationIdPatchRequestMetadata - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationIntegrationIdPatchRequestMetadata from a JSON string -api_v1_integration_integration_id_patch_request_metadata_instance = ApiV1IntegrationIntegrationIdPatchRequestMetadata.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationIntegrationIdPatchRequestMetadata.to_json() - -# convert the object into a dict -api_v1_integration_integration_id_patch_request_metadata_dict = api_v1_integration_integration_id_patch_request_metadata_instance.to_dict() -# create an instance of ApiV1IntegrationIntegrationIdPatchRequestMetadata from a dict -api_v1_integration_integration_id_patch_request_metadata_from_dict = ApiV1IntegrationIntegrationIdPatchRequestMetadata.from_dict(api_v1_integration_integration_id_patch_request_metadata_dict) -``` -[[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/docs/ApiV1IntegrationPost200Response.md b/docs/ApiV1IntegrationPost200Response.md deleted file mode 100644 index 4f17201..0000000 --- a/docs/ApiV1IntegrationPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1IntegrationPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**integration** | [**ApiV1IntegrationPost200ResponseIntegration**](ApiV1IntegrationPost200ResponseIntegration.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_post200_response import ApiV1IntegrationPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationPost200Response from a JSON string -api_v1_integration_post200_response_instance = ApiV1IntegrationPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationPost200Response.to_json() - -# convert the object into a dict -api_v1_integration_post200_response_dict = api_v1_integration_post200_response_instance.to_dict() -# create an instance of ApiV1IntegrationPost200Response from a dict -api_v1_integration_post200_response_from_dict = ApiV1IntegrationPost200Response.from_dict(api_v1_integration_post200_response_dict) -``` -[[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/docs/ApiV1IntegrationPost200ResponseIntegration.md b/docs/ApiV1IntegrationPost200ResponseIntegration.md deleted file mode 100644 index 84b5204..0000000 --- a/docs/ApiV1IntegrationPost200ResponseIntegration.md +++ /dev/null @@ -1,51 +0,0 @@ -# ApiV1IntegrationPost200ResponseIntegration - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**is_active** | **bool** | | -**url** | **str** | | [optional] -**app** | **str** | | [optional] -**app_id** | **str** | | [optional] -**target_environment** | **str** | | [optional] -**target_environment_id** | **str** | | [optional] -**target_service** | **str** | | [optional] -**target_service_id** | **str** | | [optional] -**owner** | **str** | | [optional] -**path** | **str** | | [optional] -**region** | **str** | | [optional] -**scope** | **str** | | [optional] -**integration** | **str** | | -**metadata** | **object** | | [optional] -**integration_auth_id** | **str** | | -**env_id** | **str** | | -**secret_path** | **str** | | [optional] [default to '/'] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**last_used** | **datetime** | | [optional] -**is_synced** | **bool** | | [optional] -**sync_message** | **str** | | [optional] -**last_sync_job_id** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_post200_response_integration import ApiV1IntegrationPost200ResponseIntegration - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationPost200ResponseIntegration from a JSON string -api_v1_integration_post200_response_integration_instance = ApiV1IntegrationPost200ResponseIntegration.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationPost200ResponseIntegration.to_json() - -# convert the object into a dict -api_v1_integration_post200_response_integration_dict = api_v1_integration_post200_response_integration_instance.to_dict() -# create an instance of ApiV1IntegrationPost200ResponseIntegration from a dict -api_v1_integration_post200_response_integration_from_dict = ApiV1IntegrationPost200ResponseIntegration.from_dict(api_v1_integration_post200_response_integration_dict) -``` -[[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/docs/ApiV1IntegrationPostRequest.md b/docs/ApiV1IntegrationPostRequest.md deleted file mode 100644 index 0e576aa..0000000 --- a/docs/ApiV1IntegrationPostRequest.md +++ /dev/null @@ -1,43 +0,0 @@ -# ApiV1IntegrationPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**integration_auth_id** | **str** | The ID of the integration auth object to link with integration. | -**app** | **str** | The name of the external integration providers app entity that you want to sync secrets with. Used in Netlify, GitHub, Vercel integrations. | [optional] -**is_active** | **bool** | Whether the integration should be active or disabled. | [optional] [default to True] -**app_id** | **str** | The ID of the external integration providers app entity that you want to sync secrets with. Used in Netlify, GitHub, Vercel integrations. | [optional] -**secret_path** | **str** | The path of the secrets to sync secrets from. | [optional] [default to '/'] -**source_environment** | **str** | The environment to sync secret from. | -**target_environment** | **str** | The target environment of the integration provider. Used in cloudflare pages, TeamCity, Gitlab integrations. | [optional] -**target_environment_id** | **str** | The target environment id of the integration provider. Used in cloudflare pages, teamcity, gitlab integrations. | [optional] -**target_service** | **str** | The service based grouping identifier of the external provider. Used in Terraform cloud, Checkly, Railway and NorthFlank | [optional] -**target_service_id** | **str** | The service based grouping identifier ID of the external provider. Used in Terraform cloud, Checkly, Railway and NorthFlank | [optional] -**owner** | **str** | External integration providers service entity owner. Used in Github. | [optional] -**url** | **str** | The self-hosted URL of the platform to integrate with | [optional] -**path** | **str** | Path to save the synced secrets. Used by Gitlab, AWS Parameter Store, Vault | [optional] -**region** | **str** | AWS region to sync secrets to. | [optional] -**scope** | **str** | Scope of the provider. Used by Github, Qovery | [optional] -**metadata** | [**ApiV1IntegrationPostRequestMetadata**](ApiV1IntegrationPostRequestMetadata.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_post_request import ApiV1IntegrationPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationPostRequest from a JSON string -api_v1_integration_post_request_instance = ApiV1IntegrationPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationPostRequest.to_json() - -# convert the object into a dict -api_v1_integration_post_request_dict = api_v1_integration_post_request_instance.to_dict() -# create an instance of ApiV1IntegrationPostRequest from a dict -api_v1_integration_post_request_from_dict = ApiV1IntegrationPostRequest.from_dict(api_v1_integration_post_request_dict) -``` -[[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/docs/ApiV1IntegrationPostRequestMetadata.md b/docs/ApiV1IntegrationPostRequestMetadata.md deleted file mode 100644 index ed8fa45..0000000 --- a/docs/ApiV1IntegrationPostRequestMetadata.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1IntegrationPostRequestMetadata - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_prefix** | **str** | The prefix for the saved secret. Used by GCP. | [optional] -**secret_suffix** | **str** | The suffix for the saved secret. Used by GCP. | [optional] -**initial_sync_behavior** | **str** | Type of syncing behavoir with the integration. | [optional] -**mapping_behavior** | **str** | The mapping behavior of the integration. | [optional] -**should_auto_redeploy** | **bool** | Used by Render to trigger auto deploy. | [optional] -**secret_gcp_label** | [**ApiV1IntegrationPostRequestMetadataSecretGCPLabel**](ApiV1IntegrationPostRequestMetadataSecretGCPLabel.md) | | [optional] -**secret_aws_tag** | [**List[ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner]**](ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.md) | The tags for AWS secrets. | [optional] -**kms_key_id** | **str** | The ID of the encryption key from AWS KMS. | [optional] -**should_disable_delete** | **bool** | The flag to disable deletion of secrets in AWS Parameter Store. | [optional] -**should_enable_delete** | **bool** | The flag to enable deletion of secrets | [optional] -**should_mask_secrets** | **bool** | Specifies if the secrets synced from Infisical to Gitlab should be marked as 'Masked'. | [optional] -**should_protect_secrets** | **bool** | Specifies if the secrets synced from Infisical to Gitlab should be marked as 'Protected'. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_post_request_metadata import ApiV1IntegrationPostRequestMetadata - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationPostRequestMetadata from a JSON string -api_v1_integration_post_request_metadata_instance = ApiV1IntegrationPostRequestMetadata.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationPostRequestMetadata.to_json() - -# convert the object into a dict -api_v1_integration_post_request_metadata_dict = api_v1_integration_post_request_metadata_instance.to_dict() -# create an instance of ApiV1IntegrationPostRequestMetadata from a dict -api_v1_integration_post_request_metadata_from_dict = ApiV1IntegrationPostRequestMetadata.from_dict(api_v1_integration_post_request_metadata_dict) -``` -[[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/docs/ApiV1IntegrationPostRequestMetadataSecretGCPLabel.md b/docs/ApiV1IntegrationPostRequestMetadataSecretGCPLabel.md deleted file mode 100644 index fbad5e5..0000000 --- a/docs/ApiV1IntegrationPostRequestMetadataSecretGCPLabel.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1IntegrationPostRequestMetadataSecretGCPLabel - -The label for GCP secrets. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**label_name** | **str** | | -**label_value** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_integration_post_request_metadata_secret_gcp_label import ApiV1IntegrationPostRequestMetadataSecretGCPLabel - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1IntegrationPostRequestMetadataSecretGCPLabel from a JSON string -api_v1_integration_post_request_metadata_secret_gcp_label_instance = ApiV1IntegrationPostRequestMetadataSecretGCPLabel.from_json(json) -# print the JSON string representation of the object -print ApiV1IntegrationPostRequestMetadataSecretGCPLabel.to_json() - -# convert the object into a dict -api_v1_integration_post_request_metadata_secret_gcp_label_dict = api_v1_integration_post_request_metadata_secret_gcp_label_instance.to_dict() -# create an instance of ApiV1IntegrationPostRequestMetadataSecretGCPLabel from a dict -api_v1_integration_post_request_metadata_secret_gcp_label_from_dict = ApiV1IntegrationPostRequestMetadataSecretGCPLabel.from_dict(api_v1_integration_post_request_metadata_secret_gcp_label_dict) -``` -[[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/docs/ApiV1InviteOrgSignupPost200Response.md b/docs/ApiV1InviteOrgSignupPost200Response.md deleted file mode 100644 index 32c088f..0000000 --- a/docs/ApiV1InviteOrgSignupPost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1InviteOrgSignupPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**complete_invite_link** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_invite_org_signup_post200_response import ApiV1InviteOrgSignupPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1InviteOrgSignupPost200Response from a JSON string -api_v1_invite_org_signup_post200_response_instance = ApiV1InviteOrgSignupPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1InviteOrgSignupPost200Response.to_json() - -# convert the object into a dict -api_v1_invite_org_signup_post200_response_dict = api_v1_invite_org_signup_post200_response_instance.to_dict() -# create an instance of ApiV1InviteOrgSignupPost200Response from a dict -api_v1_invite_org_signup_post200_response_from_dict = ApiV1InviteOrgSignupPost200Response.from_dict(api_v1_invite_org_signup_post200_response_dict) -``` -[[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/docs/ApiV1InviteOrgSignupPostRequest.md b/docs/ApiV1InviteOrgSignupPostRequest.md deleted file mode 100644 index fe6ae23..0000000 --- a/docs/ApiV1InviteOrgSignupPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1InviteOrgSignupPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**invitee_email** | **str** | | -**organization_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_invite_org_signup_post_request import ApiV1InviteOrgSignupPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1InviteOrgSignupPostRequest from a JSON string -api_v1_invite_org_signup_post_request_instance = ApiV1InviteOrgSignupPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1InviteOrgSignupPostRequest.to_json() - -# convert the object into a dict -api_v1_invite_org_signup_post_request_dict = api_v1_invite_org_signup_post_request_instance.to_dict() -# create an instance of ApiV1InviteOrgSignupPostRequest from a dict -api_v1_invite_org_signup_post_request_from_dict = ApiV1InviteOrgSignupPostRequest.from_dict(api_v1_invite_org_signup_post_request_dict) -``` -[[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/docs/ApiV1InviteOrgVerifyPost200Response.md b/docs/ApiV1InviteOrgVerifyPost200Response.md deleted file mode 100644 index 46f15df..0000000 --- a/docs/ApiV1InviteOrgVerifyPost200Response.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1InviteOrgVerifyPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**token** | **str** | | [optional] -**user** | [**ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser**](ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_invite_org_verify_post200_response import ApiV1InviteOrgVerifyPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1InviteOrgVerifyPost200Response from a JSON string -api_v1_invite_org_verify_post200_response_instance = ApiV1InviteOrgVerifyPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1InviteOrgVerifyPost200Response.to_json() - -# convert the object into a dict -api_v1_invite_org_verify_post200_response_dict = api_v1_invite_org_verify_post200_response_instance.to_dict() -# create an instance of ApiV1InviteOrgVerifyPost200Response from a dict -api_v1_invite_org_verify_post200_response_from_dict = ApiV1InviteOrgVerifyPost200Response.from_dict(api_v1_invite_org_verify_post200_response_dict) -``` -[[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/docs/ApiV1InviteOrgVerifyPostRequest.md b/docs/ApiV1InviteOrgVerifyPostRequest.md deleted file mode 100644 index 72d2228..0000000 --- a/docs/ApiV1InviteOrgVerifyPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1InviteOrgVerifyPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | -**organization_id** | **str** | | -**code** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_invite_org_verify_post_request import ApiV1InviteOrgVerifyPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1InviteOrgVerifyPostRequest from a JSON string -api_v1_invite_org_verify_post_request_instance = ApiV1InviteOrgVerifyPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1InviteOrgVerifyPostRequest.to_json() - -# convert the object into a dict -api_v1_invite_org_verify_post_request_dict = api_v1_invite_org_verify_post_request_instance.to_dict() -# create an instance of ApiV1InviteOrgVerifyPostRequest from a dict -api_v1_invite_org_verify_post_request_from_dict = ApiV1InviteOrgVerifyPostRequest.from_dict(api_v1_invite_org_verify_post_request_dict) -``` -[[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/docs/ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.md b/docs/ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.md deleted file mode 100644 index cce1ab9..0000000 --- a/docs/ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**ldap_config_id** | **str** | | -**ldap_group_cn** | **str** | | -**group** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_get200_response_inner import ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner from a JSON string -api_v1_ldap_config_config_id_group_maps_get200_response_inner_instance = ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.from_json(json) -# print the JSON string representation of the object -print ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.to_json() - -# convert the object into a dict -api_v1_ldap_config_config_id_group_maps_get200_response_inner_dict = api_v1_ldap_config_config_id_group_maps_get200_response_inner_instance.to_dict() -# create an instance of ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner from a dict -api_v1_ldap_config_config_id_group_maps_get200_response_inner_from_dict = ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.from_dict(api_v1_ldap_config_config_id_group_maps_get200_response_inner_dict) -``` -[[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/docs/ApiV1LdapConfigConfigIdGroupMapsPost200Response.md b/docs/ApiV1LdapConfigConfigIdGroupMapsPost200Response.md deleted file mode 100644 index 6645ef5..0000000 --- a/docs/ApiV1LdapConfigConfigIdGroupMapsPost200Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1LdapConfigConfigIdGroupMapsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**ldap_config_id** | **str** | | -**ldap_group_cn** | **str** | | -**group_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post200_response import ApiV1LdapConfigConfigIdGroupMapsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1LdapConfigConfigIdGroupMapsPost200Response from a JSON string -api_v1_ldap_config_config_id_group_maps_post200_response_instance = ApiV1LdapConfigConfigIdGroupMapsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1LdapConfigConfigIdGroupMapsPost200Response.to_json() - -# convert the object into a dict -api_v1_ldap_config_config_id_group_maps_post200_response_dict = api_v1_ldap_config_config_id_group_maps_post200_response_instance.to_dict() -# create an instance of ApiV1LdapConfigConfigIdGroupMapsPost200Response from a dict -api_v1_ldap_config_config_id_group_maps_post200_response_from_dict = ApiV1LdapConfigConfigIdGroupMapsPost200Response.from_dict(api_v1_ldap_config_config_id_group_maps_post200_response_dict) -``` -[[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/docs/ApiV1LdapConfigConfigIdGroupMapsPostRequest.md b/docs/ApiV1LdapConfigConfigIdGroupMapsPostRequest.md deleted file mode 100644 index bfcf911..0000000 --- a/docs/ApiV1LdapConfigConfigIdGroupMapsPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1LdapConfigConfigIdGroupMapsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ldap_group_cn** | **str** | | -**group_slug** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post_request import ApiV1LdapConfigConfigIdGroupMapsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1LdapConfigConfigIdGroupMapsPostRequest from a JSON string -api_v1_ldap_config_config_id_group_maps_post_request_instance = ApiV1LdapConfigConfigIdGroupMapsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1LdapConfigConfigIdGroupMapsPostRequest.to_json() - -# convert the object into a dict -api_v1_ldap_config_config_id_group_maps_post_request_dict = api_v1_ldap_config_config_id_group_maps_post_request_instance.to_dict() -# create an instance of ApiV1LdapConfigConfigIdGroupMapsPostRequest from a dict -api_v1_ldap_config_config_id_group_maps_post_request_from_dict = ApiV1LdapConfigConfigIdGroupMapsPostRequest.from_dict(api_v1_ldap_config_config_id_group_maps_post_request_dict) -``` -[[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/docs/ApiV1LdapConfigGet200Response.md b/docs/ApiV1LdapConfigGet200Response.md deleted file mode 100644 index 8faaefd..0000000 --- a/docs/ApiV1LdapConfigGet200Response.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1LdapConfigGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**organization** | **str** | | -**is_active** | **bool** | | -**url** | **str** | | -**bind_dn** | **str** | | -**bind_pass** | **str** | | -**unique_user_attribute** | **str** | | -**search_base** | **str** | | -**search_filter** | **str** | | -**group_search_base** | **str** | | -**group_search_filter** | **str** | | -**ca_cert** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_ldap_config_get200_response import ApiV1LdapConfigGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1LdapConfigGet200Response from a JSON string -api_v1_ldap_config_get200_response_instance = ApiV1LdapConfigGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1LdapConfigGet200Response.to_json() - -# convert the object into a dict -api_v1_ldap_config_get200_response_dict = api_v1_ldap_config_get200_response_instance.to_dict() -# create an instance of ApiV1LdapConfigGet200Response from a dict -api_v1_ldap_config_get200_response_from_dict = ApiV1LdapConfigGet200Response.from_dict(api_v1_ldap_config_get200_response_dict) -``` -[[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/docs/ApiV1LdapConfigPatchRequest.md b/docs/ApiV1LdapConfigPatchRequest.md deleted file mode 100644 index d978a6f..0000000 --- a/docs/ApiV1LdapConfigPatchRequest.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1LdapConfigPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is_active** | **bool** | | [optional] -**url** | **str** | | [optional] -**bind_dn** | **str** | | [optional] -**bind_pass** | **str** | | [optional] -**unique_user_attribute** | **str** | | [optional] -**search_base** | **str** | | [optional] -**search_filter** | **str** | | [optional] -**group_search_base** | **str** | | [optional] -**group_search_filter** | **str** | | [optional] -**ca_cert** | **str** | | [optional] -**organization_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_ldap_config_patch_request import ApiV1LdapConfigPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1LdapConfigPatchRequest from a JSON string -api_v1_ldap_config_patch_request_instance = ApiV1LdapConfigPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1LdapConfigPatchRequest.to_json() - -# convert the object into a dict -api_v1_ldap_config_patch_request_dict = api_v1_ldap_config_patch_request_instance.to_dict() -# create an instance of ApiV1LdapConfigPatchRequest from a dict -api_v1_ldap_config_patch_request_from_dict = ApiV1LdapConfigPatchRequest.from_dict(api_v1_ldap_config_patch_request_dict) -``` -[[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/docs/ApiV1LdapConfigPost200Response.md b/docs/ApiV1LdapConfigPost200Response.md deleted file mode 100644 index c2a3630..0000000 --- a/docs/ApiV1LdapConfigPost200Response.md +++ /dev/null @@ -1,47 +0,0 @@ -# ApiV1LdapConfigPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**org_id** | **str** | | -**is_active** | **bool** | | -**url** | **str** | | -**encrypted_bind_dn** | **str** | | -**bind_dniv** | **str** | | -**bind_dn_tag** | **str** | | -**encrypted_bind_pass** | **str** | | -**bind_pass_iv** | **str** | | -**bind_pass_tag** | **str** | | -**search_base** | **str** | | -**encrypted_ca_cert** | **str** | | -**ca_cert_iv** | **str** | | -**ca_cert_tag** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**group_search_base** | **str** | | [optional] [default to ''] -**group_search_filter** | **str** | | [optional] [default to ''] -**search_filter** | **str** | | [optional] [default to ''] -**unique_user_attribute** | **str** | | [optional] [default to ''] - -## Example - -```python -from infisicalapi_client.models.api_v1_ldap_config_post200_response import ApiV1LdapConfigPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1LdapConfigPost200Response from a JSON string -api_v1_ldap_config_post200_response_instance = ApiV1LdapConfigPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1LdapConfigPost200Response.to_json() - -# convert the object into a dict -api_v1_ldap_config_post200_response_dict = api_v1_ldap_config_post200_response_instance.to_dict() -# create an instance of ApiV1LdapConfigPost200Response from a dict -api_v1_ldap_config_post200_response_from_dict = ApiV1LdapConfigPost200Response.from_dict(api_v1_ldap_config_post200_response_dict) -``` -[[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/docs/ApiV1LdapConfigPostRequest.md b/docs/ApiV1LdapConfigPostRequest.md deleted file mode 100644 index e92c641..0000000 --- a/docs/ApiV1LdapConfigPostRequest.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1LdapConfigPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_id** | **str** | | -**is_active** | **bool** | | -**url** | **str** | | -**bind_dn** | **str** | | -**bind_pass** | **str** | | -**unique_user_attribute** | **str** | | [optional] [default to 'uidNumber'] -**search_base** | **str** | | -**search_filter** | **str** | | [optional] [default to '(uid={{username}})'] -**group_search_base** | **str** | | -**group_search_filter** | **str** | | [optional] [default to '(|(memberUid={{.Username}})(member={{.UserDN}})(uniqueMember={{.UserDN}}))'] -**ca_cert** | **str** | | [optional] [default to ''] - -## Example - -```python -from infisicalapi_client.models.api_v1_ldap_config_post_request import ApiV1LdapConfigPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1LdapConfigPostRequest from a JSON string -api_v1_ldap_config_post_request_instance = ApiV1LdapConfigPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1LdapConfigPostRequest.to_json() - -# convert the object into a dict -api_v1_ldap_config_post_request_dict = api_v1_ldap_config_post_request_instance.to_dict() -# create an instance of ApiV1LdapConfigPostRequest from a dict -api_v1_ldap_config_post_request_from_dict = ApiV1LdapConfigPostRequest.from_dict(api_v1_ldap_config_post_request_dict) -``` -[[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/docs/ApiV1LdapLoginPostRequest.md b/docs/ApiV1LdapLoginPostRequest.md deleted file mode 100644 index 6325e7d..0000000 --- a/docs/ApiV1LdapLoginPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1LdapLoginPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_slug** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_ldap_login_post_request import ApiV1LdapLoginPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1LdapLoginPostRequest from a JSON string -api_v1_ldap_login_post_request_instance = ApiV1LdapLoginPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1LdapLoginPostRequest.to_json() - -# convert the object into a dict -api_v1_ldap_login_post_request_dict = api_v1_ldap_login_post_request_instance.to_dict() -# create an instance of ApiV1LdapLoginPostRequest from a dict -api_v1_ldap_login_post_request_from_dict = ApiV1LdapLoginPostRequest.from_dict(api_v1_ldap_login_post_request_dict) -``` -[[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/docs/ApiV1OrganizationAdminProjectsGet200Response.md b/docs/ApiV1OrganizationAdminProjectsGet200Response.md deleted file mode 100644 index 560540c..0000000 --- a/docs/ApiV1OrganizationAdminProjectsGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1OrganizationAdminProjectsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**projects** | [**List[ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner]**](ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md) | | -**count** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response import ApiV1OrganizationAdminProjectsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationAdminProjectsGet200Response from a JSON string -api_v1_organization_admin_projects_get200_response_instance = ApiV1OrganizationAdminProjectsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationAdminProjectsGet200Response.to_json() - -# convert the object into a dict -api_v1_organization_admin_projects_get200_response_dict = api_v1_organization_admin_projects_get200_response_instance.to_dict() -# create an instance of ApiV1OrganizationAdminProjectsGet200Response from a dict -api_v1_organization_admin_projects_get200_response_from_dict = ApiV1OrganizationAdminProjectsGet200Response.from_dict(api_v1_organization_admin_projects_get200_response_dict) -``` -[[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/docs/ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md b/docs/ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md deleted file mode 100644 index cad6987..0000000 --- a/docs/ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**slug** | **str** | | -**auto_capitalization** | **bool** | | [optional] [default to True] -**org_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**version** | **float** | | [optional] [default to 1] -**upgrade_status** | **str** | | [optional] -**pit_version_limit** | **float** | | [optional] [default to 10] -**kms_certificate_key_id** | **str** | | [optional] -**audit_logs_retention_days** | **float** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner from a JSON string -api_v1_organization_admin_projects_get200_response_projects_inner_instance = ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.to_json() - -# convert the object into a dict -api_v1_organization_admin_projects_get200_response_projects_inner_dict = api_v1_organization_admin_projects_get200_response_projects_inner_instance.to_dict() -# create an instance of ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner from a dict -api_v1_organization_admin_projects_get200_response_projects_inner_from_dict = ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.from_dict(api_v1_organization_admin_projects_get200_response_projects_inner_dict) -``` -[[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/docs/ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.md b/docs/ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.md deleted file mode 100644 index 20478c5..0000000 --- a/docs/ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**membership** | [**ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership**](ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response from a JSON string -api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_instance = ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.to_json() - -# convert the object into a dict -api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_dict = api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_instance.to_dict() -# create an instance of ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response from a dict -api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_from_dict = ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.from_dict(api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_dict) -``` -[[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/docs/ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.md b/docs/ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.md deleted file mode 100644 index e5e3897..0000000 --- a/docs/ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**user_id** | **str** | | -**project_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership from a JSON string -api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership_instance = ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.to_json() - -# convert the object into a dict -api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership_dict = api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership_instance.to_dict() -# create an instance of ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership from a dict -api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership_from_dict = ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.from_dict(api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership_dict) -``` -[[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/docs/ApiV1OrganizationGet200Response.md b/docs/ApiV1OrganizationGet200Response.md deleted file mode 100644 index 8204cc2..0000000 --- a/docs/ApiV1OrganizationGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organizations** | [**List[ApiV1OrganizationGet200ResponseOrganizationsInner]**](ApiV1OrganizationGet200ResponseOrganizationsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_get200_response import ApiV1OrganizationGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationGet200Response from a JSON string -api_v1_organization_get200_response_instance = ApiV1OrganizationGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationGet200Response.to_json() - -# convert the object into a dict -api_v1_organization_get200_response_dict = api_v1_organization_get200_response_instance.to_dict() -# create an instance of ApiV1OrganizationGet200Response from a dict -api_v1_organization_get200_response_from_dict = ApiV1OrganizationGet200Response.from_dict(api_v1_organization_get200_response_dict) -``` -[[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/docs/ApiV1OrganizationGet200ResponseOrganizationsInner.md b/docs/ApiV1OrganizationGet200ResponseOrganizationsInner.md deleted file mode 100644 index f24cf7f..0000000 --- a/docs/ApiV1OrganizationGet200ResponseOrganizationsInner.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1OrganizationGet200ResponseOrganizationsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**customer_id** | **str** | | [optional] -**slug** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**auth_enforced** | **bool** | | [optional] [default to False] -**scim_enabled** | **bool** | | [optional] [default to False] -**kms_default_key_id** | **str** | | [optional] -**kms_encrypted_data_key** | **object** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_get200_response_organizations_inner import ApiV1OrganizationGet200ResponseOrganizationsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationGet200ResponseOrganizationsInner from a JSON string -api_v1_organization_get200_response_organizations_inner_instance = ApiV1OrganizationGet200ResponseOrganizationsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationGet200ResponseOrganizationsInner.to_json() - -# convert the object into a dict -api_v1_organization_get200_response_organizations_inner_dict = api_v1_organization_get200_response_organizations_inner_instance.to_dict() -# create an instance of ApiV1OrganizationGet200ResponseOrganizationsInner from a dict -api_v1_organization_get200_response_organizations_inner_from_dict = ApiV1OrganizationGet200ResponseOrganizationsInner.from_dict(api_v1_organization_get200_response_organizations_inner_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdGet200Response.md b/docs/ApiV1OrganizationOrganizationIdGet200Response.md deleted file mode 100644 index d335d1c..0000000 --- a/docs/ApiV1OrganizationOrganizationIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationOrganizationIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization** | [**ApiV1OrganizationGet200ResponseOrganizationsInner**](ApiV1OrganizationGet200ResponseOrganizationsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_get200_response import ApiV1OrganizationOrganizationIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdGet200Response from a JSON string -api_v1_organization_organization_id_get200_response_instance = ApiV1OrganizationOrganizationIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdGet200Response.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_get200_response_dict = api_v1_organization_organization_id_get200_response_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdGet200Response from a dict -api_v1_organization_organization_id_get200_response_from_dict = ApiV1OrganizationOrganizationIdGet200Response.from_dict(api_v1_organization_organization_id_get200_response_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdGroupsGet200Response.md b/docs/ApiV1OrganizationOrganizationIdGroupsGet200Response.md deleted file mode 100644 index a63b542..0000000 --- a/docs/ApiV1OrganizationOrganizationIdGroupsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationOrganizationIdGroupsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**groups** | [**List[ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner]**](ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response import ApiV1OrganizationOrganizationIdGroupsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdGroupsGet200Response from a JSON string -api_v1_organization_organization_id_groups_get200_response_instance = ApiV1OrganizationOrganizationIdGroupsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdGroupsGet200Response.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_groups_get200_response_dict = api_v1_organization_organization_id_groups_get200_response_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdGroupsGet200Response from a dict -api_v1_organization_organization_id_groups_get200_response_from_dict = ApiV1OrganizationOrganizationIdGroupsGet200Response.from_dict(api_v1_organization_organization_id_groups_get200_response_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.md b/docs/ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.md deleted file mode 100644 index c825f69..0000000 --- a/docs/ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**org_id** | **str** | | -**name** | **str** | | -**slug** | **str** | | -**role** | **str** | | -**role_id** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**custom_role** | [**ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole**](ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner from a JSON string -api_v1_organization_organization_id_groups_get200_response_groups_inner_instance = ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_groups_get200_response_groups_inner_dict = api_v1_organization_organization_id_groups_get200_response_groups_inner_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner from a dict -api_v1_organization_organization_id_groups_get200_response_groups_inner_from_dict = ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.from_dict(api_v1_organization_organization_id_groups_get200_response_groups_inner_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.md b/docs/ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.md deleted file mode 100644 index 61d2bac..0000000 --- a/docs/ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**slug** | **str** | | -**permissions** | **object** | | [optional] -**description** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole from a JSON string -api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role_instance = ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role_dict = api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole from a dict -api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role_from_dict = ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.from_dict(api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.md b/docs/ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.md deleted file mode 100644 index 1e72ec9..0000000 --- a/docs/ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**incident_contacts_org** | [**List[ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner]**](ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response from a JSON string -api_v1_organization_organization_id_incident_contact_org_get200_response_instance = ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_incident_contact_org_get200_response_dict = api_v1_organization_organization_id_incident_contact_org_get200_response_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response from a dict -api_v1_organization_organization_id_incident_contact_org_get200_response_from_dict = ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.from_dict(api_v1_organization_organization_id_incident_contact_org_get200_response_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.md b/docs/ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.md deleted file mode 100644 index 483f354..0000000 --- a/docs/ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**email** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**org_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner from a JSON string -api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner_instance = ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner_dict = api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner from a dict -api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner_from_dict = ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.from_dict(api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.md b/docs/ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.md deleted file mode 100644 index 427ce36..0000000 --- a/docs/ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**incident_contacts_org** | [**ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner**](ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_post200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response from a JSON string -api_v1_organization_organization_id_incident_contact_org_post200_response_instance = ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_incident_contact_org_post200_response_dict = api_v1_organization_organization_id_incident_contact_org_post200_response_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response from a dict -api_v1_organization_organization_id_incident_contact_org_post200_response_from_dict = ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.from_dict(api_v1_organization_organization_id_incident_contact_org_post200_response_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdPatch200Response.md b/docs/ApiV1OrganizationOrganizationIdPatch200Response.md deleted file mode 100644 index 1fb79bc..0000000 --- a/docs/ApiV1OrganizationOrganizationIdPatch200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1OrganizationOrganizationIdPatch200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**organization** | [**ApiV1OrganizationGet200ResponseOrganizationsInner**](ApiV1OrganizationGet200ResponseOrganizationsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_patch200_response import ApiV1OrganizationOrganizationIdPatch200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdPatch200Response from a JSON string -api_v1_organization_organization_id_patch200_response_instance = ApiV1OrganizationOrganizationIdPatch200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdPatch200Response.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_patch200_response_dict = api_v1_organization_organization_id_patch200_response_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdPatch200Response from a dict -api_v1_organization_organization_id_patch200_response_from_dict = ApiV1OrganizationOrganizationIdPatch200Response.from_dict(api_v1_organization_organization_id_patch200_response_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdPatchRequest.md b/docs/ApiV1OrganizationOrganizationIdPatchRequest.md deleted file mode 100644 index 45987da..0000000 --- a/docs/ApiV1OrganizationOrganizationIdPatchRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1OrganizationOrganizationIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**slug** | **str** | | [optional] -**auth_enforced** | **bool** | | [optional] -**scim_enabled** | **bool** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_patch_request import ApiV1OrganizationOrganizationIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdPatchRequest from a JSON string -api_v1_organization_organization_id_patch_request_instance = ApiV1OrganizationOrganizationIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_patch_request_dict = api_v1_organization_organization_id_patch_request_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdPatchRequest from a dict -api_v1_organization_organization_id_patch_request_from_dict = ApiV1OrganizationOrganizationIdPatchRequest.from_dict(api_v1_organization_organization_id_patch_request_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdPermissionsGet200Response.md b/docs/ApiV1OrganizationOrganizationIdPermissionsGet200Response.md deleted file mode 100644 index 916b642..0000000 --- a/docs/ApiV1OrganizationOrganizationIdPermissionsGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1OrganizationOrganizationIdPermissionsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**membership** | [**ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership**](ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.md) | | -**permissions** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response import ApiV1OrganizationOrganizationIdPermissionsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdPermissionsGet200Response from a JSON string -api_v1_organization_organization_id_permissions_get200_response_instance = ApiV1OrganizationOrganizationIdPermissionsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdPermissionsGet200Response.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_permissions_get200_response_dict = api_v1_organization_organization_id_permissions_get200_response_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdPermissionsGet200Response from a dict -api_v1_organization_organization_id_permissions_get200_response_from_dict = ApiV1OrganizationOrganizationIdPermissionsGet200Response.from_dict(api_v1_organization_organization_id_permissions_get200_response_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.md b/docs/ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.md deleted file mode 100644 index 0d16461..0000000 --- a/docs/ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**role** | **str** | | -**status** | **str** | | [optional] [default to 'invited'] -**invite_email** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**user_id** | **str** | | [optional] -**org_id** | **str** | | -**role_id** | **str** | | [optional] -**project_favorites** | **List[str]** | | [optional] -**is_active** | **bool** | | [optional] [default to True] - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response_membership import ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership from a JSON string -api_v1_organization_organization_id_permissions_get200_response_membership_instance = ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_permissions_get200_response_membership_dict = api_v1_organization_organization_id_permissions_get200_response_membership_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership from a dict -api_v1_organization_organization_id_permissions_get200_response_membership_from_dict = ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.from_dict(api_v1_organization_organization_id_permissions_get200_response_membership_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdRolesGet200Response.md b/docs/ApiV1OrganizationOrganizationIdRolesGet200Response.md deleted file mode 100644 index 23ef2eb..0000000 --- a/docs/ApiV1OrganizationOrganizationIdRolesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationOrganizationIdRolesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**ApiV1OrganizationOrganizationIdRolesGet200ResponseData**](ApiV1OrganizationOrganizationIdRolesGet200ResponseData.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response import ApiV1OrganizationOrganizationIdRolesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdRolesGet200Response from a JSON string -api_v1_organization_organization_id_roles_get200_response_instance = ApiV1OrganizationOrganizationIdRolesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdRolesGet200Response.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_roles_get200_response_dict = api_v1_organization_organization_id_roles_get200_response_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdRolesGet200Response from a dict -api_v1_organization_organization_id_roles_get200_response_from_dict = ApiV1OrganizationOrganizationIdRolesGet200Response.from_dict(api_v1_organization_organization_id_roles_get200_response_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdRolesGet200ResponseData.md b/docs/ApiV1OrganizationOrganizationIdRolesGet200ResponseData.md deleted file mode 100644 index f3e79f7..0000000 --- a/docs/ApiV1OrganizationOrganizationIdRolesGet200ResponseData.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationOrganizationIdRolesGet200ResponseData - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**roles** | [**List[ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner]**](ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response_data import ApiV1OrganizationOrganizationIdRolesGet200ResponseData - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdRolesGet200ResponseData from a JSON string -api_v1_organization_organization_id_roles_get200_response_data_instance = ApiV1OrganizationOrganizationIdRolesGet200ResponseData.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdRolesGet200ResponseData.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_roles_get200_response_data_dict = api_v1_organization_organization_id_roles_get200_response_data_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdRolesGet200ResponseData from a dict -api_v1_organization_organization_id_roles_get200_response_data_from_dict = ApiV1OrganizationOrganizationIdRolesGet200ResponseData.from_dict(api_v1_organization_organization_id_roles_get200_response_data_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.md b/docs/ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.md deleted file mode 100644 index d071918..0000000 --- a/docs/ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**description** | **str** | | [optional] -**slug** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**org_id** | **str** | | -**permissions** | **object** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response_data_roles_inner import ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner from a JSON string -api_v1_organization_organization_id_roles_get200_response_data_roles_inner_instance = ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_roles_get200_response_data_roles_inner_dict = api_v1_organization_organization_id_roles_get200_response_data_roles_inner_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner from a dict -api_v1_organization_organization_id_roles_get200_response_data_roles_inner_from_dict = ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.from_dict(api_v1_organization_organization_id_roles_get200_response_data_roles_inner_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdRolesPost200Response.md b/docs/ApiV1OrganizationOrganizationIdRolesPost200Response.md deleted file mode 100644 index a6eb7ac..0000000 --- a/docs/ApiV1OrganizationOrganizationIdRolesPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationOrganizationIdRolesPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | [**ApiV1OrganizationOrganizationIdRolesPost200ResponseRole**](ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response import ApiV1OrganizationOrganizationIdRolesPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdRolesPost200Response from a JSON string -api_v1_organization_organization_id_roles_post200_response_instance = ApiV1OrganizationOrganizationIdRolesPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdRolesPost200Response.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_roles_post200_response_dict = api_v1_organization_organization_id_roles_post200_response_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdRolesPost200Response from a dict -api_v1_organization_organization_id_roles_post200_response_from_dict = ApiV1OrganizationOrganizationIdRolesPost200Response.from_dict(api_v1_organization_organization_id_roles_post200_response_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.md b/docs/ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.md deleted file mode 100644 index b2611af..0000000 --- a/docs/ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1OrganizationOrganizationIdRolesPost200ResponseRole - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**description** | **str** | | [optional] -**slug** | **str** | | -**permissions** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**org_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response_role import ApiV1OrganizationOrganizationIdRolesPost200ResponseRole - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdRolesPost200ResponseRole from a JSON string -api_v1_organization_organization_id_roles_post200_response_role_instance = ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_roles_post200_response_role_dict = api_v1_organization_organization_id_roles_post200_response_role_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdRolesPost200ResponseRole from a dict -api_v1_organization_organization_id_roles_post200_response_role_from_dict = ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.from_dict(api_v1_organization_organization_id_roles_post200_response_role_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdRolesPostRequest.md b/docs/ApiV1OrganizationOrganizationIdRolesPostRequest.md deleted file mode 100644 index d9babf3..0000000 --- a/docs/ApiV1OrganizationOrganizationIdRolesPostRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1OrganizationOrganizationIdRolesPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | | -**name** | **str** | | -**description** | **str** | | [optional] -**permissions** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post_request import ApiV1OrganizationOrganizationIdRolesPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdRolesPostRequest from a JSON string -api_v1_organization_organization_id_roles_post_request_instance = ApiV1OrganizationOrganizationIdRolesPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdRolesPostRequest.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_roles_post_request_dict = api_v1_organization_organization_id_roles_post_request_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdRolesPostRequest from a dict -api_v1_organization_organization_id_roles_post_request_from_dict = ApiV1OrganizationOrganizationIdRolesPostRequest.from_dict(api_v1_organization_organization_id_roles_post_request_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.md b/docs/ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.md deleted file mode 100644 index 3a6b40d..0000000 --- a/docs/ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | | -**name** | **str** | | [optional] -**description** | **str** | | [optional] -**permissions** | **List[str]** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_roles_role_id_patch_request import ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest from a JSON string -api_v1_organization_organization_id_roles_role_id_patch_request_instance = ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_roles_role_id_patch_request_dict = api_v1_organization_organization_id_roles_role_id_patch_request_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest from a dict -api_v1_organization_organization_id_roles_role_id_patch_request_from_dict = ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.from_dict(api_v1_organization_organization_id_roles_role_id_patch_request_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdUsersGet200Response.md b/docs/ApiV1OrganizationOrganizationIdUsersGet200Response.md deleted file mode 100644 index 2cec2e2..0000000 --- a/docs/ApiV1OrganizationOrganizationIdUsersGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationOrganizationIdUsersGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**users** | [**List[ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner]**](ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response import ApiV1OrganizationOrganizationIdUsersGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdUsersGet200Response from a JSON string -api_v1_organization_organization_id_users_get200_response_instance = ApiV1OrganizationOrganizationIdUsersGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdUsersGet200Response.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_users_get200_response_dict = api_v1_organization_organization_id_users_get200_response_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdUsersGet200Response from a dict -api_v1_organization_organization_id_users_get200_response_from_dict = ApiV1OrganizationOrganizationIdUsersGet200Response.from_dict(api_v1_organization_organization_id_users_get200_response_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.md b/docs/ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.md deleted file mode 100644 index 449fb6f..0000000 --- a/docs/ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**role** | **str** | | -**status** | **str** | | [optional] [default to 'invited'] -**invite_email** | **str** | | [optional] -**user_id** | **str** | | [optional] -**org_id** | **str** | | -**role_id** | **str** | | [optional] -**project_favorites** | **List[str]** | | [optional] -**is_active** | **bool** | | [optional] [default to True] -**user** | [**ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser**](ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response_users_inner import ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner from a JSON string -api_v1_organization_organization_id_users_get200_response_users_inner_instance = ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_users_get200_response_users_inner_dict = api_v1_organization_organization_id_users_get200_response_users_inner_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner from a dict -api_v1_organization_organization_id_users_get200_response_users_inner_from_dict = ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.from_dict(api_v1_organization_organization_id_users_get200_response_users_inner_dict) -``` -[[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/docs/ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.md b/docs/ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.md deleted file mode 100644 index c9df77c..0000000 --- a/docs/ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | -**email** | **str** | | [optional] -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**id** | **str** | | -**public_key** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response_users_inner_user import ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser from a JSON string -api_v1_organization_organization_id_users_get200_response_users_inner_user_instance = ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.to_json() - -# convert the object into a dict -api_v1_organization_organization_id_users_get200_response_users_inner_user_dict = api_v1_organization_organization_id_users_get200_response_users_inner_user_instance.to_dict() -# create an instance of ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser from a dict -api_v1_organization_organization_id_users_get200_response_users_inner_user_from_dict = ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.from_dict(api_v1_organization_organization_id_users_get200_response_users_inner_user_dict) -``` -[[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/docs/ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.md b/docs/ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.md deleted file mode 100644 index d1c00ec..0000000 --- a/docs/ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**name** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_patch_request import ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest from a JSON string -api_v1_organizations_organization_id_billing_details_patch_request_instance = ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.to_json() - -# convert the object into a dict -api_v1_organizations_organization_id_billing_details_patch_request_dict = api_v1_organizations_organization_id_billing_details_patch_request_instance.to_dict() -# create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest from a dict -api_v1_organizations_organization_id_billing_details_patch_request_from_dict = ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.from_dict(api_v1_organizations_organization_id_billing_details_patch_request_dict) -``` -[[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/docs/ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.md b/docs/ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.md deleted file mode 100644 index 22db4dd..0000000 --- a/docs/ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**success_url** | **str** | | -**cancel_url** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_payment_methods_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest from a JSON string -api_v1_organizations_organization_id_billing_details_payment_methods_post_request_instance = ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.to_json() - -# convert the object into a dict -api_v1_organizations_organization_id_billing_details_payment_methods_post_request_dict = api_v1_organizations_organization_id_billing_details_payment_methods_post_request_instance.to_dict() -# create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest from a dict -api_v1_organizations_organization_id_billing_details_payment_methods_post_request_from_dict = ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.from_dict(api_v1_organizations_organization_id_billing_details_payment_methods_post_request_dict) -``` -[[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/docs/ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.md b/docs/ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.md deleted file mode 100644 index 4dbcab1..0000000 --- a/docs/ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**value** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_tax_ids_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest from a JSON string -api_v1_organizations_organization_id_billing_details_tax_ids_post_request_instance = ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.to_json() - -# convert the object into a dict -api_v1_organizations_organization_id_billing_details_tax_ids_post_request_dict = api_v1_organizations_organization_id_billing_details_tax_ids_post_request_instance.to_dict() -# create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest from a dict -api_v1_organizations_organization_id_billing_details_tax_ids_post_request_from_dict = ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.from_dict(api_v1_organizations_organization_id_billing_details_tax_ids_post_request_dict) -``` -[[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/docs/ApiV1OrganizationsOrganizationIdPlanGet200Response.md b/docs/ApiV1OrganizationsOrganizationIdPlanGet200Response.md deleted file mode 100644 index 881a75b..0000000 --- a/docs/ApiV1OrganizationsOrganizationIdPlanGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationsOrganizationIdPlanGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**plan** | **object** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_organizations_organization_id_plan_get200_response import ApiV1OrganizationsOrganizationIdPlanGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationsOrganizationIdPlanGet200Response from a JSON string -api_v1_organizations_organization_id_plan_get200_response_instance = ApiV1OrganizationsOrganizationIdPlanGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationsOrganizationIdPlanGet200Response.to_json() - -# convert the object into a dict -api_v1_organizations_organization_id_plan_get200_response_dict = api_v1_organizations_organization_id_plan_get200_response_instance.to_dict() -# create an instance of ApiV1OrganizationsOrganizationIdPlanGet200Response from a dict -api_v1_organizations_organization_id_plan_get200_response_from_dict = ApiV1OrganizationsOrganizationIdPlanGet200Response.from_dict(api_v1_organizations_organization_id_plan_get200_response_dict) -``` -[[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/docs/ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.md b/docs/ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.md deleted file mode 100644 index 2a4d950..0000000 --- a/docs/ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1OrganizationsOrganizationIdSessionTrialPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**success_url** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_organizations_organization_id_session_trial_post_request import ApiV1OrganizationsOrganizationIdSessionTrialPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1OrganizationsOrganizationIdSessionTrialPostRequest from a JSON string -api_v1_organizations_organization_id_session_trial_post_request_instance = ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.to_json() - -# convert the object into a dict -api_v1_organizations_organization_id_session_trial_post_request_dict = api_v1_organizations_organization_id_session_trial_post_request_instance.to_dict() -# create an instance of ApiV1OrganizationsOrganizationIdSessionTrialPostRequest from a dict -api_v1_organizations_organization_id_session_trial_post_request_from_dict = ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.from_dict(api_v1_organizations_organization_id_session_trial_post_request_dict) -``` -[[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/docs/ApiV1PasswordBackupPrivateKeyGet200Response.md b/docs/ApiV1PasswordBackupPrivateKeyGet200Response.md deleted file mode 100644 index 8bbbe81..0000000 --- a/docs/ApiV1PasswordBackupPrivateKeyGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1PasswordBackupPrivateKeyGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**backup_private_key** | [**ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey**](ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response import ApiV1PasswordBackupPrivateKeyGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordBackupPrivateKeyGet200Response from a JSON string -api_v1_password_backup_private_key_get200_response_instance = ApiV1PasswordBackupPrivateKeyGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordBackupPrivateKeyGet200Response.to_json() - -# convert the object into a dict -api_v1_password_backup_private_key_get200_response_dict = api_v1_password_backup_private_key_get200_response_instance.to_dict() -# create an instance of ApiV1PasswordBackupPrivateKeyGet200Response from a dict -api_v1_password_backup_private_key_get200_response_from_dict = ApiV1PasswordBackupPrivateKeyGet200Response.from_dict(api_v1_password_backup_private_key_get200_response_dict) -``` -[[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/docs/ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.md b/docs/ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.md deleted file mode 100644 index e9fbee0..0000000 --- a/docs/ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**encrypted_private_key** | **str** | | -**iv** | **str** | | -**tag** | **str** | | -**algorithm** | **str** | | -**key_encoding** | **str** | | -**salt** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**user_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response_backup_private_key import ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey from a JSON string -api_v1_password_backup_private_key_get200_response_backup_private_key_instance = ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.to_json() - -# convert the object into a dict -api_v1_password_backup_private_key_get200_response_backup_private_key_dict = api_v1_password_backup_private_key_get200_response_backup_private_key_instance.to_dict() -# create an instance of ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey from a dict -api_v1_password_backup_private_key_get200_response_backup_private_key_from_dict = ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.from_dict(api_v1_password_backup_private_key_get200_response_backup_private_key_dict) -``` -[[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/docs/ApiV1PasswordBackupPrivateKeyPostRequest.md b/docs/ApiV1PasswordBackupPrivateKeyPostRequest.md deleted file mode 100644 index 018bc74..0000000 --- a/docs/ApiV1PasswordBackupPrivateKeyPostRequest.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1PasswordBackupPrivateKeyPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_proof** | **str** | | -**encrypted_private_key** | **str** | | -**iv** | **str** | | -**tag** | **str** | | -**salt** | **str** | | -**verifier** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_password_backup_private_key_post_request import ApiV1PasswordBackupPrivateKeyPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordBackupPrivateKeyPostRequest from a JSON string -api_v1_password_backup_private_key_post_request_instance = ApiV1PasswordBackupPrivateKeyPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordBackupPrivateKeyPostRequest.to_json() - -# convert the object into a dict -api_v1_password_backup_private_key_post_request_dict = api_v1_password_backup_private_key_post_request_instance.to_dict() -# create an instance of ApiV1PasswordBackupPrivateKeyPostRequest from a dict -api_v1_password_backup_private_key_post_request_from_dict = ApiV1PasswordBackupPrivateKeyPostRequest.from_dict(api_v1_password_backup_private_key_post_request_dict) -``` -[[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/docs/ApiV1PasswordChangePasswordPostRequest.md b/docs/ApiV1PasswordChangePasswordPostRequest.md deleted file mode 100644 index c94547b..0000000 --- a/docs/ApiV1PasswordChangePasswordPostRequest.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1PasswordChangePasswordPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_proof** | **str** | | -**protected_key** | **str** | | -**protected_key_iv** | **str** | | -**protected_key_tag** | **str** | | -**encrypted_private_key** | **str** | | -**encrypted_private_key_iv** | **str** | | -**encrypted_private_key_tag** | **str** | | -**salt** | **str** | | -**verifier** | **str** | | -**password** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_password_change_password_post_request import ApiV1PasswordChangePasswordPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordChangePasswordPostRequest from a JSON string -api_v1_password_change_password_post_request_instance = ApiV1PasswordChangePasswordPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordChangePasswordPostRequest.to_json() - -# convert the object into a dict -api_v1_password_change_password_post_request_dict = api_v1_password_change_password_post_request_instance.to_dict() -# create an instance of ApiV1PasswordChangePasswordPostRequest from a dict -api_v1_password_change_password_post_request_from_dict = ApiV1PasswordChangePasswordPostRequest.from_dict(api_v1_password_change_password_post_request_dict) -``` -[[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/docs/ApiV1PasswordEmailPasswordResetPostRequest.md b/docs/ApiV1PasswordEmailPasswordResetPostRequest.md deleted file mode 100644 index 3e41ebc..0000000 --- a/docs/ApiV1PasswordEmailPasswordResetPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1PasswordEmailPasswordResetPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_password_email_password_reset_post_request import ApiV1PasswordEmailPasswordResetPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordEmailPasswordResetPostRequest from a JSON string -api_v1_password_email_password_reset_post_request_instance = ApiV1PasswordEmailPasswordResetPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordEmailPasswordResetPostRequest.to_json() - -# convert the object into a dict -api_v1_password_email_password_reset_post_request_dict = api_v1_password_email_password_reset_post_request_instance.to_dict() -# create an instance of ApiV1PasswordEmailPasswordResetPostRequest from a dict -api_v1_password_email_password_reset_post_request_from_dict = ApiV1PasswordEmailPasswordResetPostRequest.from_dict(api_v1_password_email_password_reset_post_request_dict) -``` -[[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/docs/ApiV1PasswordEmailPasswordResetVerifyPost200Response.md b/docs/ApiV1PasswordEmailPasswordResetVerifyPost200Response.md deleted file mode 100644 index ce36047..0000000 --- a/docs/ApiV1PasswordEmailPasswordResetVerifyPost200Response.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1PasswordEmailPasswordResetVerifyPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**user** | [**ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser**](ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md) | | -**token** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response import ApiV1PasswordEmailPasswordResetVerifyPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordEmailPasswordResetVerifyPost200Response from a JSON string -api_v1_password_email_password_reset_verify_post200_response_instance = ApiV1PasswordEmailPasswordResetVerifyPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordEmailPasswordResetVerifyPost200Response.to_json() - -# convert the object into a dict -api_v1_password_email_password_reset_verify_post200_response_dict = api_v1_password_email_password_reset_verify_post200_response_instance.to_dict() -# create an instance of ApiV1PasswordEmailPasswordResetVerifyPost200Response from a dict -api_v1_password_email_password_reset_verify_post200_response_from_dict = ApiV1PasswordEmailPasswordResetVerifyPost200Response.from_dict(api_v1_password_email_password_reset_verify_post200_response_dict) -``` -[[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/docs/ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md b/docs/ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md deleted file mode 100644 index 5db9044..0000000 --- a/docs/ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md +++ /dev/null @@ -1,46 +0,0 @@ -# ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**email** | **str** | | [optional] -**auth_methods** | **List[str]** | | [optional] -**super_admin** | **bool** | | [optional] [default to False] -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**is_accepted** | **bool** | | [optional] [default to False] -**is_mfa_enabled** | **bool** | | [optional] [default to False] -**mfa_methods** | **List[str]** | | [optional] -**devices** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**is_ghost** | **bool** | | [optional] [default to False] -**username** | **str** | | -**is_email_verified** | **bool** | | [optional] [default to False] -**consecutive_failed_mfa_attempts** | **float** | | [optional] [default to 0] -**is_locked** | **bool** | | [optional] [default to False] -**temporary_lock_date_end** | **datetime** | | [optional] -**consecutive_failed_password_attempts** | **float** | | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response_user import ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser from a JSON string -api_v1_password_email_password_reset_verify_post200_response_user_instance = ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.to_json() - -# convert the object into a dict -api_v1_password_email_password_reset_verify_post200_response_user_dict = api_v1_password_email_password_reset_verify_post200_response_user_instance.to_dict() -# create an instance of ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser from a dict -api_v1_password_email_password_reset_verify_post200_response_user_from_dict = ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.from_dict(api_v1_password_email_password_reset_verify_post200_response_user_dict) -``` -[[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/docs/ApiV1PasswordEmailPasswordResetVerifyPostRequest.md b/docs/ApiV1PasswordEmailPasswordResetVerifyPostRequest.md deleted file mode 100644 index 0a630b6..0000000 --- a/docs/ApiV1PasswordEmailPasswordResetVerifyPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1PasswordEmailPasswordResetVerifyPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | -**code** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post_request import ApiV1PasswordEmailPasswordResetVerifyPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordEmailPasswordResetVerifyPostRequest from a JSON string -api_v1_password_email_password_reset_verify_post_request_instance = ApiV1PasswordEmailPasswordResetVerifyPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordEmailPasswordResetVerifyPostRequest.to_json() - -# convert the object into a dict -api_v1_password_email_password_reset_verify_post_request_dict = api_v1_password_email_password_reset_verify_post_request_instance.to_dict() -# create an instance of ApiV1PasswordEmailPasswordResetVerifyPostRequest from a dict -api_v1_password_email_password_reset_verify_post_request_from_dict = ApiV1PasswordEmailPasswordResetVerifyPostRequest.from_dict(api_v1_password_email_password_reset_verify_post_request_dict) -``` -[[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/docs/ApiV1PasswordPasswordResetPostRequest.md b/docs/ApiV1PasswordPasswordResetPostRequest.md deleted file mode 100644 index 7b60e0c..0000000 --- a/docs/ApiV1PasswordPasswordResetPostRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1PasswordPasswordResetPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**protected_key** | **str** | | -**protected_key_iv** | **str** | | -**protected_key_tag** | **str** | | -**encrypted_private_key** | **str** | | -**encrypted_private_key_iv** | **str** | | -**encrypted_private_key_tag** | **str** | | -**salt** | **str** | | -**verifier** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_password_password_reset_post_request import ApiV1PasswordPasswordResetPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordPasswordResetPostRequest from a JSON string -api_v1_password_password_reset_post_request_instance = ApiV1PasswordPasswordResetPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordPasswordResetPostRequest.to_json() - -# convert the object into a dict -api_v1_password_password_reset_post_request_dict = api_v1_password_password_reset_post_request_instance.to_dict() -# create an instance of ApiV1PasswordPasswordResetPostRequest from a dict -api_v1_password_password_reset_post_request_from_dict = ApiV1PasswordPasswordResetPostRequest.from_dict(api_v1_password_password_reset_post_request_dict) -``` -[[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/docs/ApiV1PasswordSrp1Post200Response.md b/docs/ApiV1PasswordSrp1Post200Response.md deleted file mode 100644 index 893f223..0000000 --- a/docs/ApiV1PasswordSrp1Post200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1PasswordSrp1Post200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**server_public_key** | **str** | | -**salt** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_password_srp1_post200_response import ApiV1PasswordSrp1Post200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordSrp1Post200Response from a JSON string -api_v1_password_srp1_post200_response_instance = ApiV1PasswordSrp1Post200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordSrp1Post200Response.to_json() - -# convert the object into a dict -api_v1_password_srp1_post200_response_dict = api_v1_password_srp1_post200_response_instance.to_dict() -# create an instance of ApiV1PasswordSrp1Post200Response from a dict -api_v1_password_srp1_post200_response_from_dict = ApiV1PasswordSrp1Post200Response.from_dict(api_v1_password_srp1_post200_response_dict) -``` -[[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/docs/ApiV1PasswordSrp1PostRequest.md b/docs/ApiV1PasswordSrp1PostRequest.md deleted file mode 100644 index b25ab06..0000000 --- a/docs/ApiV1PasswordSrp1PostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1PasswordSrp1PostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_public_key** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_password_srp1_post_request import ApiV1PasswordSrp1PostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PasswordSrp1PostRequest from a JSON string -api_v1_password_srp1_post_request_instance = ApiV1PasswordSrp1PostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PasswordSrp1PostRequest.to_json() - -# convert the object into a dict -api_v1_password_srp1_post_request_dict = api_v1_password_srp1_post_request_instance.to_dict() -# create an instance of ApiV1PasswordSrp1PostRequest from a dict -api_v1_password_srp1_post_request_from_dict = ApiV1PasswordSrp1PostRequest.from_dict(api_v1_password_srp1_post_request_dict) -``` -[[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/docs/ApiV1PkiCaCaIdCertificateGet200Response.md b/docs/ApiV1PkiCaCaIdCertificateGet200Response.md deleted file mode 100644 index 420391d..0000000 --- a/docs/ApiV1PkiCaCaIdCertificateGet200Response.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1PkiCaCaIdCertificateGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**certificate** | **str** | The certificate body of the CA | -**certificate_chain** | **str** | The certificate chain of the CA | -**serial_number** | **str** | The serial number of the CA certificate | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_certificate_get200_response import ApiV1PkiCaCaIdCertificateGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdCertificateGet200Response from a JSON string -api_v1_pki_ca_ca_id_certificate_get200_response_instance = ApiV1PkiCaCaIdCertificateGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdCertificateGet200Response.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_certificate_get200_response_dict = api_v1_pki_ca_ca_id_certificate_get200_response_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdCertificateGet200Response from a dict -api_v1_pki_ca_ca_id_certificate_get200_response_from_dict = ApiV1PkiCaCaIdCertificateGet200Response.from_dict(api_v1_pki_ca_ca_id_certificate_get200_response_dict) -``` -[[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/docs/ApiV1PkiCaCaIdCrlGet200Response.md b/docs/ApiV1PkiCaCaIdCrlGet200Response.md deleted file mode 100644 index 6e24a54..0000000 --- a/docs/ApiV1PkiCaCaIdCrlGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1PkiCaCaIdCrlGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**crl** | **str** | The certificate revocation list (CRL) of the CA | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_crl_get200_response import ApiV1PkiCaCaIdCrlGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdCrlGet200Response from a JSON string -api_v1_pki_ca_ca_id_crl_get200_response_instance = ApiV1PkiCaCaIdCrlGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdCrlGet200Response.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_crl_get200_response_dict = api_v1_pki_ca_ca_id_crl_get200_response_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdCrlGet200Response from a dict -api_v1_pki_ca_ca_id_crl_get200_response_from_dict = ApiV1PkiCaCaIdCrlGet200Response.from_dict(api_v1_pki_ca_ca_id_crl_get200_response_dict) -``` -[[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/docs/ApiV1PkiCaCaIdCsrGet200Response.md b/docs/ApiV1PkiCaCaIdCsrGet200Response.md deleted file mode 100644 index a314cfc..0000000 --- a/docs/ApiV1PkiCaCaIdCsrGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1PkiCaCaIdCsrGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**csr** | **str** | The generated CSR from the CA | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_csr_get200_response import ApiV1PkiCaCaIdCsrGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdCsrGet200Response from a JSON string -api_v1_pki_ca_ca_id_csr_get200_response_instance = ApiV1PkiCaCaIdCsrGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdCsrGet200Response.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_csr_get200_response_dict = api_v1_pki_ca_ca_id_csr_get200_response_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdCsrGet200Response from a dict -api_v1_pki_ca_ca_id_csr_get200_response_from_dict = ApiV1PkiCaCaIdCsrGet200Response.from_dict(api_v1_pki_ca_ca_id_csr_get200_response_dict) -``` -[[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/docs/ApiV1PkiCaCaIdImportCertificatePost200Response.md b/docs/ApiV1PkiCaCaIdImportCertificatePost200Response.md deleted file mode 100644 index cfd0ea8..0000000 --- a/docs/ApiV1PkiCaCaIdImportCertificatePost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1PkiCaCaIdImportCertificatePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**ca_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post200_response import ApiV1PkiCaCaIdImportCertificatePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdImportCertificatePost200Response from a JSON string -api_v1_pki_ca_ca_id_import_certificate_post200_response_instance = ApiV1PkiCaCaIdImportCertificatePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdImportCertificatePost200Response.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_import_certificate_post200_response_dict = api_v1_pki_ca_ca_id_import_certificate_post200_response_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdImportCertificatePost200Response from a dict -api_v1_pki_ca_ca_id_import_certificate_post200_response_from_dict = ApiV1PkiCaCaIdImportCertificatePost200Response.from_dict(api_v1_pki_ca_ca_id_import_certificate_post200_response_dict) -``` -[[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/docs/ApiV1PkiCaCaIdImportCertificatePostRequest.md b/docs/ApiV1PkiCaCaIdImportCertificatePostRequest.md deleted file mode 100644 index b16ab3f..0000000 --- a/docs/ApiV1PkiCaCaIdImportCertificatePostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1PkiCaCaIdImportCertificatePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**certificate** | **str** | The certificate body to import | -**certificate_chain** | **str** | The certificate chain to import | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post_request import ApiV1PkiCaCaIdImportCertificatePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdImportCertificatePostRequest from a JSON string -api_v1_pki_ca_ca_id_import_certificate_post_request_instance = ApiV1PkiCaCaIdImportCertificatePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdImportCertificatePostRequest.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_import_certificate_post_request_dict = api_v1_pki_ca_ca_id_import_certificate_post_request_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdImportCertificatePostRequest from a dict -api_v1_pki_ca_ca_id_import_certificate_post_request_from_dict = ApiV1PkiCaCaIdImportCertificatePostRequest.from_dict(api_v1_pki_ca_ca_id_import_certificate_post_request_dict) -``` -[[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/docs/ApiV1PkiCaCaIdIssueCertificatePost200Response.md b/docs/ApiV1PkiCaCaIdIssueCertificatePost200Response.md deleted file mode 100644 index 394f684..0000000 --- a/docs/ApiV1PkiCaCaIdIssueCertificatePost200Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1PkiCaCaIdIssueCertificatePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**certificate** | **str** | The issued certificate | -**issuing_ca_certificate** | **str** | The certificate of the issuing CA | -**certificate_chain** | **str** | The certificate chain of the issued certificate | -**private_key** | **str** | The private key of the issued certificate | -**serial_number** | **str** | The serial number of the issued certificate | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post200_response import ApiV1PkiCaCaIdIssueCertificatePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdIssueCertificatePost200Response from a JSON string -api_v1_pki_ca_ca_id_issue_certificate_post200_response_instance = ApiV1PkiCaCaIdIssueCertificatePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdIssueCertificatePost200Response.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_issue_certificate_post200_response_dict = api_v1_pki_ca_ca_id_issue_certificate_post200_response_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdIssueCertificatePost200Response from a dict -api_v1_pki_ca_ca_id_issue_certificate_post200_response_from_dict = ApiV1PkiCaCaIdIssueCertificatePost200Response.from_dict(api_v1_pki_ca_ca_id_issue_certificate_post200_response_dict) -``` -[[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/docs/ApiV1PkiCaCaIdIssueCertificatePostRequest.md b/docs/ApiV1PkiCaCaIdIssueCertificatePostRequest.md deleted file mode 100644 index 17010ee..0000000 --- a/docs/ApiV1PkiCaCaIdIssueCertificatePostRequest.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1PkiCaCaIdIssueCertificatePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**friendly_name** | **str** | A friendly name for the certificate | [optional] -**common_name** | **str** | The common name (CN) for the certificate | -**alt_names** | **str** | A comma-delimited list of Subject Alternative Names (SANs) for the certificate; these can be host names or email addresses. | [optional] [default to ''] -**ttl** | **str** | The time to live for the certificate such as 1m, 1h, 1d, 1y, ... | -**not_before** | **str** | The date and time when the certificate becomes valid in YYYY-MM-DDTHH:mm:ss.sssZ format | [optional] -**not_after** | **str** | The date and time when the certificate expires in YYYY-MM-DDTHH:mm:ss.sssZ format | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post_request import ApiV1PkiCaCaIdIssueCertificatePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdIssueCertificatePostRequest from a JSON string -api_v1_pki_ca_ca_id_issue_certificate_post_request_instance = ApiV1PkiCaCaIdIssueCertificatePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdIssueCertificatePostRequest.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_issue_certificate_post_request_dict = api_v1_pki_ca_ca_id_issue_certificate_post_request_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdIssueCertificatePostRequest from a dict -api_v1_pki_ca_ca_id_issue_certificate_post_request_from_dict = ApiV1PkiCaCaIdIssueCertificatePostRequest.from_dict(api_v1_pki_ca_ca_id_issue_certificate_post_request_dict) -``` -[[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/docs/ApiV1PkiCaCaIdPatchRequest.md b/docs/ApiV1PkiCaCaIdPatchRequest.md deleted file mode 100644 index c714f9c..0000000 --- a/docs/ApiV1PkiCaCaIdPatchRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1PkiCaCaIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **str** | The status of the CA to update to. This can be one of active or disabled | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_patch_request import ApiV1PkiCaCaIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdPatchRequest from a JSON string -api_v1_pki_ca_ca_id_patch_request_instance = ApiV1PkiCaCaIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_patch_request_dict = api_v1_pki_ca_ca_id_patch_request_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdPatchRequest from a dict -api_v1_pki_ca_ca_id_patch_request_from_dict = ApiV1PkiCaCaIdPatchRequest.from_dict(api_v1_pki_ca_ca_id_patch_request_dict) -``` -[[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/docs/ApiV1PkiCaCaIdSignCertificatePost200Response.md b/docs/ApiV1PkiCaCaIdSignCertificatePost200Response.md deleted file mode 100644 index c4c64b7..0000000 --- a/docs/ApiV1PkiCaCaIdSignCertificatePost200Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1PkiCaCaIdSignCertificatePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**certificate** | **str** | The issued certificate | -**issuing_ca_certificate** | **str** | The certificate of the issuing CA | -**certificate_chain** | **str** | The certificate chain of the issued certificate | -**serial_number** | **str** | The serial number of the issued certificate | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post200_response import ApiV1PkiCaCaIdSignCertificatePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdSignCertificatePost200Response from a JSON string -api_v1_pki_ca_ca_id_sign_certificate_post200_response_instance = ApiV1PkiCaCaIdSignCertificatePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdSignCertificatePost200Response.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_sign_certificate_post200_response_dict = api_v1_pki_ca_ca_id_sign_certificate_post200_response_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdSignCertificatePost200Response from a dict -api_v1_pki_ca_ca_id_sign_certificate_post200_response_from_dict = ApiV1PkiCaCaIdSignCertificatePost200Response.from_dict(api_v1_pki_ca_ca_id_sign_certificate_post200_response_dict) -``` -[[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/docs/ApiV1PkiCaCaIdSignCertificatePostRequest.md b/docs/ApiV1PkiCaCaIdSignCertificatePostRequest.md deleted file mode 100644 index 59bcdc7..0000000 --- a/docs/ApiV1PkiCaCaIdSignCertificatePostRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1PkiCaCaIdSignCertificatePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**csr** | **str** | The pem-encoded CSR to sign with the CA to be used for certificate issuance | -**friendly_name** | **str** | A friendly name for the certificate | [optional] -**common_name** | **str** | The common name (CN) for the certificate | [optional] -**alt_names** | **str** | A comma-delimited list of Subject Alternative Names (SANs) for the certificate; these can be host names or email addresses. | [optional] [default to ''] -**ttl** | **str** | The time to live for the certificate such as 1m, 1h, 1d, 1y, ... | -**not_before** | **str** | The date and time when the certificate becomes valid in YYYY-MM-DDTHH:mm:ss.sssZ format | [optional] -**not_after** | **str** | The date and time when the certificate expires in YYYY-MM-DDTHH:mm:ss.sssZ format | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post_request import ApiV1PkiCaCaIdSignCertificatePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdSignCertificatePostRequest from a JSON string -api_v1_pki_ca_ca_id_sign_certificate_post_request_instance = ApiV1PkiCaCaIdSignCertificatePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdSignCertificatePostRequest.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_sign_certificate_post_request_dict = api_v1_pki_ca_ca_id_sign_certificate_post_request_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdSignCertificatePostRequest from a dict -api_v1_pki_ca_ca_id_sign_certificate_post_request_from_dict = ApiV1PkiCaCaIdSignCertificatePostRequest.from_dict(api_v1_pki_ca_ca_id_sign_certificate_post_request_dict) -``` -[[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/docs/ApiV1PkiCaCaIdSignIntermediatePost200Response.md b/docs/ApiV1PkiCaCaIdSignIntermediatePost200Response.md deleted file mode 100644 index 882cd50..0000000 --- a/docs/ApiV1PkiCaCaIdSignIntermediatePost200Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1PkiCaCaIdSignIntermediatePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**certificate** | **str** | The signed intermediate certificate | -**certificate_chain** | **str** | The certificate chain of the intermediate certificate | -**issuing_ca_certificate** | **str** | The certificate of the issuing CA | -**serial_number** | **str** | The serial number of the intermediate certificate | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post200_response import ApiV1PkiCaCaIdSignIntermediatePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdSignIntermediatePost200Response from a JSON string -api_v1_pki_ca_ca_id_sign_intermediate_post200_response_instance = ApiV1PkiCaCaIdSignIntermediatePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdSignIntermediatePost200Response.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_sign_intermediate_post200_response_dict = api_v1_pki_ca_ca_id_sign_intermediate_post200_response_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdSignIntermediatePost200Response from a dict -api_v1_pki_ca_ca_id_sign_intermediate_post200_response_from_dict = ApiV1PkiCaCaIdSignIntermediatePost200Response.from_dict(api_v1_pki_ca_ca_id_sign_intermediate_post200_response_dict) -``` -[[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/docs/ApiV1PkiCaCaIdSignIntermediatePostRequest.md b/docs/ApiV1PkiCaCaIdSignIntermediatePostRequest.md deleted file mode 100644 index 6924265..0000000 --- a/docs/ApiV1PkiCaCaIdSignIntermediatePostRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1PkiCaCaIdSignIntermediatePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**csr** | **str** | The pem-encoded CSR to sign with the CA | -**not_before** | **str** | The date and time when the intermediate CA becomes valid in YYYY-MM-DDTHH:mm:ss.sssZ format | [optional] -**not_after** | **str** | The date and time when the intermediate CA expires in YYYY-MM-DDTHH:mm:ss.sssZ format | -**max_path_length** | **float** | The maximum number of intermediate CAs that may follow this CA in the certificate / CA chain. A maxPathLength of -1 implies no path limit on the chain. | [optional] [default to -1] - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post_request import ApiV1PkiCaCaIdSignIntermediatePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaCaIdSignIntermediatePostRequest from a JSON string -api_v1_pki_ca_ca_id_sign_intermediate_post_request_instance = ApiV1PkiCaCaIdSignIntermediatePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaCaIdSignIntermediatePostRequest.to_json() - -# convert the object into a dict -api_v1_pki_ca_ca_id_sign_intermediate_post_request_dict = api_v1_pki_ca_ca_id_sign_intermediate_post_request_instance.to_dict() -# create an instance of ApiV1PkiCaCaIdSignIntermediatePostRequest from a dict -api_v1_pki_ca_ca_id_sign_intermediate_post_request_from_dict = ApiV1PkiCaCaIdSignIntermediatePostRequest.from_dict(api_v1_pki_ca_ca_id_sign_intermediate_post_request_dict) -``` -[[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/docs/ApiV1PkiCaPost200Response.md b/docs/ApiV1PkiCaPost200Response.md deleted file mode 100644 index 8256e2b..0000000 --- a/docs/ApiV1PkiCaPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1PkiCaPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ca** | [**ApiV1PkiCaPost200ResponseCa**](ApiV1PkiCaPost200ResponseCa.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_post200_response import ApiV1PkiCaPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaPost200Response from a JSON string -api_v1_pki_ca_post200_response_instance = ApiV1PkiCaPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaPost200Response.to_json() - -# convert the object into a dict -api_v1_pki_ca_post200_response_dict = api_v1_pki_ca_post200_response_instance.to_dict() -# create an instance of ApiV1PkiCaPost200Response from a dict -api_v1_pki_ca_post200_response_from_dict = ApiV1PkiCaPost200Response.from_dict(api_v1_pki_ca_post200_response_dict) -``` -[[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/docs/ApiV1PkiCaPost200ResponseCa.md b/docs/ApiV1PkiCaPost200ResponseCa.md deleted file mode 100644 index 0df6da1..0000000 --- a/docs/ApiV1PkiCaPost200ResponseCa.md +++ /dev/null @@ -1,47 +0,0 @@ -# ApiV1PkiCaPost200ResponseCa - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**parent_ca_id** | **str** | | [optional] -**project_id** | **str** | | -**type** | **str** | | -**status** | **str** | | -**friendly_name** | **str** | | -**organization** | **str** | | -**ou** | **str** | | -**country** | **str** | | -**province** | **str** | | -**locality** | **str** | | -**common_name** | **str** | | -**dn** | **str** | | -**serial_number** | **str** | | [optional] -**max_path_length** | **float** | | [optional] -**key_algorithm** | **str** | | -**not_before** | **datetime** | | [optional] -**not_after** | **datetime** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_post200_response_ca import ApiV1PkiCaPost200ResponseCa - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaPost200ResponseCa from a JSON string -api_v1_pki_ca_post200_response_ca_instance = ApiV1PkiCaPost200ResponseCa.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaPost200ResponseCa.to_json() - -# convert the object into a dict -api_v1_pki_ca_post200_response_ca_dict = api_v1_pki_ca_post200_response_ca_instance.to_dict() -# create an instance of ApiV1PkiCaPost200ResponseCa from a dict -api_v1_pki_ca_post200_response_ca_from_dict = ApiV1PkiCaPost200ResponseCa.from_dict(api_v1_pki_ca_post200_response_ca_dict) -``` -[[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/docs/ApiV1PkiCaPostRequest.md b/docs/ApiV1PkiCaPostRequest.md deleted file mode 100644 index 8e198ad..0000000 --- a/docs/ApiV1PkiCaPostRequest.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1PkiCaPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | Slug of the project to create the CA in. | -**type** | **str** | The type of CA to create | -**friendly_name** | **str** | A friendly name for the CA | [optional] -**common_name** | **str** | The common name (CN) for the CA | -**organization** | **str** | The organization (O) for the CA | -**ou** | **str** | The organization unit (OU) for the CA | -**country** | **str** | The country name (C) for the CA | -**province** | **str** | The state of province name for the CA | -**locality** | **str** | The locality name for the CA | -**not_before** | **str** | The date and time when the CA becomes valid in YYYY-MM-DDTHH:mm:ss.sssZ format | [optional] -**not_after** | **str** | The date and time when the CA expires in YYYY-MM-DDTHH:mm:ss.sssZ format | [optional] -**max_path_length** | **float** | The maximum number of intermediate CAs that may follow this CA in the certificate / CA chain. A maxPathLength of -1 implies no path limit on the chain. | [optional] [default to -1] -**key_algorithm** | **str** | The type of public key algorithm and size, in bits, of the key pair for the CA; when you create an intermediate CA, you must use a key algorithm supported by the parent CA. | [optional] [default to 'RSA_2048'] - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_ca_post_request import ApiV1PkiCaPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCaPostRequest from a JSON string -api_v1_pki_ca_post_request_instance = ApiV1PkiCaPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCaPostRequest.to_json() - -# convert the object into a dict -api_v1_pki_ca_post_request_dict = api_v1_pki_ca_post_request_instance.to_dict() -# create an instance of ApiV1PkiCaPostRequest from a dict -api_v1_pki_ca_post_request_from_dict = ApiV1PkiCaPostRequest.from_dict(api_v1_pki_ca_post_request_dict) -``` -[[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/docs/ApiV1PkiCertificatesSerialNumberCertificateGet200Response.md b/docs/ApiV1PkiCertificatesSerialNumberCertificateGet200Response.md deleted file mode 100644 index 5260759..0000000 --- a/docs/ApiV1PkiCertificatesSerialNumberCertificateGet200Response.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1PkiCertificatesSerialNumberCertificateGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**certificate** | **str** | The certificate body of the certificate | -**certificate_chain** | **str** | The certificate chain of the certificate | -**serial_number** | **str** | The serial number of the certificate | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_certificate_get200_response import ApiV1PkiCertificatesSerialNumberCertificateGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCertificatesSerialNumberCertificateGet200Response from a JSON string -api_v1_pki_certificates_serial_number_certificate_get200_response_instance = ApiV1PkiCertificatesSerialNumberCertificateGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCertificatesSerialNumberCertificateGet200Response.to_json() - -# convert the object into a dict -api_v1_pki_certificates_serial_number_certificate_get200_response_dict = api_v1_pki_certificates_serial_number_certificate_get200_response_instance.to_dict() -# create an instance of ApiV1PkiCertificatesSerialNumberCertificateGet200Response from a dict -api_v1_pki_certificates_serial_number_certificate_get200_response_from_dict = ApiV1PkiCertificatesSerialNumberCertificateGet200Response.from_dict(api_v1_pki_certificates_serial_number_certificate_get200_response_dict) -``` -[[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/docs/ApiV1PkiCertificatesSerialNumberGet200Response.md b/docs/ApiV1PkiCertificatesSerialNumberGet200Response.md deleted file mode 100644 index 50932da..0000000 --- a/docs/ApiV1PkiCertificatesSerialNumberGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1PkiCertificatesSerialNumberGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**certificate** | [**ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate**](ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response import ApiV1PkiCertificatesSerialNumberGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCertificatesSerialNumberGet200Response from a JSON string -api_v1_pki_certificates_serial_number_get200_response_instance = ApiV1PkiCertificatesSerialNumberGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCertificatesSerialNumberGet200Response.to_json() - -# convert the object into a dict -api_v1_pki_certificates_serial_number_get200_response_dict = api_v1_pki_certificates_serial_number_get200_response_instance.to_dict() -# create an instance of ApiV1PkiCertificatesSerialNumberGet200Response from a dict -api_v1_pki_certificates_serial_number_get200_response_from_dict = ApiV1PkiCertificatesSerialNumberGet200Response.from_dict(api_v1_pki_certificates_serial_number_get200_response_dict) -``` -[[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/docs/ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.md b/docs/ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.md deleted file mode 100644 index 7d59cdf..0000000 --- a/docs/ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**ca_id** | **str** | | -**status** | **str** | | -**serial_number** | **str** | | -**friendly_name** | **str** | | -**common_name** | **str** | | -**not_before** | **datetime** | | -**not_after** | **datetime** | | -**revoked_at** | **datetime** | | [optional] -**revocation_reason** | **float** | | [optional] -**alt_names** | **str** | | [optional] [default to ''] - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response_certificate import ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate from a JSON string -api_v1_pki_certificates_serial_number_get200_response_certificate_instance = ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.to_json() - -# convert the object into a dict -api_v1_pki_certificates_serial_number_get200_response_certificate_dict = api_v1_pki_certificates_serial_number_get200_response_certificate_instance.to_dict() -# create an instance of ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate from a dict -api_v1_pki_certificates_serial_number_get200_response_certificate_from_dict = ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.from_dict(api_v1_pki_certificates_serial_number_get200_response_certificate_dict) -``` -[[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/docs/ApiV1PkiCertificatesSerialNumberRevokePost200Response.md b/docs/ApiV1PkiCertificatesSerialNumberRevokePost200Response.md deleted file mode 100644 index ff2bbf5..0000000 --- a/docs/ApiV1PkiCertificatesSerialNumberRevokePost200Response.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1PkiCertificatesSerialNumberRevokePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**serial_number** | **str** | The serial number of the revoked certificate. | -**revoked_at** | **datetime** | The date and time when the certificate was revoked | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post200_response import ApiV1PkiCertificatesSerialNumberRevokePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCertificatesSerialNumberRevokePost200Response from a JSON string -api_v1_pki_certificates_serial_number_revoke_post200_response_instance = ApiV1PkiCertificatesSerialNumberRevokePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCertificatesSerialNumberRevokePost200Response.to_json() - -# convert the object into a dict -api_v1_pki_certificates_serial_number_revoke_post200_response_dict = api_v1_pki_certificates_serial_number_revoke_post200_response_instance.to_dict() -# create an instance of ApiV1PkiCertificatesSerialNumberRevokePost200Response from a dict -api_v1_pki_certificates_serial_number_revoke_post200_response_from_dict = ApiV1PkiCertificatesSerialNumberRevokePost200Response.from_dict(api_v1_pki_certificates_serial_number_revoke_post200_response_dict) -``` -[[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/docs/ApiV1PkiCertificatesSerialNumberRevokePostRequest.md b/docs/ApiV1PkiCertificatesSerialNumberRevokePostRequest.md deleted file mode 100644 index b7de047..0000000 --- a/docs/ApiV1PkiCertificatesSerialNumberRevokePostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1PkiCertificatesSerialNumberRevokePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**revocation_reason** | **str** | The reason for revoking the certificate. | - -## Example - -```python -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post_request import ApiV1PkiCertificatesSerialNumberRevokePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1PkiCertificatesSerialNumberRevokePostRequest from a JSON string -api_v1_pki_certificates_serial_number_revoke_post_request_instance = ApiV1PkiCertificatesSerialNumberRevokePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1PkiCertificatesSerialNumberRevokePostRequest.to_json() - -# convert the object into a dict -api_v1_pki_certificates_serial_number_revoke_post_request_dict = api_v1_pki_certificates_serial_number_revoke_post_request_instance.to_dict() -# create an instance of ApiV1PkiCertificatesSerialNumberRevokePostRequest from a dict -api_v1_pki_certificates_serial_number_revoke_post_request_from_dict = ApiV1PkiCertificatesSerialNumberRevokePostRequest.from_dict(api_v1_pki_certificates_serial_number_revoke_post_request_dict) -``` -[[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/docs/ApiV1RateLimitGet200Response.md b/docs/ApiV1RateLimitGet200Response.md deleted file mode 100644 index 1fa531e..0000000 --- a/docs/ApiV1RateLimitGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1RateLimitGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**rate_limit** | [**ApiV1RateLimitGet200ResponseRateLimit**](ApiV1RateLimitGet200ResponseRateLimit.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_rate_limit_get200_response import ApiV1RateLimitGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1RateLimitGet200Response from a JSON string -api_v1_rate_limit_get200_response_instance = ApiV1RateLimitGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1RateLimitGet200Response.to_json() - -# convert the object into a dict -api_v1_rate_limit_get200_response_dict = api_v1_rate_limit_get200_response_instance.to_dict() -# create an instance of ApiV1RateLimitGet200Response from a dict -api_v1_rate_limit_get200_response_from_dict = ApiV1RateLimitGet200Response.from_dict(api_v1_rate_limit_get200_response_dict) -``` -[[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/docs/ApiV1RateLimitGet200ResponseRateLimit.md b/docs/ApiV1RateLimitGet200ResponseRateLimit.md deleted file mode 100644 index 2ce2765..0000000 --- a/docs/ApiV1RateLimitGet200ResponseRateLimit.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1RateLimitGet200ResponseRateLimit - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**read_rate_limit** | **float** | | [optional] [default to 600] -**write_rate_limit** | **float** | | [optional] [default to 200] -**secrets_rate_limit** | **float** | | [optional] [default to 60] -**auth_rate_limit** | **float** | | [optional] [default to 60] -**invite_user_rate_limit** | **float** | | [optional] [default to 30] -**mfa_rate_limit** | **float** | | [optional] [default to 20] -**public_endpoint_limit** | **float** | | [optional] [default to 30] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_rate_limit_get200_response_rate_limit import ApiV1RateLimitGet200ResponseRateLimit - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1RateLimitGet200ResponseRateLimit from a JSON string -api_v1_rate_limit_get200_response_rate_limit_instance = ApiV1RateLimitGet200ResponseRateLimit.from_json(json) -# print the JSON string representation of the object -print ApiV1RateLimitGet200ResponseRateLimit.to_json() - -# convert the object into a dict -api_v1_rate_limit_get200_response_rate_limit_dict = api_v1_rate_limit_get200_response_rate_limit_instance.to_dict() -# create an instance of ApiV1RateLimitGet200ResponseRateLimit from a dict -api_v1_rate_limit_get200_response_rate_limit_from_dict = ApiV1RateLimitGet200ResponseRateLimit.from_dict(api_v1_rate_limit_get200_response_rate_limit_dict) -``` -[[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/docs/ApiV1RateLimitPutRequest.md b/docs/ApiV1RateLimitPutRequest.md deleted file mode 100644 index 42c1535..0000000 --- a/docs/ApiV1RateLimitPutRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1RateLimitPutRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**read_rate_limit** | **float** | | -**write_rate_limit** | **float** | | -**secrets_rate_limit** | **float** | | -**auth_rate_limit** | **float** | | -**invite_user_rate_limit** | **float** | | -**mfa_rate_limit** | **float** | | -**public_endpoint_limit** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_rate_limit_put_request import ApiV1RateLimitPutRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1RateLimitPutRequest from a JSON string -api_v1_rate_limit_put_request_instance = ApiV1RateLimitPutRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1RateLimitPutRequest.to_json() - -# convert the object into a dict -api_v1_rate_limit_put_request_dict = api_v1_rate_limit_put_request_instance.to_dict() -# create an instance of ApiV1RateLimitPutRequest from a dict -api_v1_rate_limit_put_request_from_dict = ApiV1RateLimitPutRequest.from_dict(api_v1_rate_limit_put_request_dict) -``` -[[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/docs/ApiV1ScimGroupsGet200Response.md b/docs/ApiV1ScimGroupsGet200Response.md deleted file mode 100644 index 6dd5d39..0000000 --- a/docs/ApiV1ScimGroupsGet200Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1ScimGroupsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**resources** | [**List[ApiV1ScimGroupsGet200ResponseResourcesInner]**](ApiV1ScimGroupsGet200ResponseResourcesInner.md) | | -**items_per_page** | **float** | | -**schemas** | **List[str]** | | -**start_index** | **float** | | -**total_results** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_get200_response import ApiV1ScimGroupsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGet200Response from a JSON string -api_v1_scim_groups_get200_response_instance = ApiV1ScimGroupsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGet200Response.to_json() - -# convert the object into a dict -api_v1_scim_groups_get200_response_dict = api_v1_scim_groups_get200_response_instance.to_dict() -# create an instance of ApiV1ScimGroupsGet200Response from a dict -api_v1_scim_groups_get200_response_from_dict = ApiV1ScimGroupsGet200Response.from_dict(api_v1_scim_groups_get200_response_dict) -``` -[[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/docs/ApiV1ScimGroupsGet200ResponseResourcesInner.md b/docs/ApiV1ScimGroupsGet200ResponseResourcesInner.md deleted file mode 100644 index d5cb987..0000000 --- a/docs/ApiV1ScimGroupsGet200ResponseResourcesInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1ScimGroupsGet200ResponseResourcesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**schemas** | **List[str]** | | -**id** | **str** | | -**display_name** | **str** | | -**members** | [**List[ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner]**](ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md) | | -**meta** | [**ApiV1ScimGroupsGet200ResponseResourcesInnerMeta**](ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner import ApiV1ScimGroupsGet200ResponseResourcesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGet200ResponseResourcesInner from a JSON string -api_v1_scim_groups_get200_response_resources_inner_instance = ApiV1ScimGroupsGet200ResponseResourcesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGet200ResponseResourcesInner.to_json() - -# convert the object into a dict -api_v1_scim_groups_get200_response_resources_inner_dict = api_v1_scim_groups_get200_response_resources_inner_instance.to_dict() -# create an instance of ApiV1ScimGroupsGet200ResponseResourcesInner from a dict -api_v1_scim_groups_get200_response_resources_inner_from_dict = ApiV1ScimGroupsGet200ResponseResourcesInner.from_dict(api_v1_scim_groups_get200_response_resources_inner_dict) -``` -[[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/docs/ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.md b/docs/ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.md deleted file mode 100644 index 5825488..0000000 --- a/docs/ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1ScimGroupsGet200ResponseResourcesInnerMeta - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**resource_type** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner_meta import ApiV1ScimGroupsGet200ResponseResourcesInnerMeta - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGet200ResponseResourcesInnerMeta from a JSON string -api_v1_scim_groups_get200_response_resources_inner_meta_instance = ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.to_json() - -# convert the object into a dict -api_v1_scim_groups_get200_response_resources_inner_meta_dict = api_v1_scim_groups_get200_response_resources_inner_meta_instance.to_dict() -# create an instance of ApiV1ScimGroupsGet200ResponseResourcesInnerMeta from a dict -api_v1_scim_groups_get200_response_resources_inner_meta_from_dict = ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.from_dict(api_v1_scim_groups_get200_response_resources_inner_meta_dict) -``` -[[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/docs/ApiV1ScimGroupsGroupIdPatchRequest.md b/docs/ApiV1ScimGroupsGroupIdPatchRequest.md deleted file mode 100644 index 6e37fb1..0000000 --- a/docs/ApiV1ScimGroupsGroupIdPatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ScimGroupsGroupIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**schemas** | **List[str]** | | -**operations** | [**List[ApiV1ScimGroupsGroupIdPatchRequestOperationsInner]**](ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request import ApiV1ScimGroupsGroupIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGroupIdPatchRequest from a JSON string -api_v1_scim_groups_group_id_patch_request_instance = ApiV1ScimGroupsGroupIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGroupIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_scim_groups_group_id_patch_request_dict = api_v1_scim_groups_group_id_patch_request_instance.to_dict() -# create an instance of ApiV1ScimGroupsGroupIdPatchRequest from a dict -api_v1_scim_groups_group_id_patch_request_from_dict = ApiV1ScimGroupsGroupIdPatchRequest.from_dict(api_v1_scim_groups_group_id_patch_request_dict) -``` -[[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/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.md b/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.md deleted file mode 100644 index 5f1a6c1..0000000 --- a/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ScimGroupsGroupIdPatchRequestOperationsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**op** | **str** | | -**value** | [**List[ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner]**](ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.md) | | -**path** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner import ApiV1ScimGroupsGroupIdPatchRequestOperationsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInner from a JSON string -api_v1_scim_groups_group_id_patch_request_operations_inner_instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.to_json() - -# convert the object into a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_dict = api_v1_scim_groups_group_id_patch_request_operations_inner_instance.to_dict() -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInner from a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_from_dict = ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.from_dict(api_v1_scim_groups_group_id_patch_request_operations_inner_dict) -``` -[[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/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.md b/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.md deleted file mode 100644 index 7540e45..0000000 --- a/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**op** | **str** | | -**value** | [**ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue**](ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf from a JSON string -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.to_json() - -# convert the object into a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_dict = api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_instance.to_dict() -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf from a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_from_dict = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.from_dict(api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_dict) -``` -[[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/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.md b/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.md deleted file mode 100644 index be3f9d2..0000000 --- a/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**op** | **str** | | -**path** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1 import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 from a JSON string -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1_instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.to_json() - -# convert the object into a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1_dict = api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1_instance.to_dict() -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 from a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1_from_dict = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.from_dict(api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1_dict) -``` -[[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/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.md b/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.md deleted file mode 100644 index 131f6f9..0000000 --- a/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**op** | **str** | | -**path** | **str** | | -**value** | [**List[ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner]**](ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2 import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 from a JSON string -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.to_json() - -# convert the object into a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_dict = api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_instance.to_dict() -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 from a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_from_dict = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.from_dict(api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_dict) -``` -[[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/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.md b/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.md deleted file mode 100644 index a9e3778..0000000 --- a/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | -**display** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner from a JSON string -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner_instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.to_json() - -# convert the object into a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner_dict = api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner_instance.to_dict() -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner from a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner_from_dict = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.from_dict(api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner_dict) -``` -[[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/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.md b/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.md deleted file mode 100644 index d4c7c22..0000000 --- a/docs/ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**display_name** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue from a JSON string -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value_instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.to_json() - -# convert the object into a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value_dict = api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value_instance.to_dict() -# create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue from a dict -api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value_from_dict = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.from_dict(api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value_dict) -``` -[[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/docs/ApiV1ScimGroupsGroupIdPutRequest.md b/docs/ApiV1ScimGroupsGroupIdPutRequest.md deleted file mode 100644 index e1a28ca..0000000 --- a/docs/ApiV1ScimGroupsGroupIdPutRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1ScimGroupsGroupIdPutRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**schemas** | **List[str]** | | -**id** | **str** | | -**display_name** | **str** | | -**members** | [**List[ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner]**](ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_group_id_put_request import ApiV1ScimGroupsGroupIdPutRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsGroupIdPutRequest from a JSON string -api_v1_scim_groups_group_id_put_request_instance = ApiV1ScimGroupsGroupIdPutRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsGroupIdPutRequest.to_json() - -# convert the object into a dict -api_v1_scim_groups_group_id_put_request_dict = api_v1_scim_groups_group_id_put_request_instance.to_dict() -# create an instance of ApiV1ScimGroupsGroupIdPutRequest from a dict -api_v1_scim_groups_group_id_put_request_from_dict = ApiV1ScimGroupsGroupIdPutRequest.from_dict(api_v1_scim_groups_group_id_put_request_dict) -``` -[[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/docs/ApiV1ScimGroupsPost200Response.md b/docs/ApiV1ScimGroupsPost200Response.md deleted file mode 100644 index 2b1764f..0000000 --- a/docs/ApiV1ScimGroupsPost200Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1ScimGroupsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**schemas** | **List[str]** | | -**id** | **str** | | -**display_name** | **str** | | -**members** | [**List[ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner]**](ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md) | | [optional] -**meta** | [**ApiV1ScimGroupsGet200ResponseResourcesInnerMeta**](ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_post200_response import ApiV1ScimGroupsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsPost200Response from a JSON string -api_v1_scim_groups_post200_response_instance = ApiV1ScimGroupsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsPost200Response.to_json() - -# convert the object into a dict -api_v1_scim_groups_post200_response_dict = api_v1_scim_groups_post200_response_instance.to_dict() -# create an instance of ApiV1ScimGroupsPost200Response from a dict -api_v1_scim_groups_post200_response_from_dict = ApiV1ScimGroupsPost200Response.from_dict(api_v1_scim_groups_post200_response_dict) -``` -[[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/docs/ApiV1ScimGroupsPostRequest.md b/docs/ApiV1ScimGroupsPostRequest.md deleted file mode 100644 index 988df60..0000000 --- a/docs/ApiV1ScimGroupsPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ScimGroupsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**schemas** | **List[str]** | | -**display_name** | **str** | | -**members** | [**List[ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner]**](ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_groups_post_request import ApiV1ScimGroupsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimGroupsPostRequest from a JSON string -api_v1_scim_groups_post_request_instance = ApiV1ScimGroupsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimGroupsPostRequest.to_json() - -# convert the object into a dict -api_v1_scim_groups_post_request_dict = api_v1_scim_groups_post_request_instance.to_dict() -# create an instance of ApiV1ScimGroupsPostRequest from a dict -api_v1_scim_groups_post_request_from_dict = ApiV1ScimGroupsPostRequest.from_dict(api_v1_scim_groups_post_request_dict) -``` -[[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/docs/ApiV1ScimScimTokensGet200Response.md b/docs/ApiV1ScimScimTokensGet200Response.md deleted file mode 100644 index 9fba301..0000000 --- a/docs/ApiV1ScimScimTokensGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1ScimScimTokensGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**scim_tokens** | [**List[ApiV1ScimScimTokensGet200ResponseScimTokensInner]**](ApiV1ScimScimTokensGet200ResponseScimTokensInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response import ApiV1ScimScimTokensGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimScimTokensGet200Response from a JSON string -api_v1_scim_scim_tokens_get200_response_instance = ApiV1ScimScimTokensGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimScimTokensGet200Response.to_json() - -# convert the object into a dict -api_v1_scim_scim_tokens_get200_response_dict = api_v1_scim_scim_tokens_get200_response_instance.to_dict() -# create an instance of ApiV1ScimScimTokensGet200Response from a dict -api_v1_scim_scim_tokens_get200_response_from_dict = ApiV1ScimScimTokensGet200Response.from_dict(api_v1_scim_scim_tokens_get200_response_dict) -``` -[[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/docs/ApiV1ScimScimTokensGet200ResponseScimTokensInner.md b/docs/ApiV1ScimScimTokensGet200ResponseScimTokensInner.md deleted file mode 100644 index c45d107..0000000 --- a/docs/ApiV1ScimScimTokensGet200ResponseScimTokensInner.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1ScimScimTokensGet200ResponseScimTokensInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**ttl_days** | **float** | | [optional] [default to 365] -**description** | **str** | | -**org_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response_scim_tokens_inner import ApiV1ScimScimTokensGet200ResponseScimTokensInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimScimTokensGet200ResponseScimTokensInner from a JSON string -api_v1_scim_scim_tokens_get200_response_scim_tokens_inner_instance = ApiV1ScimScimTokensGet200ResponseScimTokensInner.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimScimTokensGet200ResponseScimTokensInner.to_json() - -# convert the object into a dict -api_v1_scim_scim_tokens_get200_response_scim_tokens_inner_dict = api_v1_scim_scim_tokens_get200_response_scim_tokens_inner_instance.to_dict() -# create an instance of ApiV1ScimScimTokensGet200ResponseScimTokensInner from a dict -api_v1_scim_scim_tokens_get200_response_scim_tokens_inner_from_dict = ApiV1ScimScimTokensGet200ResponseScimTokensInner.from_dict(api_v1_scim_scim_tokens_get200_response_scim_tokens_inner_dict) -``` -[[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/docs/ApiV1ScimScimTokensPost200Response.md b/docs/ApiV1ScimScimTokensPost200Response.md deleted file mode 100644 index 7286bc2..0000000 --- a/docs/ApiV1ScimScimTokensPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1ScimScimTokensPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**scim_token** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_scim_tokens_post200_response import ApiV1ScimScimTokensPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimScimTokensPost200Response from a JSON string -api_v1_scim_scim_tokens_post200_response_instance = ApiV1ScimScimTokensPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimScimTokensPost200Response.to_json() - -# convert the object into a dict -api_v1_scim_scim_tokens_post200_response_dict = api_v1_scim_scim_tokens_post200_response_instance.to_dict() -# create an instance of ApiV1ScimScimTokensPost200Response from a dict -api_v1_scim_scim_tokens_post200_response_from_dict = ApiV1ScimScimTokensPost200Response.from_dict(api_v1_scim_scim_tokens_post200_response_dict) -``` -[[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/docs/ApiV1ScimScimTokensPostRequest.md b/docs/ApiV1ScimScimTokensPostRequest.md deleted file mode 100644 index f749fec..0000000 --- a/docs/ApiV1ScimScimTokensPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ScimScimTokensPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_id** | **str** | | -**description** | **str** | | [optional] [default to ''] -**ttl_days** | **float** | | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_scim_tokens_post_request import ApiV1ScimScimTokensPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimScimTokensPostRequest from a JSON string -api_v1_scim_scim_tokens_post_request_instance = ApiV1ScimScimTokensPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimScimTokensPostRequest.to_json() - -# convert the object into a dict -api_v1_scim_scim_tokens_post_request_dict = api_v1_scim_scim_tokens_post_request_instance.to_dict() -# create an instance of ApiV1ScimScimTokensPostRequest from a dict -api_v1_scim_scim_tokens_post_request_from_dict = ApiV1ScimScimTokensPostRequest.from_dict(api_v1_scim_scim_tokens_post_request_dict) -``` -[[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/docs/ApiV1ScimScimTokensScimTokenIdDelete200Response.md b/docs/ApiV1ScimScimTokensScimTokenIdDelete200Response.md deleted file mode 100644 index 1fa21ba..0000000 --- a/docs/ApiV1ScimScimTokensScimTokenIdDelete200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1ScimScimTokensScimTokenIdDelete200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**scim_token** | [**ApiV1ScimScimTokensGet200ResponseScimTokensInner**](ApiV1ScimScimTokensGet200ResponseScimTokensInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_scim_tokens_scim_token_id_delete200_response import ApiV1ScimScimTokensScimTokenIdDelete200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimScimTokensScimTokenIdDelete200Response from a JSON string -api_v1_scim_scim_tokens_scim_token_id_delete200_response_instance = ApiV1ScimScimTokensScimTokenIdDelete200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimScimTokensScimTokenIdDelete200Response.to_json() - -# convert the object into a dict -api_v1_scim_scim_tokens_scim_token_id_delete200_response_dict = api_v1_scim_scim_tokens_scim_token_id_delete200_response_instance.to_dict() -# create an instance of ApiV1ScimScimTokensScimTokenIdDelete200Response from a dict -api_v1_scim_scim_tokens_scim_token_id_delete200_response_from_dict = ApiV1ScimScimTokensScimTokenIdDelete200Response.from_dict(api_v1_scim_scim_tokens_scim_token_id_delete200_response_dict) -``` -[[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/docs/ApiV1ScimUsersGet200Response.md b/docs/ApiV1ScimUsersGet200Response.md deleted file mode 100644 index dfea0b5..0000000 --- a/docs/ApiV1ScimUsersGet200Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1ScimUsersGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**resources** | [**List[ApiV1ScimUsersGet200ResponseResourcesInner]**](ApiV1ScimUsersGet200ResponseResourcesInner.md) | | -**items_per_page** | **float** | | -**schemas** | **List[str]** | | -**start_index** | **float** | | -**total_results** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_get200_response import ApiV1ScimUsersGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersGet200Response from a JSON string -api_v1_scim_users_get200_response_instance = ApiV1ScimUsersGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersGet200Response.to_json() - -# convert the object into a dict -api_v1_scim_users_get200_response_dict = api_v1_scim_users_get200_response_instance.to_dict() -# create an instance of ApiV1ScimUsersGet200Response from a dict -api_v1_scim_users_get200_response_from_dict = ApiV1ScimUsersGet200Response.from_dict(api_v1_scim_users_get200_response_dict) -``` -[[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/docs/ApiV1ScimUsersGet200ResponseResourcesInner.md b/docs/ApiV1ScimUsersGet200ResponseResourcesInner.md deleted file mode 100644 index 541fc2a..0000000 --- a/docs/ApiV1ScimUsersGet200ResponseResourcesInner.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1ScimUsersGet200ResponseResourcesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**user_name** | **str** | | -**name** | [**ApiV1ScimUsersGet200ResponseResourcesInnerName**](ApiV1ScimUsersGet200ResponseResourcesInnerName.md) | | -**emails** | [**List[ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner]**](ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.md) | | -**display_name** | **str** | | -**active** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner import ApiV1ScimUsersGet200ResponseResourcesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersGet200ResponseResourcesInner from a JSON string -api_v1_scim_users_get200_response_resources_inner_instance = ApiV1ScimUsersGet200ResponseResourcesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersGet200ResponseResourcesInner.to_json() - -# convert the object into a dict -api_v1_scim_users_get200_response_resources_inner_dict = api_v1_scim_users_get200_response_resources_inner_instance.to_dict() -# create an instance of ApiV1ScimUsersGet200ResponseResourcesInner from a dict -api_v1_scim_users_get200_response_resources_inner_from_dict = ApiV1ScimUsersGet200ResponseResourcesInner.from_dict(api_v1_scim_users_get200_response_resources_inner_dict) -``` -[[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/docs/ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.md b/docs/ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.md deleted file mode 100644 index 13b2e82..0000000 --- a/docs/ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**primary** | **bool** | | -**value** | **str** | | -**type** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_emails_inner import ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner from a JSON string -api_v1_scim_users_get200_response_resources_inner_emails_inner_instance = ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.to_json() - -# convert the object into a dict -api_v1_scim_users_get200_response_resources_inner_emails_inner_dict = api_v1_scim_users_get200_response_resources_inner_emails_inner_instance.to_dict() -# create an instance of ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner from a dict -api_v1_scim_users_get200_response_resources_inner_emails_inner_from_dict = ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.from_dict(api_v1_scim_users_get200_response_resources_inner_emails_inner_dict) -``` -[[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/docs/ApiV1ScimUsersGet200ResponseResourcesInnerName.md b/docs/ApiV1ScimUsersGet200ResponseResourcesInnerName.md deleted file mode 100644 index ffee828..0000000 --- a/docs/ApiV1ScimUsersGet200ResponseResourcesInnerName.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ScimUsersGet200ResponseResourcesInnerName - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**family_name** | **str** | | -**given_name** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_name import ApiV1ScimUsersGet200ResponseResourcesInnerName - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersGet200ResponseResourcesInnerName from a JSON string -api_v1_scim_users_get200_response_resources_inner_name_instance = ApiV1ScimUsersGet200ResponseResourcesInnerName.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersGet200ResponseResourcesInnerName.to_json() - -# convert the object into a dict -api_v1_scim_users_get200_response_resources_inner_name_dict = api_v1_scim_users_get200_response_resources_inner_name_instance.to_dict() -# create an instance of ApiV1ScimUsersGet200ResponseResourcesInnerName from a dict -api_v1_scim_users_get200_response_resources_inner_name_from_dict = ApiV1ScimUsersGet200ResponseResourcesInnerName.from_dict(api_v1_scim_users_get200_response_resources_inner_name_dict) -``` -[[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/docs/ApiV1ScimUsersOrgMembershipIdGet201Response.md b/docs/ApiV1ScimUsersOrgMembershipIdGet201Response.md deleted file mode 100644 index a87d0dd..0000000 --- a/docs/ApiV1ScimUsersOrgMembershipIdGet201Response.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1ScimUsersOrgMembershipIdGet201Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**schemas** | **List[str]** | | -**id** | **str** | | -**user_name** | **str** | | -**name** | [**ApiV1ScimUsersGet200ResponseResourcesInnerName**](ApiV1ScimUsersGet200ResponseResourcesInnerName.md) | | -**emails** | [**List[ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner]**](ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.md) | | -**display_name** | **str** | | -**active** | **bool** | | -**groups** | [**List[ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner]**](ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response import ApiV1ScimUsersOrgMembershipIdGet201Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersOrgMembershipIdGet201Response from a JSON string -api_v1_scim_users_org_membership_id_get201_response_instance = ApiV1ScimUsersOrgMembershipIdGet201Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersOrgMembershipIdGet201Response.to_json() - -# convert the object into a dict -api_v1_scim_users_org_membership_id_get201_response_dict = api_v1_scim_users_org_membership_id_get201_response_instance.to_dict() -# create an instance of ApiV1ScimUsersOrgMembershipIdGet201Response from a dict -api_v1_scim_users_org_membership_id_get201_response_from_dict = ApiV1ScimUsersOrgMembershipIdGet201Response.from_dict(api_v1_scim_users_org_membership_id_get201_response_dict) -``` -[[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/docs/ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md b/docs/ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md deleted file mode 100644 index 2b5d529..0000000 --- a/docs/ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | -**display** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response_groups_inner import ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner from a JSON string -api_v1_scim_users_org_membership_id_get201_response_groups_inner_instance = ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.to_json() - -# convert the object into a dict -api_v1_scim_users_org_membership_id_get201_response_groups_inner_dict = api_v1_scim_users_org_membership_id_get201_response_groups_inner_instance.to_dict() -# create an instance of ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner from a dict -api_v1_scim_users_org_membership_id_get201_response_groups_inner_from_dict = ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.from_dict(api_v1_scim_users_org_membership_id_get201_response_groups_inner_dict) -``` -[[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/docs/ApiV1ScimUsersOrgMembershipIdPut200Response.md b/docs/ApiV1ScimUsersOrgMembershipIdPut200Response.md deleted file mode 100644 index 9f68bf8..0000000 --- a/docs/ApiV1ScimUsersOrgMembershipIdPut200Response.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1ScimUsersOrgMembershipIdPut200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**schemas** | **List[str]** | | -**id** | **str** | | -**user_name** | **str** | | -**name** | [**ApiV1ScimUsersGet200ResponseResourcesInnerName**](ApiV1ScimUsersGet200ResponseResourcesInnerName.md) | | -**emails** | [**List[ApiV1ScimUsersPostRequestEmailsInner]**](ApiV1ScimUsersPostRequestEmailsInner.md) | | -**display_name** | **str** | | -**active** | **bool** | | -**groups** | [**List[ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner]**](ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put200_response import ApiV1ScimUsersOrgMembershipIdPut200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersOrgMembershipIdPut200Response from a JSON string -api_v1_scim_users_org_membership_id_put200_response_instance = ApiV1ScimUsersOrgMembershipIdPut200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersOrgMembershipIdPut200Response.to_json() - -# convert the object into a dict -api_v1_scim_users_org_membership_id_put200_response_dict = api_v1_scim_users_org_membership_id_put200_response_instance.to_dict() -# create an instance of ApiV1ScimUsersOrgMembershipIdPut200Response from a dict -api_v1_scim_users_org_membership_id_put200_response_from_dict = ApiV1ScimUsersOrgMembershipIdPut200Response.from_dict(api_v1_scim_users_org_membership_id_put200_response_dict) -``` -[[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/docs/ApiV1ScimUsersOrgMembershipIdPutRequest.md b/docs/ApiV1ScimUsersOrgMembershipIdPutRequest.md deleted file mode 100644 index 623b66a..0000000 --- a/docs/ApiV1ScimUsersOrgMembershipIdPutRequest.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1ScimUsersOrgMembershipIdPutRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**schemas** | **List[str]** | | -**id** | **str** | | -**user_name** | **str** | | -**name** | [**ApiV1ScimUsersGet200ResponseResourcesInnerName**](ApiV1ScimUsersGet200ResponseResourcesInnerName.md) | | -**display_name** | **str** | | -**active** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put_request import ApiV1ScimUsersOrgMembershipIdPutRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersOrgMembershipIdPutRequest from a JSON string -api_v1_scim_users_org_membership_id_put_request_instance = ApiV1ScimUsersOrgMembershipIdPutRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersOrgMembershipIdPutRequest.to_json() - -# convert the object into a dict -api_v1_scim_users_org_membership_id_put_request_dict = api_v1_scim_users_org_membership_id_put_request_instance.to_dict() -# create an instance of ApiV1ScimUsersOrgMembershipIdPutRequest from a dict -api_v1_scim_users_org_membership_id_put_request_from_dict = ApiV1ScimUsersOrgMembershipIdPutRequest.from_dict(api_v1_scim_users_org_membership_id_put_request_dict) -``` -[[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/docs/ApiV1ScimUsersPost200Response.md b/docs/ApiV1ScimUsersPost200Response.md deleted file mode 100644 index f100a73..0000000 --- a/docs/ApiV1ScimUsersPost200Response.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1ScimUsersPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**schemas** | **List[str]** | | -**id** | **str** | | -**user_name** | **str** | | -**name** | [**ApiV1ScimUsersGet200ResponseResourcesInnerName**](ApiV1ScimUsersGet200ResponseResourcesInnerName.md) | | -**emails** | [**List[ApiV1ScimUsersPostRequestEmailsInner]**](ApiV1ScimUsersPostRequestEmailsInner.md) | | -**display_name** | **str** | | -**active** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_post200_response import ApiV1ScimUsersPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersPost200Response from a JSON string -api_v1_scim_users_post200_response_instance = ApiV1ScimUsersPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersPost200Response.to_json() - -# convert the object into a dict -api_v1_scim_users_post200_response_dict = api_v1_scim_users_post200_response_instance.to_dict() -# create an instance of ApiV1ScimUsersPost200Response from a dict -api_v1_scim_users_post200_response_from_dict = ApiV1ScimUsersPost200Response.from_dict(api_v1_scim_users_post200_response_dict) -``` -[[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/docs/ApiV1ScimUsersPostRequest.md b/docs/ApiV1ScimUsersPostRequest.md deleted file mode 100644 index a44c087..0000000 --- a/docs/ApiV1ScimUsersPostRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1ScimUsersPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**schemas** | **List[str]** | | -**user_name** | **str** | | -**name** | [**ApiV1ScimUsersGet200ResponseResourcesInnerName**](ApiV1ScimUsersGet200ResponseResourcesInnerName.md) | | -**emails** | [**List[ApiV1ScimUsersPostRequestEmailsInner]**](ApiV1ScimUsersPostRequestEmailsInner.md) | | [optional] -**active** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_post_request import ApiV1ScimUsersPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersPostRequest from a JSON string -api_v1_scim_users_post_request_instance = ApiV1ScimUsersPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersPostRequest.to_json() - -# convert the object into a dict -api_v1_scim_users_post_request_dict = api_v1_scim_users_post_request_instance.to_dict() -# create an instance of ApiV1ScimUsersPostRequest from a dict -api_v1_scim_users_post_request_from_dict = ApiV1ScimUsersPostRequest.from_dict(api_v1_scim_users_post_request_dict) -``` -[[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/docs/ApiV1ScimUsersPostRequestEmailsInner.md b/docs/ApiV1ScimUsersPostRequestEmailsInner.md deleted file mode 100644 index 9ae43f9..0000000 --- a/docs/ApiV1ScimUsersPostRequestEmailsInner.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1ScimUsersPostRequestEmailsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**primary** | **bool** | | -**value** | **str** | | -**type** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_scim_users_post_request_emails_inner import ApiV1ScimUsersPostRequestEmailsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1ScimUsersPostRequestEmailsInner from a JSON string -api_v1_scim_users_post_request_emails_inner_instance = ApiV1ScimUsersPostRequestEmailsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1ScimUsersPostRequestEmailsInner.to_json() - -# convert the object into a dict -api_v1_scim_users_post_request_emails_inner_dict = api_v1_scim_users_post_request_emails_inner_instance.to_dict() -# create an instance of ApiV1ScimUsersPostRequestEmailsInner from a dict -api_v1_scim_users_post_request_emails_inner_from_dict = ApiV1ScimUsersPostRequestEmailsInner.from_dict(api_v1_scim_users_post_request_emails_inner_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsCountGet200Response.md b/docs/ApiV1SecretApprovalRequestsCountGet200Response.md deleted file mode 100644 index 0a7f284..0000000 --- a/docs/ApiV1SecretApprovalRequestsCountGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalRequestsCountGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**approvals** | [**ApiV1SecretApprovalRequestsCountGet200ResponseApprovals**](ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response import ApiV1SecretApprovalRequestsCountGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsCountGet200Response from a JSON string -api_v1_secret_approval_requests_count_get200_response_instance = ApiV1SecretApprovalRequestsCountGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsCountGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_count_get200_response_dict = api_v1_secret_approval_requests_count_get200_response_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsCountGet200Response from a dict -api_v1_secret_approval_requests_count_get200_response_from_dict = ApiV1SecretApprovalRequestsCountGet200Response.from_dict(api_v1_secret_approval_requests_count_get200_response_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.md b/docs/ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.md deleted file mode 100644 index 3a46c2c..0000000 --- a/docs/ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SecretApprovalRequestsCountGet200ResponseApprovals - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**open** | **float** | | [optional] [default to 0] -**closed** | **float** | | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response_approvals import ApiV1SecretApprovalRequestsCountGet200ResponseApprovals - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsCountGet200ResponseApprovals from a JSON string -api_v1_secret_approval_requests_count_get200_response_approvals_instance = ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_count_get200_response_approvals_dict = api_v1_secret_approval_requests_count_get200_response_approvals_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsCountGet200ResponseApprovals from a dict -api_v1_secret_approval_requests_count_get200_response_approvals_from_dict = ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.from_dict(api_v1_secret_approval_requests_count_get200_response_approvals_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsGet200Response.md b/docs/ApiV1SecretApprovalRequestsGet200Response.md deleted file mode 100644 index 2d7e6cf..0000000 --- a/docs/ApiV1SecretApprovalRequestsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalRequestsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**approvals** | [**List[ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner]**](ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response import ApiV1SecretApprovalRequestsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsGet200Response from a JSON string -api_v1_secret_approval_requests_get200_response_instance = ApiV1SecretApprovalRequestsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_get200_response_dict = api_v1_secret_approval_requests_get200_response_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsGet200Response from a dict -api_v1_secret_approval_requests_get200_response_from_dict = ApiV1SecretApprovalRequestsGet200Response.from_dict(api_v1_secret_approval_requests_get200_response_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.md b/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.md deleted file mode 100644 index 0ccd23a..0000000 --- a/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.md +++ /dev/null @@ -1,46 +0,0 @@ -# ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**policy_id** | **str** | | -**has_merged** | **bool** | | [optional] [default to False] -**status** | **str** | | [optional] [default to 'open'] -**conflicts** | **object** | | [optional] -**slug** | **str** | | -**folder_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**is_replicated** | **bool** | | [optional] -**committer_user_id** | **str** | | -**status_changed_by_user_id** | **str** | | [optional] -**bypass_reason** | **str** | | [optional] -**policy** | [**ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy**](ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.md) | | -**committer_user** | [**ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser**](ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.md) | | -**commits** | [**List[ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner]**](ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.md) | | -**environment** | **str** | | -**reviewers** | [**List[ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner]**](ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.md) | | -**approvers** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner from a JSON string -api_v1_secret_approval_requests_get200_response_approvals_inner_instance = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_get200_response_approvals_inner_dict = api_v1_secret_approval_requests_get200_response_approvals_inner_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner from a dict -api_v1_secret_approval_requests_get200_response_approvals_inner_from_dict = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.from_dict(api_v1_secret_approval_requests_get200_response_approvals_inner_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.md b/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.md deleted file mode 100644 index 0631d18..0000000 --- a/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**op** | **str** | | -**secret_id** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner from a JSON string -api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner_instance = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner_dict = api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner from a dict -api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner_from_dict = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.from_dict(api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.md b/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.md deleted file mode 100644 index b3b9ea1..0000000 --- a/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_id** | **str** | | -**email** | **str** | | [optional] -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**username** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser from a JSON string -api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user_instance = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user_dict = api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser from a dict -api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user_from_dict = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.from_dict(api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.md b/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.md deleted file mode 100644 index 80d8e68..0000000 --- a/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**approvals** | **float** | | -**approvers** | **List[str]** | | -**secret_path** | **str** | | [optional] -**enforcement_level** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_policy import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy from a JSON string -api_v1_secret_approval_requests_get200_response_approvals_inner_policy_instance = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_get200_response_approvals_inner_policy_dict = api_v1_secret_approval_requests_get200_response_approvals_inner_policy_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy from a dict -api_v1_secret_approval_requests_get200_response_approvals_inner_policy_from_dict = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.from_dict(api_v1_secret_approval_requests_get200_response_approvals_inner_policy_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.md b/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.md deleted file mode 100644 index 13e595d..0000000 --- a/docs/ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_id** | **str** | | -**status** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner from a JSON string -api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner_instance = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner_dict = api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner from a dict -api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner_from_dict = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.from_dict(api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdGet200Response.md b/docs/ApiV1SecretApprovalRequestsIdGet200Response.md deleted file mode 100644 index 3470b30..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalRequestsIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**approval** | [**ApiV1SecretApprovalRequestsIdGet200ResponseApproval**](ApiV1SecretApprovalRequestsIdGet200ResponseApproval.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response import ApiV1SecretApprovalRequestsIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdGet200Response from a JSON string -api_v1_secret_approval_requests_id_get200_response_instance = ApiV1SecretApprovalRequestsIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_get200_response_dict = api_v1_secret_approval_requests_id_get200_response_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdGet200Response from a dict -api_v1_secret_approval_requests_id_get200_response_from_dict = ApiV1SecretApprovalRequestsIdGet200Response.from_dict(api_v1_secret_approval_requests_id_get200_response_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApproval.md b/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApproval.md deleted file mode 100644 index 4037409..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApproval.md +++ /dev/null @@ -1,47 +0,0 @@ -# ApiV1SecretApprovalRequestsIdGet200ResponseApproval - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**policy_id** | **str** | | -**has_merged** | **bool** | | [optional] [default to False] -**status** | **str** | | [optional] [default to 'open'] -**conflicts** | **object** | | [optional] -**slug** | **str** | | -**folder_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**is_replicated** | **bool** | | [optional] -**committer_user_id** | **str** | | -**status_changed_by_user_id** | **str** | | [optional] -**bypass_reason** | **str** | | [optional] -**policy** | [**ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy**](ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.md) | | -**environment** | **str** | | -**status_changed_by_user** | [**ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser**](ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.md) | | [optional] -**committer_user** | [**ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser**](ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.md) | | -**reviewers** | [**List[ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner]**](ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.md) | | -**secret_path** | **str** | | -**commits** | [**List[ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner]**](ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval import ApiV1SecretApprovalRequestsIdGet200ResponseApproval - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApproval from a JSON string -api_v1_secret_approval_requests_id_get200_response_approval_instance = ApiV1SecretApprovalRequestsIdGet200ResponseApproval.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdGet200ResponseApproval.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_get200_response_approval_dict = api_v1_secret_approval_requests_id_get200_response_approval_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApproval from a dict -api_v1_secret_approval_requests_id_get200_response_approval_from_dict = ApiV1SecretApprovalRequestsIdGet200ResponseApproval.from_dict(api_v1_secret_approval_requests_id_get200_response_approval_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.md b/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.md deleted file mode 100644 index 56a8240..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.md +++ /dev/null @@ -1,41 +0,0 @@ -# ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**secret_key** | **str** | | -**secret_value** | **str** | | -**secret_comment** | **str** | | -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**metadata** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**op** | **str** | | -**tags** | [**List[ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner]**](ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.md) | | [optional] -**secret** | [**ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret**](ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.md) | | [optional] -**secret_version** | [**ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion**](ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner from a JSON string -api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_instance = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_dict = api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner from a dict -api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_from_dict = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.from_dict(api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.md b/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.md deleted file mode 100644 index 7d397f9..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | -**secret_key** | **str** | | -**secret_value** | **str** | | [optional] -**secret_comment** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret from a JSON string -api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_instance = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_dict = api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret from a dict -api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_from_dict = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.from_dict(api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.md b/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.md deleted file mode 100644 index e9b0bc4..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | -**secret_key** | **str** | | -**secret_value** | **str** | | [optional] -**secret_comment** | **str** | | [optional] -**tags** | [**List[ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner]**](ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion from a JSON string -api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version_instance = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version_dict = api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion from a dict -api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version_from_dict = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.from_dict(api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.md b/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.md deleted file mode 100644 index c80873b..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**approvals** | **float** | | -**approvers** | [**List[ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser]**](ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.md) | | -**secret_path** | **str** | | [optional] -**enforcement_level** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_policy import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy from a JSON string -api_v1_secret_approval_requests_id_get200_response_approval_policy_instance = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_get200_response_approval_policy_dict = api_v1_secret_approval_requests_id_get200_response_approval_policy_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy from a dict -api_v1_secret_approval_requests_id_get200_response_approval_policy_from_dict = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.from_dict(api_v1_secret_approval_requests_id_get200_response_approval_policy_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.md b/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.md deleted file mode 100644 index c403dd5..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_id** | **str** | | -**email** | **str** | | [optional] -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**username** | **str** | | -**status** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner from a JSON string -api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner_instance = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner_dict = api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner from a dict -api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner_from_dict = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.from_dict(api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdMergePost200Response.md b/docs/ApiV1SecretApprovalRequestsIdMergePost200Response.md deleted file mode 100644 index 0f40152..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdMergePost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalRequestsIdMergePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**approval** | [**ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval**](ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response import ApiV1SecretApprovalRequestsIdMergePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdMergePost200Response from a JSON string -api_v1_secret_approval_requests_id_merge_post200_response_instance = ApiV1SecretApprovalRequestsIdMergePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdMergePost200Response.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_merge_post200_response_dict = api_v1_secret_approval_requests_id_merge_post200_response_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdMergePost200Response from a dict -api_v1_secret_approval_requests_id_merge_post200_response_from_dict = ApiV1SecretApprovalRequestsIdMergePost200Response.from_dict(api_v1_secret_approval_requests_id_merge_post200_response_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md b/docs/ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md deleted file mode 100644 index 6e49904..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**policy_id** | **str** | | -**has_merged** | **bool** | | [optional] [default to False] -**status** | **str** | | [optional] [default to 'open'] -**conflicts** | **object** | | [optional] -**slug** | **str** | | -**folder_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**is_replicated** | **bool** | | [optional] -**committer_user_id** | **str** | | -**status_changed_by_user_id** | **str** | | [optional] -**bypass_reason** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response_approval import ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval from a JSON string -api_v1_secret_approval_requests_id_merge_post200_response_approval_instance = ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_merge_post200_response_approval_dict = api_v1_secret_approval_requests_id_merge_post200_response_approval_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval from a dict -api_v1_secret_approval_requests_id_merge_post200_response_approval_from_dict = ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.from_dict(api_v1_secret_approval_requests_id_merge_post200_response_approval_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdMergePostRequest.md b/docs/ApiV1SecretApprovalRequestsIdMergePostRequest.md deleted file mode 100644 index b4dd65a..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdMergePostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalRequestsIdMergePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bypass_reason** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post_request import ApiV1SecretApprovalRequestsIdMergePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdMergePostRequest from a JSON string -api_v1_secret_approval_requests_id_merge_post_request_instance = ApiV1SecretApprovalRequestsIdMergePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdMergePostRequest.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_merge_post_request_dict = api_v1_secret_approval_requests_id_merge_post_request_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdMergePostRequest from a dict -api_v1_secret_approval_requests_id_merge_post_request_from_dict = ApiV1SecretApprovalRequestsIdMergePostRequest.from_dict(api_v1_secret_approval_requests_id_merge_post_request_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdReviewPost200Response.md b/docs/ApiV1SecretApprovalRequestsIdReviewPost200Response.md deleted file mode 100644 index 47a9302..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdReviewPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalRequestsIdReviewPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**review** | [**ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview**](ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response import ApiV1SecretApprovalRequestsIdReviewPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdReviewPost200Response from a JSON string -api_v1_secret_approval_requests_id_review_post200_response_instance = ApiV1SecretApprovalRequestsIdReviewPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdReviewPost200Response.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_review_post200_response_dict = api_v1_secret_approval_requests_id_review_post200_response_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdReviewPost200Response from a dict -api_v1_secret_approval_requests_id_review_post200_response_from_dict = ApiV1SecretApprovalRequestsIdReviewPost200Response.from_dict(api_v1_secret_approval_requests_id_review_post200_response_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.md b/docs/ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.md deleted file mode 100644 index 05f3841..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**status** | **str** | | -**request_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**reviewer_user_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response_review import ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview from a JSON string -api_v1_secret_approval_requests_id_review_post200_response_review_instance = ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_review_post200_response_review_dict = api_v1_secret_approval_requests_id_review_post200_response_review_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview from a dict -api_v1_secret_approval_requests_id_review_post200_response_review_from_dict = ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.from_dict(api_v1_secret_approval_requests_id_review_post200_response_review_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdReviewPostRequest.md b/docs/ApiV1SecretApprovalRequestsIdReviewPostRequest.md deleted file mode 100644 index 16508ea..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdReviewPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalRequestsIdReviewPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post_request import ApiV1SecretApprovalRequestsIdReviewPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdReviewPostRequest from a JSON string -api_v1_secret_approval_requests_id_review_post_request_instance = ApiV1SecretApprovalRequestsIdReviewPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdReviewPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_review_post_request_dict = api_v1_secret_approval_requests_id_review_post_request_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdReviewPostRequest from a dict -api_v1_secret_approval_requests_id_review_post_request_from_dict = ApiV1SecretApprovalRequestsIdReviewPostRequest.from_dict(api_v1_secret_approval_requests_id_review_post_request_dict) -``` -[[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/docs/ApiV1SecretApprovalRequestsIdStatusPostRequest.md b/docs/ApiV1SecretApprovalRequestsIdStatusPostRequest.md deleted file mode 100644 index 13cfd3d..0000000 --- a/docs/ApiV1SecretApprovalRequestsIdStatusPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalRequestsIdStatusPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approval_requests_id_status_post_request import ApiV1SecretApprovalRequestsIdStatusPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalRequestsIdStatusPostRequest from a JSON string -api_v1_secret_approval_requests_id_status_post_request_instance = ApiV1SecretApprovalRequestsIdStatusPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalRequestsIdStatusPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_approval_requests_id_status_post_request_dict = api_v1_secret_approval_requests_id_status_post_request_instance.to_dict() -# create an instance of ApiV1SecretApprovalRequestsIdStatusPostRequest from a dict -api_v1_secret_approval_requests_id_status_post_request_from_dict = ApiV1SecretApprovalRequestsIdStatusPostRequest.from_dict(api_v1_secret_approval_requests_id_status_post_request_dict) -``` -[[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/docs/ApiV1SecretApprovalsBoardGet200Response.md b/docs/ApiV1SecretApprovalsBoardGet200Response.md deleted file mode 100644 index c836b24..0000000 --- a/docs/ApiV1SecretApprovalsBoardGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalsBoardGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**policy** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInner**](ApiV1SecretApprovalsGet200ResponseApprovalsInner.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approvals_board_get200_response import ApiV1SecretApprovalsBoardGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalsBoardGet200Response from a JSON string -api_v1_secret_approvals_board_get200_response_instance = ApiV1SecretApprovalsBoardGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalsBoardGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_approvals_board_get200_response_dict = api_v1_secret_approvals_board_get200_response_instance.to_dict() -# create an instance of ApiV1SecretApprovalsBoardGet200Response from a dict -api_v1_secret_approvals_board_get200_response_from_dict = ApiV1SecretApprovalsBoardGet200Response.from_dict(api_v1_secret_approvals_board_get200_response_dict) -``` -[[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/docs/ApiV1SecretApprovalsGet200Response.md b/docs/ApiV1SecretApprovalsGet200Response.md deleted file mode 100644 index 23eba0a..0000000 --- a/docs/ApiV1SecretApprovalsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**approvals** | [**List[ApiV1SecretApprovalsGet200ResponseApprovalsInner]**](ApiV1SecretApprovalsGet200ResponseApprovalsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approvals_get200_response import ApiV1SecretApprovalsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalsGet200Response from a JSON string -api_v1_secret_approvals_get200_response_instance = ApiV1SecretApprovalsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalsGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_approvals_get200_response_dict = api_v1_secret_approvals_get200_response_instance.to_dict() -# create an instance of ApiV1SecretApprovalsGet200Response from a dict -api_v1_secret_approvals_get200_response_from_dict = ApiV1SecretApprovalsGet200Response.from_dict(api_v1_secret_approvals_get200_response_dict) -``` -[[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/docs/ApiV1SecretApprovalsGet200ResponseApprovalsInner.md b/docs/ApiV1SecretApprovalsGet200ResponseApprovalsInner.md deleted file mode 100644 index 2f4bfc8..0000000 --- a/docs/ApiV1SecretApprovalsGet200ResponseApprovalsInner.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1SecretApprovalsGet200ResponseApprovalsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**secret_path** | **str** | | [optional] -**approvals** | **float** | | [optional] [default to 1] -**env_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**enforcement_level** | **str** | | [optional] [default to 'hard'] -**environment** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | -**project_id** | **str** | | -**user_approvers** | [**List[ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner]**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInner from a JSON string -api_v1_secret_approvals_get200_response_approvals_inner_instance = ApiV1SecretApprovalsGet200ResponseApprovalsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalsGet200ResponseApprovalsInner.to_json() - -# convert the object into a dict -api_v1_secret_approvals_get200_response_approvals_inner_dict = api_v1_secret_approvals_get200_response_approvals_inner_instance.to_dict() -# create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInner from a dict -api_v1_secret_approvals_get200_response_approvals_inner_from_dict = ApiV1SecretApprovalsGet200ResponseApprovalsInner.from_dict(api_v1_secret_approvals_get200_response_approvals_inner_dict) -``` -[[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/docs/ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md b/docs/ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md deleted file mode 100644 index edfd670..0000000 --- a/docs/ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**slug** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment from a JSON string -api_v1_secret_approvals_get200_response_approvals_inner_environment_instance = ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.to_json() - -# convert the object into a dict -api_v1_secret_approvals_get200_response_approvals_inner_environment_dict = api_v1_secret_approvals_get200_response_approvals_inner_environment_instance.to_dict() -# create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment from a dict -api_v1_secret_approvals_get200_response_approvals_inner_environment_from_dict = ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(api_v1_secret_approvals_get200_response_approvals_inner_environment_dict) -``` -[[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/docs/ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.md b/docs/ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.md deleted file mode 100644 index 00c3c43..0000000 --- a/docs/ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner from a JSON string -api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner_instance = ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.to_json() - -# convert the object into a dict -api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner_dict = api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner_instance.to_dict() -# create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner from a dict -api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner_from_dict = ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.from_dict(api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner_dict) -``` -[[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/docs/ApiV1SecretApprovalsPost200Response.md b/docs/ApiV1SecretApprovalsPost200Response.md deleted file mode 100644 index fd48e0c..0000000 --- a/docs/ApiV1SecretApprovalsPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretApprovalsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**approval** | [**ApiV1SecretApprovalsPost200ResponseApproval**](ApiV1SecretApprovalsPost200ResponseApproval.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalsPost200Response from a JSON string -api_v1_secret_approvals_post200_response_instance = ApiV1SecretApprovalsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalsPost200Response.to_json() - -# convert the object into a dict -api_v1_secret_approvals_post200_response_dict = api_v1_secret_approvals_post200_response_instance.to_dict() -# create an instance of ApiV1SecretApprovalsPost200Response from a dict -api_v1_secret_approvals_post200_response_from_dict = ApiV1SecretApprovalsPost200Response.from_dict(api_v1_secret_approvals_post200_response_dict) -``` -[[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/docs/ApiV1SecretApprovalsPost200ResponseApproval.md b/docs/ApiV1SecretApprovalsPost200ResponseApproval.md deleted file mode 100644 index 5eddec9..0000000 --- a/docs/ApiV1SecretApprovalsPost200ResponseApproval.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1SecretApprovalsPost200ResponseApproval - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**secret_path** | **str** | | [optional] -**approvals** | **float** | | [optional] [default to 1] -**env_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**enforcement_level** | **str** | | [optional] [default to 'hard'] -**environment** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | -**project_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approvals_post200_response_approval import ApiV1SecretApprovalsPost200ResponseApproval - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalsPost200ResponseApproval from a JSON string -api_v1_secret_approvals_post200_response_approval_instance = ApiV1SecretApprovalsPost200ResponseApproval.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalsPost200ResponseApproval.to_json() - -# convert the object into a dict -api_v1_secret_approvals_post200_response_approval_dict = api_v1_secret_approvals_post200_response_approval_instance.to_dict() -# create an instance of ApiV1SecretApprovalsPost200ResponseApproval from a dict -api_v1_secret_approvals_post200_response_approval_from_dict = ApiV1SecretApprovalsPost200ResponseApproval.from_dict(api_v1_secret_approvals_post200_response_approval_dict) -``` -[[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/docs/ApiV1SecretApprovalsPostRequest.md b/docs/ApiV1SecretApprovalsPostRequest.md deleted file mode 100644 index 3eee7d1..0000000 --- a/docs/ApiV1SecretApprovalsPostRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1SecretApprovalsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | | -**name** | **str** | | [optional] -**environment** | **str** | | -**secret_path** | **str** | | [optional] [default to '/'] -**approvers** | **List[str]** | | -**approvals** | **float** | | [optional] [default to 1] -**enforcement_level** | **str** | | [optional] [default to 'hard'] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approvals_post_request import ApiV1SecretApprovalsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalsPostRequest from a JSON string -api_v1_secret_approvals_post_request_instance = ApiV1SecretApprovalsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalsPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_approvals_post_request_dict = api_v1_secret_approvals_post_request_instance.to_dict() -# create an instance of ApiV1SecretApprovalsPostRequest from a dict -api_v1_secret_approvals_post_request_from_dict = ApiV1SecretApprovalsPostRequest.from_dict(api_v1_secret_approvals_post_request_dict) -``` -[[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/docs/ApiV1SecretApprovalsSapIdPatchRequest.md b/docs/ApiV1SecretApprovalsSapIdPatchRequest.md deleted file mode 100644 index afb37ba..0000000 --- a/docs/ApiV1SecretApprovalsSapIdPatchRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1SecretApprovalsSapIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**approvers** | **List[str]** | | -**approvals** | **float** | | [optional] [default to 1] -**secret_path** | **str** | | [optional] -**enforcement_level** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_approvals_sap_id_patch_request import ApiV1SecretApprovalsSapIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretApprovalsSapIdPatchRequest from a JSON string -api_v1_secret_approvals_sap_id_patch_request_instance = ApiV1SecretApprovalsSapIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretApprovalsSapIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_secret_approvals_sap_id_patch_request_dict = api_v1_secret_approvals_sap_id_patch_request_instance.to_dict() -# create an instance of ApiV1SecretApprovalsSapIdPatchRequest from a dict -api_v1_secret_approvals_sap_id_patch_request_from_dict = ApiV1SecretApprovalsSapIdPatchRequest.from_dict(api_v1_secret_approvals_sap_id_patch_request_dict) -``` -[[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/docs/ApiV1SecretImportsGet200Response.md b/docs/ApiV1SecretImportsGet200Response.md deleted file mode 100644 index 15b456c..0000000 --- a/docs/ApiV1SecretImportsGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SecretImportsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**secret_imports** | [**List[ApiV1SecretImportsGet200ResponseSecretImportsInner]**](ApiV1SecretImportsGet200ResponseSecretImportsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_get200_response import ApiV1SecretImportsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsGet200Response from a JSON string -api_v1_secret_imports_get200_response_instance = ApiV1SecretImportsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_imports_get200_response_dict = api_v1_secret_imports_get200_response_instance.to_dict() -# create an instance of ApiV1SecretImportsGet200Response from a dict -api_v1_secret_imports_get200_response_from_dict = ApiV1SecretImportsGet200Response.from_dict(api_v1_secret_imports_get200_response_dict) -``` -[[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/docs/ApiV1SecretImportsGet200ResponseSecretImportsInner.md b/docs/ApiV1SecretImportsGet200ResponseSecretImportsInner.md deleted file mode 100644 index 62fa8d8..0000000 --- a/docs/ApiV1SecretImportsGet200ResponseSecretImportsInner.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1SecretImportsGet200ResponseSecretImportsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | [optional] [default to 1] -**import_path** | **str** | | -**position** | **float** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**folder_id** | **str** | | -**is_replication** | **bool** | | [optional] [default to False] -**is_replication_success** | **bool** | | [optional] -**replication_status** | **str** | | [optional] -**last_replicated** | **datetime** | | [optional] -**is_reserved** | **bool** | | [optional] [default to False] -**import_env** | [**ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv**](ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner import ApiV1SecretImportsGet200ResponseSecretImportsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsGet200ResponseSecretImportsInner from a JSON string -api_v1_secret_imports_get200_response_secret_imports_inner_instance = ApiV1SecretImportsGet200ResponseSecretImportsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsGet200ResponseSecretImportsInner.to_json() - -# convert the object into a dict -api_v1_secret_imports_get200_response_secret_imports_inner_dict = api_v1_secret_imports_get200_response_secret_imports_inner_instance.to_dict() -# create an instance of ApiV1SecretImportsGet200ResponseSecretImportsInner from a dict -api_v1_secret_imports_get200_response_secret_imports_inner_from_dict = ApiV1SecretImportsGet200ResponseSecretImportsInner.from_dict(api_v1_secret_imports_get200_response_secret_imports_inner_dict) -``` -[[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/docs/ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.md b/docs/ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.md deleted file mode 100644 index a0952e7..0000000 --- a/docs/ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**slug** | **str** | | -**id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner_import_env import ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv from a JSON string -api_v1_secret_imports_get200_response_secret_imports_inner_import_env_instance = ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.to_json() - -# convert the object into a dict -api_v1_secret_imports_get200_response_secret_imports_inner_import_env_dict = api_v1_secret_imports_get200_response_secret_imports_inner_import_env_instance.to_dict() -# create an instance of ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv from a dict -api_v1_secret_imports_get200_response_secret_imports_inner_import_env_from_dict = ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.from_dict(api_v1_secret_imports_get200_response_secret_imports_inner_import_env_dict) -``` -[[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/docs/ApiV1SecretImportsPost200Response.md b/docs/ApiV1SecretImportsPost200Response.md deleted file mode 100644 index dc27baf..0000000 --- a/docs/ApiV1SecretImportsPost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SecretImportsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**secret_import** | [**ApiV1SecretImportsGet200ResponseSecretImportsInner**](ApiV1SecretImportsGet200ResponseSecretImportsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_post200_response import ApiV1SecretImportsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsPost200Response from a JSON string -api_v1_secret_imports_post200_response_instance = ApiV1SecretImportsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsPost200Response.to_json() - -# convert the object into a dict -api_v1_secret_imports_post200_response_dict = api_v1_secret_imports_post200_response_instance.to_dict() -# create an instance of ApiV1SecretImportsPost200Response from a dict -api_v1_secret_imports_post200_response_from_dict = ApiV1SecretImportsPost200Response.from_dict(api_v1_secret_imports_post200_response_dict) -``` -[[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/docs/ApiV1SecretImportsPostRequest.md b/docs/ApiV1SecretImportsPostRequest.md deleted file mode 100644 index 86b39b0..0000000 --- a/docs/ApiV1SecretImportsPostRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1SecretImportsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project you are working in. | -**environment** | **str** | The slug of the environment to import into. | -**path** | **str** | The path to import into. | [optional] [default to '/'] -**var_import** | [**ApiV1SecretImportsPostRequestImport**](ApiV1SecretImportsPostRequestImport.md) | | -**is_replication** | **bool** | When true, secrets from the source will be automatically sent to the destination. If approval policies exist at the destination, the secrets will be sent as approval requests instead of being applied immediately. | [optional] [default to False] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_post_request import ApiV1SecretImportsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsPostRequest from a JSON string -api_v1_secret_imports_post_request_instance = ApiV1SecretImportsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_imports_post_request_dict = api_v1_secret_imports_post_request_instance.to_dict() -# create an instance of ApiV1SecretImportsPostRequest from a dict -api_v1_secret_imports_post_request_from_dict = ApiV1SecretImportsPostRequest.from_dict(api_v1_secret_imports_post_request_dict) -``` -[[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/docs/ApiV1SecretImportsPostRequestImport.md b/docs/ApiV1SecretImportsPostRequestImport.md deleted file mode 100644 index 7316198..0000000 --- a/docs/ApiV1SecretImportsPostRequestImport.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SecretImportsPostRequestImport - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**environment** | **str** | The slug of the environment to import from. | -**path** | **str** | The path to import from. | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_post_request_import import ApiV1SecretImportsPostRequestImport - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsPostRequestImport from a JSON string -api_v1_secret_imports_post_request_import_instance = ApiV1SecretImportsPostRequestImport.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsPostRequestImport.to_json() - -# convert the object into a dict -api_v1_secret_imports_post_request_import_dict = api_v1_secret_imports_post_request_import_instance.to_dict() -# create an instance of ApiV1SecretImportsPostRequestImport from a dict -api_v1_secret_imports_post_request_import_from_dict = ApiV1SecretImportsPostRequestImport.from_dict(api_v1_secret_imports_post_request_import_dict) -``` -[[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/docs/ApiV1SecretImportsSecretImportIdDeleteRequest.md b/docs/ApiV1SecretImportsSecretImportIdDeleteRequest.md deleted file mode 100644 index a3caa75..0000000 --- a/docs/ApiV1SecretImportsSecretImportIdDeleteRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1SecretImportsSecretImportIdDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project to delete the secret import from. | -**environment** | **str** | The slug of the environment where the secret import is located. | -**path** | **str** | The path of the secret import to delete. | [optional] [default to '/'] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_delete_request import ApiV1SecretImportsSecretImportIdDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsSecretImportIdDeleteRequest from a JSON string -api_v1_secret_imports_secret_import_id_delete_request_instance = ApiV1SecretImportsSecretImportIdDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsSecretImportIdDeleteRequest.to_json() - -# convert the object into a dict -api_v1_secret_imports_secret_import_id_delete_request_dict = api_v1_secret_imports_secret_import_id_delete_request_instance.to_dict() -# create an instance of ApiV1SecretImportsSecretImportIdDeleteRequest from a dict -api_v1_secret_imports_secret_import_id_delete_request_from_dict = ApiV1SecretImportsSecretImportIdDeleteRequest.from_dict(api_v1_secret_imports_secret_import_id_delete_request_dict) -``` -[[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/docs/ApiV1SecretImportsSecretImportIdPatchRequest.md b/docs/ApiV1SecretImportsSecretImportIdPatchRequest.md deleted file mode 100644 index 7fb7191..0000000 --- a/docs/ApiV1SecretImportsSecretImportIdPatchRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1SecretImportsSecretImportIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project where the secret import is located. | -**environment** | **str** | The slug of the environment where the secret import is located. | -**path** | **str** | The path of the secret import to update. | [optional] [default to '/'] -**var_import** | [**ApiV1SecretImportsSecretImportIdPatchRequestImport**](ApiV1SecretImportsSecretImportIdPatchRequestImport.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request import ApiV1SecretImportsSecretImportIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsSecretImportIdPatchRequest from a JSON string -api_v1_secret_imports_secret_import_id_patch_request_instance = ApiV1SecretImportsSecretImportIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsSecretImportIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_secret_imports_secret_import_id_patch_request_dict = api_v1_secret_imports_secret_import_id_patch_request_instance.to_dict() -# create an instance of ApiV1SecretImportsSecretImportIdPatchRequest from a dict -api_v1_secret_imports_secret_import_id_patch_request_from_dict = ApiV1SecretImportsSecretImportIdPatchRequest.from_dict(api_v1_secret_imports_secret_import_id_patch_request_dict) -``` -[[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/docs/ApiV1SecretImportsSecretImportIdPatchRequestImport.md b/docs/ApiV1SecretImportsSecretImportIdPatchRequestImport.md deleted file mode 100644 index 3fa2cbd..0000000 --- a/docs/ApiV1SecretImportsSecretImportIdPatchRequestImport.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1SecretImportsSecretImportIdPatchRequestImport - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**environment** | **str** | The new environment slug to import from. | [optional] -**path** | **str** | The new path to import from. | [optional] -**position** | **float** | The new position of the secret import. The lowest number will be displayed as the first import. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request_import import ApiV1SecretImportsSecretImportIdPatchRequestImport - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsSecretImportIdPatchRequestImport from a JSON string -api_v1_secret_imports_secret_import_id_patch_request_import_instance = ApiV1SecretImportsSecretImportIdPatchRequestImport.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsSecretImportIdPatchRequestImport.to_json() - -# convert the object into a dict -api_v1_secret_imports_secret_import_id_patch_request_import_dict = api_v1_secret_imports_secret_import_id_patch_request_import_instance.to_dict() -# create an instance of ApiV1SecretImportsSecretImportIdPatchRequestImport from a dict -api_v1_secret_imports_secret_import_id_patch_request_import_from_dict = ApiV1SecretImportsSecretImportIdPatchRequestImport.from_dict(api_v1_secret_imports_secret_import_id_patch_request_import_dict) -``` -[[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/docs/ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.md b/docs/ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.md deleted file mode 100644 index 68d8ec4..0000000 --- a/docs/ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project where the secret import is located. | -**environment** | **str** | The slug of the environment where the secret import is located. | -**path** | **str** | The path of the secret import to update. | [optional] [default to '/'] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_replication_resync_post_request import ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest from a JSON string -api_v1_secret_imports_secret_import_id_replication_resync_post_request_instance = ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_imports_secret_import_id_replication_resync_post_request_dict = api_v1_secret_imports_secret_import_id_replication_resync_post_request_instance.to_dict() -# create an instance of ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest from a dict -api_v1_secret_imports_secret_import_id_replication_resync_post_request_from_dict = ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.from_dict(api_v1_secret_imports_secret_import_id_replication_resync_post_request_dict) -``` -[[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/docs/ApiV1SecretImportsSecretsGet200Response.md b/docs/ApiV1SecretImportsSecretsGet200Response.md deleted file mode 100644 index 5f0e1bd..0000000 --- a/docs/ApiV1SecretImportsSecretsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretImportsSecretsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets** | [**List[ApiV1SecretImportsSecretsGet200ResponseSecretsInner]**](ApiV1SecretImportsSecretsGet200ResponseSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response import ApiV1SecretImportsSecretsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsSecretsGet200Response from a JSON string -api_v1_secret_imports_secrets_get200_response_instance = ApiV1SecretImportsSecretsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsSecretsGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_imports_secrets_get200_response_dict = api_v1_secret_imports_secrets_get200_response_instance.to_dict() -# create an instance of ApiV1SecretImportsSecretsGet200Response from a dict -api_v1_secret_imports_secrets_get200_response_from_dict = ApiV1SecretImportsSecretsGet200Response.from_dict(api_v1_secret_imports_secrets_get200_response_dict) -``` -[[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/docs/ApiV1SecretImportsSecretsGet200ResponseSecretsInner.md b/docs/ApiV1SecretImportsSecretsGet200ResponseSecretsInner.md deleted file mode 100644 index b5f52c6..0000000 --- a/docs/ApiV1SecretImportsSecretsGet200ResponseSecretsInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1SecretImportsSecretsGet200ResponseSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_path** | **str** | | -**environment** | **str** | | -**environment_info** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | -**folder_id** | **str** | | [optional] -**secrets** | [**List[ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner]**](ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsSecretsGet200ResponseSecretsInner from a JSON string -api_v1_secret_imports_secrets_get200_response_secrets_inner_instance = ApiV1SecretImportsSecretsGet200ResponseSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsSecretsGet200ResponseSecretsInner.to_json() - -# convert the object into a dict -api_v1_secret_imports_secrets_get200_response_secrets_inner_dict = api_v1_secret_imports_secrets_get200_response_secrets_inner_instance.to_dict() -# create an instance of ApiV1SecretImportsSecretsGet200ResponseSecretsInner from a dict -api_v1_secret_imports_secrets_get200_response_secrets_inner_from_dict = ApiV1SecretImportsSecretsGet200ResponseSecretsInner.from_dict(api_v1_secret_imports_secrets_get200_response_secrets_inner_dict) -``` -[[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/docs/ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.md b/docs/ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.md deleted file mode 100644 index ff459cb..0000000 --- a/docs/ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.md +++ /dev/null @@ -1,49 +0,0 @@ -# ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | [optional] [default to 1] -**type** | **str** | | [optional] [default to 'shared'] -**secret_key_ciphertext** | **str** | | -**secret_key_iv** | **str** | | -**secret_key_tag** | **str** | | -**secret_value_ciphertext** | **str** | | -**secret_value_iv** | **str** | | -**secret_value_tag** | **str** | | -**secret_comment_ciphertext** | **str** | | [optional] -**secret_comment_iv** | **str** | | [optional] -**secret_comment_tag** | **str** | | [optional] -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**algorithm** | **str** | | [optional] [default to 'aes-256-gcm'] -**key_encoding** | **str** | | [optional] [default to 'utf8'] -**metadata** | **object** | | [optional] -**user_id** | **str** | | [optional] -**folder_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner from a JSON string -api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner_instance = ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.to_json() - -# convert the object into a dict -api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner_dict = api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner_instance.to_dict() -# create an instance of ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner from a dict -api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner_from_dict = ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.from_dict(api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner_dict) -``` -[[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/docs/ApiV1SecretImportsSecretsRawGet200Response.md b/docs/ApiV1SecretImportsSecretsRawGet200Response.md deleted file mode 100644 index 8eb300e..0000000 --- a/docs/ApiV1SecretImportsSecretsRawGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretImportsSecretsRawGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets** | [**List[ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner]**](ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response import ApiV1SecretImportsSecretsRawGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsSecretsRawGet200Response from a JSON string -api_v1_secret_imports_secrets_raw_get200_response_instance = ApiV1SecretImportsSecretsRawGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsSecretsRawGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_imports_secrets_raw_get200_response_dict = api_v1_secret_imports_secrets_raw_get200_response_instance.to_dict() -# create an instance of ApiV1SecretImportsSecretsRawGet200Response from a dict -api_v1_secret_imports_secrets_raw_get200_response_from_dict = ApiV1SecretImportsSecretsRawGet200Response.from_dict(api_v1_secret_imports_secrets_raw_get200_response_dict) -``` -[[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/docs/ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.md b/docs/ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.md deleted file mode 100644 index 73cba3d..0000000 --- a/docs/ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_path** | **str** | | -**environment** | **str** | | -**environment_info** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | -**folder_id** | **str** | | [optional] -**secrets** | [**List[ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner]**](ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response_secrets_inner import ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner from a JSON string -api_v1_secret_imports_secrets_raw_get200_response_secrets_inner_instance = ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.to_json() - -# convert the object into a dict -api_v1_secret_imports_secrets_raw_get200_response_secrets_inner_dict = api_v1_secret_imports_secrets_raw_get200_response_secrets_inner_instance.to_dict() -# create an instance of ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner from a dict -api_v1_secret_imports_secrets_raw_get200_response_secrets_inner_from_dict = ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.from_dict(api_v1_secret_imports_secrets_raw_get200_response_secrets_inner_dict) -``` -[[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/docs/ApiV1SecretRotationProvidersWorkspaceIdGet200Response.md b/docs/ApiV1SecretRotationProvidersWorkspaceIdGet200Response.md deleted file mode 100644 index 84f1f78..0000000 --- a/docs/ApiV1SecretRotationProvidersWorkspaceIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretRotationProvidersWorkspaceIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**providers** | [**List[ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner]**](ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response import ApiV1SecretRotationProvidersWorkspaceIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationProvidersWorkspaceIdGet200Response from a JSON string -api_v1_secret_rotation_providers_workspace_id_get200_response_instance = ApiV1SecretRotationProvidersWorkspaceIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationProvidersWorkspaceIdGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_rotation_providers_workspace_id_get200_response_dict = api_v1_secret_rotation_providers_workspace_id_get200_response_instance.to_dict() -# create an instance of ApiV1SecretRotationProvidersWorkspaceIdGet200Response from a dict -api_v1_secret_rotation_providers_workspace_id_get200_response_from_dict = ApiV1SecretRotationProvidersWorkspaceIdGet200Response.from_dict(api_v1_secret_rotation_providers_workspace_id_get200_response_dict) -``` -[[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/docs/ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.md b/docs/ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.md deleted file mode 100644 index 5d835ec..0000000 --- a/docs/ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**title** | **str** | | -**image** | **str** | | [optional] -**description** | **str** | | [optional] -**template** | **object** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner import ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner from a JSON string -api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner_instance = ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.to_json() - -# convert the object into a dict -api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner_dict = api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner_instance.to_dict() -# create an instance of ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner from a dict -api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner_from_dict = ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.from_dict(api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner_dict) -``` -[[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/docs/ApiV1SecretRotationsGet200Response.md b/docs/ApiV1SecretRotationsGet200Response.md deleted file mode 100644 index ffc65a0..0000000 --- a/docs/ApiV1SecretRotationsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretRotationsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_rotations** | [**List[ApiV1SecretRotationsGet200ResponseSecretRotationsInner]**](ApiV1SecretRotationsGet200ResponseSecretRotationsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_get200_response import ApiV1SecretRotationsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsGet200Response from a JSON string -api_v1_secret_rotations_get200_response_instance = ApiV1SecretRotationsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_rotations_get200_response_dict = api_v1_secret_rotations_get200_response_instance.to_dict() -# create an instance of ApiV1SecretRotationsGet200Response from a dict -api_v1_secret_rotations_get200_response_from_dict = ApiV1SecretRotationsGet200Response.from_dict(api_v1_secret_rotations_get200_response_dict) -``` -[[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/docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInner.md b/docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInner.md deleted file mode 100644 index 37752da..0000000 --- a/docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInner.md +++ /dev/null @@ -1,44 +0,0 @@ -# ApiV1SecretRotationsGet200ResponseSecretRotationsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**provider** | **str** | | -**secret_path** | **str** | | -**interval** | **float** | | -**last_rotated_at** | **datetime** | | [optional] -**status** | **str** | | [optional] -**status_message** | **str** | | [optional] -**encrypted_data** | **str** | | [optional] -**encrypted_data_iv** | **str** | | [optional] -**encrypted_data_tag** | **str** | | [optional] -**algorithm** | **str** | | [optional] -**key_encoding** | **str** | | [optional] -**env_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**environment** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | -**outputs** | [**List[ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner]**](ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner import ApiV1SecretRotationsGet200ResponseSecretRotationsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInner from a JSON string -api_v1_secret_rotations_get200_response_secret_rotations_inner_instance = ApiV1SecretRotationsGet200ResponseSecretRotationsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsGet200ResponseSecretRotationsInner.to_json() - -# convert the object into a dict -api_v1_secret_rotations_get200_response_secret_rotations_inner_dict = api_v1_secret_rotations_get200_response_secret_rotations_inner_instance.to_dict() -# create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInner from a dict -api_v1_secret_rotations_get200_response_secret_rotations_inner_from_dict = ApiV1SecretRotationsGet200ResponseSecretRotationsInner.from_dict(api_v1_secret_rotations_get200_response_secret_rotations_inner_dict) -``` -[[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/docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.md b/docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.md deleted file mode 100644 index 7ec3456..0000000 --- a/docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**key** | **str** | | -**secret** | [**ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret**](ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner import ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner from a JSON string -api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_instance = ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.to_json() - -# convert the object into a dict -api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_dict = api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_instance.to_dict() -# create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner from a dict -api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_from_dict = ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.from_dict(api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_dict) -``` -[[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/docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.md b/docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.md deleted file mode 100644 index 0701094..0000000 --- a/docs/ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_key** | **str** | | -**id** | **str** | | -**version** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret import ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret from a JSON string -api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret_instance = ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.to_json() - -# convert the object into a dict -api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret_dict = api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret_instance.to_dict() -# create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret from a dict -api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret_from_dict = ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.from_dict(api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret_dict) -``` -[[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/docs/ApiV1SecretRotationsPost200Response.md b/docs/ApiV1SecretRotationsPost200Response.md deleted file mode 100644 index 2828e1e..0000000 --- a/docs/ApiV1SecretRotationsPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretRotationsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_rotation** | [**ApiV1SecretRotationsPost200ResponseSecretRotation**](ApiV1SecretRotationsPost200ResponseSecretRotation.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_post200_response import ApiV1SecretRotationsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsPost200Response from a JSON string -api_v1_secret_rotations_post200_response_instance = ApiV1SecretRotationsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsPost200Response.to_json() - -# convert the object into a dict -api_v1_secret_rotations_post200_response_dict = api_v1_secret_rotations_post200_response_instance.to_dict() -# create an instance of ApiV1SecretRotationsPost200Response from a dict -api_v1_secret_rotations_post200_response_from_dict = ApiV1SecretRotationsPost200Response.from_dict(api_v1_secret_rotations_post200_response_dict) -``` -[[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/docs/ApiV1SecretRotationsPost200ResponseSecretRotation.md b/docs/ApiV1SecretRotationsPost200ResponseSecretRotation.md deleted file mode 100644 index e130ab9..0000000 --- a/docs/ApiV1SecretRotationsPost200ResponseSecretRotation.md +++ /dev/null @@ -1,44 +0,0 @@ -# ApiV1SecretRotationsPost200ResponseSecretRotation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**provider** | **str** | | -**secret_path** | **str** | | -**interval** | **float** | | -**last_rotated_at** | **datetime** | | [optional] -**status** | **str** | | [optional] -**status_message** | **str** | | [optional] -**encrypted_data** | **str** | | [optional] -**encrypted_data_iv** | **str** | | [optional] -**encrypted_data_tag** | **str** | | [optional] -**algorithm** | **str** | | [optional] -**key_encoding** | **str** | | [optional] -**env_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**environment** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | -**outputs** | [**List[ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner]**](ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_post200_response_secret_rotation import ApiV1SecretRotationsPost200ResponseSecretRotation - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsPost200ResponseSecretRotation from a JSON string -api_v1_secret_rotations_post200_response_secret_rotation_instance = ApiV1SecretRotationsPost200ResponseSecretRotation.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsPost200ResponseSecretRotation.to_json() - -# convert the object into a dict -api_v1_secret_rotations_post200_response_secret_rotation_dict = api_v1_secret_rotations_post200_response_secret_rotation_instance.to_dict() -# create an instance of ApiV1SecretRotationsPost200ResponseSecretRotation from a dict -api_v1_secret_rotations_post200_response_secret_rotation_from_dict = ApiV1SecretRotationsPost200ResponseSecretRotation.from_dict(api_v1_secret_rotations_post200_response_secret_rotation_dict) -``` -[[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/docs/ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.md b/docs/ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.md deleted file mode 100644 index 5bb3c8d..0000000 --- a/docs/ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**key** | **str** | | -**secret_id** | **str** | | -**rotation_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner import ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner from a JSON string -api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner_instance = ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.to_json() - -# convert the object into a dict -api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner_dict = api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner_instance.to_dict() -# create an instance of ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner from a dict -api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner_from_dict = ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.from_dict(api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner_dict) -``` -[[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/docs/ApiV1SecretRotationsPostRequest.md b/docs/ApiV1SecretRotationsPostRequest.md deleted file mode 100644 index e803586..0000000 --- a/docs/ApiV1SecretRotationsPostRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1SecretRotationsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | | -**secret_path** | **str** | | -**environment** | **str** | | -**interval** | **float** | | -**provider** | **str** | | -**custom_provider** | **str** | | [optional] -**inputs** | **Dict[str, object]** | | -**outputs** | **Dict[str, str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_post_request import ApiV1SecretRotationsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsPostRequest from a JSON string -api_v1_secret_rotations_post_request_instance = ApiV1SecretRotationsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_rotations_post_request_dict = api_v1_secret_rotations_post_request_instance.to_dict() -# create an instance of ApiV1SecretRotationsPostRequest from a dict -api_v1_secret_rotations_post_request_from_dict = ApiV1SecretRotationsPostRequest.from_dict(api_v1_secret_rotations_post_request_dict) -``` -[[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/docs/ApiV1SecretRotationsRestartPost200Response.md b/docs/ApiV1SecretRotationsRestartPost200Response.md deleted file mode 100644 index 521f009..0000000 --- a/docs/ApiV1SecretRotationsRestartPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretRotationsRestartPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_rotation** | [**ApiV1SecretRotationsRestartPost200ResponseSecretRotation**](ApiV1SecretRotationsRestartPost200ResponseSecretRotation.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response import ApiV1SecretRotationsRestartPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsRestartPost200Response from a JSON string -api_v1_secret_rotations_restart_post200_response_instance = ApiV1SecretRotationsRestartPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsRestartPost200Response.to_json() - -# convert the object into a dict -api_v1_secret_rotations_restart_post200_response_dict = api_v1_secret_rotations_restart_post200_response_instance.to_dict() -# create an instance of ApiV1SecretRotationsRestartPost200Response from a dict -api_v1_secret_rotations_restart_post200_response_from_dict = ApiV1SecretRotationsRestartPost200Response.from_dict(api_v1_secret_rotations_restart_post200_response_dict) -``` -[[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/docs/ApiV1SecretRotationsRestartPost200ResponseSecretRotation.md b/docs/ApiV1SecretRotationsRestartPost200ResponseSecretRotation.md deleted file mode 100644 index 5c71ee4..0000000 --- a/docs/ApiV1SecretRotationsRestartPost200ResponseSecretRotation.md +++ /dev/null @@ -1,43 +0,0 @@ -# ApiV1SecretRotationsRestartPost200ResponseSecretRotation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**provider** | **str** | | -**secret_path** | **str** | | -**interval** | **float** | | -**last_rotated_at** | **datetime** | | [optional] -**status** | **str** | | [optional] -**status_message** | **str** | | [optional] -**encrypted_data** | **str** | | [optional] -**encrypted_data_iv** | **str** | | [optional] -**encrypted_data_tag** | **str** | | [optional] -**algorithm** | **str** | | [optional] -**key_encoding** | **str** | | [optional] -**env_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**environment** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response_secret_rotation import ApiV1SecretRotationsRestartPost200ResponseSecretRotation - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsRestartPost200ResponseSecretRotation from a JSON string -api_v1_secret_rotations_restart_post200_response_secret_rotation_instance = ApiV1SecretRotationsRestartPost200ResponseSecretRotation.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsRestartPost200ResponseSecretRotation.to_json() - -# convert the object into a dict -api_v1_secret_rotations_restart_post200_response_secret_rotation_dict = api_v1_secret_rotations_restart_post200_response_secret_rotation_instance.to_dict() -# create an instance of ApiV1SecretRotationsRestartPost200ResponseSecretRotation from a dict -api_v1_secret_rotations_restart_post200_response_secret_rotation_from_dict = ApiV1SecretRotationsRestartPost200ResponseSecretRotation.from_dict(api_v1_secret_rotations_restart_post200_response_secret_rotation_dict) -``` -[[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/docs/ApiV1SecretRotationsRestartPostRequest.md b/docs/ApiV1SecretRotationsRestartPostRequest.md deleted file mode 100644 index 38fa77d..0000000 --- a/docs/ApiV1SecretRotationsRestartPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretRotationsRestartPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_rotations_restart_post_request import ApiV1SecretRotationsRestartPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretRotationsRestartPostRequest from a JSON string -api_v1_secret_rotations_restart_post_request_instance = ApiV1SecretRotationsRestartPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretRotationsRestartPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_rotations_restart_post_request_dict = api_v1_secret_rotations_restart_post_request_instance.to_dict() -# create an instance of ApiV1SecretRotationsRestartPostRequest from a dict -api_v1_secret_rotations_restart_post_request_from_dict = ApiV1SecretRotationsRestartPostRequest.from_dict(api_v1_secret_rotations_restart_post_request_dict) -``` -[[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/docs/ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.md b/docs/ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.md deleted file mode 100644 index 308ff1b..0000000 --- a/docs/ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**session_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post200_response import ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response from a JSON string -api_v1_secret_scanning_create_installation_session_organization_post200_response_instance = ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.to_json() - -# convert the object into a dict -api_v1_secret_scanning_create_installation_session_organization_post200_response_dict = api_v1_secret_scanning_create_installation_session_organization_post200_response_instance.to_dict() -# create an instance of ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response from a dict -api_v1_secret_scanning_create_installation_session_organization_post200_response_from_dict = ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.from_dict(api_v1_secret_scanning_create_installation_session_organization_post200_response_dict) -``` -[[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/docs/ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.md b/docs/ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.md deleted file mode 100644 index 18ca42d..0000000 --- a/docs/ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post_request import ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest from a JSON string -api_v1_secret_scanning_create_installation_session_organization_post_request_instance = ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_scanning_create_installation_session_organization_post_request_dict = api_v1_secret_scanning_create_installation_session_organization_post_request_instance.to_dict() -# create an instance of ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest from a dict -api_v1_secret_scanning_create_installation_session_organization_post_request_from_dict = ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.from_dict(api_v1_secret_scanning_create_installation_session_organization_post_request_dict) -``` -[[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/docs/ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.md b/docs/ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.md deleted file mode 100644 index c9a4274..0000000 --- a/docs/ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**app_installation_completed** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_scanning_installation_status_organization_organization_id_get200_response import ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response from a JSON string -api_v1_secret_scanning_installation_status_organization_organization_id_get200_response_instance = ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_scanning_installation_status_organization_organization_id_get200_response_dict = api_v1_secret_scanning_installation_status_organization_organization_id_get200_response_instance.to_dict() -# create an instance of ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response from a dict -api_v1_secret_scanning_installation_status_organization_organization_id_get200_response_from_dict = ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.from_dict(api_v1_secret_scanning_installation_status_organization_organization_id_get200_response_dict) -``` -[[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/docs/ApiV1SecretScanningLinkInstallationPost200Response.md b/docs/ApiV1SecretScanningLinkInstallationPost200Response.md deleted file mode 100644 index e8e691f..0000000 --- a/docs/ApiV1SecretScanningLinkInstallationPost200Response.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1SecretScanningLinkInstallationPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**installation_id** | **str** | | -**user_id** | **str** | | -**org_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post200_response import ApiV1SecretScanningLinkInstallationPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretScanningLinkInstallationPost200Response from a JSON string -api_v1_secret_scanning_link_installation_post200_response_instance = ApiV1SecretScanningLinkInstallationPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretScanningLinkInstallationPost200Response.to_json() - -# convert the object into a dict -api_v1_secret_scanning_link_installation_post200_response_dict = api_v1_secret_scanning_link_installation_post200_response_instance.to_dict() -# create an instance of ApiV1SecretScanningLinkInstallationPost200Response from a dict -api_v1_secret_scanning_link_installation_post200_response_from_dict = ApiV1SecretScanningLinkInstallationPost200Response.from_dict(api_v1_secret_scanning_link_installation_post200_response_dict) -``` -[[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/docs/ApiV1SecretScanningLinkInstallationPostRequest.md b/docs/ApiV1SecretScanningLinkInstallationPostRequest.md deleted file mode 100644 index 5eb5164..0000000 --- a/docs/ApiV1SecretScanningLinkInstallationPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SecretScanningLinkInstallationPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**installation_id** | **str** | | -**session_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post_request import ApiV1SecretScanningLinkInstallationPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretScanningLinkInstallationPostRequest from a JSON string -api_v1_secret_scanning_link_installation_post_request_instance = ApiV1SecretScanningLinkInstallationPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretScanningLinkInstallationPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_scanning_link_installation_post_request_dict = api_v1_secret_scanning_link_installation_post_request_instance.to_dict() -# create an instance of ApiV1SecretScanningLinkInstallationPostRequest from a dict -api_v1_secret_scanning_link_installation_post_request_from_dict = ApiV1SecretScanningLinkInstallationPostRequest.from_dict(api_v1_secret_scanning_link_installation_post_request_dict) -``` -[[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/docs/ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.md b/docs/ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.md deleted file mode 100644 index f4ca976..0000000 --- a/docs/ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**risks** | [**List[ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner]**](ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response from a JSON string -api_v1_secret_scanning_organization_organization_id_risks_get200_response_instance = ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_scanning_organization_organization_id_risks_get200_response_dict = api_v1_secret_scanning_organization_organization_id_risks_get200_response_instance.to_dict() -# create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response from a dict -api_v1_secret_scanning_organization_organization_id_risks_get200_response_from_dict = ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.from_dict(api_v1_secret_scanning_organization_organization_id_risks_get200_response_dict) -``` -[[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/docs/ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.md b/docs/ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.md deleted file mode 100644 index 3412e98..0000000 --- a/docs/ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.md +++ /dev/null @@ -1,58 +0,0 @@ -# ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**description** | **str** | | [optional] -**start_line** | **str** | | [optional] -**end_line** | **str** | | [optional] -**start_column** | **str** | | [optional] -**end_column** | **str** | | [optional] -**file** | **str** | | [optional] -**symlink_file** | **str** | | [optional] -**commit** | **str** | | [optional] -**entropy** | **str** | | [optional] -**author** | **str** | | [optional] -**email** | **str** | | [optional] -**var_date** | **str** | | [optional] -**message** | **str** | | [optional] -**tags** | **List[str]** | | [optional] -**rule_id** | **str** | | [optional] -**fingerprint** | **str** | | [optional] -**finger_print_without_commit_id** | **str** | | [optional] -**is_false_positive** | **bool** | | [optional] [default to False] -**is_resolved** | **bool** | | [optional] [default to False] -**risk_owner** | **str** | | [optional] -**installation_id** | **str** | | -**repository_id** | **str** | | [optional] -**repository_link** | **str** | | [optional] -**repository_full_name** | **str** | | [optional] -**pusher_name** | **str** | | [optional] -**pusher_email** | **str** | | [optional] -**status** | **str** | | [optional] -**org_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner from a JSON string -api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner_instance = ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.to_json() - -# convert the object into a dict -api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner_dict = api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner_instance.to_dict() -# create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner from a dict -api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner_from_dict = ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.from_dict(api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner_dict) -``` -[[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/docs/ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.md b/docs/ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.md deleted file mode 100644 index b0400c7..0000000 --- a/docs/ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request import ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest from a JSON string -api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request_instance = ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request_dict = api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request_instance.to_dict() -# create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest from a dict -api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request_from_dict = ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.from_dict(api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request_dict) -``` -[[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/docs/ApiV1SecretSecretIdSecretVersionsGet200Response.md b/docs/ApiV1SecretSecretIdSecretVersionsGet200Response.md deleted file mode 100644 index 26958b9..0000000 --- a/docs/ApiV1SecretSecretIdSecretVersionsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretSecretIdSecretVersionsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_versions** | [**List[ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner]**](ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response import ApiV1SecretSecretIdSecretVersionsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSecretIdSecretVersionsGet200Response from a JSON string -api_v1_secret_secret_id_secret_versions_get200_response_instance = ApiV1SecretSecretIdSecretVersionsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSecretIdSecretVersionsGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_secret_id_secret_versions_get200_response_dict = api_v1_secret_secret_id_secret_versions_get200_response_instance.to_dict() -# create an instance of ApiV1SecretSecretIdSecretVersionsGet200Response from a dict -api_v1_secret_secret_id_secret_versions_get200_response_from_dict = ApiV1SecretSecretIdSecretVersionsGet200Response.from_dict(api_v1_secret_secret_id_secret_versions_get200_response_dict) -``` -[[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/docs/ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md b/docs/ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md deleted file mode 100644 index 278d10e..0000000 --- a/docs/ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md +++ /dev/null @@ -1,42 +0,0 @@ -# ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**id** | **str** | | -**workspace** | **str** | | -**environment** | **str** | | -**version** | **float** | | -**type** | **str** | | -**secret_key** | **str** | | -**secret_value** | **str** | | -**secret_comment** | **str** | | -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**metadata** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner import ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner from a JSON string -api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner_instance = ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.to_json() - -# convert the object into a dict -api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner_dict = api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner_instance.to_dict() -# create an instance of ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner from a dict -api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner_from_dict = ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.from_dict(api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner_dict) -``` -[[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/docs/ApiV1SecretSharingGet200Response.md b/docs/ApiV1SecretSharingGet200Response.md deleted file mode 100644 index 99aeb1b..0000000 --- a/docs/ApiV1SecretSharingGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SecretSharingGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets** | [**List[ApiV1SecretSharingGet200ResponseSecretsInner]**](ApiV1SecretSharingGet200ResponseSecretsInner.md) | | -**total_count** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_sharing_get200_response import ApiV1SecretSharingGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSharingGet200Response from a JSON string -api_v1_secret_sharing_get200_response_instance = ApiV1SecretSharingGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSharingGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_sharing_get200_response_dict = api_v1_secret_sharing_get200_response_instance.to_dict() -# create an instance of ApiV1SecretSharingGet200Response from a dict -api_v1_secret_sharing_get200_response_from_dict = ApiV1SecretSharingGet200Response.from_dict(api_v1_secret_sharing_get200_response_dict) -``` -[[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/docs/ApiV1SecretSharingGet200ResponseSecretsInner.md b/docs/ApiV1SecretSharingGet200ResponseSecretsInner.md deleted file mode 100644 index d6d7ea0..0000000 --- a/docs/ApiV1SecretSharingGet200ResponseSecretsInner.md +++ /dev/null @@ -1,41 +0,0 @@ -# ApiV1SecretSharingGet200ResponseSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**encrypted_value** | **str** | | -**iv** | **str** | | -**tag** | **str** | | -**hashed_hex** | **str** | | -**expires_at** | **datetime** | | -**user_id** | **str** | | [optional] -**org_id** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**expires_after_views** | **float** | | [optional] -**access_type** | **str** | | [optional] [default to 'anyone'] -**name** | **str** | | [optional] -**last_viewed_at** | **datetime** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_sharing_get200_response_secrets_inner import ApiV1SecretSharingGet200ResponseSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSharingGet200ResponseSecretsInner from a JSON string -api_v1_secret_sharing_get200_response_secrets_inner_instance = ApiV1SecretSharingGet200ResponseSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSharingGet200ResponseSecretsInner.to_json() - -# convert the object into a dict -api_v1_secret_sharing_get200_response_secrets_inner_dict = api_v1_secret_sharing_get200_response_secrets_inner_instance.to_dict() -# create an instance of ApiV1SecretSharingGet200ResponseSecretsInner from a dict -api_v1_secret_sharing_get200_response_secrets_inner_from_dict = ApiV1SecretSharingGet200ResponseSecretsInner.from_dict(api_v1_secret_sharing_get200_response_secrets_inner_dict) -``` -[[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/docs/ApiV1SecretSharingPost200Response.md b/docs/ApiV1SecretSharingPost200Response.md deleted file mode 100644 index f834dfe..0000000 --- a/docs/ApiV1SecretSharingPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretSharingPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_sharing_post200_response import ApiV1SecretSharingPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSharingPost200Response from a JSON string -api_v1_secret_sharing_post200_response_instance = ApiV1SecretSharingPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSharingPost200Response.to_json() - -# convert the object into a dict -api_v1_secret_sharing_post200_response_dict = api_v1_secret_sharing_post200_response_instance.to_dict() -# create an instance of ApiV1SecretSharingPost200Response from a dict -api_v1_secret_sharing_post200_response_from_dict = ApiV1SecretSharingPost200Response.from_dict(api_v1_secret_sharing_post200_response_dict) -``` -[[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/docs/ApiV1SecretSharingPostRequest.md b/docs/ApiV1SecretSharingPostRequest.md deleted file mode 100644 index 3b56d75..0000000 --- a/docs/ApiV1SecretSharingPostRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1SecretSharingPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**encrypted_value** | **str** | | -**hashed_hex** | **str** | | -**iv** | **str** | | -**tag** | **str** | | -**expires_at** | **str** | | -**expires_after_views** | **float** | | [optional] -**access_type** | **str** | | [optional] [default to 'organization'] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_sharing_post_request import ApiV1SecretSharingPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSharingPostRequest from a JSON string -api_v1_secret_sharing_post_request_instance = ApiV1SecretSharingPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSharingPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_sharing_post_request_dict = api_v1_secret_sharing_post_request_instance.to_dict() -# create an instance of ApiV1SecretSharingPostRequest from a dict -api_v1_secret_sharing_post_request_from_dict = ApiV1SecretSharingPostRequest.from_dict(api_v1_secret_sharing_post_request_dict) -``` -[[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/docs/ApiV1SecretSharingPublicIdGet200Response.md b/docs/ApiV1SecretSharingPublicIdGet200Response.md deleted file mode 100644 index 82edc28..0000000 --- a/docs/ApiV1SecretSharingPublicIdGet200Response.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1SecretSharingPublicIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**encrypted_value** | **str** | | -**iv** | **str** | | -**tag** | **str** | | -**expires_at** | **datetime** | | -**expires_after_views** | **float** | | [optional] -**access_type** | **str** | | [optional] [default to 'anyone'] -**org_name** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_sharing_public_id_get200_response import ApiV1SecretSharingPublicIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSharingPublicIdGet200Response from a JSON string -api_v1_secret_sharing_public_id_get200_response_instance = ApiV1SecretSharingPublicIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSharingPublicIdGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_sharing_public_id_get200_response_dict = api_v1_secret_sharing_public_id_get200_response_instance.to_dict() -# create an instance of ApiV1SecretSharingPublicIdGet200Response from a dict -api_v1_secret_sharing_public_id_get200_response_from_dict = ApiV1SecretSharingPublicIdGet200Response.from_dict(api_v1_secret_sharing_public_id_get200_response_dict) -``` -[[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/docs/ApiV1SecretSharingPublicPostRequest.md b/docs/ApiV1SecretSharingPublicPostRequest.md deleted file mode 100644 index 670e533..0000000 --- a/docs/ApiV1SecretSharingPublicPostRequest.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1SecretSharingPublicPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**encrypted_value** | **str** | | -**hashed_hex** | **str** | | -**iv** | **str** | | -**tag** | **str** | | -**expires_at** | **str** | | -**expires_after_views** | **float** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_sharing_public_post_request import ApiV1SecretSharingPublicPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSharingPublicPostRequest from a JSON string -api_v1_secret_sharing_public_post_request_instance = ApiV1SecretSharingPublicPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSharingPublicPostRequest.to_json() - -# convert the object into a dict -api_v1_secret_sharing_public_post_request_dict = api_v1_secret_sharing_public_post_request_instance.to_dict() -# create an instance of ApiV1SecretSharingPublicPostRequest from a dict -api_v1_secret_sharing_public_post_request_from_dict = ApiV1SecretSharingPublicPostRequest.from_dict(api_v1_secret_sharing_public_post_request_dict) -``` -[[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/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200Response.md b/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200Response.md deleted file mode 100644 index c769156..0000000 --- a/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretSnapshotSecretSnapshotIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_snapshot** | [**ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot**](ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response import ApiV1SecretSnapshotSecretSnapshotIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200Response from a JSON string -api_v1_secret_snapshot_secret_snapshot_id_get200_response_instance = ApiV1SecretSnapshotSecretSnapshotIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSnapshotSecretSnapshotIdGet200Response.to_json() - -# convert the object into a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_dict = api_v1_secret_snapshot_secret_snapshot_id_get200_response_instance.to_dict() -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200Response from a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_from_dict = ApiV1SecretSnapshotSecretSnapshotIdGet200Response.from_dict(api_v1_secret_snapshot_secret_snapshot_id_get200_response_dict) -``` -[[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/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.md b/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.md deleted file mode 100644 index d4f652b..0000000 --- a/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**project_id** | **str** | | -**environment** | [**ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment**](ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.md) | | -**secret_versions** | [**List[ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner]**](ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.md) | | -**folder_version** | [**List[ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner]**](ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.md) | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot from a JSON string -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_instance = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.to_json() - -# convert the object into a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_dict = api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_instance.to_dict() -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot from a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_from_dict = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.from_dict(api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_dict) -``` -[[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/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.md b/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.md deleted file mode 100644 index cbab767..0000000 --- a/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**slug** | **str** | | -**name** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment from a JSON string -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment_instance = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.to_json() - -# convert the object into a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment_dict = api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment_instance.to_dict() -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment from a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment_from_dict = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.from_dict(api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment_dict) -``` -[[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/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.md b/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.md deleted file mode 100644 index 619fba3..0000000 --- a/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner from a JSON string -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner_instance = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.to_json() - -# convert the object into a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner_dict = api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner_instance.to_dict() -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner from a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner_from_dict = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.from_dict(api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner_dict) -``` -[[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/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.md b/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.md deleted file mode 100644 index 5446908..0000000 --- a/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | -**secret_key** | **str** | | -**secret_value** | **str** | | -**secret_comment** | **str** | | -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**metadata** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**secret_id** | **str** | | -**tags** | [**List[ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner]**](ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner from a JSON string -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_instance = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.to_json() - -# convert the object into a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_dict = api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_instance.to_dict() -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner from a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_from_dict = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.from_dict(api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_dict) -``` -[[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/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.md b/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.md deleted file mode 100644 index 8cf0de3..0000000 --- a/docs/ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**slug** | **str** | | -**color** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner from a JSON string -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner_instance = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.to_json() - -# convert the object into a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner_dict = api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner_instance.to_dict() -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner from a dict -api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner_from_dict = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.from_dict(api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner_dict) -``` -[[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/docs/ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.md b/docs/ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.md deleted file mode 100644 index 1568152..0000000 --- a/docs/ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_snapshot** | [**ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner**](ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response import ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response from a JSON string -api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response_instance = ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.to_json() - -# convert the object into a dict -api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response_dict = api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response_instance.to_dict() -# create an instance of ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response from a dict -api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response_from_dict = ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.from_dict(api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response_dict) -``` -[[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/docs/ApiV1SsoConfigGet200Response.md b/docs/ApiV1SsoConfigGet200Response.md deleted file mode 100644 index 317a595..0000000 --- a/docs/ApiV1SsoConfigGet200Response.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV1SsoConfigGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**organization** | **str** | | -**org_id** | **str** | | -**auth_provider** | **str** | | -**is_active** | **bool** | | -**entry_point** | **str** | | -**issuer** | **str** | | -**cert** | **str** | | -**last_used** | **datetime** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_sso_config_get200_response import ApiV1SsoConfigGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SsoConfigGet200Response from a JSON string -api_v1_sso_config_get200_response_instance = ApiV1SsoConfigGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SsoConfigGet200Response.to_json() - -# convert the object into a dict -api_v1_sso_config_get200_response_dict = api_v1_sso_config_get200_response_instance.to_dict() -# create an instance of ApiV1SsoConfigGet200Response from a dict -api_v1_sso_config_get200_response_from_dict = ApiV1SsoConfigGet200Response.from_dict(api_v1_sso_config_get200_response_dict) -``` -[[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/docs/ApiV1SsoConfigPatchRequest.md b/docs/ApiV1SsoConfigPatchRequest.md deleted file mode 100644 index 50405a7..0000000 --- a/docs/ApiV1SsoConfigPatchRequest.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1SsoConfigPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auth_provider** | **str** | | [optional] -**is_active** | **bool** | | [optional] -**entry_point** | **str** | | [optional] -**issuer** | **str** | | [optional] -**cert** | **str** | | [optional] -**organization_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_sso_config_patch_request import ApiV1SsoConfigPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SsoConfigPatchRequest from a JSON string -api_v1_sso_config_patch_request_instance = ApiV1SsoConfigPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SsoConfigPatchRequest.to_json() - -# convert the object into a dict -api_v1_sso_config_patch_request_dict = api_v1_sso_config_patch_request_instance.to_dict() -# create an instance of ApiV1SsoConfigPatchRequest from a dict -api_v1_sso_config_patch_request_from_dict = ApiV1SsoConfigPatchRequest.from_dict(api_v1_sso_config_patch_request_dict) -``` -[[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/docs/ApiV1SsoConfigPost200Response.md b/docs/ApiV1SsoConfigPost200Response.md deleted file mode 100644 index 3ba8f4c..0000000 --- a/docs/ApiV1SsoConfigPost200Response.md +++ /dev/null @@ -1,43 +0,0 @@ -# ApiV1SsoConfigPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**auth_provider** | **str** | | -**is_active** | **bool** | | -**encrypted_entry_point** | **str** | | [optional] -**entry_point_iv** | **str** | | [optional] -**entry_point_tag** | **str** | | [optional] -**encrypted_issuer** | **str** | | [optional] -**issuer_tag** | **str** | | [optional] -**issuer_iv** | **str** | | [optional] -**encrypted_cert** | **str** | | [optional] -**cert_iv** | **str** | | [optional] -**cert_tag** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**org_id** | **str** | | -**last_used** | **datetime** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_sso_config_post200_response import ApiV1SsoConfigPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SsoConfigPost200Response from a JSON string -api_v1_sso_config_post200_response_instance = ApiV1SsoConfigPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SsoConfigPost200Response.to_json() - -# convert the object into a dict -api_v1_sso_config_post200_response_dict = api_v1_sso_config_post200_response_instance.to_dict() -# create an instance of ApiV1SsoConfigPost200Response from a dict -api_v1_sso_config_post200_response_from_dict = ApiV1SsoConfigPost200Response.from_dict(api_v1_sso_config_post200_response_dict) -``` -[[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/docs/ApiV1SsoConfigPostRequest.md b/docs/ApiV1SsoConfigPostRequest.md deleted file mode 100644 index 0d253b4..0000000 --- a/docs/ApiV1SsoConfigPostRequest.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1SsoConfigPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_id** | **str** | | -**auth_provider** | **str** | | -**is_active** | **bool** | | -**entry_point** | **str** | | -**issuer** | **str** | | -**cert** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_sso_config_post_request import ApiV1SsoConfigPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SsoConfigPostRequest from a JSON string -api_v1_sso_config_post_request_instance = ApiV1SsoConfigPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SsoConfigPostRequest.to_json() - -# convert the object into a dict -api_v1_sso_config_post_request_dict = api_v1_sso_config_post_request_instance.to_dict() -# create an instance of ApiV1SsoConfigPostRequest from a dict -api_v1_sso_config_post_request_from_dict = ApiV1SsoConfigPostRequest.from_dict(api_v1_sso_config_post_request_dict) -``` -[[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/docs/ApiV1SsoOidcConfigGet200Response.md b/docs/ApiV1SsoOidcConfigGet200Response.md deleted file mode 100644 index 19b8fbd..0000000 --- a/docs/ApiV1SsoOidcConfigGet200Response.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV1SsoOidcConfigGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**issuer** | **str** | | [optional] -**authorization_endpoint** | **str** | | [optional] -**jwks_uri** | **str** | | [optional] -**token_endpoint** | **str** | | [optional] -**userinfo_endpoint** | **str** | | [optional] -**configuration_type** | **str** | | -**discovery_url** | **str** | | [optional] -**is_active** | **bool** | | -**org_id** | **str** | | -**allowed_email_domains** | **str** | | [optional] -**client_id** | **str** | | -**client_secret** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_sso_oidc_config_get200_response import ApiV1SsoOidcConfigGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SsoOidcConfigGet200Response from a JSON string -api_v1_sso_oidc_config_get200_response_instance = ApiV1SsoOidcConfigGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SsoOidcConfigGet200Response.to_json() - -# convert the object into a dict -api_v1_sso_oidc_config_get200_response_dict = api_v1_sso_oidc_config_get200_response_instance.to_dict() -# create an instance of ApiV1SsoOidcConfigGet200Response from a dict -api_v1_sso_oidc_config_get200_response_from_dict = ApiV1SsoOidcConfigGet200Response.from_dict(api_v1_sso_oidc_config_get200_response_dict) -``` -[[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/docs/ApiV1SsoOidcConfigPatch200Response.md b/docs/ApiV1SsoOidcConfigPatch200Response.md deleted file mode 100644 index 27478c0..0000000 --- a/docs/ApiV1SsoOidcConfigPatch200Response.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1SsoOidcConfigPatch200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**issuer** | **str** | | [optional] -**authorization_endpoint** | **str** | | [optional] -**configuration_type** | **str** | | -**discovery_url** | **str** | | [optional] -**jwks_uri** | **str** | | [optional] -**token_endpoint** | **str** | | [optional] -**userinfo_endpoint** | **str** | | [optional] -**org_id** | **str** | | -**allowed_email_domains** | **str** | | [optional] -**is_active** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_sso_oidc_config_patch200_response import ApiV1SsoOidcConfigPatch200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SsoOidcConfigPatch200Response from a JSON string -api_v1_sso_oidc_config_patch200_response_instance = ApiV1SsoOidcConfigPatch200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SsoOidcConfigPatch200Response.to_json() - -# convert the object into a dict -api_v1_sso_oidc_config_patch200_response_dict = api_v1_sso_oidc_config_patch200_response_instance.to_dict() -# create an instance of ApiV1SsoOidcConfigPatch200Response from a dict -api_v1_sso_oidc_config_patch200_response_from_dict = ApiV1SsoOidcConfigPatch200Response.from_dict(api_v1_sso_oidc_config_patch200_response_dict) -``` -[[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/docs/ApiV1SsoOidcConfigPatchRequest.md b/docs/ApiV1SsoOidcConfigPatchRequest.md deleted file mode 100644 index 13a532e..0000000 --- a/docs/ApiV1SsoOidcConfigPatchRequest.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1SsoOidcConfigPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allowed_email_domains** | **str** | | [optional] [default to ''] -**discovery_url** | **str** | | [optional] -**configuration_type** | **str** | | [optional] -**issuer** | **str** | | [optional] -**authorization_endpoint** | **str** | | [optional] -**jwks_uri** | **str** | | [optional] -**token_endpoint** | **str** | | [optional] -**userinfo_endpoint** | **str** | | [optional] -**client_id** | **str** | | [optional] -**client_secret** | **str** | | [optional] -**is_active** | **bool** | | [optional] -**org_slug** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_sso_oidc_config_patch_request import ApiV1SsoOidcConfigPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SsoOidcConfigPatchRequest from a JSON string -api_v1_sso_oidc_config_patch_request_instance = ApiV1SsoOidcConfigPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SsoOidcConfigPatchRequest.to_json() - -# convert the object into a dict -api_v1_sso_oidc_config_patch_request_dict = api_v1_sso_oidc_config_patch_request_instance.to_dict() -# create an instance of ApiV1SsoOidcConfigPatchRequest from a dict -api_v1_sso_oidc_config_patch_request_from_dict = ApiV1SsoOidcConfigPatchRequest.from_dict(api_v1_sso_oidc_config_patch_request_dict) -``` -[[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/docs/ApiV1SsoOidcConfigPost200Response.md b/docs/ApiV1SsoOidcConfigPost200Response.md deleted file mode 100644 index 0744252..0000000 --- a/docs/ApiV1SsoOidcConfigPost200Response.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1SsoOidcConfigPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**issuer** | **str** | | [optional] -**authorization_endpoint** | **str** | | [optional] -**configuration_type** | **str** | | -**discovery_url** | **str** | | [optional] -**jwks_uri** | **str** | | [optional] -**token_endpoint** | **str** | | [optional] -**userinfo_endpoint** | **str** | | [optional] -**org_id** | **str** | | -**is_active** | **bool** | | -**allowed_email_domains** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_sso_oidc_config_post200_response import ApiV1SsoOidcConfigPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SsoOidcConfigPost200Response from a JSON string -api_v1_sso_oidc_config_post200_response_instance = ApiV1SsoOidcConfigPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1SsoOidcConfigPost200Response.to_json() - -# convert the object into a dict -api_v1_sso_oidc_config_post200_response_dict = api_v1_sso_oidc_config_post200_response_instance.to_dict() -# create an instance of ApiV1SsoOidcConfigPost200Response from a dict -api_v1_sso_oidc_config_post200_response_from_dict = ApiV1SsoOidcConfigPost200Response.from_dict(api_v1_sso_oidc_config_post200_response_dict) -``` -[[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/docs/ApiV1SsoOidcConfigPostRequest.md b/docs/ApiV1SsoOidcConfigPostRequest.md deleted file mode 100644 index 7e4cc0c..0000000 --- a/docs/ApiV1SsoOidcConfigPostRequest.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1SsoOidcConfigPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allowed_email_domains** | **str** | | [optional] [default to ''] -**configuration_type** | **str** | | -**issuer** | **str** | | [optional] [default to ''] -**discovery_url** | **str** | | [optional] [default to ''] -**authorization_endpoint** | **str** | | [optional] [default to ''] -**jwks_uri** | **str** | | [optional] [default to ''] -**token_endpoint** | **str** | | [optional] [default to ''] -**userinfo_endpoint** | **str** | | [optional] [default to ''] -**client_id** | **str** | | -**client_secret** | **str** | | -**is_active** | **bool** | | -**org_slug** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_sso_oidc_config_post_request import ApiV1SsoOidcConfigPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SsoOidcConfigPostRequest from a JSON string -api_v1_sso_oidc_config_post_request_instance = ApiV1SsoOidcConfigPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SsoOidcConfigPostRequest.to_json() - -# convert the object into a dict -api_v1_sso_oidc_config_post_request_dict = api_v1_sso_oidc_config_post_request_instance.to_dict() -# create an instance of ApiV1SsoOidcConfigPostRequest from a dict -api_v1_sso_oidc_config_post_request_from_dict = ApiV1SsoOidcConfigPostRequest.from_dict(api_v1_sso_oidc_config_post_request_dict) -``` -[[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/docs/ApiV1SsoTokenExchangePostRequest.md b/docs/ApiV1SsoTokenExchangePostRequest.md deleted file mode 100644 index 94dd267..0000000 --- a/docs/ApiV1SsoTokenExchangePostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1SsoTokenExchangePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**provider_auth_token** | **str** | | -**email** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_sso_token_exchange_post_request import ApiV1SsoTokenExchangePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1SsoTokenExchangePostRequest from a JSON string -api_v1_sso_token_exchange_post_request_instance = ApiV1SsoTokenExchangePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1SsoTokenExchangePostRequest.to_json() - -# convert the object into a dict -api_v1_sso_token_exchange_post_request_dict = api_v1_sso_token_exchange_post_request_instance.to_dict() -# create an instance of ApiV1SsoTokenExchangePostRequest from a dict -api_v1_sso_token_exchange_post_request_from_dict = ApiV1SsoTokenExchangePostRequest.from_dict(api_v1_sso_token_exchange_post_request_dict) -``` -[[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/docs/ApiV1UserActionGet200Response.md b/docs/ApiV1UserActionGet200Response.md deleted file mode 100644 index a9900bd..0000000 --- a/docs/ApiV1UserActionGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1UserActionGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_action** | [**ApiV1UserActionGet200ResponseUserAction**](ApiV1UserActionGet200ResponseUserAction.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_user_action_get200_response import ApiV1UserActionGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserActionGet200Response from a JSON string -api_v1_user_action_get200_response_instance = ApiV1UserActionGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1UserActionGet200Response.to_json() - -# convert the object into a dict -api_v1_user_action_get200_response_dict = api_v1_user_action_get200_response_instance.to_dict() -# create an instance of ApiV1UserActionGet200Response from a dict -api_v1_user_action_get200_response_from_dict = ApiV1UserActionGet200Response.from_dict(api_v1_user_action_get200_response_dict) -``` -[[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/docs/ApiV1UserActionGet200ResponseUserAction.md b/docs/ApiV1UserActionGet200ResponseUserAction.md deleted file mode 100644 index 8c54b62..0000000 --- a/docs/ApiV1UserActionGet200ResponseUserAction.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1UserActionGet200ResponseUserAction - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**action** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**user_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_user_action_get200_response_user_action import ApiV1UserActionGet200ResponseUserAction - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserActionGet200ResponseUserAction from a JSON string -api_v1_user_action_get200_response_user_action_instance = ApiV1UserActionGet200ResponseUserAction.from_json(json) -# print the JSON string representation of the object -print ApiV1UserActionGet200ResponseUserAction.to_json() - -# convert the object into a dict -api_v1_user_action_get200_response_user_action_dict = api_v1_user_action_get200_response_user_action_instance.to_dict() -# create an instance of ApiV1UserActionGet200ResponseUserAction from a dict -api_v1_user_action_get200_response_user_action_from_dict = ApiV1UserActionGet200ResponseUserAction.from_dict(api_v1_user_action_get200_response_user_action_dict) -``` -[[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/docs/ApiV1UserActionPost200Response.md b/docs/ApiV1UserActionPost200Response.md deleted file mode 100644 index d26f652..0000000 --- a/docs/ApiV1UserActionPost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1UserActionPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**user_action** | [**ApiV1UserActionPost200ResponseUserAction**](ApiV1UserActionPost200ResponseUserAction.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_user_action_post200_response import ApiV1UserActionPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserActionPost200Response from a JSON string -api_v1_user_action_post200_response_instance = ApiV1UserActionPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1UserActionPost200Response.to_json() - -# convert the object into a dict -api_v1_user_action_post200_response_dict = api_v1_user_action_post200_response_instance.to_dict() -# create an instance of ApiV1UserActionPost200Response from a dict -api_v1_user_action_post200_response_from_dict = ApiV1UserActionPost200Response.from_dict(api_v1_user_action_post200_response_dict) -``` -[[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/docs/ApiV1UserActionPost200ResponseUserAction.md b/docs/ApiV1UserActionPost200ResponseUserAction.md deleted file mode 100644 index dcf1341..0000000 --- a/docs/ApiV1UserActionPost200ResponseUserAction.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1UserActionPost200ResponseUserAction - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**action** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**user_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_user_action_post200_response_user_action import ApiV1UserActionPost200ResponseUserAction - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserActionPost200ResponseUserAction from a JSON string -api_v1_user_action_post200_response_user_action_instance = ApiV1UserActionPost200ResponseUserAction.from_json(json) -# print the JSON string representation of the object -print ApiV1UserActionPost200ResponseUserAction.to_json() - -# convert the object into a dict -api_v1_user_action_post200_response_user_action_dict = api_v1_user_action_post200_response_user_action_instance.to_dict() -# create an instance of ApiV1UserActionPost200ResponseUserAction from a dict -api_v1_user_action_post200_response_user_action_from_dict = ApiV1UserActionPost200ResponseUserAction.from_dict(api_v1_user_action_post200_response_user_action_dict) -``` -[[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/docs/ApiV1UserActionPostRequest.md b/docs/ApiV1UserActionPostRequest.md deleted file mode 100644 index 4372a12..0000000 --- a/docs/ApiV1UserActionPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1UserActionPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_user_action_post_request import ApiV1UserActionPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserActionPostRequest from a JSON string -api_v1_user_action_post_request_instance = ApiV1UserActionPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1UserActionPostRequest.to_json() - -# convert the object into a dict -api_v1_user_action_post_request_dict = api_v1_user_action_post_request_instance.to_dict() -# create an instance of ApiV1UserActionPostRequest from a dict -api_v1_user_action_post_request_from_dict = ApiV1UserActionPostRequest.from_dict(api_v1_user_action_post_request_dict) -``` -[[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/docs/ApiV1UserEngagementMeWishPostRequest.md b/docs/ApiV1UserEngagementMeWishPostRequest.md deleted file mode 100644 index 7796a1b..0000000 --- a/docs/ApiV1UserEngagementMeWishPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1UserEngagementMeWishPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**text** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_user_engagement_me_wish_post_request import ApiV1UserEngagementMeWishPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserEngagementMeWishPostRequest from a JSON string -api_v1_user_engagement_me_wish_post_request_instance = ApiV1UserEngagementMeWishPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1UserEngagementMeWishPostRequest.to_json() - -# convert the object into a dict -api_v1_user_engagement_me_wish_post_request_dict = api_v1_user_engagement_me_wish_post_request_instance.to_dict() -# create an instance of ApiV1UserEngagementMeWishPostRequest from a dict -api_v1_user_engagement_me_wish_post_request_from_dict = ApiV1UserEngagementMeWishPostRequest.from_dict(api_v1_user_engagement_me_wish_post_request_dict) -``` -[[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/docs/ApiV1UserGet200Response.md b/docs/ApiV1UserGet200Response.md deleted file mode 100644 index 06aeb1c..0000000 --- a/docs/ApiV1UserGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1UserGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user** | [**ApiV1UserGet200ResponseUser**](ApiV1UserGet200ResponseUser.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_user_get200_response import ApiV1UserGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserGet200Response from a JSON string -api_v1_user_get200_response_instance = ApiV1UserGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1UserGet200Response.to_json() - -# convert the object into a dict -api_v1_user_get200_response_dict = api_v1_user_get200_response_instance.to_dict() -# create an instance of ApiV1UserGet200Response from a dict -api_v1_user_get200_response_from_dict = ApiV1UserGet200Response.from_dict(api_v1_user_get200_response_dict) -``` -[[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/docs/ApiV1UserGet200ResponseUser.md b/docs/ApiV1UserGet200ResponseUser.md deleted file mode 100644 index 50f67a7..0000000 --- a/docs/ApiV1UserGet200ResponseUser.md +++ /dev/null @@ -1,59 +0,0 @@ -# ApiV1UserGet200ResponseUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**email** | **str** | | [optional] -**auth_methods** | **List[str]** | | [optional] -**super_admin** | **bool** | | [optional] [default to False] -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**is_accepted** | **bool** | | [optional] [default to False] -**is_mfa_enabled** | **bool** | | [optional] [default to False] -**mfa_methods** | **List[str]** | | [optional] -**devices** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**is_ghost** | **bool** | | [optional] [default to False] -**username** | **str** | | -**is_email_verified** | **bool** | | [optional] [default to False] -**consecutive_failed_mfa_attempts** | **float** | | [optional] [default to 0] -**is_locked** | **bool** | | [optional] [default to False] -**temporary_lock_date_end** | **datetime** | | [optional] -**consecutive_failed_password_attempts** | **float** | | [optional] [default to 0] -**client_public_key** | **str** | | [optional] -**server_private_key** | **str** | | [optional] -**encryption_version** | **float** | | [optional] [default to 2] -**protected_key** | **str** | | [optional] -**protected_key_iv** | **str** | | [optional] -**protected_key_tag** | **str** | | [optional] -**public_key** | **str** | | -**encrypted_private_key** | **str** | | -**iv** | **str** | | -**tag** | **str** | | -**salt** | **str** | | -**verifier** | **str** | | -**user_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_user_get200_response_user import ApiV1UserGet200ResponseUser - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserGet200ResponseUser from a JSON string -api_v1_user_get200_response_user_instance = ApiV1UserGet200ResponseUser.from_json(json) -# print the JSON string representation of the object -print ApiV1UserGet200ResponseUser.to_json() - -# convert the object into a dict -api_v1_user_get200_response_user_dict = api_v1_user_get200_response_user_instance.to_dict() -# create an instance of ApiV1UserGet200ResponseUser from a dict -api_v1_user_get200_response_user_from_dict = ApiV1UserGet200ResponseUser.from_dict(api_v1_user_get200_response_user_dict) -``` -[[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/docs/ApiV1UserMeProjectFavoritesGet200Response.md b/docs/ApiV1UserMeProjectFavoritesGet200Response.md deleted file mode 100644 index b8a68b9..0000000 --- a/docs/ApiV1UserMeProjectFavoritesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1UserMeProjectFavoritesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_favorites** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_user_me_project_favorites_get200_response import ApiV1UserMeProjectFavoritesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserMeProjectFavoritesGet200Response from a JSON string -api_v1_user_me_project_favorites_get200_response_instance = ApiV1UserMeProjectFavoritesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1UserMeProjectFavoritesGet200Response.to_json() - -# convert the object into a dict -api_v1_user_me_project_favorites_get200_response_dict = api_v1_user_me_project_favorites_get200_response_instance.to_dict() -# create an instance of ApiV1UserMeProjectFavoritesGet200Response from a dict -api_v1_user_me_project_favorites_get200_response_from_dict = ApiV1UserMeProjectFavoritesGet200Response.from_dict(api_v1_user_me_project_favorites_get200_response_dict) -``` -[[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/docs/ApiV1UserMeProjectFavoritesPutRequest.md b/docs/ApiV1UserMeProjectFavoritesPutRequest.md deleted file mode 100644 index 6f26eee..0000000 --- a/docs/ApiV1UserMeProjectFavoritesPutRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1UserMeProjectFavoritesPutRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**org_id** | **str** | | -**project_favorites** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_user_me_project_favorites_put_request import ApiV1UserMeProjectFavoritesPutRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserMeProjectFavoritesPutRequest from a JSON string -api_v1_user_me_project_favorites_put_request_instance = ApiV1UserMeProjectFavoritesPutRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1UserMeProjectFavoritesPutRequest.to_json() - -# convert the object into a dict -api_v1_user_me_project_favorites_put_request_dict = api_v1_user_me_project_favorites_put_request_instance.to_dict() -# create an instance of ApiV1UserMeProjectFavoritesPutRequest from a dict -api_v1_user_me_project_favorites_put_request_from_dict = ApiV1UserMeProjectFavoritesPutRequest.from_dict(api_v1_user_me_project_favorites_put_request_dict) -``` -[[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/docs/ApiV1UserPrivateKeyGet200Response.md b/docs/ApiV1UserPrivateKeyGet200Response.md deleted file mode 100644 index 217f713..0000000 --- a/docs/ApiV1UserPrivateKeyGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1UserPrivateKeyGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**private_key** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_user_private_key_get200_response import ApiV1UserPrivateKeyGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1UserPrivateKeyGet200Response from a JSON string -api_v1_user_private_key_get200_response_instance = ApiV1UserPrivateKeyGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1UserPrivateKeyGet200Response.to_json() - -# convert the object into a dict -api_v1_user_private_key_get200_response_dict = api_v1_user_private_key_get200_response_instance.to_dict() -# create an instance of ApiV1UserPrivateKeyGet200Response from a dict -api_v1_user_private_key_get200_response_from_dict = ApiV1UserPrivateKeyGet200Response.from_dict(api_v1_user_private_key_get200_response_dict) -``` -[[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/docs/ApiV1WebhooksGet200Response.md b/docs/ApiV1WebhooksGet200Response.md deleted file mode 100644 index 5238e43..0000000 --- a/docs/ApiV1WebhooksGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WebhooksGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**webhooks** | [**List[ApiV1WebhooksGet200ResponseWebhooksInner]**](ApiV1WebhooksGet200ResponseWebhooksInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_webhooks_get200_response import ApiV1WebhooksGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WebhooksGet200Response from a JSON string -api_v1_webhooks_get200_response_instance = ApiV1WebhooksGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WebhooksGet200Response.to_json() - -# convert the object into a dict -api_v1_webhooks_get200_response_dict = api_v1_webhooks_get200_response_instance.to_dict() -# create an instance of ApiV1WebhooksGet200Response from a dict -api_v1_webhooks_get200_response_from_dict = ApiV1WebhooksGet200Response.from_dict(api_v1_webhooks_get200_response_dict) -``` -[[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/docs/ApiV1WebhooksGet200ResponseWebhooksInner.md b/docs/ApiV1WebhooksGet200ResponseWebhooksInner.md deleted file mode 100644 index de9fa0d..0000000 --- a/docs/ApiV1WebhooksGet200ResponseWebhooksInner.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV1WebhooksGet200ResponseWebhooksInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**secret_path** | **str** | | [optional] [default to '/'] -**last_status** | **str** | | [optional] -**last_run_error_message** | **str** | | [optional] -**is_disabled** | **bool** | | [optional] [default to False] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**env_id** | **str** | | -**type** | **str** | | [optional] [default to 'general'] -**project_id** | **str** | | -**environment** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | -**url** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_webhooks_get200_response_webhooks_inner import ApiV1WebhooksGet200ResponseWebhooksInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WebhooksGet200ResponseWebhooksInner from a JSON string -api_v1_webhooks_get200_response_webhooks_inner_instance = ApiV1WebhooksGet200ResponseWebhooksInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WebhooksGet200ResponseWebhooksInner.to_json() - -# convert the object into a dict -api_v1_webhooks_get200_response_webhooks_inner_dict = api_v1_webhooks_get200_response_webhooks_inner_instance.to_dict() -# create an instance of ApiV1WebhooksGet200ResponseWebhooksInner from a dict -api_v1_webhooks_get200_response_webhooks_inner_from_dict = ApiV1WebhooksGet200ResponseWebhooksInner.from_dict(api_v1_webhooks_get200_response_webhooks_inner_dict) -``` -[[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/docs/ApiV1WebhooksPost200Response.md b/docs/ApiV1WebhooksPost200Response.md deleted file mode 100644 index 224e288..0000000 --- a/docs/ApiV1WebhooksPost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WebhooksPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**webhook** | [**ApiV1WebhooksPost200ResponseWebhook**](ApiV1WebhooksPost200ResponseWebhook.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_webhooks_post200_response import ApiV1WebhooksPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WebhooksPost200Response from a JSON string -api_v1_webhooks_post200_response_instance = ApiV1WebhooksPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WebhooksPost200Response.to_json() - -# convert the object into a dict -api_v1_webhooks_post200_response_dict = api_v1_webhooks_post200_response_instance.to_dict() -# create an instance of ApiV1WebhooksPost200Response from a dict -api_v1_webhooks_post200_response_from_dict = ApiV1WebhooksPost200Response.from_dict(api_v1_webhooks_post200_response_dict) -``` -[[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/docs/ApiV1WebhooksPost200ResponseWebhook.md b/docs/ApiV1WebhooksPost200ResponseWebhook.md deleted file mode 100644 index f24f7ab..0000000 --- a/docs/ApiV1WebhooksPost200ResponseWebhook.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1WebhooksPost200ResponseWebhook - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**secret_path** | **str** | | [optional] [default to '/'] -**last_status** | **str** | | [optional] -**last_run_error_message** | **str** | | [optional] -**is_disabled** | **bool** | | [optional] [default to False] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**env_id** | **str** | | -**type** | **str** | | [optional] [default to 'general'] -**project_id** | **str** | | -**environment** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_webhooks_post200_response_webhook import ApiV1WebhooksPost200ResponseWebhook - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WebhooksPost200ResponseWebhook from a JSON string -api_v1_webhooks_post200_response_webhook_instance = ApiV1WebhooksPost200ResponseWebhook.from_json(json) -# print the JSON string representation of the object -print ApiV1WebhooksPost200ResponseWebhook.to_json() - -# convert the object into a dict -api_v1_webhooks_post200_response_webhook_dict = api_v1_webhooks_post200_response_webhook_instance.to_dict() -# create an instance of ApiV1WebhooksPost200ResponseWebhook from a dict -api_v1_webhooks_post200_response_webhook_from_dict = ApiV1WebhooksPost200ResponseWebhook.from_dict(api_v1_webhooks_post200_response_webhook_dict) -``` -[[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/docs/ApiV1WebhooksPostRequest.md b/docs/ApiV1WebhooksPostRequest.md deleted file mode 100644 index f8f483d..0000000 --- a/docs/ApiV1WebhooksPostRequest.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1WebhooksPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | [optional] [default to 'general'] -**workspace_id** | **str** | | -**environment** | **str** | | -**webhook_url** | **str** | | -**webhook_secret_key** | **str** | | [optional] -**secret_path** | **str** | | [optional] [default to '/'] - -## Example - -```python -from infisicalapi_client.models.api_v1_webhooks_post_request import ApiV1WebhooksPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WebhooksPostRequest from a JSON string -api_v1_webhooks_post_request_instance = ApiV1WebhooksPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WebhooksPostRequest.to_json() - -# convert the object into a dict -api_v1_webhooks_post_request_dict = api_v1_webhooks_post_request_instance.to_dict() -# create an instance of ApiV1WebhooksPostRequest from a dict -api_v1_webhooks_post_request_from_dict = ApiV1WebhooksPostRequest.from_dict(api_v1_webhooks_post_request_dict) -``` -[[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/docs/ApiV1WebhooksWebhookIdPatchRequest.md b/docs/ApiV1WebhooksWebhookIdPatchRequest.md deleted file mode 100644 index d7849a9..0000000 --- a/docs/ApiV1WebhooksWebhookIdPatchRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WebhooksWebhookIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is_disabled** | **bool** | | [optional] [default to False] - -## Example - -```python -from infisicalapi_client.models.api_v1_webhooks_webhook_id_patch_request import ApiV1WebhooksWebhookIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WebhooksWebhookIdPatchRequest from a JSON string -api_v1_webhooks_webhook_id_patch_request_instance = ApiV1WebhooksWebhookIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WebhooksWebhookIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_webhooks_webhook_id_patch_request_dict = api_v1_webhooks_webhook_id_patch_request_instance.to_dict() -# create an instance of ApiV1WebhooksWebhookIdPatchRequest from a dict -api_v1_webhooks_webhook_id_patch_request_from_dict = ApiV1WebhooksWebhookIdPatchRequest.from_dict(api_v1_webhooks_webhook_id_patch_request_dict) -``` -[[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/docs/ApiV1WorkspaceGet200Response.md b/docs/ApiV1WorkspaceGet200Response.md deleted file mode 100644 index 593de89..0000000 --- a/docs/ApiV1WorkspaceGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspaces** | [**List[ApiV1WorkspaceGet200ResponseWorkspacesInner]**](ApiV1WorkspaceGet200ResponseWorkspacesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_get200_response import ApiV1WorkspaceGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceGet200Response from a JSON string -api_v1_workspace_get200_response_instance = ApiV1WorkspaceGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_get200_response_dict = api_v1_workspace_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceGet200Response from a dict -api_v1_workspace_get200_response_from_dict = ApiV1WorkspaceGet200Response.from_dict(api_v1_workspace_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceGet200ResponseWorkspacesInner.md b/docs/ApiV1WorkspaceGet200ResponseWorkspacesInner.md deleted file mode 100644 index 1d06624..0000000 --- a/docs/ApiV1WorkspaceGet200ResponseWorkspacesInner.md +++ /dev/null @@ -1,41 +0,0 @@ -# ApiV1WorkspaceGet200ResponseWorkspacesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**slug** | **str** | | -**auto_capitalization** | **bool** | | [optional] [default to True] -**org_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**version** | **float** | | [optional] [default to 1] -**upgrade_status** | **str** | | [optional] -**pit_version_limit** | **float** | | [optional] [default to 10] -**kms_certificate_key_id** | **str** | | [optional] -**audit_logs_retention_days** | **float** | | [optional] -**id** | **str** | | -**environments** | [**List[ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv]**](ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_get200_response_workspaces_inner import ApiV1WorkspaceGet200ResponseWorkspacesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceGet200ResponseWorkspacesInner from a JSON string -api_v1_workspace_get200_response_workspaces_inner_instance = ApiV1WorkspaceGet200ResponseWorkspacesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceGet200ResponseWorkspacesInner.to_json() - -# convert the object into a dict -api_v1_workspace_get200_response_workspaces_inner_dict = api_v1_workspace_get200_response_workspaces_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceGet200ResponseWorkspacesInner from a dict -api_v1_workspace_get200_response_workspaces_inner_from_dict = ApiV1WorkspaceGet200ResponseWorkspacesInner.from_dict(api_v1_workspace_get200_response_workspaces_inner_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdPermissionsGet200Response.md b/docs/ApiV1WorkspaceProjectIdPermissionsGet200Response.md deleted file mode 100644 index 92086f9..0000000 --- a/docs/ApiV1WorkspaceProjectIdPermissionsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceProjectIdPermissionsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**ApiV1WorkspaceProjectIdPermissionsGet200ResponseData**](ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response import ApiV1WorkspaceProjectIdPermissionsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdPermissionsGet200Response from a JSON string -api_v1_workspace_project_id_permissions_get200_response_instance = ApiV1WorkspaceProjectIdPermissionsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdPermissionsGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_permissions_get200_response_dict = api_v1_workspace_project_id_permissions_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdPermissionsGet200Response from a dict -api_v1_workspace_project_id_permissions_get200_response_from_dict = ApiV1WorkspaceProjectIdPermissionsGet200Response.from_dict(api_v1_workspace_project_id_permissions_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.md b/docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.md deleted file mode 100644 index 08a97e7..0000000 --- a/docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceProjectIdPermissionsGet200ResponseData - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**membership** | [**ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership**](ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.md) | | -**permissions** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data import ApiV1WorkspaceProjectIdPermissionsGet200ResponseData - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseData from a JSON string -api_v1_workspace_project_id_permissions_get200_response_data_instance = ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_permissions_get200_response_data_dict = api_v1_workspace_project_id_permissions_get200_response_data_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseData from a dict -api_v1_workspace_project_id_permissions_get200_response_data_from_dict = ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.from_dict(api_v1_workspace_project_id_permissions_get200_response_data_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.md b/docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.md deleted file mode 100644 index 7739245..0000000 --- a/docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**user_id** | **str** | | -**project_id** | **str** | | -**roles** | [**List[ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner]**](ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data_membership import ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership from a JSON string -api_v1_workspace_project_id_permissions_get200_response_data_membership_instance = ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_permissions_get200_response_data_membership_dict = api_v1_workspace_project_id_permissions_get200_response_data_membership_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership from a dict -api_v1_workspace_project_id_permissions_get200_response_data_membership_from_dict = ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.from_dict(api_v1_workspace_project_id_permissions_get200_response_data_membership_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.md b/docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.md deleted file mode 100644 index e7a3001..0000000 --- a/docs/ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner import ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner from a JSON string -api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner_instance = ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner_dict = api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner from a dict -api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner_from_dict = ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.from_dict(api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdTagsGet200Response.md b/docs/ApiV1WorkspaceProjectIdTagsGet200Response.md deleted file mode 100644 index 5107f56..0000000 --- a/docs/ApiV1WorkspaceProjectIdTagsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceProjectIdTagsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_tags** | [**List[ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner]**](ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response import ApiV1WorkspaceProjectIdTagsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdTagsGet200Response from a JSON string -api_v1_workspace_project_id_tags_get200_response_instance = ApiV1WorkspaceProjectIdTagsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdTagsGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_tags_get200_response_dict = api_v1_workspace_project_id_tags_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdTagsGet200Response from a dict -api_v1_workspace_project_id_tags_get200_response_from_dict = ApiV1WorkspaceProjectIdTagsGet200Response.from_dict(api_v1_workspace_project_id_tags_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.md b/docs/ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.md deleted file mode 100644 index 0144adb..0000000 --- a/docs/ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**slug** | **str** | | -**color** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**created_by** | **str** | | [optional] -**project_id** | **str** | | -**created_by_actor_type** | **str** | | [optional] [default to 'user'] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner import ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner from a JSON string -api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner_instance = ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner_dict = api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner from a dict -api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner_from_dict = ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.from_dict(api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdTagsPost200Response.md b/docs/ApiV1WorkspaceProjectIdTagsPost200Response.md deleted file mode 100644 index bd09175..0000000 --- a/docs/ApiV1WorkspaceProjectIdTagsPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceProjectIdTagsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_tag** | [**ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner**](ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post200_response import ApiV1WorkspaceProjectIdTagsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdTagsPost200Response from a JSON string -api_v1_workspace_project_id_tags_post200_response_instance = ApiV1WorkspaceProjectIdTagsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdTagsPost200Response.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_tags_post200_response_dict = api_v1_workspace_project_id_tags_post200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdTagsPost200Response from a dict -api_v1_workspace_project_id_tags_post200_response_from_dict = ApiV1WorkspaceProjectIdTagsPost200Response.from_dict(api_v1_workspace_project_id_tags_post200_response_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdTagsPostRequest.md b/docs/ApiV1WorkspaceProjectIdTagsPostRequest.md deleted file mode 100644 index 966fe08..0000000 --- a/docs/ApiV1WorkspaceProjectIdTagsPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceProjectIdTagsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | The slug of the tag to create. | -**color** | **str** | The color of the tag to create. | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post_request import ApiV1WorkspaceProjectIdTagsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdTagsPostRequest from a JSON string -api_v1_workspace_project_id_tags_post_request_instance = ApiV1WorkspaceProjectIdTagsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdTagsPostRequest.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_tags_post_request_dict = api_v1_workspace_project_id_tags_post_request_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdTagsPostRequest from a dict -api_v1_workspace_project_id_tags_post_request_from_dict = ApiV1WorkspaceProjectIdTagsPostRequest.from_dict(api_v1_workspace_project_id_tags_post_request_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdTagsTagIdGet200Response.md b/docs/ApiV1WorkspaceProjectIdTagsTagIdGet200Response.md deleted file mode 100644 index d767052..0000000 --- a/docs/ApiV1WorkspaceProjectIdTagsTagIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceProjectIdTagsTagIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_tag** | [**ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag**](ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response import ApiV1WorkspaceProjectIdTagsTagIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdTagsTagIdGet200Response from a JSON string -api_v1_workspace_project_id_tags_tag_id_get200_response_instance = ApiV1WorkspaceProjectIdTagsTagIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdTagsTagIdGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_tags_tag_id_get200_response_dict = api_v1_workspace_project_id_tags_tag_id_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdTagsTagIdGet200Response from a dict -api_v1_workspace_project_id_tags_tag_id_get200_response_from_dict = ApiV1WorkspaceProjectIdTagsTagIdGet200Response.from_dict(api_v1_workspace_project_id_tags_tag_id_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.md b/docs/ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.md deleted file mode 100644 index 7639b6b..0000000 --- a/docs/ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**slug** | **str** | | -**color** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**created_by** | **str** | | [optional] -**project_id** | **str** | | -**created_by_actor_type** | **str** | | [optional] [default to 'user'] -**name** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag import ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag from a JSON string -api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag_instance = ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag_dict = api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag from a dict -api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag_from_dict = ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.from_dict(api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag_dict) -``` -[[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/docs/ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.md b/docs/ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.md deleted file mode 100644 index ac87f8c..0000000 --- a/docs/ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceProjectIdTagsTagIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | The slug of the tag to update. | -**color** | **str** | The color of the tag to update. | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_patch_request import ApiV1WorkspaceProjectIdTagsTagIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectIdTagsTagIdPatchRequest from a JSON string -api_v1_workspace_project_id_tags_tag_id_patch_request_instance = ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_workspace_project_id_tags_tag_id_patch_request_dict = api_v1_workspace_project_id_tags_tag_id_patch_request_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectIdTagsTagIdPatchRequest from a dict -api_v1_workspace_project_id_tags_tag_id_patch_request_from_dict = ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.from_dict(api_v1_workspace_project_id_tags_tag_id_patch_request_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesGet200Response.md b/docs/ApiV1WorkspaceProjectSlugRolesGet200Response.md deleted file mode 100644 index 86905c7..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**roles** | [**List[ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner]**](ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response import ApiV1WorkspaceProjectSlugRolesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesGet200Response from a JSON string -api_v1_workspace_project_slug_roles_get200_response_instance = ApiV1WorkspaceProjectSlugRolesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_get200_response_dict = api_v1_workspace_project_slug_roles_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesGet200Response from a dict -api_v1_workspace_project_slug_roles_get200_response_from_dict = ApiV1WorkspaceProjectSlugRolesGet200Response.from_dict(api_v1_workspace_project_slug_roles_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.md b/docs/ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.md deleted file mode 100644 index a640a3f..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**description** | **str** | | [optional] -**slug** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**project_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response_roles_inner import ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner from a JSON string -api_v1_workspace_project_slug_roles_get200_response_roles_inner_instance = ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_get200_response_roles_inner_dict = api_v1_workspace_project_slug_roles_get200_response_roles_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner from a dict -api_v1_workspace_project_slug_roles_get200_response_roles_inner_from_dict = ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.from_dict(api_v1_workspace_project_slug_roles_get200_response_roles_inner_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesPost200Response.md b/docs/ApiV1WorkspaceProjectSlugRolesPost200Response.md deleted file mode 100644 index 9a0aa2a..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | [**ApiV1WorkspaceProjectSlugRolesPost200ResponseRole**](ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response import ApiV1WorkspaceProjectSlugRolesPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200Response from a JSON string -api_v1_workspace_project_slug_roles_post200_response_instance = ApiV1WorkspaceProjectSlugRolesPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesPost200Response.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_post200_response_dict = api_v1_workspace_project_slug_roles_post200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200Response from a dict -api_v1_workspace_project_slug_roles_post200_response_from_dict = ApiV1WorkspaceProjectSlugRolesPost200Response.from_dict(api_v1_workspace_project_slug_roles_post200_response_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.md b/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.md deleted file mode 100644 index 58b2121..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesPost200ResponseRole - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**description** | **str** | | [optional] -**slug** | **str** | | -**permissions** | [**List[ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner]**](ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.md) | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**project_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role import ApiV1WorkspaceProjectSlugRolesPost200ResponseRole - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRole from a JSON string -api_v1_workspace_project_slug_roles_post200_response_role_instance = ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_post200_response_role_dict = api_v1_workspace_project_slug_roles_post200_response_role_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRole from a dict -api_v1_workspace_project_slug_roles_post200_response_role_from_dict = ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.from_dict(api_v1_workspace_project_slug_roles_post200_response_role_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.md b/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.md deleted file mode 100644 index f143aa5..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**subject** | [**ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject**](ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.md) | | [optional] -**action** | [**ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject**](ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.md) | | -**conditions** | [**ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions**](ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner from a JSON string -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_instance = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_dict = api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner from a dict -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_from_dict = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.from_dict(api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.md b/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.md deleted file mode 100644 index 341c742..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**environment** | **str** | | [optional] -**secret_path** | [**ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath**](ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions from a JSON string -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_instance = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_dict = api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions from a dict -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_from_dict = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.from_dict(api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.md b/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.md deleted file mode 100644 index 6676ed3..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**glob** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath from a JSON string -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path_instance = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path_dict = api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath from a dict -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path_from_dict = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.from_dict(api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.md b/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.md deleted file mode 100644 index e4375e2..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.md +++ /dev/null @@ -1,27 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject from a JSON string -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject_instance = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject_dict = api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject from a dict -api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject_from_dict = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.from_dict(api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesPostRequest.md b/docs/ApiV1WorkspaceProjectSlugRolesPostRequest.md deleted file mode 100644 index 8dd3927..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesPostRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | The slug of the role. | -**name** | **str** | The name of the role. | -**description** | **str** | The description for the role. | [optional] -**permissions** | [**List[ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner]**](ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.md) | The permissions assigned to the role. | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request import ApiV1WorkspaceProjectSlugRolesPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesPostRequest from a JSON string -api_v1_workspace_project_slug_roles_post_request_instance = ApiV1WorkspaceProjectSlugRolesPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesPostRequest.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_post_request_dict = api_v1_workspace_project_slug_roles_post_request_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesPostRequest from a dict -api_v1_workspace_project_slug_roles_post_request_from_dict = ApiV1WorkspaceProjectSlugRolesPostRequest.from_dict(api_v1_workspace_project_slug_roles_post_request_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.md b/docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.md deleted file mode 100644 index 482fd80..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | **str** | Describe what action an entity can take. Possible actions: create, edit, delete, and read | -**subject** | **str** | The entity this permission pertains to. Possible options: secrets, environments | -**conditions** | [**ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions**](ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner from a JSON string -api_v1_workspace_project_slug_roles_post_request_permissions_inner_instance = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_post_request_permissions_inner_dict = api_v1_workspace_project_slug_roles_post_request_permissions_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner from a dict -api_v1_workspace_project_slug_roles_post_request_permissions_inner_from_dict = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.from_dict(api_v1_workspace_project_slug_roles_post_request_permissions_inner_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.md b/docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.md deleted file mode 100644 index d7f4873..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions - -When specified, only matching conditions will be allowed to access given resource. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**environment** | **str** | The environment slug this permission should allow. | [optional] -**secret_path** | [**ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath**](ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions from a JSON string -api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_instance = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_dict = api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions from a dict -api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_from_dict = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.from_dict(api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.md b/docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.md deleted file mode 100644 index ae52506..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**glob** | **str** | The secret path this permission should allow. Can be a glob pattern such as /folder-name/*/** | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath from a JSON string -api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path_instance = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path_dict = api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath from a dict -api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path_from_dict = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.from_dict(api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path_dict) -``` -[[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/docs/ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.md b/docs/ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.md deleted file mode 100644 index 264cba6..0000000 --- a/docs/ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | The slug of the role. | [optional] -**name** | **str** | The name of the role. | [optional] -**permissions** | [**List[ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner]**](ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.md) | The permissions assigned to the role. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_role_id_patch_request import ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest from a JSON string -api_v1_workspace_project_slug_roles_role_id_patch_request_instance = ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_workspace_project_slug_roles_role_id_patch_request_dict = api_v1_workspace_project_slug_roles_role_id_patch_request_instance.to_dict() -# create an instance of ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest from a dict -api_v1_workspace_project_slug_roles_role_id_patch_request_from_dict = ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.from_dict(api_v1_workspace_project_slug_roles_role_id_patch_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.md deleted file mode 100644 index c3b520a..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**actors** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response from a JSON string -api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response_instance = ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response_dict = api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response from a dict -api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.from_dict(api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.md deleted file mode 100644 index e46a224..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**audit_logs** | [**List[ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner]**](ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response from a JSON string -api_v1_workspace_workspace_id_audit_logs_get200_response_instance = ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_audit_logs_get200_response_dict = api_v1_workspace_workspace_id_audit_logs_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response from a dict -api_v1_workspace_workspace_id_audit_logs_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.from_dict(api_v1_workspace_workspace_id_audit_logs_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.md b/docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.md deleted file mode 100644 index 63ded65..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**ip_address** | **str** | | [optional] -**user_agent** | **str** | | [optional] -**user_agent_type** | **str** | | [optional] -**expires_at** | **datetime** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**org_id** | **str** | | [optional] -**project_id** | **str** | | [optional] -**event** | [**ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent**](ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.md) | | -**actor** | [**ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent**](ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner import ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner from a JSON string -api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_instance = ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_dict = api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner from a dict -api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_from_dict = ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.from_dict(api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.md b/docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.md deleted file mode 100644 index 9b1581c..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**metadata** | **object** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event import ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent from a JSON string -api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event_instance = ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event_dict = api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent from a dict -api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event_from_dict = ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.from_dict(api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.md deleted file mode 100644 index cb6605a..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**authorizations** | [**List[ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner]**](ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response from a JSON string -api_v1_workspace_workspace_id_authorizations_get200_response_instance = ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_authorizations_get200_response_dict = api_v1_workspace_workspace_id_authorizations_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response from a dict -api_v1_workspace_workspace_id_authorizations_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.from_dict(api_v1_workspace_workspace_id_authorizations_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.md b/docs/ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.md deleted file mode 100644 index 4bfd193..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**project_id** | **str** | | -**integration** | **str** | | -**team_id** | **str** | | [optional] -**url** | **str** | | [optional] -**namespace** | **str** | | [optional] -**account_id** | **str** | | [optional] -**metadata** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner from a JSON string -api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner_instance = ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner_dict = api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner from a dict -api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner_from_dict = ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.from_dict(api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.md b/docs/ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.md deleted file mode 100644 index 907480e..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auto_capitalization** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_auto_capitalization_post_request import ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest from a JSON string -api_v1_workspace_workspace_id_auto_capitalization_post_request_instance = ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_auto_capitalization_post_request_dict = api_v1_workspace_workspace_id_auto_capitalization_post_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest from a dict -api_v1_workspace_workspace_id_auto_capitalization_post_request_from_dict = ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.from_dict(api_v1_workspace_workspace_id_auto_capitalization_post_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdDelete200Response.md b/docs/ApiV1WorkspaceWorkspaceIdDelete200Response.md deleted file mode 100644 index 8bb2a7d..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdDelete200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdDelete200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace** | [**ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner**](ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_delete200_response import ApiV1WorkspaceWorkspaceIdDelete200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdDelete200Response from a JSON string -api_v1_workspace_workspace_id_delete200_response_instance = ApiV1WorkspaceWorkspaceIdDelete200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdDelete200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_delete200_response_dict = api_v1_workspace_workspace_id_delete200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdDelete200Response from a dict -api_v1_workspace_workspace_id_delete200_response_from_dict = ApiV1WorkspaceWorkspaceIdDelete200Response.from_dict(api_v1_workspace_workspace_id_delete200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.md deleted file mode 100644 index b099504..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**environment** | [**ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment**](ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response from a JSON string -api_v1_workspace_workspace_id_environments_env_id_get200_response_instance = ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_environments_env_id_get200_response_dict = api_v1_workspace_workspace_id_environments_env_id_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response from a dict -api_v1_workspace_workspace_id_environments_env_id_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.from_dict(api_v1_workspace_workspace_id_environments_env_id_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.md b/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.md deleted file mode 100644 index 26d69cd..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**slug** | **str** | | -**position** | **float** | | -**project_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response_environment import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment from a JSON string -api_v1_workspace_workspace_id_environments_env_id_get200_response_environment_instance = ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_environments_env_id_get200_response_environment_dict = api_v1_workspace_workspace_id_environments_env_id_get200_response_environment_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment from a dict -api_v1_workspace_workspace_id_environments_env_id_get200_response_environment_from_dict = ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.from_dict(api_v1_workspace_workspace_id_environments_env_id_get200_response_environment_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.md b/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.md deleted file mode 100644 index 23ed53b..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**slug** | **str** | The new slug of the environment. | [optional] -**name** | **str** | The new name of the environment. | [optional] -**position** | **float** | The new position of the environment. The lowest number will be displayed as the first environment. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_id_patch_request import ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest from a JSON string -api_v1_workspace_workspace_id_environments_id_patch_request_instance = ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_environments_id_patch_request_dict = api_v1_workspace_workspace_id_environments_id_patch_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest from a dict -api_v1_workspace_workspace_id_environments_id_patch_request_from_dict = ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.from_dict(api_v1_workspace_workspace_id_environments_id_patch_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.md b/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.md deleted file mode 100644 index 0118b3c..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**workspace** | **str** | | -**environment** | [**ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment**](ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response from a JSON string -api_v1_workspace_workspace_id_environments_post200_response_instance = ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_environments_post200_response_dict = api_v1_workspace_workspace_id_environments_post200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response from a dict -api_v1_workspace_workspace_id_environments_post200_response_from_dict = ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.from_dict(api_v1_workspace_workspace_id_environments_post200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.md b/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.md deleted file mode 100644 index 74c356f..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The name of the environment to create. | -**slug** | **str** | The slug of the environment to create. | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post_request import ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest from a JSON string -api_v1_workspace_workspace_id_environments_post_request_instance = ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_environments_post_request_dict = api_v1_workspace_workspace_id_environments_post_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest from a dict -api_v1_workspace_workspace_id_environments_post_request_from_dict = ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.from_dict(api_v1_workspace_workspace_id_environments_post_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdGet200Response.md deleted file mode 100644 index a4fba4f..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace** | [**ApiV1WorkspaceGet200ResponseWorkspacesInner**](ApiV1WorkspaceGet200ResponseWorkspacesInner.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_get200_response import ApiV1WorkspaceWorkspaceIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdGet200Response from a JSON string -api_v1_workspace_workspace_id_get200_response_instance = ApiV1WorkspaceWorkspaceIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_get200_response_dict = api_v1_workspace_workspace_id_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdGet200Response from a dict -api_v1_workspace_workspace_id_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdGet200Response.from_dict(api_v1_workspace_workspace_id_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.md deleted file mode 100644 index f7cb277..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**integrations** | [**List[ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner]**](ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response import ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response from a JSON string -api_v1_workspace_workspace_id_integrations_get200_response_instance = ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_integrations_get200_response_dict = api_v1_workspace_workspace_id_integrations_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response from a dict -api_v1_workspace_workspace_id_integrations_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.from_dict(api_v1_workspace_workspace_id_integrations_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.md b/docs/ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.md deleted file mode 100644 index 058dc86..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.md +++ /dev/null @@ -1,52 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**is_active** | **bool** | | -**url** | **str** | | [optional] -**app** | **str** | | [optional] -**app_id** | **str** | | [optional] -**target_environment** | **str** | | [optional] -**target_environment_id** | **str** | | [optional] -**target_service** | **str** | | [optional] -**target_service_id** | **str** | | [optional] -**owner** | **str** | | [optional] -**path** | **str** | | [optional] -**region** | **str** | | [optional] -**scope** | **str** | | [optional] -**integration** | **str** | | -**metadata** | **object** | | [optional] -**integration_auth_id** | **str** | | -**env_id** | **str** | | -**secret_path** | **str** | | [optional] [default to '/'] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**last_used** | **datetime** | | [optional] -**is_synced** | **bool** | | [optional] -**sync_message** | **str** | | [optional] -**last_sync_job_id** | **str** | | [optional] -**environment** | [**ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment**](ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner import ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner from a JSON string -api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner_instance = ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner_dict = api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner from a dict -api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner_from_dict = ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.from_dict(api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKeyPostRequest.md b/docs/ApiV1WorkspaceWorkspaceIdKeyPostRequest.md deleted file mode 100644 index ed1ef7c..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKeyPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKeyPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**key** | [**ApiV1WorkspaceWorkspaceIdKeyPostRequestKey**](ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request import ApiV1WorkspaceWorkspaceIdKeyPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKeyPostRequest from a JSON string -api_v1_workspace_workspace_id_key_post_request_instance = ApiV1WorkspaceWorkspaceIdKeyPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKeyPostRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_key_post_request_dict = api_v1_workspace_workspace_id_key_post_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKeyPostRequest from a dict -api_v1_workspace_workspace_id_key_post_request_from_dict = ApiV1WorkspaceWorkspaceIdKeyPostRequest.from_dict(api_v1_workspace_workspace_id_key_post_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.md b/docs/ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.md deleted file mode 100644 index 39b4bcd..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKeyPostRequestKey - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**encrypted_key** | **str** | | -**nonce** | **str** | | -**user_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request_key import ApiV1WorkspaceWorkspaceIdKeyPostRequestKey - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKeyPostRequestKey from a JSON string -api_v1_workspace_workspace_id_key_post_request_key_instance = ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_key_post_request_key_dict = api_v1_workspace_workspace_id_key_post_request_key_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKeyPostRequestKey from a dict -api_v1_workspace_workspace_id_key_post_request_key_from_dict = ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.from_dict(api_v1_workspace_workspace_id_key_post_request_key_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKeysGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdKeysGet200Response.md deleted file mode 100644 index 46e0563..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKeysGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKeysGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**public_keys** | [**List[ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner]**](ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response import ApiV1WorkspaceWorkspaceIdKeysGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKeysGet200Response from a JSON string -api_v1_workspace_workspace_id_keys_get200_response_instance = ApiV1WorkspaceWorkspaceIdKeysGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKeysGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_keys_get200_response_dict = api_v1_workspace_workspace_id_keys_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKeysGet200Response from a dict -api_v1_workspace_workspace_id_keys_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdKeysGet200Response.from_dict(api_v1_workspace_workspace_id_keys_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.md b/docs/ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.md deleted file mode 100644 index e06a92c..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**public_key** | **str** | | [optional] -**user_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner import ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner from a JSON string -api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner_instance = ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner_dict = api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner from a dict -api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner_from_dict = ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.from_dict(api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.md deleted file mode 100644 index 1e5fabe..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_manager** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_get200_response import ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response from a JSON string -api_v1_workspace_workspace_id_kms_backup_get200_response_instance = ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_kms_backup_get200_response_dict = api_v1_workspace_workspace_id_kms_backup_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response from a dict -api_v1_workspace_workspace_id_kms_backup_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.from_dict(api_v1_workspace_workspace_id_kms_backup_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.md b/docs/ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.md deleted file mode 100644 index 013fd69..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**backup** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_post_request import ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest from a JSON string -api_v1_workspace_workspace_id_kms_backup_post_request_instance = ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_kms_backup_post_request_dict = api_v1_workspace_workspace_id_kms_backup_post_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest from a dict -api_v1_workspace_workspace_id_kms_backup_post_request_from_dict = ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.from_dict(api_v1_workspace_workspace_id_kms_backup_post_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKmsGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdKmsGet200Response.md deleted file mode 100644 index b16cef4..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKmsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKmsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_manager_kms_key** | [**ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey**](ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response import ApiV1WorkspaceWorkspaceIdKmsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKmsGet200Response from a JSON string -api_v1_workspace_workspace_id_kms_get200_response_instance = ApiV1WorkspaceWorkspaceIdKmsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKmsGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_kms_get200_response_dict = api_v1_workspace_workspace_id_kms_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKmsGet200Response from a dict -api_v1_workspace_workspace_id_kms_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdKmsGet200Response.from_dict(api_v1_workspace_workspace_id_kms_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.md b/docs/ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.md deleted file mode 100644 index df25aa8..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**slug** | **str** | | -**is_external** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key import ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey from a JSON string -api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key_instance = ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key_dict = api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey from a dict -api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key_from_dict = ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.from_dict(api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequest.md b/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequest.md deleted file mode 100644 index 3cf14c0..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKmsPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**kms** | [**ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms**](ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request import ApiV1WorkspaceWorkspaceIdKmsPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequest from a JSON string -api_v1_workspace_workspace_id_kms_patch_request_instance = ApiV1WorkspaceWorkspaceIdKmsPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKmsPatchRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_kms_patch_request_dict = api_v1_workspace_workspace_id_kms_patch_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequest from a dict -api_v1_workspace_workspace_id_kms_patch_request_from_dict = ApiV1WorkspaceWorkspaceIdKmsPatchRequest.from_dict(api_v1_workspace_workspace_id_kms_patch_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.md b/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.md deleted file mode 100644 index 2908b2c..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**kms_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms from a JSON string -api_v1_workspace_workspace_id_kms_patch_request_kms_instance = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_kms_patch_request_kms_dict = api_v1_workspace_workspace_id_kms_patch_request_kms_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms from a dict -api_v1_workspace_workspace_id_kms_patch_request_kms_from_dict = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.from_dict(api_v1_workspace_workspace_id_kms_patch_request_kms_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.md b/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.md deleted file mode 100644 index 3d4b18a..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms_any_of import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf from a JSON string -api_v1_workspace_workspace_id_kms_patch_request_kms_any_of_instance = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_kms_patch_request_kms_any_of_dict = api_v1_workspace_workspace_id_kms_patch_request_kms_any_of_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf from a dict -api_v1_workspace_workspace_id_kms_patch_request_kms_any_of_from_dict = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.from_dict(api_v1_workspace_workspace_id_kms_patch_request_kms_any_of_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.md b/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.md deleted file mode 100644 index 227878d..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**kms_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1 import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 from a JSON string -api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1_instance = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1_dict = api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 from a dict -api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1_from_dict = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.from_dict(api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.md deleted file mode 100644 index e1c1a27..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**membership** | [**ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner**](ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response from a JSON string -api_v1_workspace_workspace_id_memberships_details_post200_response_instance = ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_details_post200_response_dict = api_v1_workspace_workspace_id_memberships_details_post200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response from a dict -api_v1_workspace_workspace_id_memberships_details_post200_response_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.from_dict(api_v1_workspace_workspace_id_memberships_details_post200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.md deleted file mode 100644 index 5a63c2e..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | The username to get project membership of. Email is the default username. | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post_request import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest from a JSON string -api_v1_workspace_workspace_id_memberships_details_post_request_instance = ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_details_post_request_dict = api_v1_workspace_workspace_id_memberships_details_post_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest from a dict -api_v1_workspace_workspace_id_memberships_details_post_request_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.from_dict(api_v1_workspace_workspace_id_memberships_details_post_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.md deleted file mode 100644 index 0bb25cc..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**memberships** | [**List[ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner]**](ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response import ApiV1WorkspaceWorkspaceIdMembershipsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200Response from a JSON string -api_v1_workspace_workspace_id_memberships_get200_response_instance = ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_get200_response_dict = api_v1_workspace_workspace_id_memberships_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200Response from a dict -api_v1_workspace_workspace_id_memberships_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.from_dict(api_v1_workspace_workspace_id_memberships_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.md deleted file mode 100644 index 628e774..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**user_id** | **str** | | -**project_id** | **str** | | -**user** | [**ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser**](ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.md) | | -**roles** | [**List[ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner]**](ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner from a JSON string -api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_instance = ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_dict = api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner from a dict -api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.from_dict(api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.md deleted file mode 100644 index 581c487..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**id** | **str** | | -**public_key** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser from a JSON string -api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user_instance = ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user_dict = api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser from a dict -api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.from_dict(api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.md deleted file mode 100644 index b710965..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**roles** | [**List[ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner]**](ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response from a JSON string -api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_instance = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_dict = api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response from a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.from_dict(api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.md deleted file mode 100644 index 3d1d1c2..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**role** | **str** | | -**project_membership_id** | **str** | | -**custom_role_id** | **str** | | [optional] -**is_temporary** | **bool** | | [optional] [default to False] -**temporary_mode** | **str** | | [optional] -**temporary_range** | **str** | | [optional] -**temporary_access_start_time** | **datetime** | | [optional] -**temporary_access_end_time** | **datetime** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner from a JSON string -api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner_instance = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner_dict = api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner from a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.from_dict(api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.md deleted file mode 100644 index 47efb6a..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**roles** | [**List[ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner]**](ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.md) | A list of roles to update the membership to. | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest from a JSON string -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_instance = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_dict = api_v1_workspace_workspace_id_memberships_membership_id_patch_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest from a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.from_dict(api_v1_workspace_workspace_id_memberships_membership_id_patch_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.md deleted file mode 100644 index db24548..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | | -**is_temporary** | **bool** | | -**temporary_mode** | **str** | | -**temporary_range** | **str** | | -**temporary_access_start_time** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner from a JSON string -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_instance = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_dict = api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner from a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.from_dict(api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.md deleted file mode 100644 index b6874de..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | | -**is_temporary** | **bool** | | [optional] [default to False] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf from a JSON string -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of_instance = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of_dict = api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf from a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.from_dict(api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.md deleted file mode 100644 index 46511d4..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | | -**is_temporary** | **bool** | | -**temporary_mode** | **str** | | -**temporary_range** | **str** | | -**temporary_access_start_time** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1 import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 from a JSON string -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1_instance = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1_dict = api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 from a dict -api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.from_dict(api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.md deleted file mode 100644 index 56f09ca..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**success** | **bool** | | -**data** | [**List[ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership]**](ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPost200Response from a JSON string -api_v1_workspace_workspace_id_memberships_post200_response_instance = ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_post200_response_dict = api_v1_workspace_workspace_id_memberships_post200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPost200Response from a dict -api_v1_workspace_workspace_id_memberships_post200_response_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.from_dict(api_v1_workspace_workspace_id_memberships_post200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.md deleted file mode 100644 index 9d1482d..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**members** | [**List[ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner]**](ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request import ApiV1WorkspaceWorkspaceIdMembershipsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPostRequest from a JSON string -api_v1_workspace_workspace_id_memberships_post_request_instance = ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_post_request_dict = api_v1_workspace_workspace_id_memberships_post_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPostRequest from a dict -api_v1_workspace_workspace_id_memberships_post_request_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.from_dict(api_v1_workspace_workspace_id_memberships_post_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.md b/docs/ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.md deleted file mode 100644 index 1ae56ff..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**org_membership_id** | **str** | | -**workspace_encrypted_key** | **str** | | -**workspace_encrypted_nonce** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request_members_inner import ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner from a JSON string -api_v1_workspace_workspace_id_memberships_post_request_members_inner_instance = ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_memberships_post_request_members_inner_dict = api_v1_workspace_workspace_id_memberships_post_request_members_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner from a dict -api_v1_workspace_workspace_id_memberships_post_request_members_inner_from_dict = ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.from_dict(api_v1_workspace_workspace_id_memberships_post_request_members_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md b/docs/ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md deleted file mode 100644 index 3c19c24..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response from a JSON string -api_v1_workspace_workspace_id_migrate_v3_post200_response_instance = ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_migrate_v3_post200_response_dict = api_v1_workspace_workspace_id_migrate_v3_post200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response from a dict -api_v1_workspace_workspace_id_migrate_v3_post200_response_from_dict = ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.from_dict(api_v1_workspace_workspace_id_migrate_v3_post200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdNamePost200Response.md b/docs/ApiV1WorkspaceWorkspaceIdNamePost200Response.md deleted file mode 100644 index b8e0148..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdNamePost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdNamePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**workspace** | [**ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner**](ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post200_response import ApiV1WorkspaceWorkspaceIdNamePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdNamePost200Response from a JSON string -api_v1_workspace_workspace_id_name_post200_response_instance = ApiV1WorkspaceWorkspaceIdNamePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdNamePost200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_name_post200_response_dict = api_v1_workspace_workspace_id_name_post200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdNamePost200Response from a dict -api_v1_workspace_workspace_id_name_post200_response_from_dict = ApiV1WorkspaceWorkspaceIdNamePost200Response.from_dict(api_v1_workspace_workspace_id_name_post200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdNamePostRequest.md b/docs/ApiV1WorkspaceWorkspaceIdNamePostRequest.md deleted file mode 100644 index 293fbc7..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdNamePostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdNamePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post_request import ApiV1WorkspaceWorkspaceIdNamePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdNamePostRequest from a JSON string -api_v1_workspace_workspace_id_name_post_request_instance = ApiV1WorkspaceWorkspaceIdNamePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdNamePostRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_name_post_request_dict = api_v1_workspace_workspace_id_name_post_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdNamePostRequest from a dict -api_v1_workspace_workspace_id_name_post_request_from_dict = ApiV1WorkspaceWorkspaceIdNamePostRequest.from_dict(api_v1_workspace_workspace_id_name_post_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdPatch200Response.md b/docs/ApiV1WorkspaceWorkspaceIdPatch200Response.md deleted file mode 100644 index 13797d1..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdPatch200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdPatch200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace** | [**ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner**](ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch200_response import ApiV1WorkspaceWorkspaceIdPatch200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdPatch200Response from a JSON string -api_v1_workspace_workspace_id_patch200_response_instance = ApiV1WorkspaceWorkspaceIdPatch200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdPatch200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_patch200_response_dict = api_v1_workspace_workspace_id_patch200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdPatch200Response from a dict -api_v1_workspace_workspace_id_patch200_response_from_dict = ApiV1WorkspaceWorkspaceIdPatch200Response.from_dict(api_v1_workspace_workspace_id_patch200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdPatchRequest.md b/docs/ApiV1WorkspaceWorkspaceIdPatchRequest.md deleted file mode 100644 index 8115a93..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdPatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The new name of the project. | [optional] -**auto_capitalization** | **bool** | Disable or enable auto-capitalization for the project. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch_request import ApiV1WorkspaceWorkspaceIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdPatchRequest from a JSON string -api_v1_workspace_workspace_id_patch_request_instance = ApiV1WorkspaceWorkspaceIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_patch_request_dict = api_v1_workspace_workspace_id_patch_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdPatchRequest from a dict -api_v1_workspace_workspace_id_patch_request_from_dict = ApiV1WorkspaceWorkspaceIdPatchRequest.from_dict(api_v1_workspace_workspace_id_patch_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.md deleted file mode 100644 index 69d9490..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**count** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_count_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response from a JSON string -api_v1_workspace_workspace_id_secret_snapshots_count_get200_response_instance = ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_secret_snapshots_count_get200_response_dict = api_v1_workspace_workspace_id_secret_snapshots_count_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response from a dict -api_v1_workspace_workspace_id_secret_snapshots_count_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.from_dict(api_v1_workspace_workspace_id_secret_snapshots_count_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.md deleted file mode 100644 index 0fb5889..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_snapshots** | [**List[ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner]**](ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response from a JSON string -api_v1_workspace_workspace_id_secret_snapshots_get200_response_instance = ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_secret_snapshots_get200_response_dict = api_v1_workspace_workspace_id_secret_snapshots_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response from a dict -api_v1_workspace_workspace_id_secret_snapshots_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.from_dict(api_v1_workspace_workspace_id_secret_snapshots_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.md b/docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.md deleted file mode 100644 index 5a9bc4b..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**env_id** | **str** | | -**folder_id** | **str** | | -**parent_folder_id** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner from a JSON string -api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner_instance = ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner_dict = api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner from a dict -api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner_from_dict = ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.from_dict(api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.md deleted file mode 100644 index dfe313b..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**service_token_data** | [**List[ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner]**](ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response from a JSON string -api_v1_workspace_workspace_id_service_token_data_get200_response_instance = ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_service_token_data_get200_response_dict = api_v1_workspace_workspace_id_service_token_data_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response from a dict -api_v1_workspace_workspace_id_service_token_data_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.from_dict(api_v1_workspace_workspace_id_service_token_data_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.md b/docs/ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.md deleted file mode 100644 index b22ef5b..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**scopes** | **object** | | [optional] -**permissions** | **List[str]** | | -**last_used** | **datetime** | | [optional] -**expires_at** | **datetime** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**created_by** | **str** | | -**project_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner from a JSON string -api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner_instance = ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner_dict = api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner from a dict -api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner_from_dict = ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.from_dict(api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.md deleted file mode 100644 index 8aea7a8..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**trusted_ips** | [**List[ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner]**](ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response from a JSON string -api_v1_workspace_workspace_id_trusted_ips_get200_response_instance = ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_trusted_ips_get200_response_dict = api_v1_workspace_workspace_id_trusted_ips_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response from a dict -api_v1_workspace_workspace_id_trusted_ips_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.from_dict(api_v1_workspace_workspace_id_trusted_ips_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.md b/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.md deleted file mode 100644 index d1fe407..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**ip_address** | **str** | | -**type** | **str** | | -**prefix** | **float** | | [optional] -**is_active** | **bool** | | [optional] [default to True] -**comment** | **str** | | [optional] -**project_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner from a JSON string -api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner_instance = ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner_dict = api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner from a dict -api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner_from_dict = ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.from_dict(api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.md b/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.md deleted file mode 100644 index 9ebc7c5..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**trusted_ip** | [**ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner**](ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response from a JSON string -api_v1_workspace_workspace_id_trusted_ips_post200_response_instance = ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_trusted_ips_post200_response_dict = api_v1_workspace_workspace_id_trusted_ips_post200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response from a dict -api_v1_workspace_workspace_id_trusted_ips_post200_response_from_dict = ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.from_dict(api_v1_workspace_workspace_id_trusted_ips_post200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.md b/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.md deleted file mode 100644 index 118f89b..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ip_address** | **str** | | -**comment** | **str** | | [optional] [default to ''] -**is_active** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post_request import ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest from a JSON string -api_v1_workspace_workspace_id_trusted_ips_post_request_instance = ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_trusted_ips_post_request_dict = api_v1_workspace_workspace_id_trusted_ips_post_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest from a dict -api_v1_workspace_workspace_id_trusted_ips_post_request_from_dict = ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.from_dict(api_v1_workspace_workspace_id_trusted_ips_post_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.md b/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.md deleted file mode 100644 index f330b1a..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ip_address** | **str** | | -**comment** | **str** | | [optional] [default to ''] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request import ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest from a JSON string -api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request_instance = ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request_dict = api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest from a dict -api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request_from_dict = ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.from_dict(api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdUsersGet200Response.md b/docs/ApiV1WorkspaceWorkspaceIdUsersGet200Response.md deleted file mode 100644 index c493fb3..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdUsersGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdUsersGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**users** | [**List[ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner]**](ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response import ApiV1WorkspaceWorkspaceIdUsersGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200Response from a JSON string -api_v1_workspace_workspace_id_users_get200_response_instance = ApiV1WorkspaceWorkspaceIdUsersGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdUsersGet200Response.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_users_get200_response_dict = api_v1_workspace_workspace_id_users_get200_response_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200Response from a dict -api_v1_workspace_workspace_id_users_get200_response_from_dict = ApiV1WorkspaceWorkspaceIdUsersGet200Response.from_dict(api_v1_workspace_workspace_id_users_get200_response_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.md b/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.md deleted file mode 100644 index 535d950..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**user_id** | **str** | | -**project_id** | **str** | | -**user** | [**ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser**](ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.md) | | -**project** | [**ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject**](ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.md) | | -**roles** | [**List[ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner]**](ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner from a JSON string -api_v1_workspace_workspace_id_users_get200_response_users_inner_instance = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_users_get200_response_users_inner_dict = api_v1_workspace_workspace_id_users_get200_response_users_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner from a dict -api_v1_workspace_workspace_id_users_get200_response_users_inner_from_dict = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.from_dict(api_v1_workspace_workspace_id_users_get200_response_users_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.md b/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.md deleted file mode 100644 index 20e1365..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_project import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject from a JSON string -api_v1_workspace_workspace_id_users_get200_response_users_inner_project_instance = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_users_get200_response_users_inner_project_dict = api_v1_workspace_workspace_id_users_get200_response_users_inner_project_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject from a dict -api_v1_workspace_workspace_id_users_get200_response_users_inner_project_from_dict = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.from_dict(api_v1_workspace_workspace_id_users_get200_response_users_inner_project_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.md b/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.md deleted file mode 100644 index ff8e77e..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**role** | **str** | | -**custom_role_id** | **str** | | [optional] -**custom_role_name** | **str** | | [optional] -**custom_role_slug** | **str** | | [optional] -**is_temporary** | **bool** | | -**temporary_mode** | **str** | | [optional] -**temporary_range** | **str** | | [optional] -**temporary_access_start_time** | **datetime** | | [optional] -**temporary_access_end_time** | **datetime** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner from a JSON string -api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner_instance = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner_dict = api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner from a dict -api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner_from_dict = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.from_dict(api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.md b/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.md deleted file mode 100644 index 9a2c229..0000000 --- a/docs/ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**username** | **str** | | -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**id** | **str** | | -**public_key** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_user import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser from a JSON string -api_v1_workspace_workspace_id_users_get200_response_users_inner_user_instance = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_id_users_get200_response_users_inner_user_dict = api_v1_workspace_workspace_id_users_get200_response_users_inner_user_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser from a dict -api_v1_workspace_workspace_id_users_get200_response_users_inner_user_from_dict = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.from_dict(api_v1_workspace_workspace_id_users_get200_response_users_inner_user_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.md b/docs/ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.md deleted file mode 100644 index ec4343e..0000000 --- a/docs/ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**audit_logs_retention_days** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_slug_audit_logs_retention_put_request import ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest from a JSON string -api_v1_workspace_workspace_slug_audit_logs_retention_put_request_instance = ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_slug_audit_logs_retention_put_request_dict = api_v1_workspace_workspace_slug_audit_logs_retention_put_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest from a dict -api_v1_workspace_workspace_slug_audit_logs_retention_put_request_from_dict = ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.from_dict(api_v1_workspace_workspace_slug_audit_logs_retention_put_request_dict) -``` -[[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/docs/ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.md b/docs/ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.md deleted file mode 100644 index 5558caf..0000000 --- a/docs/ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pit_version_limit** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v1_workspace_workspace_slug_version_limit_put_request import ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest from a JSON string -api_v1_workspace_workspace_slug_version_limit_put_request_instance = ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.from_json(json) -# print the JSON string representation of the object -print ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.to_json() - -# convert the object into a dict -api_v1_workspace_workspace_slug_version_limit_put_request_dict = api_v1_workspace_workspace_slug_version_limit_put_request_instance.to_dict() -# create an instance of ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest from a dict -api_v1_workspace_workspace_slug_version_limit_put_request_from_dict = ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.from_dict(api_v1_workspace_workspace_slug_version_limit_put_request_dict) -``` -[[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/docs/ApiV2AuthMfaVerifyPost200Response.md b/docs/ApiV2AuthMfaVerifyPost200Response.md deleted file mode 100644 index dffbc0a..0000000 --- a/docs/ApiV2AuthMfaVerifyPost200Response.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV2AuthMfaVerifyPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**encryption_version** | **float** | | [optional] [default to 1] -**protected_key** | **str** | | -**protected_key_iv** | **str** | | -**protected_key_tag** | **str** | | -**public_key** | **str** | | -**encrypted_private_key** | **str** | | -**iv** | **str** | | -**tag** | **str** | | -**token** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_auth_mfa_verify_post200_response import ApiV2AuthMfaVerifyPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2AuthMfaVerifyPost200Response from a JSON string -api_v2_auth_mfa_verify_post200_response_instance = ApiV2AuthMfaVerifyPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2AuthMfaVerifyPost200Response.to_json() - -# convert the object into a dict -api_v2_auth_mfa_verify_post200_response_dict = api_v2_auth_mfa_verify_post200_response_instance.to_dict() -# create an instance of ApiV2AuthMfaVerifyPost200Response from a dict -api_v2_auth_mfa_verify_post200_response_from_dict = ApiV2AuthMfaVerifyPost200Response.from_dict(api_v2_auth_mfa_verify_post200_response_dict) -``` -[[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/docs/ApiV2AuthMfaVerifyPostRequest.md b/docs/ApiV2AuthMfaVerifyPostRequest.md deleted file mode 100644 index 5f2daf2..0000000 --- a/docs/ApiV2AuthMfaVerifyPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2AuthMfaVerifyPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mfa_token** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_auth_mfa_verify_post_request import ApiV2AuthMfaVerifyPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2AuthMfaVerifyPostRequest from a JSON string -api_v2_auth_mfa_verify_post_request_instance = ApiV2AuthMfaVerifyPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2AuthMfaVerifyPostRequest.to_json() - -# convert the object into a dict -api_v2_auth_mfa_verify_post_request_dict = api_v2_auth_mfa_verify_post_request_instance.to_dict() -# create an instance of ApiV2AuthMfaVerifyPostRequest from a dict -api_v2_auth_mfa_verify_post_request_from_dict = ApiV2AuthMfaVerifyPostRequest.from_dict(api_v2_auth_mfa_verify_post_request_dict) -``` -[[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/docs/ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.md b/docs/ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.md deleted file mode 100644 index 1a8a05b..0000000 --- a/docs/ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_memberships** | [**List[ApiV1IdentitiesGet200ResponseIdentitiesInner]**](ApiV1IdentitiesGet200ResponseIdentitiesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_org_id_identity_memberships_get200_response import ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response from a JSON string -api_v2_organizations_org_id_identity_memberships_get200_response_instance = ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.to_json() - -# convert the object into a dict -api_v2_organizations_org_id_identity_memberships_get200_response_dict = api_v2_organizations_org_id_identity_memberships_get200_response_instance.to_dict() -# create an instance of ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response from a dict -api_v2_organizations_org_id_identity_memberships_get200_response_from_dict = ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.from_dict(api_v2_organizations_org_id_identity_memberships_get200_response_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdMembershipsGet200Response.md b/docs/ApiV2OrganizationsOrganizationIdMembershipsGet200Response.md deleted file mode 100644 index cb463b6..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdMembershipsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2OrganizationsOrganizationIdMembershipsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**users** | [**List[ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner]**](ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200Response from a JSON string -api_v2_organizations_organization_id_memberships_get200_response_instance = ApiV2OrganizationsOrganizationIdMembershipsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdMembershipsGet200Response.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_memberships_get200_response_dict = api_v2_organizations_organization_id_memberships_get200_response_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200Response from a dict -api_v2_organizations_organization_id_memberships_get200_response_from_dict = ApiV2OrganizationsOrganizationIdMembershipsGet200Response.from_dict(api_v2_organizations_organization_id_memberships_get200_response_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.md b/docs/ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.md deleted file mode 100644 index 9c2a472..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**role** | **str** | | -**status** | **str** | | [optional] [default to 'invited'] -**invite_email** | **str** | | [optional] -**user_id** | **str** | | [optional] -**org_id** | **str** | | -**role_id** | **str** | | [optional] -**project_favorites** | **List[str]** | | [optional] -**is_active** | **bool** | | [optional] [default to True] -**user** | [**ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser**](ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response_users_inner import ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner from a JSON string -api_v2_organizations_organization_id_memberships_get200_response_users_inner_instance = ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_memberships_get200_response_users_inner_dict = api_v2_organizations_organization_id_memberships_get200_response_users_inner_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner from a dict -api_v2_organizations_organization_id_memberships_get200_response_users_inner_from_dict = ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.from_dict(api_v2_organizations_organization_id_memberships_get200_response_users_inner_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.md b/docs/ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.md deleted file mode 100644 index 749570c..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | -**email** | **str** | | [optional] -**is_email_verified** | **bool** | | [optional] [default to False] -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**id** | **str** | | -**public_key** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response_users_inner_user import ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser from a JSON string -api_v2_organizations_organization_id_memberships_get200_response_users_inner_user_instance = ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_memberships_get200_response_users_inner_user_dict = api_v2_organizations_organization_id_memberships_get200_response_users_inner_user_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser from a dict -api_v2_organizations_organization_id_memberships_get200_response_users_inner_user_from_dict = ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.from_dict(api_v2_organizations_organization_id_memberships_get200_response_users_inner_user_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.md b/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.md deleted file mode 100644 index ada133c..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**membership** | [**ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership**](ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_delete200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response from a JSON string -api_v2_organizations_organization_id_memberships_membership_id_delete200_response_instance = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_memberships_membership_id_delete200_response_dict = api_v2_organizations_organization_id_memberships_membership_id_delete200_response_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response from a dict -api_v2_organizations_organization_id_memberships_membership_id_delete200_response_from_dict = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.from_dict(api_v2_organizations_organization_id_memberships_membership_id_delete200_response_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.md b/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.md deleted file mode 100644 index 146edb9..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**membership** | [**ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership**](ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response from a JSON string -api_v2_organizations_organization_id_memberships_membership_id_get200_response_instance = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_memberships_membership_id_get200_response_dict = api_v2_organizations_organization_id_memberships_membership_id_get200_response_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response from a dict -api_v2_organizations_organization_id_memberships_membership_id_get200_response_from_dict = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.from_dict(api_v2_organizations_organization_id_memberships_membership_id_get200_response_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.md b/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.md deleted file mode 100644 index 9f6000d..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**role** | **str** | | -**status** | **str** | | [optional] [default to 'invited'] -**invite_email** | **str** | | [optional] -**user_id** | **str** | | [optional] -**org_id** | **str** | | -**role_id** | **str** | | [optional] -**project_favorites** | **List[str]** | | [optional] -**is_active** | **bool** | | [optional] [default to True] -**user** | [**ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser**](ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership from a JSON string -api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_instance = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_dict = api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership from a dict -api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_from_dict = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.from_dict(api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.md b/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.md deleted file mode 100644 index 75ce97d..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | -**email** | **str** | | [optional] -**is_email_verified** | **bool** | | [optional] [default to False] -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**id** | **str** | | -**public_key** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser from a JSON string -api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user_instance = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user_dict = api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser from a dict -api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user_from_dict = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.from_dict(api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.md b/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.md deleted file mode 100644 index 00c7b1f..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | The new role of the membership. | [optional] -**is_active** | **bool** | The active status of the membership | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_patch_request import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest from a JSON string -api_v2_organizations_organization_id_memberships_membership_id_patch_request_instance = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_memberships_membership_id_patch_request_dict = api_v2_organizations_organization_id_memberships_membership_id_patch_request_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest from a dict -api_v2_organizations_organization_id_memberships_membership_id_patch_request_from_dict = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.from_dict(api_v2_organizations_organization_id_memberships_membership_id_patch_request_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.md b/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.md deleted file mode 100644 index 58240a4..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**memberships** | [**List[ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner]**](ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response from a JSON string -api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response_instance = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response_dict = api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response from a dict -api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response_from_dict = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.from_dict(api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.md b/docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.md deleted file mode 100644 index 56d76cf..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2OrganizationsOrganizationIdWorkspacesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspaces** | [**List[ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner]**](ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response import ApiV2OrganizationsOrganizationIdWorkspacesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200Response from a JSON string -api_v2_organizations_organization_id_workspaces_get200_response_instance = ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_workspaces_get200_response_dict = api_v2_organizations_organization_id_workspaces_get200_response_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200Response from a dict -api_v2_organizations_organization_id_workspaces_get200_response_from_dict = ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.from_dict(api_v2_organizations_organization_id_workspaces_get200_response_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.md b/docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.md deleted file mode 100644 index 093e21e..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**slug** | **str** | | -**organization** | **str** | | -**environments** | [**List[ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner]**](ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner import ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner from a JSON string -api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_instance = ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_dict = api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner from a dict -api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_from_dict = ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.from_dict(api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_dict) -``` -[[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/docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.md b/docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.md deleted file mode 100644 index 2a3e2f2..0000000 --- a/docs/ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**slug** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner import ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner from a JSON string -api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner_instance = ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.from_json(json) -# print the JSON string representation of the object -print ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.to_json() - -# convert the object into a dict -api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner_dict = api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner_instance.to_dict() -# create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner from a dict -api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner_from_dict = ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.from_dict(api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner_dict) -``` -[[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/docs/ApiV2ServiceTokenGet200Response.md b/docs/ApiV2ServiceTokenGet200Response.md deleted file mode 100644 index 9d3bd02..0000000 --- a/docs/ApiV2ServiceTokenGet200Response.md +++ /dev/null @@ -1,45 +0,0 @@ -# ApiV2ServiceTokenGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**scopes** | **object** | | [optional] -**permissions** | **List[str]** | | -**last_used** | **datetime** | | [optional] -**expires_at** | **datetime** | | [optional] -**secret_hash** | **str** | | -**encrypted_key** | **str** | | [optional] -**iv** | **str** | | [optional] -**tag** | **str** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**created_by** | **str** | | -**project_id** | **str** | | -**workspace** | **str** | | -**user** | [**ApiV2ServiceTokenGet200ResponseUser**](ApiV2ServiceTokenGet200ResponseUser.md) | | -**id** | **str** | | -**v** | **float** | | [optional] [default to 0] - -## Example - -```python -from infisicalapi_client.models.api_v2_service_token_get200_response import ApiV2ServiceTokenGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2ServiceTokenGet200Response from a JSON string -api_v2_service_token_get200_response_instance = ApiV2ServiceTokenGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2ServiceTokenGet200Response.to_json() - -# convert the object into a dict -api_v2_service_token_get200_response_dict = api_v2_service_token_get200_response_instance.to_dict() -# create an instance of ApiV2ServiceTokenGet200Response from a dict -api_v2_service_token_get200_response_from_dict = ApiV2ServiceTokenGet200Response.from_dict(api_v2_service_token_get200_response_dict) -``` -[[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/docs/ApiV2ServiceTokenGet200ResponseUser.md b/docs/ApiV2ServiceTokenGet200ResponseUser.md deleted file mode 100644 index 30062b1..0000000 --- a/docs/ApiV2ServiceTokenGet200ResponseUser.md +++ /dev/null @@ -1,38 +0,0 @@ -# ApiV2ServiceTokenGet200ResponseUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auth_methods** | **List[str]** | | [optional] -**id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**devices** | **object** | | [optional] -**email** | **str** | | [optional] -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**mfa_methods** | **List[str]** | | [optional] -**v** | **float** | | [optional] [default to 0] -**id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_service_token_get200_response_user import ApiV2ServiceTokenGet200ResponseUser - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2ServiceTokenGet200ResponseUser from a JSON string -api_v2_service_token_get200_response_user_instance = ApiV2ServiceTokenGet200ResponseUser.from_json(json) -# print the JSON string representation of the object -print ApiV2ServiceTokenGet200ResponseUser.to_json() - -# convert the object into a dict -api_v2_service_token_get200_response_user_dict = api_v2_service_token_get200_response_user_instance.to_dict() -# create an instance of ApiV2ServiceTokenGet200ResponseUser from a dict -api_v2_service_token_get200_response_user_from_dict = ApiV2ServiceTokenGet200ResponseUser.from_dict(api_v2_service_token_get200_response_user_dict) -``` -[[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/docs/ApiV2ServiceTokenPost200Response.md b/docs/ApiV2ServiceTokenPost200Response.md deleted file mode 100644 index e56fc4e..0000000 --- a/docs/ApiV2ServiceTokenPost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2ServiceTokenPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**service_token** | **str** | | -**service_token_data** | [**ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner**](ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_service_token_post200_response import ApiV2ServiceTokenPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2ServiceTokenPost200Response from a JSON string -api_v2_service_token_post200_response_instance = ApiV2ServiceTokenPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2ServiceTokenPost200Response.to_json() - -# convert the object into a dict -api_v2_service_token_post200_response_dict = api_v2_service_token_post200_response_instance.to_dict() -# create an instance of ApiV2ServiceTokenPost200Response from a dict -api_v2_service_token_post200_response_from_dict = ApiV2ServiceTokenPost200Response.from_dict(api_v2_service_token_post200_response_dict) -``` -[[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/docs/ApiV2ServiceTokenPostRequest.md b/docs/ApiV2ServiceTokenPostRequest.md deleted file mode 100644 index 056a17f..0000000 --- a/docs/ApiV2ServiceTokenPostRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV2ServiceTokenPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**workspace_id** | **str** | | -**scopes** | [**List[ApiV2ServiceTokenPostRequestScopesInner]**](ApiV2ServiceTokenPostRequestScopesInner.md) | | -**encrypted_key** | **str** | | -**iv** | **str** | | -**tag** | **str** | | -**expires_in** | **float** | | -**permissions** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_service_token_post_request import ApiV2ServiceTokenPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2ServiceTokenPostRequest from a JSON string -api_v2_service_token_post_request_instance = ApiV2ServiceTokenPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2ServiceTokenPostRequest.to_json() - -# convert the object into a dict -api_v2_service_token_post_request_dict = api_v2_service_token_post_request_instance.to_dict() -# create an instance of ApiV2ServiceTokenPostRequest from a dict -api_v2_service_token_post_request_from_dict = ApiV2ServiceTokenPostRequest.from_dict(api_v2_service_token_post_request_dict) -``` -[[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/docs/ApiV2ServiceTokenPostRequestScopesInner.md b/docs/ApiV2ServiceTokenPostRequestScopesInner.md deleted file mode 100644 index ff8ef76..0000000 --- a/docs/ApiV2ServiceTokenPostRequestScopesInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2ServiceTokenPostRequestScopesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**environment** | **str** | | -**secret_path** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_service_token_post_request_scopes_inner import ApiV2ServiceTokenPostRequestScopesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2ServiceTokenPostRequestScopesInner from a JSON string -api_v2_service_token_post_request_scopes_inner_instance = ApiV2ServiceTokenPostRequestScopesInner.from_json(json) -# print the JSON string representation of the object -print ApiV2ServiceTokenPostRequestScopesInner.to_json() - -# convert the object into a dict -api_v2_service_token_post_request_scopes_inner_dict = api_v2_service_token_post_request_scopes_inner_instance.to_dict() -# create an instance of ApiV2ServiceTokenPostRequestScopesInner from a dict -api_v2_service_token_post_request_scopes_inner_from_dict = ApiV2ServiceTokenPostRequestScopesInner.from_dict(api_v2_service_token_post_request_scopes_inner_dict) -``` -[[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/docs/ApiV2ServiceTokenServiceTokenIdDelete200Response.md b/docs/ApiV2ServiceTokenServiceTokenIdDelete200Response.md deleted file mode 100644 index 93f40cf..0000000 --- a/docs/ApiV2ServiceTokenServiceTokenIdDelete200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2ServiceTokenServiceTokenIdDelete200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**service_token_data** | [**ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner**](ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_service_token_service_token_id_delete200_response import ApiV2ServiceTokenServiceTokenIdDelete200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2ServiceTokenServiceTokenIdDelete200Response from a JSON string -api_v2_service_token_service_token_id_delete200_response_instance = ApiV2ServiceTokenServiceTokenIdDelete200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2ServiceTokenServiceTokenIdDelete200Response.to_json() - -# convert the object into a dict -api_v2_service_token_service_token_id_delete200_response_dict = api_v2_service_token_service_token_id_delete200_response_instance.to_dict() -# create an instance of ApiV2ServiceTokenServiceTokenIdDelete200Response from a dict -api_v2_service_token_service_token_id_delete200_response_from_dict = ApiV2ServiceTokenServiceTokenIdDelete200Response.from_dict(api_v2_service_token_service_token_id_delete200_response_dict) -``` -[[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/docs/ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.md b/docs/ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.md deleted file mode 100644 index 50cae9a..0000000 --- a/docs/ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_key_data** | [**ApiV2UsersMeApiKeysGet200ResponseInner**](ApiV2UsersMeApiKeysGet200ResponseInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_api_keys_api_key_data_id_delete200_response import ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response from a JSON string -api_v2_users_me_api_keys_api_key_data_id_delete200_response_instance = ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.to_json() - -# convert the object into a dict -api_v2_users_me_api_keys_api_key_data_id_delete200_response_dict = api_v2_users_me_api_keys_api_key_data_id_delete200_response_instance.to_dict() -# create an instance of ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response from a dict -api_v2_users_me_api_keys_api_key_data_id_delete200_response_from_dict = ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.from_dict(api_v2_users_me_api_keys_api_key_data_id_delete200_response_dict) -``` -[[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/docs/ApiV2UsersMeApiKeysGet200ResponseInner.md b/docs/ApiV2UsersMeApiKeysGet200ResponseInner.md deleted file mode 100644 index df14264..0000000 --- a/docs/ApiV2UsersMeApiKeysGet200ResponseInner.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV2UsersMeApiKeysGet200ResponseInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | -**last_used** | **datetime** | | [optional] -**expires_at** | **datetime** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**user_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_api_keys_get200_response_inner import ApiV2UsersMeApiKeysGet200ResponseInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeApiKeysGet200ResponseInner from a JSON string -api_v2_users_me_api_keys_get200_response_inner_instance = ApiV2UsersMeApiKeysGet200ResponseInner.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeApiKeysGet200ResponseInner.to_json() - -# convert the object into a dict -api_v2_users_me_api_keys_get200_response_inner_dict = api_v2_users_me_api_keys_get200_response_inner_instance.to_dict() -# create an instance of ApiV2UsersMeApiKeysGet200ResponseInner from a dict -api_v2_users_me_api_keys_get200_response_inner_from_dict = ApiV2UsersMeApiKeysGet200ResponseInner.from_dict(api_v2_users_me_api_keys_get200_response_inner_dict) -``` -[[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/docs/ApiV2UsersMeApiKeysPost200Response.md b/docs/ApiV2UsersMeApiKeysPost200Response.md deleted file mode 100644 index af0272a..0000000 --- a/docs/ApiV2UsersMeApiKeysPost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2UsersMeApiKeysPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_key** | **str** | | -**api_key_data** | [**ApiV2UsersMeApiKeysGet200ResponseInner**](ApiV2UsersMeApiKeysGet200ResponseInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_api_keys_post200_response import ApiV2UsersMeApiKeysPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeApiKeysPost200Response from a JSON string -api_v2_users_me_api_keys_post200_response_instance = ApiV2UsersMeApiKeysPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeApiKeysPost200Response.to_json() - -# convert the object into a dict -api_v2_users_me_api_keys_post200_response_dict = api_v2_users_me_api_keys_post200_response_instance.to_dict() -# create an instance of ApiV2UsersMeApiKeysPost200Response from a dict -api_v2_users_me_api_keys_post200_response_from_dict = ApiV2UsersMeApiKeysPost200Response.from_dict(api_v2_users_me_api_keys_post200_response_dict) -``` -[[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/docs/ApiV2UsersMeApiKeysPostRequest.md b/docs/ApiV2UsersMeApiKeysPostRequest.md deleted file mode 100644 index 3e3500a..0000000 --- a/docs/ApiV2UsersMeApiKeysPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2UsersMeApiKeysPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**expires_in** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_api_keys_post_request import ApiV2UsersMeApiKeysPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeApiKeysPostRequest from a JSON string -api_v2_users_me_api_keys_post_request_instance = ApiV2UsersMeApiKeysPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeApiKeysPostRequest.to_json() - -# convert the object into a dict -api_v2_users_me_api_keys_post_request_dict = api_v2_users_me_api_keys_post_request_instance.to_dict() -# create an instance of ApiV2UsersMeApiKeysPostRequest from a dict -api_v2_users_me_api_keys_post_request_from_dict = ApiV2UsersMeApiKeysPostRequest.from_dict(api_v2_users_me_api_keys_post_request_dict) -``` -[[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/docs/ApiV2UsersMeAuthMethodsPutRequest.md b/docs/ApiV2UsersMeAuthMethodsPutRequest.md deleted file mode 100644 index a5482a3..0000000 --- a/docs/ApiV2UsersMeAuthMethodsPutRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2UsersMeAuthMethodsPutRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auth_methods** | **List[str]** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_auth_methods_put_request import ApiV2UsersMeAuthMethodsPutRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeAuthMethodsPutRequest from a JSON string -api_v2_users_me_auth_methods_put_request_instance = ApiV2UsersMeAuthMethodsPutRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeAuthMethodsPutRequest.to_json() - -# convert the object into a dict -api_v2_users_me_auth_methods_put_request_dict = api_v2_users_me_auth_methods_put_request_instance.to_dict() -# create an instance of ApiV2UsersMeAuthMethodsPutRequest from a dict -api_v2_users_me_auth_methods_put_request_from_dict = ApiV2UsersMeAuthMethodsPutRequest.from_dict(api_v2_users_me_auth_methods_put_request_dict) -``` -[[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/docs/ApiV2UsersMeEmailsCodePostRequest.md b/docs/ApiV2UsersMeEmailsCodePostRequest.md deleted file mode 100644 index a362ec6..0000000 --- a/docs/ApiV2UsersMeEmailsCodePostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2UsersMeEmailsCodePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_emails_code_post_request import ApiV2UsersMeEmailsCodePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeEmailsCodePostRequest from a JSON string -api_v2_users_me_emails_code_post_request_instance = ApiV2UsersMeEmailsCodePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeEmailsCodePostRequest.to_json() - -# convert the object into a dict -api_v2_users_me_emails_code_post_request_dict = api_v2_users_me_emails_code_post_request_instance.to_dict() -# create an instance of ApiV2UsersMeEmailsCodePostRequest from a dict -api_v2_users_me_emails_code_post_request_from_dict = ApiV2UsersMeEmailsCodePostRequest.from_dict(api_v2_users_me_emails_code_post_request_dict) -``` -[[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/docs/ApiV2UsersMeEmailsVerifyPostRequest.md b/docs/ApiV2UsersMeEmailsVerifyPostRequest.md deleted file mode 100644 index b301e2c..0000000 --- a/docs/ApiV2UsersMeEmailsVerifyPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2UsersMeEmailsVerifyPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | -**code** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_emails_verify_post_request import ApiV2UsersMeEmailsVerifyPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeEmailsVerifyPostRequest from a JSON string -api_v2_users_me_emails_verify_post_request_instance = ApiV2UsersMeEmailsVerifyPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeEmailsVerifyPostRequest.to_json() - -# convert the object into a dict -api_v2_users_me_emails_verify_post_request_dict = api_v2_users_me_emails_verify_post_request_instance.to_dict() -# create an instance of ApiV2UsersMeEmailsVerifyPostRequest from a dict -api_v2_users_me_emails_verify_post_request_from_dict = ApiV2UsersMeEmailsVerifyPostRequest.from_dict(api_v2_users_me_emails_verify_post_request_dict) -``` -[[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/docs/ApiV2UsersMeMfaPatch200Response.md b/docs/ApiV2UsersMeMfaPatch200Response.md deleted file mode 100644 index 89c965b..0000000 --- a/docs/ApiV2UsersMeMfaPatch200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2UsersMeMfaPatch200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user** | [**ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser**](ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_mfa_patch200_response import ApiV2UsersMeMfaPatch200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeMfaPatch200Response from a JSON string -api_v2_users_me_mfa_patch200_response_instance = ApiV2UsersMeMfaPatch200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeMfaPatch200Response.to_json() - -# convert the object into a dict -api_v2_users_me_mfa_patch200_response_dict = api_v2_users_me_mfa_patch200_response_instance.to_dict() -# create an instance of ApiV2UsersMeMfaPatch200Response from a dict -api_v2_users_me_mfa_patch200_response_from_dict = ApiV2UsersMeMfaPatch200Response.from_dict(api_v2_users_me_mfa_patch200_response_dict) -``` -[[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/docs/ApiV2UsersMeMfaPatchRequest.md b/docs/ApiV2UsersMeMfaPatchRequest.md deleted file mode 100644 index b7856ba..0000000 --- a/docs/ApiV2UsersMeMfaPatchRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2UsersMeMfaPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is_mfa_enabled** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_mfa_patch_request import ApiV2UsersMeMfaPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeMfaPatchRequest from a JSON string -api_v2_users_me_mfa_patch_request_instance = ApiV2UsersMeMfaPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeMfaPatchRequest.to_json() - -# convert the object into a dict -api_v2_users_me_mfa_patch_request_dict = api_v2_users_me_mfa_patch_request_instance.to_dict() -# create an instance of ApiV2UsersMeMfaPatchRequest from a dict -api_v2_users_me_mfa_patch_request_from_dict = ApiV2UsersMeMfaPatchRequest.from_dict(api_v2_users_me_mfa_patch_request_dict) -``` -[[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/docs/ApiV2UsersMeNamePatchRequest.md b/docs/ApiV2UsersMeNamePatchRequest.md deleted file mode 100644 index 8356d7d..0000000 --- a/docs/ApiV2UsersMeNamePatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2UsersMeNamePatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**first_name** | **str** | | -**last_name** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_name_patch_request import ApiV2UsersMeNamePatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeNamePatchRequest from a JSON string -api_v2_users_me_name_patch_request_instance = ApiV2UsersMeNamePatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeNamePatchRequest.to_json() - -# convert the object into a dict -api_v2_users_me_name_patch_request_dict = api_v2_users_me_name_patch_request_instance.to_dict() -# create an instance of ApiV2UsersMeNamePatchRequest from a dict -api_v2_users_me_name_patch_request_from_dict = ApiV2UsersMeNamePatchRequest.from_dict(api_v2_users_me_name_patch_request_dict) -``` -[[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/docs/ApiV2UsersMeSessionsGet200ResponseInner.md b/docs/ApiV2UsersMeSessionsGet200ResponseInner.md deleted file mode 100644 index deae4bc..0000000 --- a/docs/ApiV2UsersMeSessionsGet200ResponseInner.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV2UsersMeSessionsGet200ResponseInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**ip** | **str** | | -**user_agent** | **str** | | [optional] -**refresh_version** | **float** | | [optional] [default to 1] -**access_version** | **float** | | [optional] [default to 1] -**last_used** | **datetime** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**user_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_users_me_sessions_get200_response_inner import ApiV2UsersMeSessionsGet200ResponseInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2UsersMeSessionsGet200ResponseInner from a JSON string -api_v2_users_me_sessions_get200_response_inner_instance = ApiV2UsersMeSessionsGet200ResponseInner.from_json(json) -# print the JSON string representation of the object -print ApiV2UsersMeSessionsGet200ResponseInner.to_json() - -# convert the object into a dict -api_v2_users_me_sessions_get200_response_inner_dict = api_v2_users_me_sessions_get200_response_inner_instance.to_dict() -# create an instance of ApiV2UsersMeSessionsGet200ResponseInner from a dict -api_v2_users_me_sessions_get200_response_inner_from_dict = ApiV2UsersMeSessionsGet200ResponseInner.from_dict(api_v2_users_me_sessions_get200_response_inner_dict) -``` -[[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/docs/ApiV2WorkspacePost200Response.md b/docs/ApiV2WorkspacePost200Response.md deleted file mode 100644 index 07847ba..0000000 --- a/docs/ApiV2WorkspacePost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspacePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project** | [**ApiV1WorkspaceGet200ResponseWorkspacesInner**](ApiV1WorkspaceGet200ResponseWorkspacesInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_post200_response import ApiV2WorkspacePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspacePost200Response from a JSON string -api_v2_workspace_post200_response_instance = ApiV2WorkspacePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspacePost200Response.to_json() - -# convert the object into a dict -api_v2_workspace_post200_response_dict = api_v2_workspace_post200_response_instance.to_dict() -# create an instance of ApiV2WorkspacePost200Response from a dict -api_v2_workspace_post200_response_from_dict = ApiV2WorkspacePost200Response.from_dict(api_v2_workspace_post200_response_dict) -``` -[[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/docs/ApiV2WorkspacePostRequest.md b/docs/ApiV2WorkspacePostRequest.md deleted file mode 100644 index 06f4cb2..0000000 --- a/docs/ApiV2WorkspacePostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV2WorkspacePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_name** | **str** | The name of the project to create. | -**slug** | **str** | An optional slug for the project. | [optional] -**kms_key_id** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_post_request import ApiV2WorkspacePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspacePostRequest from a JSON string -api_v2_workspace_post_request_instance = ApiV2WorkspacePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspacePostRequest.to_json() - -# convert the object into a dict -api_v2_workspace_post_request_dict = api_v2_workspace_post_request_instance.to_dict() -# create an instance of ApiV2WorkspacePostRequest from a dict -api_v2_workspace_post_request_from_dict = ApiV2WorkspacePostRequest.from_dict(api_v2_workspace_post_request_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.md deleted file mode 100644 index d4830e0..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_membership** | [**ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner**](ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_get200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_get200_response_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_get200_response_dict = api_v2_workspace_project_id_identity_memberships_identity_id_get200_response_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_get200_response_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_get200_response_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.md deleted file mode 100644 index 2bcd4b5..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**roles** | [**List[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner]**](ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.md) | A list of role slugs to assign to the identity project membership. | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_dict = api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.md deleted file mode 100644 index 01c39f9..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | The role slug to assign to the newly created identity project membership. | -**is_temporary** | **bool** | Whether the assigned role is temporary. If isTemporary is set true, must provide temporaryMode, temporaryRange and temporaryAccessStartTime. | -**temporary_mode** | **str** | Type of temporary expiry. | -**temporary_range** | **str** | Expiry time for temporary access. In relative mode it could be 1s,2m,3h | -**temporary_access_start_time** | **datetime** | Time to which the temporary access starts | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_dict = api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.md deleted file mode 100644 index 7cd62c2..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | The role slug to assign to the newly created identity project membership. | -**is_temporary** | **bool** | Whether the assigned role is temporary. If isTemporary is set true, must provide temporaryMode, temporaryRange and temporaryAccessStartTime. | [optional] [default to False] - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of_dict = api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.md deleted file mode 100644 index bec3a62..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | The role slug to assign to the newly created identity project membership. | -**is_temporary** | **bool** | Whether the assigned role is temporary. If isTemporary is set true, must provide temporaryMode, temporaryRange and temporaryAccessStartTime. | -**temporary_mode** | **str** | Type of temporary expiry. | -**temporary_range** | **str** | Expiry time for temporary access. In relative mode it could be 1s,2m,3h | -**temporary_access_start_time** | **datetime** | Time to which the temporary access starts | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1_dict = api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.md deleted file mode 100644 index 89d4bf1..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_membership** | [**ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership**](ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_dict = api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.md deleted file mode 100644 index fb508ff..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**project_id** | **str** | | -**identity_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership_dict = api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.md deleted file mode 100644 index 92e1b2e..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | | [optional] [default to 'no-access'] -**roles** | [**List[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner]**](ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.md) | A list of role slugs to assign to the newly created identity project membership. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_dict = api_v2_workspace_project_id_identity_memberships_identity_id_post_request_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_post_request_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.md deleted file mode 100644 index 527e503..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | The role slug to assign to the newly created identity project membership. | -**is_temporary** | **bool** | The role slug to assign to the newly created identity project membership. | -**temporary_mode** | **str** | The role slug to assign to the newly created identity project membership. | -**temporary_range** | **str** | The role slug to assign to the newly created identity project membership. | -**temporary_access_start_time** | **datetime** | The role slug to assign to the newly created identity project membership. | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_dict = api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.md deleted file mode 100644 index 634db9e..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | The role slug to assign to the newly created identity project membership. | -**is_temporary** | **bool** | The role slug to assign to the newly created identity project membership. | [optional] [default to False] - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of_dict = api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.md b/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.md deleted file mode 100644 index 8412981..0000000 --- a/docs/ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | The role slug to assign to the newly created identity project membership. | -**is_temporary** | **bool** | The role slug to assign to the newly created identity project membership. | -**temporary_mode** | **str** | The role slug to assign to the newly created identity project membership. | -**temporary_range** | **str** | The role slug to assign to the newly created identity project membership. | -**temporary_access_start_time** | **datetime** | The role slug to assign to the newly created identity project membership. | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 from a JSON string -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1_dict = api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 from a dict -api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdMembershipsDeleteRequest.md b/docs/ApiV2WorkspaceProjectIdMembershipsDeleteRequest.md deleted file mode 100644 index c4edaaa..0000000 --- a/docs/ApiV2WorkspaceProjectIdMembershipsDeleteRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2WorkspaceProjectIdMembershipsDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**emails** | **List[str]** | A list of organization member emails to remove from the project. | [optional] [default to []] -**usernames** | **List[str]** | A list of usernames to remove from the project. | [optional] [default to []] - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_delete_request import ApiV2WorkspaceProjectIdMembershipsDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdMembershipsDeleteRequest from a JSON string -api_v2_workspace_project_id_memberships_delete_request_instance = ApiV2WorkspaceProjectIdMembershipsDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdMembershipsDeleteRequest.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_memberships_delete_request_dict = api_v2_workspace_project_id_memberships_delete_request_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdMembershipsDeleteRequest from a dict -api_v2_workspace_project_id_memberships_delete_request_from_dict = ApiV2WorkspaceProjectIdMembershipsDeleteRequest.from_dict(api_v2_workspace_project_id_memberships_delete_request_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdMembershipsPost200Response.md b/docs/ApiV2WorkspaceProjectIdMembershipsPost200Response.md deleted file mode 100644 index 71ba800..0000000 --- a/docs/ApiV2WorkspaceProjectIdMembershipsPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceProjectIdMembershipsPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**memberships** | [**List[ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership]**](ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post200_response import ApiV2WorkspaceProjectIdMembershipsPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdMembershipsPost200Response from a JSON string -api_v2_workspace_project_id_memberships_post200_response_instance = ApiV2WorkspaceProjectIdMembershipsPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdMembershipsPost200Response.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_memberships_post200_response_dict = api_v2_workspace_project_id_memberships_post200_response_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdMembershipsPost200Response from a dict -api_v2_workspace_project_id_memberships_post200_response_from_dict = ApiV2WorkspaceProjectIdMembershipsPost200Response.from_dict(api_v2_workspace_project_id_memberships_post200_response_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdMembershipsPostRequest.md b/docs/ApiV2WorkspaceProjectIdMembershipsPostRequest.md deleted file mode 100644 index 1d8ab9b..0000000 --- a/docs/ApiV2WorkspaceProjectIdMembershipsPostRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2WorkspaceProjectIdMembershipsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**emails** | **List[str]** | A list of organization member emails to invite to the project. | [optional] [default to []] -**usernames** | **List[str]** | A list of usernames to invite to the project. | [optional] [default to []] - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post_request import ApiV2WorkspaceProjectIdMembershipsPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdMembershipsPostRequest from a JSON string -api_v2_workspace_project_id_memberships_post_request_instance = ApiV2WorkspaceProjectIdMembershipsPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdMembershipsPostRequest.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_memberships_post_request_dict = api_v2_workspace_project_id_memberships_post_request_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdMembershipsPostRequest from a dict -api_v2_workspace_project_id_memberships_post_request_from_dict = ApiV2WorkspaceProjectIdMembershipsPostRequest.from_dict(api_v2_workspace_project_id_memberships_post_request_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdUpgradePostRequest.md b/docs/ApiV2WorkspaceProjectIdUpgradePostRequest.md deleted file mode 100644 index 3840d10..0000000 --- a/docs/ApiV2WorkspaceProjectIdUpgradePostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceProjectIdUpgradePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_private_key** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_post_request import ApiV2WorkspaceProjectIdUpgradePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdUpgradePostRequest from a JSON string -api_v2_workspace_project_id_upgrade_post_request_instance = ApiV2WorkspaceProjectIdUpgradePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdUpgradePostRequest.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_upgrade_post_request_dict = api_v2_workspace_project_id_upgrade_post_request_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdUpgradePostRequest from a dict -api_v2_workspace_project_id_upgrade_post_request_from_dict = ApiV2WorkspaceProjectIdUpgradePostRequest.from_dict(api_v2_workspace_project_id_upgrade_post_request_dict) -``` -[[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/docs/ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.md b/docs/ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.md deleted file mode 100644 index 2bd3caa..0000000 --- a/docs/ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceProjectIdUpgradeStatusGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_status_get200_response import ApiV2WorkspaceProjectIdUpgradeStatusGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectIdUpgradeStatusGet200Response from a JSON string -api_v2_workspace_project_id_upgrade_status_get200_response_instance = ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.to_json() - -# convert the object into a dict -api_v2_workspace_project_id_upgrade_status_get200_response_dict = api_v2_workspace_project_id_upgrade_status_get200_response_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectIdUpgradeStatusGet200Response from a dict -api_v2_workspace_project_id_upgrade_status_get200_response_from_dict = ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.from_dict(api_v2_workspace_project_id_upgrade_status_get200_response_dict) -``` -[[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/docs/ApiV2WorkspaceProjectSlugGroupsGet200Response.md b/docs/ApiV2WorkspaceProjectSlugGroupsGet200Response.md deleted file mode 100644 index 142f434..0000000 --- a/docs/ApiV2WorkspaceProjectSlugGroupsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceProjectSlugGroupsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**group_memberships** | [**List[ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner]**](ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response import ApiV2WorkspaceProjectSlugGroupsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectSlugGroupsGet200Response from a JSON string -api_v2_workspace_project_slug_groups_get200_response_instance = ApiV2WorkspaceProjectSlugGroupsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectSlugGroupsGet200Response.to_json() - -# convert the object into a dict -api_v2_workspace_project_slug_groups_get200_response_dict = api_v2_workspace_project_slug_groups_get200_response_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectSlugGroupsGet200Response from a dict -api_v2_workspace_project_slug_groups_get200_response_from_dict = ApiV2WorkspaceProjectSlugGroupsGet200Response.from_dict(api_v2_workspace_project_slug_groups_get200_response_dict) -``` -[[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/docs/ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.md b/docs/ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.md deleted file mode 100644 index a051059..0000000 --- a/docs/ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**group_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**roles** | [**List[ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner]**](ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.md) | | -**group** | [**ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup**](ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner import ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner from a JSON string -api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_instance = ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.to_json() - -# convert the object into a dict -api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_dict = api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner from a dict -api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_from_dict = ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.from_dict(api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_dict) -``` -[[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/docs/ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.md b/docs/ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.md deleted file mode 100644 index 1e16cf9..0000000 --- a/docs/ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**id** | **str** | | -**slug** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group import ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup from a JSON string -api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group_instance = ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.to_json() - -# convert the object into a dict -api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group_dict = api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup from a dict -api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group_from_dict = ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.from_dict(api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group_dict) -``` -[[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/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.md b/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.md deleted file mode 100644 index 1f1da17..0000000 --- a/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**roles** | [**List[ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner]**](ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.md) | A list of roles to update the group to. | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_patch_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest from a JSON string -api_v2_workspace_project_slug_groups_group_slug_patch_request_instance = ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.to_json() - -# convert the object into a dict -api_v2_workspace_project_slug_groups_group_slug_patch_request_dict = api_v2_workspace_project_slug_groups_group_slug_patch_request_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest from a dict -api_v2_workspace_project_slug_groups_group_slug_patch_request_from_dict = ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.from_dict(api_v2_workspace_project_slug_groups_group_slug_patch_request_dict) -``` -[[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/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.md b/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.md deleted file mode 100644 index 656e171..0000000 --- a/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**group_membership** | [**ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership**](ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response from a JSON string -api_v2_workspace_project_slug_groups_group_slug_post200_response_instance = ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.to_json() - -# convert the object into a dict -api_v2_workspace_project_slug_groups_group_slug_post200_response_dict = api_v2_workspace_project_slug_groups_group_slug_post200_response_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response from a dict -api_v2_workspace_project_slug_groups_group_slug_post200_response_from_dict = ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.from_dict(api_v2_workspace_project_slug_groups_group_slug_post200_response_dict) -``` -[[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/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.md b/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.md deleted file mode 100644 index 3e5baa2..0000000 --- a/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**project_id** | **str** | | -**group_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership from a JSON string -api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership_instance = ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.to_json() - -# convert the object into a dict -api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership_dict = api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership from a dict -api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership_from_dict = ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.from_dict(api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership_dict) -``` -[[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/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.md b/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.md deleted file mode 100644 index 9a1e206..0000000 --- a/docs/ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**role** | **str** | The role for the group to assume in the project. | [optional] [default to 'no-access'] - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest from a JSON string -api_v2_workspace_project_slug_groups_group_slug_post_request_instance = ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.to_json() - -# convert the object into a dict -api_v2_workspace_project_slug_groups_group_slug_post_request_dict = api_v2_workspace_project_slug_groups_group_slug_post_request_instance.to_dict() -# create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest from a dict -api_v2_workspace_project_slug_groups_group_slug_post_request_from_dict = ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.from_dict(api_v2_workspace_project_slug_groups_group_slug_post_request_dict) -``` -[[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/docs/ApiV2WorkspaceSlugCasGet200Response.md b/docs/ApiV2WorkspaceSlugCasGet200Response.md deleted file mode 100644 index ab6d52a..0000000 --- a/docs/ApiV2WorkspaceSlugCasGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceSlugCasGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cas** | [**List[ApiV1PkiCaPost200ResponseCa]**](ApiV1PkiCaPost200ResponseCa.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_slug_cas_get200_response import ApiV2WorkspaceSlugCasGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceSlugCasGet200Response from a JSON string -api_v2_workspace_slug_cas_get200_response_instance = ApiV2WorkspaceSlugCasGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceSlugCasGet200Response.to_json() - -# convert the object into a dict -api_v2_workspace_slug_cas_get200_response_dict = api_v2_workspace_slug_cas_get200_response_instance.to_dict() -# create an instance of ApiV2WorkspaceSlugCasGet200Response from a dict -api_v2_workspace_slug_cas_get200_response_from_dict = ApiV2WorkspaceSlugCasGet200Response.from_dict(api_v2_workspace_slug_cas_get200_response_dict) -``` -[[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/docs/ApiV2WorkspaceSlugCertificatesGet200Response.md b/docs/ApiV2WorkspaceSlugCertificatesGet200Response.md deleted file mode 100644 index 3ba0c4c..0000000 --- a/docs/ApiV2WorkspaceSlugCertificatesGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2WorkspaceSlugCertificatesGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**certificates** | [**List[ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate]**](ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.md) | | -**total_count** | **float** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_slug_certificates_get200_response import ApiV2WorkspaceSlugCertificatesGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceSlugCertificatesGet200Response from a JSON string -api_v2_workspace_slug_certificates_get200_response_instance = ApiV2WorkspaceSlugCertificatesGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceSlugCertificatesGet200Response.to_json() - -# convert the object into a dict -api_v2_workspace_slug_certificates_get200_response_dict = api_v2_workspace_slug_certificates_get200_response_instance.to_dict() -# create an instance of ApiV2WorkspaceSlugCertificatesGet200Response from a dict -api_v2_workspace_slug_certificates_get200_response_from_dict = ApiV2WorkspaceSlugCertificatesGet200Response.from_dict(api_v2_workspace_slug_certificates_get200_response_dict) -``` -[[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/docs/ApiV2WorkspaceSlugPatchRequest.md b/docs/ApiV2WorkspaceSlugPatchRequest.md deleted file mode 100644 index 5c8ba8e..0000000 --- a/docs/ApiV2WorkspaceSlugPatchRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV2WorkspaceSlugPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The new name of the project. | [optional] -**auto_capitalization** | **bool** | The new auto-capitalization setting. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_slug_patch_request import ApiV2WorkspaceSlugPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceSlugPatchRequest from a JSON string -api_v2_workspace_slug_patch_request_instance = ApiV2WorkspaceSlugPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceSlugPatchRequest.to_json() - -# convert the object into a dict -api_v2_workspace_slug_patch_request_dict = api_v2_workspace_slug_patch_request_instance.to_dict() -# create an instance of ApiV2WorkspaceSlugPatchRequest from a dict -api_v2_workspace_slug_patch_request_from_dict = ApiV2WorkspaceSlugPatchRequest.from_dict(api_v2_workspace_slug_patch_request_dict) -``` -[[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/docs/ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.md b/docs/ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.md deleted file mode 100644 index d529084..0000000 --- a/docs/ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.md +++ /dev/null @@ -1,36 +0,0 @@ -# ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**encrypted_key** | **str** | | -**nonce** | **str** | | -**receiver_id** | **str** | | -**sender_id** | **str** | | [optional] -**project_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**sender** | [**ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender**](ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response from a JSON string -api_v2_workspace_workspace_id_encrypted_key_get200_response_instance = ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.to_json() - -# convert the object into a dict -api_v2_workspace_workspace_id_encrypted_key_get200_response_dict = api_v2_workspace_workspace_id_encrypted_key_get200_response_instance.to_dict() -# create an instance of ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response from a dict -api_v2_workspace_workspace_id_encrypted_key_get200_response_from_dict = ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.from_dict(api_v2_workspace_workspace_id_encrypted_key_get200_response_dict) -``` -[[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/docs/ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.md b/docs/ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.md deleted file mode 100644 index 3665104..0000000 --- a/docs/ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**public_key** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response_sender import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender from a JSON string -api_v2_workspace_workspace_id_encrypted_key_get200_response_sender_instance = ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.from_json(json) -# print the JSON string representation of the object -print ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.to_json() - -# convert the object into a dict -api_v2_workspace_workspace_id_encrypted_key_get200_response_sender_dict = api_v2_workspace_workspace_id_encrypted_key_get200_response_sender_instance.to_dict() -# create an instance of ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender from a dict -api_v2_workspace_workspace_id_encrypted_key_get200_response_sender_from_dict = ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.from_dict(api_v2_workspace_workspace_id_encrypted_key_get200_response_sender_dict) -``` -[[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/docs/ApiV3AuthLogin1PostRequest.md b/docs/ApiV3AuthLogin1PostRequest.md deleted file mode 100644 index 39b9156..0000000 --- a/docs/ApiV3AuthLogin1PostRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV3AuthLogin1PostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | -**provider_auth_token** | **str** | | [optional] -**client_public_key** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_auth_login1_post_request import ApiV3AuthLogin1PostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3AuthLogin1PostRequest from a JSON string -api_v3_auth_login1_post_request_instance = ApiV3AuthLogin1PostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3AuthLogin1PostRequest.to_json() - -# convert the object into a dict -api_v3_auth_login1_post_request_dict = api_v3_auth_login1_post_request_instance.to_dict() -# create an instance of ApiV3AuthLogin1PostRequest from a dict -api_v3_auth_login1_post_request_from_dict = ApiV3AuthLogin1PostRequest.from_dict(api_v3_auth_login1_post_request_dict) -``` -[[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/docs/ApiV3AuthLogin2Post200Response.md b/docs/ApiV3AuthLogin2Post200Response.md deleted file mode 100644 index 9bc36d1..0000000 --- a/docs/ApiV3AuthLogin2Post200Response.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV3AuthLogin2Post200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mfa_enabled** | **bool** | | -**token** | **str** | | -**encryption_version** | **float** | | [optional] [default to 1] -**protected_key** | **str** | | -**protected_key_iv** | **str** | | -**protected_key_tag** | **str** | | -**public_key** | **str** | | -**encrypted_private_key** | **str** | | -**iv** | **str** | | -**tag** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_auth_login2_post200_response import ApiV3AuthLogin2Post200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3AuthLogin2Post200Response from a JSON string -api_v3_auth_login2_post200_response_instance = ApiV3AuthLogin2Post200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3AuthLogin2Post200Response.to_json() - -# convert the object into a dict -api_v3_auth_login2_post200_response_dict = api_v3_auth_login2_post200_response_instance.to_dict() -# create an instance of ApiV3AuthLogin2Post200Response from a dict -api_v3_auth_login2_post200_response_from_dict = ApiV3AuthLogin2Post200Response.from_dict(api_v3_auth_login2_post200_response_dict) -``` -[[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/docs/ApiV3AuthLogin2Post200ResponseAnyOf.md b/docs/ApiV3AuthLogin2Post200ResponseAnyOf.md deleted file mode 100644 index 2899506..0000000 --- a/docs/ApiV3AuthLogin2Post200ResponseAnyOf.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3AuthLogin2Post200ResponseAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mfa_enabled** | **bool** | | -**token** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_auth_login2_post200_response_any_of import ApiV3AuthLogin2Post200ResponseAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3AuthLogin2Post200ResponseAnyOf from a JSON string -api_v3_auth_login2_post200_response_any_of_instance = ApiV3AuthLogin2Post200ResponseAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV3AuthLogin2Post200ResponseAnyOf.to_json() - -# convert the object into a dict -api_v3_auth_login2_post200_response_any_of_dict = api_v3_auth_login2_post200_response_any_of_instance.to_dict() -# create an instance of ApiV3AuthLogin2Post200ResponseAnyOf from a dict -api_v3_auth_login2_post200_response_any_of_from_dict = ApiV3AuthLogin2Post200ResponseAnyOf.from_dict(api_v3_auth_login2_post200_response_any_of_dict) -``` -[[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/docs/ApiV3AuthLogin2Post200ResponseAnyOf1.md b/docs/ApiV3AuthLogin2Post200ResponseAnyOf1.md deleted file mode 100644 index d9a05c9..0000000 --- a/docs/ApiV3AuthLogin2Post200ResponseAnyOf1.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV3AuthLogin2Post200ResponseAnyOf1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mfa_enabled** | **bool** | | -**encryption_version** | **float** | | [optional] [default to 1] -**protected_key** | **str** | | -**protected_key_iv** | **str** | | -**protected_key_tag** | **str** | | -**public_key** | **str** | | -**encrypted_private_key** | **str** | | -**iv** | **str** | | -**tag** | **str** | | -**token** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_auth_login2_post200_response_any_of1 import ApiV3AuthLogin2Post200ResponseAnyOf1 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3AuthLogin2Post200ResponseAnyOf1 from a JSON string -api_v3_auth_login2_post200_response_any_of1_instance = ApiV3AuthLogin2Post200ResponseAnyOf1.from_json(json) -# print the JSON string representation of the object -print ApiV3AuthLogin2Post200ResponseAnyOf1.to_json() - -# convert the object into a dict -api_v3_auth_login2_post200_response_any_of1_dict = api_v3_auth_login2_post200_response_any_of1_instance.to_dict() -# create an instance of ApiV3AuthLogin2Post200ResponseAnyOf1 from a dict -api_v3_auth_login2_post200_response_any_of1_from_dict = ApiV3AuthLogin2Post200ResponseAnyOf1.from_dict(api_v3_auth_login2_post200_response_any_of1_dict) -``` -[[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/docs/ApiV3AuthLogin2PostRequest.md b/docs/ApiV3AuthLogin2PostRequest.md deleted file mode 100644 index e9b454c..0000000 --- a/docs/ApiV3AuthLogin2PostRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV3AuthLogin2PostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | -**provider_auth_token** | **str** | | [optional] -**client_proof** | **str** | | -**captcha_token** | **str** | | [optional] -**password** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_auth_login2_post_request import ApiV3AuthLogin2PostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3AuthLogin2PostRequest from a JSON string -api_v3_auth_login2_post_request_instance = ApiV3AuthLogin2PostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3AuthLogin2PostRequest.to_json() - -# convert the object into a dict -api_v3_auth_login2_post_request_dict = api_v3_auth_login2_post_request_instance.to_dict() -# create an instance of ApiV3AuthLogin2PostRequest from a dict -api_v3_auth_login2_post_request_from_dict = ApiV3AuthLogin2PostRequest.from_dict(api_v3_auth_login2_post_request_dict) -``` -[[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/docs/ApiV3SecretsBackfillSecretReferencesPostRequest.md b/docs/ApiV3SecretsBackfillSecretReferencesPostRequest.md deleted file mode 100644 index 0c78310..0000000 --- a/docs/ApiV3SecretsBackfillSecretReferencesPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3SecretsBackfillSecretReferencesPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_backfill_secret_references_post_request import ApiV3SecretsBackfillSecretReferencesPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBackfillSecretReferencesPostRequest from a JSON string -api_v3_secrets_backfill_secret_references_post_request_instance = ApiV3SecretsBackfillSecretReferencesPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBackfillSecretReferencesPostRequest.to_json() - -# convert the object into a dict -api_v3_secrets_backfill_secret_references_post_request_dict = api_v3_secrets_backfill_secret_references_post_request_instance.to_dict() -# create an instance of ApiV3SecretsBackfillSecretReferencesPostRequest from a dict -api_v3_secrets_backfill_secret_references_post_request_from_dict = ApiV3SecretsBackfillSecretReferencesPostRequest.from_dict(api_v3_secrets_backfill_secret_references_post_request_dict) -``` -[[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/docs/ApiV3SecretsBatchDeleteRequest.md b/docs/ApiV3SecretsBatchDeleteRequest.md deleted file mode 100644 index e002144..0000000 --- a/docs/ApiV3SecretsBatchDeleteRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV3SecretsBatchDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | | -**environment** | **str** | | -**secret_path** | **str** | | [optional] [default to '/'] -**secrets** | [**List[ApiV3SecretsBatchDeleteRequestSecretsInner]**](ApiV3SecretsBatchDeleteRequestSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_delete_request import ApiV3SecretsBatchDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchDeleteRequest from a JSON string -api_v3_secrets_batch_delete_request_instance = ApiV3SecretsBatchDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchDeleteRequest.to_json() - -# convert the object into a dict -api_v3_secrets_batch_delete_request_dict = api_v3_secrets_batch_delete_request_instance.to_dict() -# create an instance of ApiV3SecretsBatchDeleteRequest from a dict -api_v3_secrets_batch_delete_request_from_dict = ApiV3SecretsBatchDeleteRequest.from_dict(api_v3_secrets_batch_delete_request_dict) -``` -[[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/docs/ApiV3SecretsBatchDeleteRequestSecretsInner.md b/docs/ApiV3SecretsBatchDeleteRequestSecretsInner.md deleted file mode 100644 index 3ce7282..0000000 --- a/docs/ApiV3SecretsBatchDeleteRequestSecretsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3SecretsBatchDeleteRequestSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_name** | **str** | | -**type** | **str** | | [optional] [default to 'shared'] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_delete_request_secrets_inner import ApiV3SecretsBatchDeleteRequestSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchDeleteRequestSecretsInner from a JSON string -api_v3_secrets_batch_delete_request_secrets_inner_instance = ApiV3SecretsBatchDeleteRequestSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchDeleteRequestSecretsInner.to_json() - -# convert the object into a dict -api_v3_secrets_batch_delete_request_secrets_inner_dict = api_v3_secrets_batch_delete_request_secrets_inner_instance.to_dict() -# create an instance of ApiV3SecretsBatchDeleteRequestSecretsInner from a dict -api_v3_secrets_batch_delete_request_secrets_inner_from_dict = ApiV3SecretsBatchDeleteRequestSecretsInner.from_dict(api_v3_secrets_batch_delete_request_secrets_inner_dict) -``` -[[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/docs/ApiV3SecretsBatchPatchRequest.md b/docs/ApiV3SecretsBatchPatchRequest.md deleted file mode 100644 index 4d8467a..0000000 --- a/docs/ApiV3SecretsBatchPatchRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV3SecretsBatchPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | | -**environment** | **str** | | -**secret_path** | **str** | | [optional] [default to '/'] -**secrets** | [**List[ApiV3SecretsBatchPatchRequestSecretsInner]**](ApiV3SecretsBatchPatchRequestSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_patch_request import ApiV3SecretsBatchPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchPatchRequest from a JSON string -api_v3_secrets_batch_patch_request_instance = ApiV3SecretsBatchPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchPatchRequest.to_json() - -# convert the object into a dict -api_v3_secrets_batch_patch_request_dict = api_v3_secrets_batch_patch_request_instance.to_dict() -# create an instance of ApiV3SecretsBatchPatchRequest from a dict -api_v3_secrets_batch_patch_request_from_dict = ApiV3SecretsBatchPatchRequest.from_dict(api_v3_secrets_batch_patch_request_dict) -``` -[[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/docs/ApiV3SecretsBatchPatchRequestSecretsInner.md b/docs/ApiV3SecretsBatchPatchRequestSecretsInner.md deleted file mode 100644 index 5cbc4b1..0000000 --- a/docs/ApiV3SecretsBatchPatchRequestSecretsInner.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV3SecretsBatchPatchRequestSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_name** | **str** | | -**type** | **str** | | [optional] [default to 'shared'] -**secret_value_ciphertext** | **str** | | -**secret_value_iv** | **str** | | -**secret_value_tag** | **str** | | -**secret_key_ciphertext** | **str** | | -**secret_key_iv** | **str** | | -**secret_key_tag** | **str** | | -**secret_comment_ciphertext** | **str** | | [optional] -**secret_comment_iv** | **str** | | [optional] -**secret_comment_tag** | **str** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] -**tags** | **List[str]** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_patch_request_secrets_inner import ApiV3SecretsBatchPatchRequestSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchPatchRequestSecretsInner from a JSON string -api_v3_secrets_batch_patch_request_secrets_inner_instance = ApiV3SecretsBatchPatchRequestSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchPatchRequestSecretsInner.to_json() - -# convert the object into a dict -api_v3_secrets_batch_patch_request_secrets_inner_dict = api_v3_secrets_batch_patch_request_secrets_inner_instance.to_dict() -# create an instance of ApiV3SecretsBatchPatchRequestSecretsInner from a dict -api_v3_secrets_batch_patch_request_secrets_inner_from_dict = ApiV3SecretsBatchPatchRequestSecretsInner.from_dict(api_v3_secrets_batch_patch_request_secrets_inner_dict) -``` -[[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/docs/ApiV3SecretsBatchPost200Response.md b/docs/ApiV3SecretsBatchPost200Response.md deleted file mode 100644 index 66fd28e..0000000 --- a/docs/ApiV3SecretsBatchPost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3SecretsBatchPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets** | [**List[ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner]**](ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.md) | | -**approval** | [**ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval**](ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_post200_response import ApiV3SecretsBatchPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchPost200Response from a JSON string -api_v3_secrets_batch_post200_response_instance = ApiV3SecretsBatchPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchPost200Response.to_json() - -# convert the object into a dict -api_v3_secrets_batch_post200_response_dict = api_v3_secrets_batch_post200_response_instance.to_dict() -# create an instance of ApiV3SecretsBatchPost200Response from a dict -api_v3_secrets_batch_post200_response_from_dict = ApiV3SecretsBatchPost200Response.from_dict(api_v3_secrets_batch_post200_response_dict) -``` -[[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/docs/ApiV3SecretsBatchPost200ResponseAnyOf.md b/docs/ApiV3SecretsBatchPost200ResponseAnyOf.md deleted file mode 100644 index e1c0595..0000000 --- a/docs/ApiV3SecretsBatchPost200ResponseAnyOf.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3SecretsBatchPost200ResponseAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets** | [**List[ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner]**](ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_post200_response_any_of import ApiV3SecretsBatchPost200ResponseAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchPost200ResponseAnyOf from a JSON string -api_v3_secrets_batch_post200_response_any_of_instance = ApiV3SecretsBatchPost200ResponseAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchPost200ResponseAnyOf.to_json() - -# convert the object into a dict -api_v3_secrets_batch_post200_response_any_of_dict = api_v3_secrets_batch_post200_response_any_of_instance.to_dict() -# create an instance of ApiV3SecretsBatchPost200ResponseAnyOf from a dict -api_v3_secrets_batch_post200_response_any_of_from_dict = ApiV3SecretsBatchPost200ResponseAnyOf.from_dict(api_v3_secrets_batch_post200_response_any_of_dict) -``` -[[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/docs/ApiV3SecretsBatchPostRequest.md b/docs/ApiV3SecretsBatchPostRequest.md deleted file mode 100644 index c0762a7..0000000 --- a/docs/ApiV3SecretsBatchPostRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV3SecretsBatchPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | | -**environment** | **str** | | -**secret_path** | **str** | | [optional] [default to '/'] -**secrets** | [**List[ApiV3SecretsBatchPostRequestSecretsInner]**](ApiV3SecretsBatchPostRequestSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_post_request import ApiV3SecretsBatchPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchPostRequest from a JSON string -api_v3_secrets_batch_post_request_instance = ApiV3SecretsBatchPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchPostRequest.to_json() - -# convert the object into a dict -api_v3_secrets_batch_post_request_dict = api_v3_secrets_batch_post_request_instance.to_dict() -# create an instance of ApiV3SecretsBatchPostRequest from a dict -api_v3_secrets_batch_post_request_from_dict = ApiV3SecretsBatchPostRequest.from_dict(api_v3_secrets_batch_post_request_dict) -``` -[[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/docs/ApiV3SecretsBatchPostRequestSecretsInner.md b/docs/ApiV3SecretsBatchPostRequestSecretsInner.md deleted file mode 100644 index aafe256..0000000 --- a/docs/ApiV3SecretsBatchPostRequestSecretsInner.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV3SecretsBatchPostRequestSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_name** | **str** | | -**secret_key_ciphertext** | **str** | | -**secret_key_iv** | **str** | | -**secret_key_tag** | **str** | | -**secret_value_ciphertext** | **str** | | -**secret_value_iv** | **str** | | -**secret_value_tag** | **str** | | -**secret_comment_ciphertext** | **str** | | [optional] -**secret_comment_iv** | **str** | | [optional] -**secret_comment_tag** | **str** | | [optional] -**metadata** | **Dict[str, str]** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_post_request_secrets_inner import ApiV3SecretsBatchPostRequestSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchPostRequestSecretsInner from a JSON string -api_v3_secrets_batch_post_request_secrets_inner_instance = ApiV3SecretsBatchPostRequestSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchPostRequestSecretsInner.to_json() - -# convert the object into a dict -api_v3_secrets_batch_post_request_secrets_inner_dict = api_v3_secrets_batch_post_request_secrets_inner_instance.to_dict() -# create an instance of ApiV3SecretsBatchPostRequestSecretsInner from a dict -api_v3_secrets_batch_post_request_secrets_inner_from_dict = ApiV3SecretsBatchPostRequestSecretsInner.from_dict(api_v3_secrets_batch_post_request_secrets_inner_dict) -``` -[[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/docs/ApiV3SecretsBatchRawDeleteRequest.md b/docs/ApiV3SecretsBatchRawDeleteRequest.md deleted file mode 100644 index 6c22e1a..0000000 --- a/docs/ApiV3SecretsBatchRawDeleteRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV3SecretsBatchRawDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | The slug of the project to delete the secret in. | [optional] -**workspace_id** | **str** | The ID of the project where the secret is located. | [optional] -**environment** | **str** | The slug of the environment where the secret is located. | -**secret_path** | **str** | The path of the secret. | [optional] [default to '/'] -**secrets** | [**List[ApiV3SecretsBatchRawDeleteRequestSecretsInner]**](ApiV3SecretsBatchRawDeleteRequestSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request import ApiV3SecretsBatchRawDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchRawDeleteRequest from a JSON string -api_v3_secrets_batch_raw_delete_request_instance = ApiV3SecretsBatchRawDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchRawDeleteRequest.to_json() - -# convert the object into a dict -api_v3_secrets_batch_raw_delete_request_dict = api_v3_secrets_batch_raw_delete_request_instance.to_dict() -# create an instance of ApiV3SecretsBatchRawDeleteRequest from a dict -api_v3_secrets_batch_raw_delete_request_from_dict = ApiV3SecretsBatchRawDeleteRequest.from_dict(api_v3_secrets_batch_raw_delete_request_dict) -``` -[[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/docs/ApiV3SecretsBatchRawDeleteRequestSecretsInner.md b/docs/ApiV3SecretsBatchRawDeleteRequestSecretsInner.md deleted file mode 100644 index 2a6ecf0..0000000 --- a/docs/ApiV3SecretsBatchRawDeleteRequestSecretsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3SecretsBatchRawDeleteRequestSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_key** | **str** | The name of the secret to delete. | -**type** | **str** | | [optional] [default to 'shared'] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request_secrets_inner import ApiV3SecretsBatchRawDeleteRequestSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchRawDeleteRequestSecretsInner from a JSON string -api_v3_secrets_batch_raw_delete_request_secrets_inner_instance = ApiV3SecretsBatchRawDeleteRequestSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchRawDeleteRequestSecretsInner.to_json() - -# convert the object into a dict -api_v3_secrets_batch_raw_delete_request_secrets_inner_dict = api_v3_secrets_batch_raw_delete_request_secrets_inner_instance.to_dict() -# create an instance of ApiV3SecretsBatchRawDeleteRequestSecretsInner from a dict -api_v3_secrets_batch_raw_delete_request_secrets_inner_from_dict = ApiV3SecretsBatchRawDeleteRequestSecretsInner.from_dict(api_v3_secrets_batch_raw_delete_request_secrets_inner_dict) -``` -[[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/docs/ApiV3SecretsBatchRawPatchRequest.md b/docs/ApiV3SecretsBatchRawPatchRequest.md deleted file mode 100644 index 920a480..0000000 --- a/docs/ApiV3SecretsBatchRawPatchRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV3SecretsBatchRawPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | The slug of the project to delete the secret in. | [optional] -**workspace_id** | **str** | The ID of the project where the secret is located. | [optional] -**environment** | **str** | The slug of the environment where the secret is located. | -**secret_path** | **str** | The path of the secret to update | [optional] [default to '/'] -**secrets** | [**List[ApiV3SecretsBatchRawPatchRequestSecretsInner]**](ApiV3SecretsBatchRawPatchRequestSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request import ApiV3SecretsBatchRawPatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchRawPatchRequest from a JSON string -api_v3_secrets_batch_raw_patch_request_instance = ApiV3SecretsBatchRawPatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchRawPatchRequest.to_json() - -# convert the object into a dict -api_v3_secrets_batch_raw_patch_request_dict = api_v3_secrets_batch_raw_patch_request_instance.to_dict() -# create an instance of ApiV3SecretsBatchRawPatchRequest from a dict -api_v3_secrets_batch_raw_patch_request_from_dict = ApiV3SecretsBatchRawPatchRequest.from_dict(api_v3_secrets_batch_raw_patch_request_dict) -``` -[[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/docs/ApiV3SecretsBatchRawPatchRequestSecretsInner.md b/docs/ApiV3SecretsBatchRawPatchRequestSecretsInner.md deleted file mode 100644 index 8317ff8..0000000 --- a/docs/ApiV3SecretsBatchRawPatchRequestSecretsInner.md +++ /dev/null @@ -1,35 +0,0 @@ -# ApiV3SecretsBatchRawPatchRequestSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_key** | **str** | The name of the secret to update. | -**secret_value** | **str** | The new value of the secret. | -**secret_comment** | **str** | Update comment to the secret. | [optional] -**skip_multiline_encoding** | **bool** | Skip multiline encoding for the secret value. | [optional] -**new_secret_name** | **str** | The new name for the secret | [optional] -**tag_ids** | **List[str]** | The ID of the tags to be attached to the updated secret. | [optional] -**secret_reminder_note** | **str** | Note to be attached in notification email | [optional] -**secret_reminder_repeat_days** | **float** | Interval for secret rotation notifications, measured in days | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request_secrets_inner import ApiV3SecretsBatchRawPatchRequestSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchRawPatchRequestSecretsInner from a JSON string -api_v3_secrets_batch_raw_patch_request_secrets_inner_instance = ApiV3SecretsBatchRawPatchRequestSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchRawPatchRequestSecretsInner.to_json() - -# convert the object into a dict -api_v3_secrets_batch_raw_patch_request_secrets_inner_dict = api_v3_secrets_batch_raw_patch_request_secrets_inner_instance.to_dict() -# create an instance of ApiV3SecretsBatchRawPatchRequestSecretsInner from a dict -api_v3_secrets_batch_raw_patch_request_secrets_inner_from_dict = ApiV3SecretsBatchRawPatchRequestSecretsInner.from_dict(api_v3_secrets_batch_raw_patch_request_secrets_inner_dict) -``` -[[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/docs/ApiV3SecretsBatchRawPost200Response.md b/docs/ApiV3SecretsBatchRawPost200Response.md deleted file mode 100644 index 92fdf95..0000000 --- a/docs/ApiV3SecretsBatchRawPost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3SecretsBatchRawPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets** | [**List[ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner]**](ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md) | | -**approval** | [**ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval**](ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response import ApiV3SecretsBatchRawPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchRawPost200Response from a JSON string -api_v3_secrets_batch_raw_post200_response_instance = ApiV3SecretsBatchRawPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchRawPost200Response.to_json() - -# convert the object into a dict -api_v3_secrets_batch_raw_post200_response_dict = api_v3_secrets_batch_raw_post200_response_instance.to_dict() -# create an instance of ApiV3SecretsBatchRawPost200Response from a dict -api_v3_secrets_batch_raw_post200_response_from_dict = ApiV3SecretsBatchRawPost200Response.from_dict(api_v3_secrets_batch_raw_post200_response_dict) -``` -[[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/docs/ApiV3SecretsBatchRawPost200ResponseAnyOf.md b/docs/ApiV3SecretsBatchRawPost200ResponseAnyOf.md deleted file mode 100644 index 1804b55..0000000 --- a/docs/ApiV3SecretsBatchRawPost200ResponseAnyOf.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3SecretsBatchRawPost200ResponseAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets** | [**List[ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner]**](ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response_any_of import ApiV3SecretsBatchRawPost200ResponseAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchRawPost200ResponseAnyOf from a JSON string -api_v3_secrets_batch_raw_post200_response_any_of_instance = ApiV3SecretsBatchRawPost200ResponseAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchRawPost200ResponseAnyOf.to_json() - -# convert the object into a dict -api_v3_secrets_batch_raw_post200_response_any_of_dict = api_v3_secrets_batch_raw_post200_response_any_of_instance.to_dict() -# create an instance of ApiV3SecretsBatchRawPost200ResponseAnyOf from a dict -api_v3_secrets_batch_raw_post200_response_any_of_from_dict = ApiV3SecretsBatchRawPost200ResponseAnyOf.from_dict(api_v3_secrets_batch_raw_post200_response_any_of_dict) -``` -[[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/docs/ApiV3SecretsBatchRawPostRequest.md b/docs/ApiV3SecretsBatchRawPostRequest.md deleted file mode 100644 index 6ae05d4..0000000 --- a/docs/ApiV3SecretsBatchRawPostRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV3SecretsBatchRawPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | The slug of the project to update the secret in. | [optional] -**workspace_id** | **str** | The ID of the project to update the secret in. | [optional] -**environment** | **str** | The slug of the environment to create the secret in. | -**secret_path** | **str** | The path to create the secret in. | [optional] [default to '/'] -**secrets** | [**List[ApiV3SecretsBatchRawPostRequestSecretsInner]**](ApiV3SecretsBatchRawPostRequestSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request import ApiV3SecretsBatchRawPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchRawPostRequest from a JSON string -api_v3_secrets_batch_raw_post_request_instance = ApiV3SecretsBatchRawPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchRawPostRequest.to_json() - -# convert the object into a dict -api_v3_secrets_batch_raw_post_request_dict = api_v3_secrets_batch_raw_post_request_instance.to_dict() -# create an instance of ApiV3SecretsBatchRawPostRequest from a dict -api_v3_secrets_batch_raw_post_request_from_dict = ApiV3SecretsBatchRawPostRequest.from_dict(api_v3_secrets_batch_raw_post_request_dict) -``` -[[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/docs/ApiV3SecretsBatchRawPostRequestSecretsInner.md b/docs/ApiV3SecretsBatchRawPostRequestSecretsInner.md deleted file mode 100644 index 4148d97..0000000 --- a/docs/ApiV3SecretsBatchRawPostRequestSecretsInner.md +++ /dev/null @@ -1,33 +0,0 @@ -# ApiV3SecretsBatchRawPostRequestSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_key** | **str** | The name of the secret to create. | -**secret_value** | **str** | The value of the secret to create. | -**secret_comment** | **str** | Attach a comment to the secret. | [optional] [default to ''] -**skip_multiline_encoding** | **bool** | Skip multiline encoding for the secret value. | [optional] -**metadata** | **Dict[str, str]** | | [optional] -**tag_ids** | **List[str]** | The ID of the tags to be attached to the created secret. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request_secrets_inner import ApiV3SecretsBatchRawPostRequestSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsBatchRawPostRequestSecretsInner from a JSON string -api_v3_secrets_batch_raw_post_request_secrets_inner_instance = ApiV3SecretsBatchRawPostRequestSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsBatchRawPostRequestSecretsInner.to_json() - -# convert the object into a dict -api_v3_secrets_batch_raw_post_request_secrets_inner_dict = api_v3_secrets_batch_raw_post_request_secrets_inner_instance.to_dict() -# create an instance of ApiV3SecretsBatchRawPostRequestSecretsInner from a dict -api_v3_secrets_batch_raw_post_request_secrets_inner_from_dict = ApiV3SecretsBatchRawPostRequestSecretsInner.from_dict(api_v3_secrets_batch_raw_post_request_secrets_inner_dict) -``` -[[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/docs/ApiV3SecretsGet200Response.md b/docs/ApiV3SecretsGet200Response.md deleted file mode 100644 index 5473a71..0000000 --- a/docs/ApiV3SecretsGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3SecretsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets** | [**List[ApiV3SecretsGet200ResponseSecretsInner]**](ApiV3SecretsGet200ResponseSecretsInner.md) | | -**imports** | [**List[ApiV3SecretsGet200ResponseImportsInner]**](ApiV3SecretsGet200ResponseImportsInner.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_get200_response import ApiV3SecretsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsGet200Response from a JSON string -api_v3_secrets_get200_response_instance = ApiV3SecretsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsGet200Response.to_json() - -# convert the object into a dict -api_v3_secrets_get200_response_dict = api_v3_secrets_get200_response_instance.to_dict() -# create an instance of ApiV3SecretsGet200Response from a dict -api_v3_secrets_get200_response_from_dict = ApiV3SecretsGet200Response.from_dict(api_v3_secrets_get200_response_dict) -``` -[[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/docs/ApiV3SecretsGet200ResponseImportsInner.md b/docs/ApiV3SecretsGet200ResponseImportsInner.md deleted file mode 100644 index 7c9abe1..0000000 --- a/docs/ApiV3SecretsGet200ResponseImportsInner.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV3SecretsGet200ResponseImportsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_path** | **str** | | -**environment** | **str** | | -**folder_id** | **str** | | [optional] -**secrets** | [**List[ApiV3SecretsGet200ResponseImportsInnerSecretsInner]**](ApiV3SecretsGet200ResponseImportsInnerSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner import ApiV3SecretsGet200ResponseImportsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsGet200ResponseImportsInner from a JSON string -api_v3_secrets_get200_response_imports_inner_instance = ApiV3SecretsGet200ResponseImportsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsGet200ResponseImportsInner.to_json() - -# convert the object into a dict -api_v3_secrets_get200_response_imports_inner_dict = api_v3_secrets_get200_response_imports_inner_instance.to_dict() -# create an instance of ApiV3SecretsGet200ResponseImportsInner from a dict -api_v3_secrets_get200_response_imports_inner_from_dict = ApiV3SecretsGet200ResponseImportsInner.from_dict(api_v3_secrets_get200_response_imports_inner_dict) -``` -[[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/docs/ApiV3SecretsGet200ResponseImportsInnerSecretsInner.md b/docs/ApiV3SecretsGet200ResponseImportsInnerSecretsInner.md deleted file mode 100644 index 3627e40..0000000 --- a/docs/ApiV3SecretsGet200ResponseImportsInnerSecretsInner.md +++ /dev/null @@ -1,52 +0,0 @@ -# ApiV3SecretsGet200ResponseImportsInnerSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | [optional] [default to 1] -**type** | **str** | | [optional] [default to 'shared'] -**secret_key_ciphertext** | **str** | | -**secret_key_iv** | **str** | | -**secret_key_tag** | **str** | | -**secret_value_ciphertext** | **str** | | -**secret_value_iv** | **str** | | -**secret_value_tag** | **str** | | -**secret_comment_ciphertext** | **str** | | [optional] -**secret_comment_iv** | **str** | | [optional] -**secret_comment_tag** | **str** | | [optional] -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**algorithm** | **str** | | [optional] [default to 'aes-256-gcm'] -**key_encoding** | **str** | | [optional] [default to 'utf8'] -**metadata** | **object** | | [optional] -**user_id** | **str** | | [optional] -**folder_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**id** | **str** | | -**workspace** | **str** | | -**environment** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner_secrets_inner import ApiV3SecretsGet200ResponseImportsInnerSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsGet200ResponseImportsInnerSecretsInner from a JSON string -api_v3_secrets_get200_response_imports_inner_secrets_inner_instance = ApiV3SecretsGet200ResponseImportsInnerSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsGet200ResponseImportsInnerSecretsInner.to_json() - -# convert the object into a dict -api_v3_secrets_get200_response_imports_inner_secrets_inner_dict = api_v3_secrets_get200_response_imports_inner_secrets_inner_instance.to_dict() -# create an instance of ApiV3SecretsGet200ResponseImportsInnerSecretsInner from a dict -api_v3_secrets_get200_response_imports_inner_secrets_inner_from_dict = ApiV3SecretsGet200ResponseImportsInnerSecretsInner.from_dict(api_v3_secrets_get200_response_imports_inner_secrets_inner_dict) -``` -[[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/docs/ApiV3SecretsGet200ResponseSecretsInner.md b/docs/ApiV3SecretsGet200ResponseSecretsInner.md deleted file mode 100644 index a967795..0000000 --- a/docs/ApiV3SecretsGet200ResponseSecretsInner.md +++ /dev/null @@ -1,54 +0,0 @@ -# ApiV3SecretsGet200ResponseSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | [optional] [default to 1] -**type** | **str** | | [optional] [default to 'shared'] -**secret_key_ciphertext** | **str** | | -**secret_key_iv** | **str** | | -**secret_key_tag** | **str** | | -**secret_value_ciphertext** | **str** | | -**secret_value_iv** | **str** | | -**secret_value_tag** | **str** | | -**secret_comment_ciphertext** | **str** | | [optional] -**secret_comment_iv** | **str** | | [optional] -**secret_comment_tag** | **str** | | [optional] -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**algorithm** | **str** | | [optional] [default to 'aes-256-gcm'] -**key_encoding** | **str** | | [optional] [default to 'utf8'] -**metadata** | **object** | | [optional] -**user_id** | **str** | | [optional] -**folder_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**id** | **str** | | -**workspace** | **str** | | -**environment** | **str** | | -**secret_path** | **str** | | [optional] -**tags** | [**List[ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner]**](ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_get200_response_secrets_inner import ApiV3SecretsGet200ResponseSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsGet200ResponseSecretsInner from a JSON string -api_v3_secrets_get200_response_secrets_inner_instance = ApiV3SecretsGet200ResponseSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsGet200ResponseSecretsInner.to_json() - -# convert the object into a dict -api_v3_secrets_get200_response_secrets_inner_dict = api_v3_secrets_get200_response_secrets_inner_instance.to_dict() -# create an instance of ApiV3SecretsGet200ResponseSecretsInner from a dict -api_v3_secrets_get200_response_secrets_inner_from_dict = ApiV3SecretsGet200ResponseSecretsInner.from_dict(api_v3_secrets_get200_response_secrets_inner_dict) -``` -[[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/docs/ApiV3SecretsMovePost200Response.md b/docs/ApiV3SecretsMovePost200Response.md deleted file mode 100644 index 7277721..0000000 --- a/docs/ApiV3SecretsMovePost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3SecretsMovePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is_source_updated** | **bool** | | -**is_destination_updated** | **bool** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_move_post200_response import ApiV3SecretsMovePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsMovePost200Response from a JSON string -api_v3_secrets_move_post200_response_instance = ApiV3SecretsMovePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsMovePost200Response.to_json() - -# convert the object into a dict -api_v3_secrets_move_post200_response_dict = api_v3_secrets_move_post200_response_instance.to_dict() -# create an instance of ApiV3SecretsMovePost200Response from a dict -api_v3_secrets_move_post200_response_from_dict = ApiV3SecretsMovePost200Response.from_dict(api_v3_secrets_move_post200_response_dict) -``` -[[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/docs/ApiV3SecretsMovePostRequest.md b/docs/ApiV3SecretsMovePostRequest.md deleted file mode 100644 index 52d428e..0000000 --- a/docs/ApiV3SecretsMovePostRequest.md +++ /dev/null @@ -1,34 +0,0 @@ -# ApiV3SecretsMovePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | | -**source_environment** | **str** | | -**source_secret_path** | **str** | | [optional] [default to '/'] -**destination_environment** | **str** | | -**destination_secret_path** | **str** | | [optional] [default to '/'] -**secret_ids** | **List[str]** | | -**should_overwrite** | **bool** | | [optional] [default to False] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_move_post_request import ApiV3SecretsMovePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsMovePostRequest from a JSON string -api_v3_secrets_move_post_request_instance = ApiV3SecretsMovePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsMovePostRequest.to_json() - -# convert the object into a dict -api_v3_secrets_move_post_request_dict = api_v3_secrets_move_post_request_instance.to_dict() -# create an instance of ApiV3SecretsMovePostRequest from a dict -api_v3_secrets_move_post_request_from_dict = ApiV3SecretsMovePostRequest.from_dict(api_v3_secrets_move_post_request_dict) -``` -[[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/docs/ApiV3SecretsRawGet200Response.md b/docs/ApiV3SecretsRawGet200Response.md deleted file mode 100644 index 676c716..0000000 --- a/docs/ApiV3SecretsRawGet200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3SecretsRawGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets** | [**List[ApiV3SecretsRawGet200ResponseSecretsInner]**](ApiV3SecretsRawGet200ResponseSecretsInner.md) | | -**imports** | [**List[ApiV3SecretsRawGet200ResponseImportsInner]**](ApiV3SecretsRawGet200ResponseImportsInner.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_get200_response import ApiV3SecretsRawGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawGet200Response from a JSON string -api_v3_secrets_raw_get200_response_instance = ApiV3SecretsRawGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawGet200Response.to_json() - -# convert the object into a dict -api_v3_secrets_raw_get200_response_dict = api_v3_secrets_raw_get200_response_instance.to_dict() -# create an instance of ApiV3SecretsRawGet200Response from a dict -api_v3_secrets_raw_get200_response_from_dict = ApiV3SecretsRawGet200Response.from_dict(api_v3_secrets_raw_get200_response_dict) -``` -[[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/docs/ApiV3SecretsRawGet200ResponseImportsInner.md b/docs/ApiV3SecretsRawGet200ResponseImportsInner.md deleted file mode 100644 index 9781fec..0000000 --- a/docs/ApiV3SecretsRawGet200ResponseImportsInner.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV3SecretsRawGet200ResponseImportsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_path** | **str** | | -**environment** | **str** | | -**folder_id** | **str** | | [optional] -**secrets** | [**List[ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner]**](ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_imports_inner import ApiV3SecretsRawGet200ResponseImportsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawGet200ResponseImportsInner from a JSON string -api_v3_secrets_raw_get200_response_imports_inner_instance = ApiV3SecretsRawGet200ResponseImportsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawGet200ResponseImportsInner.to_json() - -# convert the object into a dict -api_v3_secrets_raw_get200_response_imports_inner_dict = api_v3_secrets_raw_get200_response_imports_inner_instance.to_dict() -# create an instance of ApiV3SecretsRawGet200ResponseImportsInner from a dict -api_v3_secrets_raw_get200_response_imports_inner_from_dict = ApiV3SecretsRawGet200ResponseImportsInner.from_dict(api_v3_secrets_raw_get200_response_imports_inner_dict) -``` -[[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/docs/ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.md b/docs/ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.md deleted file mode 100644 index df65509..0000000 --- a/docs/ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.md +++ /dev/null @@ -1,40 +0,0 @@ -# ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**id** | **str** | | -**workspace** | **str** | | -**environment** | **str** | | -**version** | **float** | | -**type** | **str** | | -**secret_key** | **str** | | -**secret_value** | **str** | | -**secret_comment** | **str** | | -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**metadata** | **object** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_imports_inner_secrets_inner import ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner from a JSON string -api_v3_secrets_raw_get200_response_imports_inner_secrets_inner_instance = ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.to_json() - -# convert the object into a dict -api_v3_secrets_raw_get200_response_imports_inner_secrets_inner_dict = api_v3_secrets_raw_get200_response_imports_inner_secrets_inner_instance.to_dict() -# create an instance of ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner from a dict -api_v3_secrets_raw_get200_response_imports_inner_secrets_inner_from_dict = ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.from_dict(api_v3_secrets_raw_get200_response_imports_inner_secrets_inner_dict) -``` -[[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/docs/ApiV3SecretsRawGet200ResponseSecretsInner.md b/docs/ApiV3SecretsRawGet200ResponseSecretsInner.md deleted file mode 100644 index edc4df9..0000000 --- a/docs/ApiV3SecretsRawGet200ResponseSecretsInner.md +++ /dev/null @@ -1,44 +0,0 @@ -# ApiV3SecretsRawGet200ResponseSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**id** | **str** | | -**workspace** | **str** | | -**environment** | **str** | | -**version** | **float** | | -**type** | **str** | | -**secret_key** | **str** | | -**secret_value** | **str** | | -**secret_comment** | **str** | | -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**metadata** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**secret_path** | **str** | | [optional] -**tags** | [**List[ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner]**](ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_secrets_inner import ApiV3SecretsRawGet200ResponseSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawGet200ResponseSecretsInner from a JSON string -api_v3_secrets_raw_get200_response_secrets_inner_instance = ApiV3SecretsRawGet200ResponseSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawGet200ResponseSecretsInner.to_json() - -# convert the object into a dict -api_v3_secrets_raw_get200_response_secrets_inner_dict = api_v3_secrets_raw_get200_response_secrets_inner_instance.to_dict() -# create an instance of ApiV3SecretsRawGet200ResponseSecretsInner from a dict -api_v3_secrets_raw_get200_response_secrets_inner_from_dict = ApiV3SecretsRawGet200ResponseSecretsInner.from_dict(api_v3_secrets_raw_get200_response_secrets_inner_dict) -``` -[[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/docs/ApiV3SecretsRawSecretNameDeleteRequest.md b/docs/ApiV3SecretsRawSecretNameDeleteRequest.md deleted file mode 100644 index 56f363d..0000000 --- a/docs/ApiV3SecretsRawSecretNameDeleteRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV3SecretsRawSecretNameDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project where the secret is located. | -**environment** | **str** | The slug of the environment where the secret is located. | -**secret_path** | **str** | The path of the secret. | [optional] [default to '/'] -**type** | **str** | The type of the secret to delete. | [optional] [default to 'shared'] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_delete_request import ApiV3SecretsRawSecretNameDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawSecretNameDeleteRequest from a JSON string -api_v3_secrets_raw_secret_name_delete_request_instance = ApiV3SecretsRawSecretNameDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawSecretNameDeleteRequest.to_json() - -# convert the object into a dict -api_v3_secrets_raw_secret_name_delete_request_dict = api_v3_secrets_raw_secret_name_delete_request_instance.to_dict() -# create an instance of ApiV3SecretsRawSecretNameDeleteRequest from a dict -api_v3_secrets_raw_secret_name_delete_request_from_dict = ApiV3SecretsRawSecretNameDeleteRequest.from_dict(api_v3_secrets_raw_secret_name_delete_request_dict) -``` -[[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/docs/ApiV3SecretsRawSecretNameGet200Response.md b/docs/ApiV3SecretsRawSecretNameGet200Response.md deleted file mode 100644 index 3c5ac37..0000000 --- a/docs/ApiV3SecretsRawSecretNameGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3SecretsRawSecretNameGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret** | [**ApiV3SecretsRawSecretNameGet200ResponseSecret**](ApiV3SecretsRawSecretNameGet200ResponseSecret.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response import ApiV3SecretsRawSecretNameGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawSecretNameGet200Response from a JSON string -api_v3_secrets_raw_secret_name_get200_response_instance = ApiV3SecretsRawSecretNameGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawSecretNameGet200Response.to_json() - -# convert the object into a dict -api_v3_secrets_raw_secret_name_get200_response_dict = api_v3_secrets_raw_secret_name_get200_response_instance.to_dict() -# create an instance of ApiV3SecretsRawSecretNameGet200Response from a dict -api_v3_secrets_raw_secret_name_get200_response_from_dict = ApiV3SecretsRawSecretNameGet200Response.from_dict(api_v3_secrets_raw_secret_name_get200_response_dict) -``` -[[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/docs/ApiV3SecretsRawSecretNameGet200ResponseSecret.md b/docs/ApiV3SecretsRawSecretNameGet200ResponseSecret.md deleted file mode 100644 index 0053441..0000000 --- a/docs/ApiV3SecretsRawSecretNameGet200ResponseSecret.md +++ /dev/null @@ -1,43 +0,0 @@ -# ApiV3SecretsRawSecretNameGet200ResponseSecret - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**id** | **str** | | -**workspace** | **str** | | -**environment** | **str** | | -**version** | **float** | | -**type** | **str** | | -**secret_key** | **str** | | -**secret_value** | **str** | | -**secret_comment** | **str** | | -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**metadata** | **object** | | [optional] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**tags** | [**List[ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner]**](ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.md) | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response_secret import ApiV3SecretsRawSecretNameGet200ResponseSecret - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawSecretNameGet200ResponseSecret from a JSON string -api_v3_secrets_raw_secret_name_get200_response_secret_instance = ApiV3SecretsRawSecretNameGet200ResponseSecret.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawSecretNameGet200ResponseSecret.to_json() - -# convert the object into a dict -api_v3_secrets_raw_secret_name_get200_response_secret_dict = api_v3_secrets_raw_secret_name_get200_response_secret_instance.to_dict() -# create an instance of ApiV3SecretsRawSecretNameGet200ResponseSecret from a dict -api_v3_secrets_raw_secret_name_get200_response_secret_from_dict = ApiV3SecretsRawSecretNameGet200ResponseSecret.from_dict(api_v3_secrets_raw_secret_name_get200_response_secret_dict) -``` -[[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/docs/ApiV3SecretsRawSecretNamePatchRequest.md b/docs/ApiV3SecretsRawSecretNamePatchRequest.md deleted file mode 100644 index cef2007..0000000 --- a/docs/ApiV3SecretsRawSecretNamePatchRequest.md +++ /dev/null @@ -1,39 +0,0 @@ -# ApiV3SecretsRawSecretNamePatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project to update the secret in. | -**environment** | **str** | The slug of the environment where the secret is located. | -**secret_value** | **str** | The new value of the secret. | -**secret_path** | **str** | The path of the secret to update | [optional] [default to '/'] -**skip_multiline_encoding** | **bool** | Skip multiline encoding for the secret value. | [optional] -**type** | **str** | The type of the secret to update. | [optional] [default to 'shared'] -**tag_ids** | **List[str]** | The ID of the tags to be attached to the updated secret. | [optional] -**metadata** | **Dict[str, str]** | | [optional] -**secret_reminder_note** | **str** | Note to be attached in notification email | [optional] -**secret_reminder_repeat_days** | **float** | Interval for secret rotation notifications, measured in days | [optional] -**new_secret_name** | **str** | The new name for the secret | [optional] -**secret_comment** | **str** | Update comment to the secret. | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_patch_request import ApiV3SecretsRawSecretNamePatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawSecretNamePatchRequest from a JSON string -api_v3_secrets_raw_secret_name_patch_request_instance = ApiV3SecretsRawSecretNamePatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawSecretNamePatchRequest.to_json() - -# convert the object into a dict -api_v3_secrets_raw_secret_name_patch_request_dict = api_v3_secrets_raw_secret_name_patch_request_instance.to_dict() -# create an instance of ApiV3SecretsRawSecretNamePatchRequest from a dict -api_v3_secrets_raw_secret_name_patch_request_from_dict = ApiV3SecretsRawSecretNamePatchRequest.from_dict(api_v3_secrets_raw_secret_name_patch_request_dict) -``` -[[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/docs/ApiV3SecretsRawSecretNamePost200Response.md b/docs/ApiV3SecretsRawSecretNamePost200Response.md deleted file mode 100644 index 2ae6bbe..0000000 --- a/docs/ApiV3SecretsRawSecretNamePost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3SecretsRawSecretNamePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret** | [**ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner**](ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md) | | -**approval** | [**ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval**](ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response import ApiV3SecretsRawSecretNamePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawSecretNamePost200Response from a JSON string -api_v3_secrets_raw_secret_name_post200_response_instance = ApiV3SecretsRawSecretNamePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawSecretNamePost200Response.to_json() - -# convert the object into a dict -api_v3_secrets_raw_secret_name_post200_response_dict = api_v3_secrets_raw_secret_name_post200_response_instance.to_dict() -# create an instance of ApiV3SecretsRawSecretNamePost200Response from a dict -api_v3_secrets_raw_secret_name_post200_response_from_dict = ApiV3SecretsRawSecretNamePost200Response.from_dict(api_v3_secrets_raw_secret_name_post200_response_dict) -``` -[[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/docs/ApiV3SecretsRawSecretNamePost200ResponseAnyOf.md b/docs/ApiV3SecretsRawSecretNamePost200ResponseAnyOf.md deleted file mode 100644 index 7c9b5c4..0000000 --- a/docs/ApiV3SecretsRawSecretNamePost200ResponseAnyOf.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3SecretsRawSecretNamePost200ResponseAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret** | [**ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner**](ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of import ApiV3SecretsRawSecretNamePost200ResponseAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawSecretNamePost200ResponseAnyOf from a JSON string -api_v3_secrets_raw_secret_name_post200_response_any_of_instance = ApiV3SecretsRawSecretNamePost200ResponseAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawSecretNamePost200ResponseAnyOf.to_json() - -# convert the object into a dict -api_v3_secrets_raw_secret_name_post200_response_any_of_dict = api_v3_secrets_raw_secret_name_post200_response_any_of_instance.to_dict() -# create an instance of ApiV3SecretsRawSecretNamePost200ResponseAnyOf from a dict -api_v3_secrets_raw_secret_name_post200_response_any_of_from_dict = ApiV3SecretsRawSecretNamePost200ResponseAnyOf.from_dict(api_v3_secrets_raw_secret_name_post200_response_any_of_dict) -``` -[[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/docs/ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.md b/docs/ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.md deleted file mode 100644 index c33bc93..0000000 --- a/docs/ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - -When secret protection policy is enabled - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**approval** | [**ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval**](ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of1 import ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 from a JSON string -api_v3_secrets_raw_secret_name_post200_response_any_of1_instance = ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.to_json() - -# convert the object into a dict -api_v3_secrets_raw_secret_name_post200_response_any_of1_dict = api_v3_secrets_raw_secret_name_post200_response_any_of1_instance.to_dict() -# create an instance of ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 from a dict -api_v3_secrets_raw_secret_name_post200_response_any_of1_from_dict = ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.from_dict(api_v3_secrets_raw_secret_name_post200_response_any_of1_dict) -``` -[[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/docs/ApiV3SecretsRawSecretNamePostRequest.md b/docs/ApiV3SecretsRawSecretNamePostRequest.md deleted file mode 100644 index 2c5d9f8..0000000 --- a/docs/ApiV3SecretsRawSecretNamePostRequest.md +++ /dev/null @@ -1,37 +0,0 @@ -# ApiV3SecretsRawSecretNamePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | The ID of the project to create the secret in. | -**environment** | **str** | The slug of the environment to create the secret in. | -**secret_path** | **str** | The path to create the secret in. | [optional] [default to '/'] -**secret_value** | **str** | The value of the secret to create. | -**secret_comment** | **str** | Attach a comment to the secret. | [optional] [default to ''] -**tag_ids** | **List[str]** | The ID of the tags to be attached to the created secret. | [optional] -**skip_multiline_encoding** | **bool** | Skip multiline encoding for the secret value. | [optional] -**type** | **str** | The type of the secret to create. | [optional] [default to 'shared'] -**secret_reminder_repeat_days** | **float** | Interval for secret rotation notifications, measured in days | [optional] -**secret_reminder_note** | **str** | Note to be attached in notification email | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post_request import ApiV3SecretsRawSecretNamePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsRawSecretNamePostRequest from a JSON string -api_v3_secrets_raw_secret_name_post_request_instance = ApiV3SecretsRawSecretNamePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsRawSecretNamePostRequest.to_json() - -# convert the object into a dict -api_v3_secrets_raw_secret_name_post_request_dict = api_v3_secrets_raw_secret_name_post_request_instance.to_dict() -# create an instance of ApiV3SecretsRawSecretNamePostRequest from a dict -api_v3_secrets_raw_secret_name_post_request_from_dict = ApiV3SecretsRawSecretNamePostRequest.from_dict(api_v3_secrets_raw_secret_name_post_request_dict) -``` -[[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/docs/ApiV3SecretsSecretNameDeleteRequest.md b/docs/ApiV3SecretsSecretNameDeleteRequest.md deleted file mode 100644 index de48f4c..0000000 --- a/docs/ApiV3SecretsSecretNameDeleteRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV3SecretsSecretNameDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | [optional] [default to 'shared'] -**secret_path** | **str** | | [optional] [default to '/'] -**secret_id** | **str** | | [optional] -**workspace_id** | **str** | | -**environment** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_secret_name_delete_request import ApiV3SecretsSecretNameDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsSecretNameDeleteRequest from a JSON string -api_v3_secrets_secret_name_delete_request_instance = ApiV3SecretsSecretNameDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsSecretNameDeleteRequest.to_json() - -# convert the object into a dict -api_v3_secrets_secret_name_delete_request_dict = api_v3_secrets_secret_name_delete_request_instance.to_dict() -# create an instance of ApiV3SecretsSecretNameDeleteRequest from a dict -api_v3_secrets_secret_name_delete_request_from_dict = ApiV3SecretsSecretNameDeleteRequest.from_dict(api_v3_secrets_secret_name_delete_request_dict) -``` -[[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/docs/ApiV3SecretsSecretNameGet200Response.md b/docs/ApiV3SecretsSecretNameGet200Response.md deleted file mode 100644 index ec58db7..0000000 --- a/docs/ApiV3SecretsSecretNameGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3SecretsSecretNameGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret** | [**ApiV3SecretsSecretNameGet200ResponseSecret**](ApiV3SecretsSecretNameGet200ResponseSecret.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response import ApiV3SecretsSecretNameGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsSecretNameGet200Response from a JSON string -api_v3_secrets_secret_name_get200_response_instance = ApiV3SecretsSecretNameGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsSecretNameGet200Response.to_json() - -# convert the object into a dict -api_v3_secrets_secret_name_get200_response_dict = api_v3_secrets_secret_name_get200_response_instance.to_dict() -# create an instance of ApiV3SecretsSecretNameGet200Response from a dict -api_v3_secrets_secret_name_get200_response_from_dict = ApiV3SecretsSecretNameGet200Response.from_dict(api_v3_secrets_secret_name_get200_response_dict) -``` -[[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/docs/ApiV3SecretsSecretNameGet200ResponseSecret.md b/docs/ApiV3SecretsSecretNameGet200ResponseSecret.md deleted file mode 100644 index 02da13a..0000000 --- a/docs/ApiV3SecretsSecretNameGet200ResponseSecret.md +++ /dev/null @@ -1,51 +0,0 @@ -# ApiV3SecretsSecretNameGet200ResponseSecret - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | [optional] [default to 1] -**type** | **str** | | [optional] [default to 'shared'] -**secret_key_ciphertext** | **str** | | -**secret_key_iv** | **str** | | -**secret_key_tag** | **str** | | -**secret_value_ciphertext** | **str** | | -**secret_value_iv** | **str** | | -**secret_value_tag** | **str** | | -**secret_comment_ciphertext** | **str** | | [optional] -**secret_comment_iv** | **str** | | [optional] -**secret_comment_tag** | **str** | | [optional] -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**algorithm** | **str** | | [optional] [default to 'aes-256-gcm'] -**key_encoding** | **str** | | [optional] [default to 'utf8'] -**metadata** | **object** | | [optional] -**user_id** | **str** | | [optional] -**folder_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**workspace** | **str** | | -**environment** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response_secret import ApiV3SecretsSecretNameGet200ResponseSecret - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsSecretNameGet200ResponseSecret from a JSON string -api_v3_secrets_secret_name_get200_response_secret_instance = ApiV3SecretsSecretNameGet200ResponseSecret.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsSecretNameGet200ResponseSecret.to_json() - -# convert the object into a dict -api_v3_secrets_secret_name_get200_response_secret_dict = api_v3_secrets_secret_name_get200_response_secret_instance.to_dict() -# create an instance of ApiV3SecretsSecretNameGet200ResponseSecret from a dict -api_v3_secrets_secret_name_get200_response_secret_from_dict = ApiV3SecretsSecretNameGet200ResponseSecret.from_dict(api_v3_secrets_secret_name_get200_response_secret_dict) -``` -[[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/docs/ApiV3SecretsSecretNamePatchRequest.md b/docs/ApiV3SecretsSecretNamePatchRequest.md deleted file mode 100644 index 6580abd..0000000 --- a/docs/ApiV3SecretsSecretNamePatchRequest.md +++ /dev/null @@ -1,47 +0,0 @@ -# ApiV3SecretsSecretNamePatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | | -**environment** | **str** | | -**secret_id** | **str** | | [optional] -**type** | **str** | | [optional] [default to 'shared'] -**secret_path** | **str** | | [optional] [default to '/'] -**secret_value_ciphertext** | **str** | | -**secret_value_iv** | **str** | | -**secret_value_tag** | **str** | | -**secret_comment_ciphertext** | **str** | | [optional] -**secret_comment_iv** | **str** | | [optional] -**secret_comment_tag** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**secret_reminder_note** | **str** | | [optional] -**tags** | **List[str]** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] -**secret_name** | **str** | | [optional] -**secret_key_iv** | **str** | | [optional] -**secret_key_tag** | **str** | | [optional] -**secret_key_ciphertext** | **str** | | [optional] -**metadata** | **Dict[str, str]** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_secret_name_patch_request import ApiV3SecretsSecretNamePatchRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsSecretNamePatchRequest from a JSON string -api_v3_secrets_secret_name_patch_request_instance = ApiV3SecretsSecretNamePatchRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsSecretNamePatchRequest.to_json() - -# convert the object into a dict -api_v3_secrets_secret_name_patch_request_dict = api_v3_secrets_secret_name_patch_request_instance.to_dict() -# create an instance of ApiV3SecretsSecretNamePatchRequest from a dict -api_v3_secrets_secret_name_patch_request_from_dict = ApiV3SecretsSecretNamePatchRequest.from_dict(api_v3_secrets_secret_name_patch_request_dict) -``` -[[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/docs/ApiV3SecretsSecretNamePost200Response.md b/docs/ApiV3SecretsSecretNamePost200Response.md deleted file mode 100644 index 90c6454..0000000 --- a/docs/ApiV3SecretsSecretNamePost200Response.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3SecretsSecretNamePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret** | [**ApiV3SecretsGet200ResponseImportsInnerSecretsInner**](ApiV3SecretsGet200ResponseImportsInnerSecretsInner.md) | | -**approval** | [**ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval**](ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response import ApiV3SecretsSecretNamePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsSecretNamePost200Response from a JSON string -api_v3_secrets_secret_name_post200_response_instance = ApiV3SecretsSecretNamePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsSecretNamePost200Response.to_json() - -# convert the object into a dict -api_v3_secrets_secret_name_post200_response_dict = api_v3_secrets_secret_name_post200_response_instance.to_dict() -# create an instance of ApiV3SecretsSecretNamePost200Response from a dict -api_v3_secrets_secret_name_post200_response_from_dict = ApiV3SecretsSecretNamePost200Response.from_dict(api_v3_secrets_secret_name_post200_response_dict) -``` -[[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/docs/ApiV3SecretsSecretNamePost200ResponseAnyOf.md b/docs/ApiV3SecretsSecretNamePost200ResponseAnyOf.md deleted file mode 100644 index 4fe0389..0000000 --- a/docs/ApiV3SecretsSecretNamePost200ResponseAnyOf.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3SecretsSecretNamePost200ResponseAnyOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret** | [**ApiV3SecretsGet200ResponseImportsInnerSecretsInner**](ApiV3SecretsGet200ResponseImportsInnerSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response_any_of import ApiV3SecretsSecretNamePost200ResponseAnyOf - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsSecretNamePost200ResponseAnyOf from a JSON string -api_v3_secrets_secret_name_post200_response_any_of_instance = ApiV3SecretsSecretNamePost200ResponseAnyOf.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsSecretNamePost200ResponseAnyOf.to_json() - -# convert the object into a dict -api_v3_secrets_secret_name_post200_response_any_of_dict = api_v3_secrets_secret_name_post200_response_any_of_instance.to_dict() -# create an instance of ApiV3SecretsSecretNamePost200ResponseAnyOf from a dict -api_v3_secrets_secret_name_post200_response_any_of_from_dict = ApiV3SecretsSecretNamePost200ResponseAnyOf.from_dict(api_v3_secrets_secret_name_post200_response_any_of_dict) -``` -[[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/docs/ApiV3SecretsSecretNamePostRequest.md b/docs/ApiV3SecretsSecretNamePostRequest.md deleted file mode 100644 index 787e4f7..0000000 --- a/docs/ApiV3SecretsSecretNamePostRequest.md +++ /dev/null @@ -1,42 +0,0 @@ -# ApiV3SecretsSecretNamePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**workspace_id** | **str** | | -**environment** | **str** | | -**type** | **str** | | [optional] [default to 'shared'] -**secret_path** | **str** | | [optional] [default to '/'] -**secret_key_ciphertext** | **str** | | -**secret_key_iv** | **str** | | -**secret_key_tag** | **str** | | -**secret_value_ciphertext** | **str** | | -**secret_value_iv** | **str** | | -**secret_value_tag** | **str** | | -**secret_comment_ciphertext** | **str** | | [optional] -**secret_comment_iv** | **str** | | [optional] -**secret_comment_tag** | **str** | | [optional] -**metadata** | **Dict[str, str]** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_secret_name_post_request import ApiV3SecretsSecretNamePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsSecretNamePostRequest from a JSON string -api_v3_secrets_secret_name_post_request_instance = ApiV3SecretsSecretNamePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsSecretNamePostRequest.to_json() - -# convert the object into a dict -api_v3_secrets_secret_name_post_request_dict = api_v3_secrets_secret_name_post_request_instance.to_dict() -# create an instance of ApiV3SecretsSecretNamePostRequest from a dict -api_v3_secrets_secret_name_post_request_from_dict = ApiV3SecretsSecretNamePostRequest.from_dict(api_v3_secrets_secret_name_post_request_dict) -``` -[[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/docs/ApiV3SecretsTagsSecretNameDeleteRequest.md b/docs/ApiV3SecretsTagsSecretNameDeleteRequest.md deleted file mode 100644 index 36ba13a..0000000 --- a/docs/ApiV3SecretsTagsSecretNameDeleteRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV3SecretsTagsSecretNameDeleteRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | The slug of the project where the secret is located | -**environment** | **str** | The slug of the environment where the secret is located | -**secret_path** | **str** | The path of the secret to detach tags from. | [optional] [default to '/'] -**type** | **str** | The type of the secret to attach tags to. (shared/personal) | [optional] [default to 'shared'] -**tag_slugs** | **List[str]** | An array of existing tag slugs to detach from the secret. | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_delete_request import ApiV3SecretsTagsSecretNameDeleteRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsTagsSecretNameDeleteRequest from a JSON string -api_v3_secrets_tags_secret_name_delete_request_instance = ApiV3SecretsTagsSecretNameDeleteRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsTagsSecretNameDeleteRequest.to_json() - -# convert the object into a dict -api_v3_secrets_tags_secret_name_delete_request_dict = api_v3_secrets_tags_secret_name_delete_request_instance.to_dict() -# create an instance of ApiV3SecretsTagsSecretNameDeleteRequest from a dict -api_v3_secrets_tags_secret_name_delete_request_from_dict = ApiV3SecretsTagsSecretNameDeleteRequest.from_dict(api_v3_secrets_tags_secret_name_delete_request_dict) -``` -[[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/docs/ApiV3SecretsTagsSecretNamePost200Response.md b/docs/ApiV3SecretsTagsSecretNamePost200Response.md deleted file mode 100644 index 69aa501..0000000 --- a/docs/ApiV3SecretsTagsSecretNamePost200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3SecretsTagsSecretNamePost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret** | [**ApiV3SecretsTagsSecretNamePost200ResponseSecret**](ApiV3SecretsTagsSecretNamePost200ResponseSecret.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response import ApiV3SecretsTagsSecretNamePost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsTagsSecretNamePost200Response from a JSON string -api_v3_secrets_tags_secret_name_post200_response_instance = ApiV3SecretsTagsSecretNamePost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsTagsSecretNamePost200Response.to_json() - -# convert the object into a dict -api_v3_secrets_tags_secret_name_post200_response_dict = api_v3_secrets_tags_secret_name_post200_response_instance.to_dict() -# create an instance of ApiV3SecretsTagsSecretNamePost200Response from a dict -api_v3_secrets_tags_secret_name_post200_response_from_dict = ApiV3SecretsTagsSecretNamePost200Response.from_dict(api_v3_secrets_tags_secret_name_post200_response_dict) -``` -[[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/docs/ApiV3SecretsTagsSecretNamePost200ResponseSecret.md b/docs/ApiV3SecretsTagsSecretNamePost200ResponseSecret.md deleted file mode 100644 index d15b1e6..0000000 --- a/docs/ApiV3SecretsTagsSecretNamePost200ResponseSecret.md +++ /dev/null @@ -1,50 +0,0 @@ -# ApiV3SecretsTagsSecretNamePost200ResponseSecret - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | [optional] [default to 1] -**type** | **str** | | [optional] [default to 'shared'] -**secret_key_ciphertext** | **str** | | -**secret_key_iv** | **str** | | -**secret_key_tag** | **str** | | -**secret_value_ciphertext** | **str** | | -**secret_value_iv** | **str** | | -**secret_value_tag** | **str** | | -**secret_comment_ciphertext** | **str** | | [optional] -**secret_comment_iv** | **str** | | [optional] -**secret_comment_tag** | **str** | | [optional] -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**algorithm** | **str** | | [optional] [default to 'aes-256-gcm'] -**key_encoding** | **str** | | [optional] [default to 'utf8'] -**metadata** | **object** | | [optional] -**user_id** | **str** | | [optional] -**folder_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**tags** | [**List[ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner]**](ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret import ApiV3SecretsTagsSecretNamePost200ResponseSecret - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsTagsSecretNamePost200ResponseSecret from a JSON string -api_v3_secrets_tags_secret_name_post200_response_secret_instance = ApiV3SecretsTagsSecretNamePost200ResponseSecret.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsTagsSecretNamePost200ResponseSecret.to_json() - -# convert the object into a dict -api_v3_secrets_tags_secret_name_post200_response_secret_dict = api_v3_secrets_tags_secret_name_post200_response_secret_instance.to_dict() -# create an instance of ApiV3SecretsTagsSecretNamePost200ResponseSecret from a dict -api_v3_secrets_tags_secret_name_post200_response_secret_from_dict = ApiV3SecretsTagsSecretNamePost200ResponseSecret.from_dict(api_v3_secrets_tags_secret_name_post200_response_secret_dict) -``` -[[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/docs/ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.md b/docs/ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.md deleted file mode 100644 index 59605b1..0000000 --- a/docs/ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**slug** | **str** | | -**color** | **str** | | [optional] -**name** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner import ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner from a JSON string -api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner_instance = ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.to_json() - -# convert the object into a dict -api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner_dict = api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner_instance.to_dict() -# create an instance of ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner from a dict -api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner_from_dict = ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.from_dict(api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner_dict) -``` -[[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/docs/ApiV3SecretsTagsSecretNamePostRequest.md b/docs/ApiV3SecretsTagsSecretNamePostRequest.md deleted file mode 100644 index 9825aa5..0000000 --- a/docs/ApiV3SecretsTagsSecretNamePostRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApiV3SecretsTagsSecretNamePostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_slug** | **str** | The slug of the project where the secret is located | -**environment** | **str** | The slug of the environment where the secret is located | -**secret_path** | **str** | The path of the secret to attach tags to. | [optional] [default to '/'] -**type** | **str** | The type of the secret to attach tags to. (shared/personal) | [optional] [default to 'shared'] -**tag_slugs** | **List[str]** | An array of existing tag slugs to attach to the secret. | - -## Example - -```python -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post_request import ApiV3SecretsTagsSecretNamePostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SecretsTagsSecretNamePostRequest from a JSON string -api_v3_secrets_tags_secret_name_post_request_instance = ApiV3SecretsTagsSecretNamePostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SecretsTagsSecretNamePostRequest.to_json() - -# convert the object into a dict -api_v3_secrets_tags_secret_name_post_request_dict = api_v3_secrets_tags_secret_name_post_request_instance.to_dict() -# create an instance of ApiV3SecretsTagsSecretNamePostRequest from a dict -api_v3_secrets_tags_secret_name_post_request_from_dict = ApiV3SecretsTagsSecretNamePostRequest.from_dict(api_v3_secrets_tags_secret_name_post_request_dict) -``` -[[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/docs/ApiV3SignupCompleteAccountSignupPost200Response.md b/docs/ApiV3SignupCompleteAccountSignupPost200Response.md deleted file mode 100644 index 3892992..0000000 --- a/docs/ApiV3SignupCompleteAccountSignupPost200Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiV3SignupCompleteAccountSignupPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**user** | [**ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser**](ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md) | | -**token** | **str** | | -**organization_id** | **str** | | [optional] - -## Example - -```python -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post200_response import ApiV3SignupCompleteAccountSignupPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SignupCompleteAccountSignupPost200Response from a JSON string -api_v3_signup_complete_account_signup_post200_response_instance = ApiV3SignupCompleteAccountSignupPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SignupCompleteAccountSignupPost200Response.to_json() - -# convert the object into a dict -api_v3_signup_complete_account_signup_post200_response_dict = api_v3_signup_complete_account_signup_post200_response_instance.to_dict() -# create an instance of ApiV3SignupCompleteAccountSignupPost200Response from a dict -api_v3_signup_complete_account_signup_post200_response_from_dict = ApiV3SignupCompleteAccountSignupPost200Response.from_dict(api_v3_signup_complete_account_signup_post200_response_dict) -``` -[[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/docs/ApiV3SignupCompleteAccountSignupPostRequest.md b/docs/ApiV3SignupCompleteAccountSignupPostRequest.md deleted file mode 100644 index 257191e..0000000 --- a/docs/ApiV3SignupCompleteAccountSignupPostRequest.md +++ /dev/null @@ -1,43 +0,0 @@ -# ApiV3SignupCompleteAccountSignupPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | -**first_name** | **str** | | -**last_name** | **str** | | [optional] -**protected_key** | **str** | | -**protected_key_iv** | **str** | | -**protected_key_tag** | **str** | | -**public_key** | **str** | | -**encrypted_private_key** | **str** | | -**encrypted_private_key_iv** | **str** | | -**encrypted_private_key_tag** | **str** | | -**salt** | **str** | | -**verifier** | **str** | | -**organization_name** | **str** | | -**provider_auth_token** | **str** | | [optional] -**attribution_source** | **str** | | [optional] -**password** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post_request import ApiV3SignupCompleteAccountSignupPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SignupCompleteAccountSignupPostRequest from a JSON string -api_v3_signup_complete_account_signup_post_request_instance = ApiV3SignupCompleteAccountSignupPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3SignupCompleteAccountSignupPostRequest.to_json() - -# convert the object into a dict -api_v3_signup_complete_account_signup_post_request_dict = api_v3_signup_complete_account_signup_post_request_instance.to_dict() -# create an instance of ApiV3SignupCompleteAccountSignupPostRequest from a dict -api_v3_signup_complete_account_signup_post_request_from_dict = ApiV3SignupCompleteAccountSignupPostRequest.from_dict(api_v3_signup_complete_account_signup_post_request_dict) -``` -[[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/docs/ApiV3SignupEmailVerifyPost200Response.md b/docs/ApiV3SignupEmailVerifyPost200Response.md deleted file mode 100644 index e945c34..0000000 --- a/docs/ApiV3SignupEmailVerifyPost200Response.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiV3SignupEmailVerifyPost200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**token** | **str** | | -**user** | [**ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser**](ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_signup_email_verify_post200_response import ApiV3SignupEmailVerifyPost200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3SignupEmailVerifyPost200Response from a JSON string -api_v3_signup_email_verify_post200_response_instance = ApiV3SignupEmailVerifyPost200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3SignupEmailVerifyPost200Response.to_json() - -# convert the object into a dict -api_v3_signup_email_verify_post200_response_dict = api_v3_signup_email_verify_post200_response_instance.to_dict() -# create an instance of ApiV3SignupEmailVerifyPost200Response from a dict -api_v3_signup_email_verify_post200_response_from_dict = ApiV3SignupEmailVerifyPost200Response.from_dict(api_v3_signup_email_verify_post200_response_dict) -``` -[[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/docs/ApiV3UsersMeApiKeysGet200Response.md b/docs/ApiV3UsersMeApiKeysGet200Response.md deleted file mode 100644 index 5871f52..0000000 --- a/docs/ApiV3UsersMeApiKeysGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3UsersMeApiKeysGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_key_data** | [**List[ApiV2UsersMeApiKeysGet200ResponseInner]**](ApiV2UsersMeApiKeysGet200ResponseInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_users_me_api_keys_get200_response import ApiV3UsersMeApiKeysGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3UsersMeApiKeysGet200Response from a JSON string -api_v3_users_me_api_keys_get200_response_instance = ApiV3UsersMeApiKeysGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3UsersMeApiKeysGet200Response.to_json() - -# convert the object into a dict -api_v3_users_me_api_keys_get200_response_dict = api_v3_users_me_api_keys_get200_response_instance.to_dict() -# create an instance of ApiV3UsersMeApiKeysGet200Response from a dict -api_v3_users_me_api_keys_get200_response_from_dict = ApiV3UsersMeApiKeysGet200Response.from_dict(api_v3_users_me_api_keys_get200_response_dict) -``` -[[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/docs/ApiV3WorkspacesProjectIdSecretsGet200Response.md b/docs/ApiV3WorkspacesProjectIdSecretsGet200Response.md deleted file mode 100644 index d395de6..0000000 --- a/docs/ApiV3WorkspacesProjectIdSecretsGet200Response.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3WorkspacesProjectIdSecretsGet200Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets** | [**List[ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner]**](ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response import ApiV3WorkspacesProjectIdSecretsGet200Response - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3WorkspacesProjectIdSecretsGet200Response from a JSON string -api_v3_workspaces_project_id_secrets_get200_response_instance = ApiV3WorkspacesProjectIdSecretsGet200Response.from_json(json) -# print the JSON string representation of the object -print ApiV3WorkspacesProjectIdSecretsGet200Response.to_json() - -# convert the object into a dict -api_v3_workspaces_project_id_secrets_get200_response_dict = api_v3_workspaces_project_id_secrets_get200_response_instance.to_dict() -# create an instance of ApiV3WorkspacesProjectIdSecretsGet200Response from a dict -api_v3_workspaces_project_id_secrets_get200_response_from_dict = ApiV3WorkspacesProjectIdSecretsGet200Response.from_dict(api_v3_workspaces_project_id_secrets_get200_response_dict) -``` -[[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/docs/ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.md b/docs/ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.md deleted file mode 100644 index cfa7625..0000000 --- a/docs/ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.md +++ /dev/null @@ -1,51 +0,0 @@ -# ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**version** | **float** | | [optional] [default to 1] -**type** | **str** | | [optional] [default to 'shared'] -**secret_key_ciphertext** | **str** | | -**secret_key_iv** | **str** | | -**secret_key_tag** | **str** | | -**secret_value_ciphertext** | **str** | | -**secret_value_iv** | **str** | | -**secret_value_tag** | **str** | | -**secret_comment_ciphertext** | **str** | | [optional] -**secret_comment_iv** | **str** | | [optional] -**secret_comment_tag** | **str** | | [optional] -**secret_reminder_note** | **str** | | [optional] -**secret_reminder_repeat_days** | **float** | | [optional] -**skip_multiline_encoding** | **bool** | | [optional] [default to False] -**algorithm** | **str** | | [optional] [default to 'aes-256-gcm'] -**key_encoding** | **str** | | [optional] [default to 'utf8'] -**metadata** | **object** | | [optional] -**user_id** | **str** | | [optional] -**folder_id** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**environment** | **str** | | -**workspace** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response_secrets_inner import ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner from a JSON string -api_v3_workspaces_project_id_secrets_get200_response_secrets_inner_instance = ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.from_json(json) -# print the JSON string representation of the object -print ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.to_json() - -# convert the object into a dict -api_v3_workspaces_project_id_secrets_get200_response_secrets_inner_dict = api_v3_workspaces_project_id_secrets_get200_response_secrets_inner_instance.to_dict() -# create an instance of ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner from a dict -api_v3_workspaces_project_id_secrets_get200_response_secrets_inner_from_dict = ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.from_dict(api_v3_workspaces_project_id_secrets_get200_response_secrets_inner_dict) -``` -[[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/docs/ApiV3WorkspacesProjectIdSecretsNamesPostRequest.md b/docs/ApiV3WorkspacesProjectIdSecretsNamesPostRequest.md deleted file mode 100644 index 07f6856..0000000 --- a/docs/ApiV3WorkspacesProjectIdSecretsNamesPostRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# ApiV3WorkspacesProjectIdSecretsNamesPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secrets_to_update** | [**List[ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner]**](ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.md) | | - -## Example - -```python -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request import ApiV3WorkspacesProjectIdSecretsNamesPostRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3WorkspacesProjectIdSecretsNamesPostRequest from a JSON string -api_v3_workspaces_project_id_secrets_names_post_request_instance = ApiV3WorkspacesProjectIdSecretsNamesPostRequest.from_json(json) -# print the JSON string representation of the object -print ApiV3WorkspacesProjectIdSecretsNamesPostRequest.to_json() - -# convert the object into a dict -api_v3_workspaces_project_id_secrets_names_post_request_dict = api_v3_workspaces_project_id_secrets_names_post_request_instance.to_dict() -# create an instance of ApiV3WorkspacesProjectIdSecretsNamesPostRequest from a dict -api_v3_workspaces_project_id_secrets_names_post_request_from_dict = ApiV3WorkspacesProjectIdSecretsNamesPostRequest.from_dict(api_v3_workspaces_project_id_secrets_names_post_request_dict) -``` -[[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/docs/ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.md b/docs/ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.md deleted file mode 100644 index 702f900..0000000 --- a/docs/ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**secret_name** | **str** | | -**secret_id** | **str** | | - -## Example - -```python -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner import ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner from a JSON string -api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner_instance = ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.from_json(json) -# print the JSON string representation of the object -print ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.to_json() - -# convert the object into a dict -api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner_dict = api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner_instance.to_dict() -# create an instance of ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner from a dict -api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner_from_dict = ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.from_dict(api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner_dict) -``` -[[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/docs/DefaultApi.md b/docs/DefaultApi.md deleted file mode 100644 index 6657df8..0000000 --- a/docs/DefaultApi.md +++ /dev/null @@ -1,29370 +0,0 @@ -# infisicalapi_client.DefaultApi - -All URIs are relative to *https://app.infisical.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_status_get**](DefaultApi.md#api_status_get) | **GET** /api/status | -[**api_v1_access_approvals_policies_count_get**](DefaultApi.md#api_v1_access_approvals_policies_count_get) | **GET** /api/v1/access-approvals/policies/count | -[**api_v1_access_approvals_policies_get**](DefaultApi.md#api_v1_access_approvals_policies_get) | **GET** /api/v1/access-approvals/policies | -[**api_v1_access_approvals_policies_policy_id_delete**](DefaultApi.md#api_v1_access_approvals_policies_policy_id_delete) | **DELETE** /api/v1/access-approvals/policies/{policyId} | -[**api_v1_access_approvals_policies_policy_id_patch**](DefaultApi.md#api_v1_access_approvals_policies_policy_id_patch) | **PATCH** /api/v1/access-approvals/policies/{policyId} | -[**api_v1_access_approvals_policies_post**](DefaultApi.md#api_v1_access_approvals_policies_post) | **POST** /api/v1/access-approvals/policies | -[**api_v1_access_approvals_requests_count_get**](DefaultApi.md#api_v1_access_approvals_requests_count_get) | **GET** /api/v1/access-approvals/requests/count | -[**api_v1_access_approvals_requests_get**](DefaultApi.md#api_v1_access_approvals_requests_get) | **GET** /api/v1/access-approvals/requests | -[**api_v1_access_approvals_requests_post**](DefaultApi.md#api_v1_access_approvals_requests_post) | **POST** /api/v1/access-approvals/requests | -[**api_v1_access_approvals_requests_request_id_review_post**](DefaultApi.md#api_v1_access_approvals_requests_request_id_review_post) | **POST** /api/v1/access-approvals/requests/{requestId}/review | -[**api_v1_additional_privilege_identity_delete**](DefaultApi.md#api_v1_additional_privilege_identity_delete) | **DELETE** /api/v1/additional-privilege/identity | -[**api_v1_additional_privilege_identity_get**](DefaultApi.md#api_v1_additional_privilege_identity_get) | **GET** /api/v1/additional-privilege/identity | -[**api_v1_additional_privilege_identity_patch**](DefaultApi.md#api_v1_additional_privilege_identity_patch) | **PATCH** /api/v1/additional-privilege/identity | -[**api_v1_additional_privilege_identity_permanent_post**](DefaultApi.md#api_v1_additional_privilege_identity_permanent_post) | **POST** /api/v1/additional-privilege/identity/permanent | -[**api_v1_additional_privilege_identity_privilege_slug_get**](DefaultApi.md#api_v1_additional_privilege_identity_privilege_slug_get) | **GET** /api/v1/additional-privilege/identity/{privilegeSlug} | -[**api_v1_additional_privilege_identity_temporary_post**](DefaultApi.md#api_v1_additional_privilege_identity_temporary_post) | **POST** /api/v1/additional-privilege/identity/temporary | -[**api_v1_additional_privilege_users_get**](DefaultApi.md#api_v1_additional_privilege_users_get) | **GET** /api/v1/additional-privilege/users | -[**api_v1_additional_privilege_users_permanent_post**](DefaultApi.md#api_v1_additional_privilege_users_permanent_post) | **POST** /api/v1/additional-privilege/users/permanent | -[**api_v1_additional_privilege_users_privilege_id_delete**](DefaultApi.md#api_v1_additional_privilege_users_privilege_id_delete) | **DELETE** /api/v1/additional-privilege/users/{privilegeId} | -[**api_v1_additional_privilege_users_privilege_id_get**](DefaultApi.md#api_v1_additional_privilege_users_privilege_id_get) | **GET** /api/v1/additional-privilege/users/{privilegeId} | -[**api_v1_additional_privilege_users_privilege_id_patch**](DefaultApi.md#api_v1_additional_privilege_users_privilege_id_patch) | **PATCH** /api/v1/additional-privilege/users/{privilegeId} | -[**api_v1_additional_privilege_users_temporary_post**](DefaultApi.md#api_v1_additional_privilege_users_temporary_post) | **POST** /api/v1/additional-privilege/users/temporary | -[**api_v1_admin_config_get**](DefaultApi.md#api_v1_admin_config_get) | **GET** /api/v1/admin/config | -[**api_v1_admin_config_patch**](DefaultApi.md#api_v1_admin_config_patch) | **PATCH** /api/v1/admin/config | -[**api_v1_admin_signup_post**](DefaultApi.md#api_v1_admin_signup_post) | **POST** /api/v1/admin/signup | -[**api_v1_admin_user_management_users_get**](DefaultApi.md#api_v1_admin_user_management_users_get) | **GET** /api/v1/admin/user-management/users | -[**api_v1_admin_user_management_users_user_id_delete**](DefaultApi.md#api_v1_admin_user_management_users_user_id_delete) | **DELETE** /api/v1/admin/user-management/users/{userId} | -[**api_v1_audit_log_streams_get**](DefaultApi.md#api_v1_audit_log_streams_get) | **GET** /api/v1/audit-log-streams | -[**api_v1_audit_log_streams_id_delete**](DefaultApi.md#api_v1_audit_log_streams_id_delete) | **DELETE** /api/v1/audit-log-streams/{id} | -[**api_v1_audit_log_streams_id_get**](DefaultApi.md#api_v1_audit_log_streams_id_get) | **GET** /api/v1/audit-log-streams/{id} | -[**api_v1_audit_log_streams_id_patch**](DefaultApi.md#api_v1_audit_log_streams_id_patch) | **PATCH** /api/v1/audit-log-streams/{id} | -[**api_v1_audit_log_streams_post**](DefaultApi.md#api_v1_audit_log_streams_post) | **POST** /api/v1/audit-log-streams | -[**api_v1_auth_aws_auth_identities_identity_id_delete**](DefaultApi.md#api_v1_auth_aws_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/aws-auth/identities/{identityId} | -[**api_v1_auth_aws_auth_identities_identity_id_get**](DefaultApi.md#api_v1_auth_aws_auth_identities_identity_id_get) | **GET** /api/v1/auth/aws-auth/identities/{identityId} | -[**api_v1_auth_aws_auth_identities_identity_id_patch**](DefaultApi.md#api_v1_auth_aws_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/aws-auth/identities/{identityId} | -[**api_v1_auth_aws_auth_identities_identity_id_post**](DefaultApi.md#api_v1_auth_aws_auth_identities_identity_id_post) | **POST** /api/v1/auth/aws-auth/identities/{identityId} | -[**api_v1_auth_aws_auth_login_post**](DefaultApi.md#api_v1_auth_aws_auth_login_post) | **POST** /api/v1/auth/aws-auth/login | -[**api_v1_auth_azure_auth_identities_identity_id_delete**](DefaultApi.md#api_v1_auth_azure_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/azure-auth/identities/{identityId} | -[**api_v1_auth_azure_auth_identities_identity_id_get**](DefaultApi.md#api_v1_auth_azure_auth_identities_identity_id_get) | **GET** /api/v1/auth/azure-auth/identities/{identityId} | -[**api_v1_auth_azure_auth_identities_identity_id_patch**](DefaultApi.md#api_v1_auth_azure_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/azure-auth/identities/{identityId} | -[**api_v1_auth_azure_auth_identities_identity_id_post**](DefaultApi.md#api_v1_auth_azure_auth_identities_identity_id_post) | **POST** /api/v1/auth/azure-auth/identities/{identityId} | -[**api_v1_auth_azure_auth_login_post**](DefaultApi.md#api_v1_auth_azure_auth_login_post) | **POST** /api/v1/auth/azure-auth/login | -[**api_v1_auth_check_auth_post**](DefaultApi.md#api_v1_auth_check_auth_post) | **POST** /api/v1/auth/checkAuth | -[**api_v1_auth_gcp_auth_identities_identity_id_delete**](DefaultApi.md#api_v1_auth_gcp_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/gcp-auth/identities/{identityId} | -[**api_v1_auth_gcp_auth_identities_identity_id_get**](DefaultApi.md#api_v1_auth_gcp_auth_identities_identity_id_get) | **GET** /api/v1/auth/gcp-auth/identities/{identityId} | -[**api_v1_auth_gcp_auth_identities_identity_id_patch**](DefaultApi.md#api_v1_auth_gcp_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/gcp-auth/identities/{identityId} | -[**api_v1_auth_gcp_auth_identities_identity_id_post**](DefaultApi.md#api_v1_auth_gcp_auth_identities_identity_id_post) | **POST** /api/v1/auth/gcp-auth/identities/{identityId} | -[**api_v1_auth_gcp_auth_login_post**](DefaultApi.md#api_v1_auth_gcp_auth_login_post) | **POST** /api/v1/auth/gcp-auth/login | -[**api_v1_auth_kubernetes_auth_identities_identity_id_delete**](DefaultApi.md#api_v1_auth_kubernetes_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/kubernetes-auth/identities/{identityId} | -[**api_v1_auth_kubernetes_auth_identities_identity_id_get**](DefaultApi.md#api_v1_auth_kubernetes_auth_identities_identity_id_get) | **GET** /api/v1/auth/kubernetes-auth/identities/{identityId} | -[**api_v1_auth_kubernetes_auth_identities_identity_id_patch**](DefaultApi.md#api_v1_auth_kubernetes_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/kubernetes-auth/identities/{identityId} | -[**api_v1_auth_kubernetes_auth_identities_identity_id_post**](DefaultApi.md#api_v1_auth_kubernetes_auth_identities_identity_id_post) | **POST** /api/v1/auth/kubernetes-auth/identities/{identityId} | -[**api_v1_auth_kubernetes_auth_login_post**](DefaultApi.md#api_v1_auth_kubernetes_auth_login_post) | **POST** /api/v1/auth/kubernetes-auth/login | -[**api_v1_auth_logout_post**](DefaultApi.md#api_v1_auth_logout_post) | **POST** /api/v1/auth/logout | -[**api_v1_auth_oidc_auth_identities_identity_id_delete**](DefaultApi.md#api_v1_auth_oidc_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/oidc-auth/identities/{identityId} | -[**api_v1_auth_oidc_auth_identities_identity_id_get**](DefaultApi.md#api_v1_auth_oidc_auth_identities_identity_id_get) | **GET** /api/v1/auth/oidc-auth/identities/{identityId} | -[**api_v1_auth_oidc_auth_identities_identity_id_patch**](DefaultApi.md#api_v1_auth_oidc_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/oidc-auth/identities/{identityId} | -[**api_v1_auth_oidc_auth_identities_identity_id_post**](DefaultApi.md#api_v1_auth_oidc_auth_identities_identity_id_post) | **POST** /api/v1/auth/oidc-auth/identities/{identityId} | -[**api_v1_auth_oidc_auth_login_post**](DefaultApi.md#api_v1_auth_oidc_auth_login_post) | **POST** /api/v1/auth/oidc-auth/login | -[**api_v1_auth_token_auth_identities_identity_id_delete**](DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/token-auth/identities/{identityId} | -[**api_v1_auth_token_auth_identities_identity_id_get**](DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_get) | **GET** /api/v1/auth/token-auth/identities/{identityId} | -[**api_v1_auth_token_auth_identities_identity_id_patch**](DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/token-auth/identities/{identityId} | -[**api_v1_auth_token_auth_identities_identity_id_post**](DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_post) | **POST** /api/v1/auth/token-auth/identities/{identityId} | -[**api_v1_auth_token_auth_identities_identity_id_tokens_get**](DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_tokens_get) | **GET** /api/v1/auth/token-auth/identities/{identityId}/tokens | -[**api_v1_auth_token_auth_identities_identity_id_tokens_post**](DefaultApi.md#api_v1_auth_token_auth_identities_identity_id_tokens_post) | **POST** /api/v1/auth/token-auth/identities/{identityId}/tokens | -[**api_v1_auth_token_auth_tokens_token_id_patch**](DefaultApi.md#api_v1_auth_token_auth_tokens_token_id_patch) | **PATCH** /api/v1/auth/token-auth/tokens/{tokenId} | -[**api_v1_auth_token_auth_tokens_token_id_revoke_post**](DefaultApi.md#api_v1_auth_token_auth_tokens_token_id_revoke_post) | **POST** /api/v1/auth/token-auth/tokens/{tokenId}/revoke | -[**api_v1_auth_token_post**](DefaultApi.md#api_v1_auth_token_post) | **POST** /api/v1/auth/token | -[**api_v1_auth_token_renew_post**](DefaultApi.md#api_v1_auth_token_renew_post) | **POST** /api/v1/auth/token/renew | -[**api_v1_auth_token_revoke_post**](DefaultApi.md#api_v1_auth_token_revoke_post) | **POST** /api/v1/auth/token/revoke | -[**api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get**](DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get) | **GET** /api/v1/auth/universal-auth/identities/{identityId}/client-secrets/{clientSecretId} | -[**api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post**](DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post) | **POST** /api/v1/auth/universal-auth/identities/{identityId}/client-secrets/{clientSecretId}/revoke | -[**api_v1_auth_universal_auth_identities_identity_id_client_secrets_get**](DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_client_secrets_get) | **GET** /api/v1/auth/universal-auth/identities/{identityId}/client-secrets | -[**api_v1_auth_universal_auth_identities_identity_id_client_secrets_post**](DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_client_secrets_post) | **POST** /api/v1/auth/universal-auth/identities/{identityId}/client-secrets | -[**api_v1_auth_universal_auth_identities_identity_id_delete**](DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_delete) | **DELETE** /api/v1/auth/universal-auth/identities/{identityId} | -[**api_v1_auth_universal_auth_identities_identity_id_get**](DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_get) | **GET** /api/v1/auth/universal-auth/identities/{identityId} | -[**api_v1_auth_universal_auth_identities_identity_id_patch**](DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_patch) | **PATCH** /api/v1/auth/universal-auth/identities/{identityId} | -[**api_v1_auth_universal_auth_identities_identity_id_post**](DefaultApi.md#api_v1_auth_universal_auth_identities_identity_id_post) | **POST** /api/v1/auth/universal-auth/identities/{identityId} | -[**api_v1_auth_universal_auth_login_post**](DefaultApi.md#api_v1_auth_universal_auth_login_post) | **POST** /api/v1/auth/universal-auth/login | -[**api_v1_bot_bot_id_active_patch**](DefaultApi.md#api_v1_bot_bot_id_active_patch) | **PATCH** /api/v1/bot/{botId}/active | -[**api_v1_bot_project_id_get**](DefaultApi.md#api_v1_bot_project_id_get) | **GET** /api/v1/bot/{projectId} | -[**api_v1_dynamic_secrets_get**](DefaultApi.md#api_v1_dynamic_secrets_get) | **GET** /api/v1/dynamic-secrets | -[**api_v1_dynamic_secrets_leases_lease_id_delete**](DefaultApi.md#api_v1_dynamic_secrets_leases_lease_id_delete) | **DELETE** /api/v1/dynamic-secrets/leases/{leaseId} | -[**api_v1_dynamic_secrets_leases_lease_id_get**](DefaultApi.md#api_v1_dynamic_secrets_leases_lease_id_get) | **GET** /api/v1/dynamic-secrets/leases/{leaseId} | -[**api_v1_dynamic_secrets_leases_lease_id_renew_post**](DefaultApi.md#api_v1_dynamic_secrets_leases_lease_id_renew_post) | **POST** /api/v1/dynamic-secrets/leases/{leaseId}/renew | -[**api_v1_dynamic_secrets_leases_post**](DefaultApi.md#api_v1_dynamic_secrets_leases_post) | **POST** /api/v1/dynamic-secrets/leases | -[**api_v1_dynamic_secrets_name_delete**](DefaultApi.md#api_v1_dynamic_secrets_name_delete) | **DELETE** /api/v1/dynamic-secrets/{name} | -[**api_v1_dynamic_secrets_name_get**](DefaultApi.md#api_v1_dynamic_secrets_name_get) | **GET** /api/v1/dynamic-secrets/{name} | -[**api_v1_dynamic_secrets_name_leases_get**](DefaultApi.md#api_v1_dynamic_secrets_name_leases_get) | **GET** /api/v1/dynamic-secrets/{name}/leases | -[**api_v1_dynamic_secrets_name_patch**](DefaultApi.md#api_v1_dynamic_secrets_name_patch) | **PATCH** /api/v1/dynamic-secrets/{name} | -[**api_v1_dynamic_secrets_post**](DefaultApi.md#api_v1_dynamic_secrets_post) | **POST** /api/v1/dynamic-secrets | -[**api_v1_external_kms_get**](DefaultApi.md#api_v1_external_kms_get) | **GET** /api/v1/external-kms | -[**api_v1_external_kms_id_delete**](DefaultApi.md#api_v1_external_kms_id_delete) | **DELETE** /api/v1/external-kms/{id} | -[**api_v1_external_kms_id_get**](DefaultApi.md#api_v1_external_kms_id_get) | **GET** /api/v1/external-kms/{id} | -[**api_v1_external_kms_id_patch**](DefaultApi.md#api_v1_external_kms_id_patch) | **PATCH** /api/v1/external-kms/{id} | -[**api_v1_external_kms_post**](DefaultApi.md#api_v1_external_kms_post) | **POST** /api/v1/external-kms | -[**api_v1_external_kms_slug_slug_get**](DefaultApi.md#api_v1_external_kms_slug_slug_get) | **GET** /api/v1/external-kms/slug/{slug} | -[**api_v1_folders_batch_patch**](DefaultApi.md#api_v1_folders_batch_patch) | **PATCH** /api/v1/folders/batch | -[**api_v1_folders_folder_id_or_name_delete**](DefaultApi.md#api_v1_folders_folder_id_or_name_delete) | **DELETE** /api/v1/folders/{folderIdOrName} | -[**api_v1_folders_folder_id_patch**](DefaultApi.md#api_v1_folders_folder_id_patch) | **PATCH** /api/v1/folders/{folderId} | -[**api_v1_folders_get**](DefaultApi.md#api_v1_folders_get) | **GET** /api/v1/folders | -[**api_v1_folders_id_get**](DefaultApi.md#api_v1_folders_id_get) | **GET** /api/v1/folders/{id} | -[**api_v1_folders_post**](DefaultApi.md#api_v1_folders_post) | **POST** /api/v1/folders | -[**api_v1_groups_current_slug_patch**](DefaultApi.md#api_v1_groups_current_slug_patch) | **PATCH** /api/v1/groups/{currentSlug} | -[**api_v1_groups_post**](DefaultApi.md#api_v1_groups_post) | **POST** /api/v1/groups | -[**api_v1_groups_slug_delete**](DefaultApi.md#api_v1_groups_slug_delete) | **DELETE** /api/v1/groups/{slug} | -[**api_v1_groups_slug_users_get**](DefaultApi.md#api_v1_groups_slug_users_get) | **GET** /api/v1/groups/{slug}/users | -[**api_v1_groups_slug_users_username_delete**](DefaultApi.md#api_v1_groups_slug_users_username_delete) | **DELETE** /api/v1/groups/{slug}/users/{username} | -[**api_v1_groups_slug_users_username_post**](DefaultApi.md#api_v1_groups_slug_users_username_post) | **POST** /api/v1/groups/{slug}/users/{username} | -[**api_v1_identities_get**](DefaultApi.md#api_v1_identities_get) | **GET** /api/v1/identities | -[**api_v1_identities_identity_id_delete**](DefaultApi.md#api_v1_identities_identity_id_delete) | **DELETE** /api/v1/identities/{identityId} | -[**api_v1_identities_identity_id_get**](DefaultApi.md#api_v1_identities_identity_id_get) | **GET** /api/v1/identities/{identityId} | -[**api_v1_identities_identity_id_identity_memberships_get**](DefaultApi.md#api_v1_identities_identity_id_identity_memberships_get) | **GET** /api/v1/identities/{identityId}/identity-memberships | -[**api_v1_identities_identity_id_patch**](DefaultApi.md#api_v1_identities_identity_id_patch) | **PATCH** /api/v1/identities/{identityId} | -[**api_v1_identities_post**](DefaultApi.md#api_v1_identities_post) | **POST** /api/v1/identities | -[**api_v1_integration_auth_access_token_post**](DefaultApi.md#api_v1_integration_auth_access_token_post) | **POST** /api/v1/integration-auth/access-token | -[**api_v1_integration_auth_delete**](DefaultApi.md#api_v1_integration_auth_delete) | **DELETE** /api/v1/integration-auth | -[**api_v1_integration_auth_integration_auth_id_apps_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_apps_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/apps | -[**api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/aws-secrets-manager/kms-keys | -[**api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/bitbucket/workspaces | -[**api_v1_integration_auth_integration_auth_id_checkly_groups_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_checkly_groups_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/checkly/groups | -[**api_v1_integration_auth_integration_auth_id_delete**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_delete) | **DELETE** /api/v1/integration-auth/{integrationAuthId} | -[**api_v1_integration_auth_integration_auth_id_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_get) | **GET** /api/v1/integration-auth/{integrationAuthId} | -[**api_v1_integration_auth_integration_auth_id_github_envs_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_github_envs_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/github/envs | -[**api_v1_integration_auth_integration_auth_id_github_orgs_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_github_orgs_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/github/orgs | -[**api_v1_integration_auth_integration_auth_id_heroku_pipelines_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_heroku_pipelines_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/heroku/pipelines | -[**api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/northflank/secret-groups | -[**api_v1_integration_auth_integration_auth_id_qovery_apps_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_apps_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/apps | -[**api_v1_integration_auth_integration_auth_id_qovery_containers_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_containers_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/containers | -[**api_v1_integration_auth_integration_auth_id_qovery_environments_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_environments_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/environments | -[**api_v1_integration_auth_integration_auth_id_qovery_jobs_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_jobs_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/jobs | -[**api_v1_integration_auth_integration_auth_id_qovery_orgs_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_orgs_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/orgs | -[**api_v1_integration_auth_integration_auth_id_qovery_projects_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_qovery_projects_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/qovery/projects | -[**api_v1_integration_auth_integration_auth_id_railway_environments_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_railway_environments_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/railway/environments | -[**api_v1_integration_auth_integration_auth_id_railway_services_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_railway_services_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/railway/services | -[**api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/teamcity/build-configs | -[**api_v1_integration_auth_integration_auth_id_teams_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_teams_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/teams | -[**api_v1_integration_auth_integration_auth_id_vercel_branches_get**](DefaultApi.md#api_v1_integration_auth_integration_auth_id_vercel_branches_get) | **GET** /api/v1/integration-auth/{integrationAuthId}/vercel/branches | -[**api_v1_integration_auth_integration_options_get**](DefaultApi.md#api_v1_integration_auth_integration_options_get) | **GET** /api/v1/integration-auth/integration-options | -[**api_v1_integration_auth_oauth_token_post**](DefaultApi.md#api_v1_integration_auth_oauth_token_post) | **POST** /api/v1/integration-auth/oauth-token | -[**api_v1_integration_integration_id_delete**](DefaultApi.md#api_v1_integration_integration_id_delete) | **DELETE** /api/v1/integration/{integrationId} | -[**api_v1_integration_integration_id_patch**](DefaultApi.md#api_v1_integration_integration_id_patch) | **PATCH** /api/v1/integration/{integrationId} | -[**api_v1_integration_integration_id_sync_post**](DefaultApi.md#api_v1_integration_integration_id_sync_post) | **POST** /api/v1/integration/{integrationId}/sync | -[**api_v1_integration_post**](DefaultApi.md#api_v1_integration_post) | **POST** /api/v1/integration | -[**api_v1_invite_org_signup_post**](DefaultApi.md#api_v1_invite_org_signup_post) | **POST** /api/v1/invite-org/signup | -[**api_v1_invite_org_verify_post**](DefaultApi.md#api_v1_invite_org_verify_post) | **POST** /api/v1/invite-org/verify | -[**api_v1_ldap_config_config_id_group_maps_get**](DefaultApi.md#api_v1_ldap_config_config_id_group_maps_get) | **GET** /api/v1/ldap/config/{configId}/group-maps | -[**api_v1_ldap_config_config_id_group_maps_group_map_id_delete**](DefaultApi.md#api_v1_ldap_config_config_id_group_maps_group_map_id_delete) | **DELETE** /api/v1/ldap/config/{configId}/group-maps/{groupMapId} | -[**api_v1_ldap_config_config_id_group_maps_post**](DefaultApi.md#api_v1_ldap_config_config_id_group_maps_post) | **POST** /api/v1/ldap/config/{configId}/group-maps | -[**api_v1_ldap_config_config_id_test_connection_post**](DefaultApi.md#api_v1_ldap_config_config_id_test_connection_post) | **POST** /api/v1/ldap/config/{configId}/test-connection | -[**api_v1_ldap_config_get**](DefaultApi.md#api_v1_ldap_config_get) | **GET** /api/v1/ldap/config | -[**api_v1_ldap_config_patch**](DefaultApi.md#api_v1_ldap_config_patch) | **PATCH** /api/v1/ldap/config | -[**api_v1_ldap_config_post**](DefaultApi.md#api_v1_ldap_config_post) | **POST** /api/v1/ldap/config | -[**api_v1_ldap_login_post**](DefaultApi.md#api_v1_ldap_login_post) | **POST** /api/v1/ldap/login | -[**api_v1_organization_admin_projects_get**](DefaultApi.md#api_v1_organization_admin_projects_get) | **GET** /api/v1/organization-admin/projects | -[**api_v1_organization_admin_projects_project_id_grant_admin_access_post**](DefaultApi.md#api_v1_organization_admin_projects_project_id_grant_admin_access_post) | **POST** /api/v1/organization-admin/projects/{projectId}/grant-admin-access | -[**api_v1_organization_get**](DefaultApi.md#api_v1_organization_get) | **GET** /api/v1/organization | -[**api_v1_organization_organization_id_get**](DefaultApi.md#api_v1_organization_organization_id_get) | **GET** /api/v1/organization/{organizationId} | -[**api_v1_organization_organization_id_groups_get**](DefaultApi.md#api_v1_organization_organization_id_groups_get) | **GET** /api/v1/organization/{organizationId}/groups | -[**api_v1_organization_organization_id_incident_contact_org_get**](DefaultApi.md#api_v1_organization_organization_id_incident_contact_org_get) | **GET** /api/v1/organization/{organizationId}/incidentContactOrg | -[**api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete**](DefaultApi.md#api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete) | **DELETE** /api/v1/organization/{organizationId}/incidentContactOrg/{incidentContactId} | -[**api_v1_organization_organization_id_incident_contact_org_post**](DefaultApi.md#api_v1_organization_organization_id_incident_contact_org_post) | **POST** /api/v1/organization/{organizationId}/incidentContactOrg | -[**api_v1_organization_organization_id_patch**](DefaultApi.md#api_v1_organization_organization_id_patch) | **PATCH** /api/v1/organization/{organizationId} | -[**api_v1_organization_organization_id_permissions_get**](DefaultApi.md#api_v1_organization_organization_id_permissions_get) | **GET** /api/v1/organization/{organizationId}/permissions | -[**api_v1_organization_organization_id_roles_get**](DefaultApi.md#api_v1_organization_organization_id_roles_get) | **GET** /api/v1/organization/{organizationId}/roles | -[**api_v1_organization_organization_id_roles_post**](DefaultApi.md#api_v1_organization_organization_id_roles_post) | **POST** /api/v1/organization/{organizationId}/roles | -[**api_v1_organization_organization_id_roles_role_id_delete**](DefaultApi.md#api_v1_organization_organization_id_roles_role_id_delete) | **DELETE** /api/v1/organization/{organizationId}/roles/{roleId} | -[**api_v1_organization_organization_id_roles_role_id_get**](DefaultApi.md#api_v1_organization_organization_id_roles_role_id_get) | **GET** /api/v1/organization/{organizationId}/roles/{roleId} | -[**api_v1_organization_organization_id_roles_role_id_patch**](DefaultApi.md#api_v1_organization_organization_id_roles_role_id_patch) | **PATCH** /api/v1/organization/{organizationId}/roles/{roleId} | -[**api_v1_organization_organization_id_users_get**](DefaultApi.md#api_v1_organization_organization_id_users_get) | **GET** /api/v1/organization/{organizationId}/users | -[**api_v1_organizations_organization_id_billing_details_get**](DefaultApi.md#api_v1_organizations_organization_id_billing_details_get) | **GET** /api/v1/organizations/{organizationId}/billing-details | -[**api_v1_organizations_organization_id_billing_details_patch**](DefaultApi.md#api_v1_organizations_organization_id_billing_details_patch) | **PATCH** /api/v1/organizations/{organizationId}/billing-details | -[**api_v1_organizations_organization_id_billing_details_payment_methods_get**](DefaultApi.md#api_v1_organizations_organization_id_billing_details_payment_methods_get) | **GET** /api/v1/organizations/{organizationId}/billing-details/payment-methods | -[**api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete**](DefaultApi.md#api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete) | **DELETE** /api/v1/organizations/{organizationId}/billing-details/payment-methods/{pmtMethodId} | -[**api_v1_organizations_organization_id_billing_details_payment_methods_post**](DefaultApi.md#api_v1_organizations_organization_id_billing_details_payment_methods_post) | **POST** /api/v1/organizations/{organizationId}/billing-details/payment-methods | -[**api_v1_organizations_organization_id_billing_details_tax_ids_get**](DefaultApi.md#api_v1_organizations_organization_id_billing_details_tax_ids_get) | **GET** /api/v1/organizations/{organizationId}/billing-details/tax-ids | -[**api_v1_organizations_organization_id_billing_details_tax_ids_post**](DefaultApi.md#api_v1_organizations_organization_id_billing_details_tax_ids_post) | **POST** /api/v1/organizations/{organizationId}/billing-details/tax-ids | -[**api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete**](DefaultApi.md#api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete) | **DELETE** /api/v1/organizations/{organizationId}/billing-details/tax-ids/{taxId} | -[**api_v1_organizations_organization_id_customer_portal_session_post**](DefaultApi.md#api_v1_organizations_organization_id_customer_portal_session_post) | **POST** /api/v1/organizations/{organizationId}/customer-portal-session | -[**api_v1_organizations_organization_id_invoices_get**](DefaultApi.md#api_v1_organizations_organization_id_invoices_get) | **GET** /api/v1/organizations/{organizationId}/invoices | -[**api_v1_organizations_organization_id_licenses_get**](DefaultApi.md#api_v1_organizations_organization_id_licenses_get) | **GET** /api/v1/organizations/{organizationId}/licenses | -[**api_v1_organizations_organization_id_plan_billing_get**](DefaultApi.md#api_v1_organizations_organization_id_plan_billing_get) | **GET** /api/v1/organizations/{organizationId}/plan/billing | -[**api_v1_organizations_organization_id_plan_get**](DefaultApi.md#api_v1_organizations_organization_id_plan_get) | **GET** /api/v1/organizations/{organizationId}/plan | -[**api_v1_organizations_organization_id_plan_table_get**](DefaultApi.md#api_v1_organizations_organization_id_plan_table_get) | **GET** /api/v1/organizations/{organizationId}/plan/table | -[**api_v1_organizations_organization_id_plans_get**](DefaultApi.md#api_v1_organizations_organization_id_plans_get) | **GET** /api/v1/organizations/{organizationId}/plans | -[**api_v1_organizations_organization_id_plans_table_get**](DefaultApi.md#api_v1_organizations_organization_id_plans_table_get) | **GET** /api/v1/organizations/{organizationId}/plans/table | -[**api_v1_organizations_organization_id_session_trial_post**](DefaultApi.md#api_v1_organizations_organization_id_session_trial_post) | **POST** /api/v1/organizations/{organizationId}/session/trial | -[**api_v1_password_backup_private_key_get**](DefaultApi.md#api_v1_password_backup_private_key_get) | **GET** /api/v1/password/backup-private-key | -[**api_v1_password_backup_private_key_post**](DefaultApi.md#api_v1_password_backup_private_key_post) | **POST** /api/v1/password/backup-private-key | -[**api_v1_password_change_password_post**](DefaultApi.md#api_v1_password_change_password_post) | **POST** /api/v1/password/change-password | -[**api_v1_password_email_password_reset_post**](DefaultApi.md#api_v1_password_email_password_reset_post) | **POST** /api/v1/password/email/password-reset | -[**api_v1_password_email_password_reset_verify_post**](DefaultApi.md#api_v1_password_email_password_reset_verify_post) | **POST** /api/v1/password/email/password-reset-verify | -[**api_v1_password_password_reset_post**](DefaultApi.md#api_v1_password_password_reset_post) | **POST** /api/v1/password/password-reset | -[**api_v1_password_srp1_post**](DefaultApi.md#api_v1_password_srp1_post) | **POST** /api/v1/password/srp1 | -[**api_v1_pki_ca_ca_id_certificate_get**](DefaultApi.md#api_v1_pki_ca_ca_id_certificate_get) | **GET** /api/v1/pki/ca/{caId}/certificate | -[**api_v1_pki_ca_ca_id_crl_get**](DefaultApi.md#api_v1_pki_ca_ca_id_crl_get) | **GET** /api/v1/pki/ca/{caId}/crl | -[**api_v1_pki_ca_ca_id_csr_get**](DefaultApi.md#api_v1_pki_ca_ca_id_csr_get) | **GET** /api/v1/pki/ca/{caId}/csr | -[**api_v1_pki_ca_ca_id_delete**](DefaultApi.md#api_v1_pki_ca_ca_id_delete) | **DELETE** /api/v1/pki/ca/{caId} | -[**api_v1_pki_ca_ca_id_get**](DefaultApi.md#api_v1_pki_ca_ca_id_get) | **GET** /api/v1/pki/ca/{caId} | -[**api_v1_pki_ca_ca_id_import_certificate_post**](DefaultApi.md#api_v1_pki_ca_ca_id_import_certificate_post) | **POST** /api/v1/pki/ca/{caId}/import-certificate | -[**api_v1_pki_ca_ca_id_issue_certificate_post**](DefaultApi.md#api_v1_pki_ca_ca_id_issue_certificate_post) | **POST** /api/v1/pki/ca/{caId}/issue-certificate | -[**api_v1_pki_ca_ca_id_patch**](DefaultApi.md#api_v1_pki_ca_ca_id_patch) | **PATCH** /api/v1/pki/ca/{caId} | -[**api_v1_pki_ca_ca_id_sign_certificate_post**](DefaultApi.md#api_v1_pki_ca_ca_id_sign_certificate_post) | **POST** /api/v1/pki/ca/{caId}/sign-certificate | -[**api_v1_pki_ca_ca_id_sign_intermediate_post**](DefaultApi.md#api_v1_pki_ca_ca_id_sign_intermediate_post) | **POST** /api/v1/pki/ca/{caId}/sign-intermediate | -[**api_v1_pki_ca_post**](DefaultApi.md#api_v1_pki_ca_post) | **POST** /api/v1/pki/ca | -[**api_v1_pki_certificates_serial_number_certificate_get**](DefaultApi.md#api_v1_pki_certificates_serial_number_certificate_get) | **GET** /api/v1/pki/certificates/{serialNumber}/certificate | -[**api_v1_pki_certificates_serial_number_delete**](DefaultApi.md#api_v1_pki_certificates_serial_number_delete) | **DELETE** /api/v1/pki/certificates/{serialNumber} | -[**api_v1_pki_certificates_serial_number_get**](DefaultApi.md#api_v1_pki_certificates_serial_number_get) | **GET** /api/v1/pki/certificates/{serialNumber} | -[**api_v1_pki_certificates_serial_number_revoke_post**](DefaultApi.md#api_v1_pki_certificates_serial_number_revoke_post) | **POST** /api/v1/pki/certificates/{serialNumber}/revoke | -[**api_v1_rate_limit_get**](DefaultApi.md#api_v1_rate_limit_get) | **GET** /api/v1/rate-limit | -[**api_v1_rate_limit_put**](DefaultApi.md#api_v1_rate_limit_put) | **PUT** /api/v1/rate-limit | -[**api_v1_scim_groups_get**](DefaultApi.md#api_v1_scim_groups_get) | **GET** /api/v1/scim/Groups | -[**api_v1_scim_groups_group_id_delete**](DefaultApi.md#api_v1_scim_groups_group_id_delete) | **DELETE** /api/v1/scim/Groups/{groupId} | -[**api_v1_scim_groups_group_id_get**](DefaultApi.md#api_v1_scim_groups_group_id_get) | **GET** /api/v1/scim/Groups/{groupId} | -[**api_v1_scim_groups_group_id_patch**](DefaultApi.md#api_v1_scim_groups_group_id_patch) | **PATCH** /api/v1/scim/Groups/{groupId} | -[**api_v1_scim_groups_group_id_put**](DefaultApi.md#api_v1_scim_groups_group_id_put) | **PUT** /api/v1/scim/Groups/{groupId} | -[**api_v1_scim_groups_post**](DefaultApi.md#api_v1_scim_groups_post) | **POST** /api/v1/scim/Groups | -[**api_v1_scim_scim_tokens_get**](DefaultApi.md#api_v1_scim_scim_tokens_get) | **GET** /api/v1/scim/scim-tokens | -[**api_v1_scim_scim_tokens_post**](DefaultApi.md#api_v1_scim_scim_tokens_post) | **POST** /api/v1/scim/scim-tokens | -[**api_v1_scim_scim_tokens_scim_token_id_delete**](DefaultApi.md#api_v1_scim_scim_tokens_scim_token_id_delete) | **DELETE** /api/v1/scim/scim-tokens/{scimTokenId} | -[**api_v1_scim_users_get**](DefaultApi.md#api_v1_scim_users_get) | **GET** /api/v1/scim/Users | -[**api_v1_scim_users_org_membership_id_delete**](DefaultApi.md#api_v1_scim_users_org_membership_id_delete) | **DELETE** /api/v1/scim/Users/{orgMembershipId} | -[**api_v1_scim_users_org_membership_id_get**](DefaultApi.md#api_v1_scim_users_org_membership_id_get) | **GET** /api/v1/scim/Users/{orgMembershipId} | -[**api_v1_scim_users_org_membership_id_put**](DefaultApi.md#api_v1_scim_users_org_membership_id_put) | **PUT** /api/v1/scim/Users/{orgMembershipId} | -[**api_v1_scim_users_post**](DefaultApi.md#api_v1_scim_users_post) | **POST** /api/v1/scim/Users | -[**api_v1_secret_approval_requests_count_get**](DefaultApi.md#api_v1_secret_approval_requests_count_get) | **GET** /api/v1/secret-approval-requests/count | -[**api_v1_secret_approval_requests_get**](DefaultApi.md#api_v1_secret_approval_requests_get) | **GET** /api/v1/secret-approval-requests | -[**api_v1_secret_approval_requests_id_get**](DefaultApi.md#api_v1_secret_approval_requests_id_get) | **GET** /api/v1/secret-approval-requests/{id} | -[**api_v1_secret_approval_requests_id_merge_post**](DefaultApi.md#api_v1_secret_approval_requests_id_merge_post) | **POST** /api/v1/secret-approval-requests/{id}/merge | -[**api_v1_secret_approval_requests_id_review_post**](DefaultApi.md#api_v1_secret_approval_requests_id_review_post) | **POST** /api/v1/secret-approval-requests/{id}/review | -[**api_v1_secret_approval_requests_id_status_post**](DefaultApi.md#api_v1_secret_approval_requests_id_status_post) | **POST** /api/v1/secret-approval-requests/{id}/status | -[**api_v1_secret_approvals_board_get**](DefaultApi.md#api_v1_secret_approvals_board_get) | **GET** /api/v1/secret-approvals/board | -[**api_v1_secret_approvals_get**](DefaultApi.md#api_v1_secret_approvals_get) | **GET** /api/v1/secret-approvals | -[**api_v1_secret_approvals_post**](DefaultApi.md#api_v1_secret_approvals_post) | **POST** /api/v1/secret-approvals | -[**api_v1_secret_approvals_sap_id_delete**](DefaultApi.md#api_v1_secret_approvals_sap_id_delete) | **DELETE** /api/v1/secret-approvals/{sapId} | -[**api_v1_secret_approvals_sap_id_patch**](DefaultApi.md#api_v1_secret_approvals_sap_id_patch) | **PATCH** /api/v1/secret-approvals/{sapId} | -[**api_v1_secret_imports_get**](DefaultApi.md#api_v1_secret_imports_get) | **GET** /api/v1/secret-imports | -[**api_v1_secret_imports_post**](DefaultApi.md#api_v1_secret_imports_post) | **POST** /api/v1/secret-imports | -[**api_v1_secret_imports_secret_import_id_delete**](DefaultApi.md#api_v1_secret_imports_secret_import_id_delete) | **DELETE** /api/v1/secret-imports/{secretImportId} | -[**api_v1_secret_imports_secret_import_id_patch**](DefaultApi.md#api_v1_secret_imports_secret_import_id_patch) | **PATCH** /api/v1/secret-imports/{secretImportId} | -[**api_v1_secret_imports_secret_import_id_replication_resync_post**](DefaultApi.md#api_v1_secret_imports_secret_import_id_replication_resync_post) | **POST** /api/v1/secret-imports/{secretImportId}/replication-resync | -[**api_v1_secret_imports_secrets_get**](DefaultApi.md#api_v1_secret_imports_secrets_get) | **GET** /api/v1/secret-imports/secrets | -[**api_v1_secret_imports_secrets_raw_get**](DefaultApi.md#api_v1_secret_imports_secrets_raw_get) | **GET** /api/v1/secret-imports/secrets/raw | -[**api_v1_secret_rotation_providers_workspace_id_get**](DefaultApi.md#api_v1_secret_rotation_providers_workspace_id_get) | **GET** /api/v1/secret-rotation-providers/{workspaceId} | -[**api_v1_secret_rotations_get**](DefaultApi.md#api_v1_secret_rotations_get) | **GET** /api/v1/secret-rotations | -[**api_v1_secret_rotations_id_delete**](DefaultApi.md#api_v1_secret_rotations_id_delete) | **DELETE** /api/v1/secret-rotations/{id} | -[**api_v1_secret_rotations_post**](DefaultApi.md#api_v1_secret_rotations_post) | **POST** /api/v1/secret-rotations | -[**api_v1_secret_rotations_restart_post**](DefaultApi.md#api_v1_secret_rotations_restart_post) | **POST** /api/v1/secret-rotations/restart | -[**api_v1_secret_scanning_create_installation_session_organization_post**](DefaultApi.md#api_v1_secret_scanning_create_installation_session_organization_post) | **POST** /api/v1/secret-scanning/create-installation-session/organization | -[**api_v1_secret_scanning_installation_status_organization_organization_id_get**](DefaultApi.md#api_v1_secret_scanning_installation_status_organization_organization_id_get) | **GET** /api/v1/secret-scanning/installation-status/organization/{organizationId} | -[**api_v1_secret_scanning_link_installation_post**](DefaultApi.md#api_v1_secret_scanning_link_installation_post) | **POST** /api/v1/secret-scanning/link-installation | -[**api_v1_secret_scanning_organization_organization_id_risks_get**](DefaultApi.md#api_v1_secret_scanning_organization_organization_id_risks_get) | **GET** /api/v1/secret-scanning/organization/{organizationId}/risks | -[**api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post**](DefaultApi.md#api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post) | **POST** /api/v1/secret-scanning/organization/{organizationId}/risks/{riskId}/status | -[**api_v1_secret_secret_id_secret_versions_get**](DefaultApi.md#api_v1_secret_secret_id_secret_versions_get) | **GET** /api/v1/secret/{secretId}/secret-versions | -[**api_v1_secret_sharing_get**](DefaultApi.md#api_v1_secret_sharing_get) | **GET** /api/v1/secret-sharing | -[**api_v1_secret_sharing_post**](DefaultApi.md#api_v1_secret_sharing_post) | **POST** /api/v1/secret-sharing | -[**api_v1_secret_sharing_public_id_get**](DefaultApi.md#api_v1_secret_sharing_public_id_get) | **GET** /api/v1/secret-sharing/public/{id} | -[**api_v1_secret_sharing_public_post**](DefaultApi.md#api_v1_secret_sharing_public_post) | **POST** /api/v1/secret-sharing/public | -[**api_v1_secret_sharing_shared_secret_id_delete**](DefaultApi.md#api_v1_secret_sharing_shared_secret_id_delete) | **DELETE** /api/v1/secret-sharing/{sharedSecretId} | -[**api_v1_secret_snapshot_secret_snapshot_id_get**](DefaultApi.md#api_v1_secret_snapshot_secret_snapshot_id_get) | **GET** /api/v1/secret-snapshot/{secretSnapshotId} | -[**api_v1_secret_snapshot_secret_snapshot_id_rollback_post**](DefaultApi.md#api_v1_secret_snapshot_secret_snapshot_id_rollback_post) | **POST** /api/v1/secret-snapshot/{secretSnapshotId}/rollback | -[**api_v1_sso_config_get**](DefaultApi.md#api_v1_sso_config_get) | **GET** /api/v1/sso/config | -[**api_v1_sso_config_patch**](DefaultApi.md#api_v1_sso_config_patch) | **PATCH** /api/v1/sso/config | -[**api_v1_sso_config_post**](DefaultApi.md#api_v1_sso_config_post) | **POST** /api/v1/sso/config | -[**api_v1_sso_github_get**](DefaultApi.md#api_v1_sso_github_get) | **GET** /api/v1/sso/github | -[**api_v1_sso_gitlab_get**](DefaultApi.md#api_v1_sso_gitlab_get) | **GET** /api/v1/sso/gitlab | -[**api_v1_sso_google_get**](DefaultApi.md#api_v1_sso_google_get) | **GET** /api/v1/sso/google | -[**api_v1_sso_oidc_callback_get**](DefaultApi.md#api_v1_sso_oidc_callback_get) | **GET** /api/v1/sso/oidc/callback | -[**api_v1_sso_oidc_config_get**](DefaultApi.md#api_v1_sso_oidc_config_get) | **GET** /api/v1/sso/oidc/config | -[**api_v1_sso_oidc_config_patch**](DefaultApi.md#api_v1_sso_oidc_config_patch) | **PATCH** /api/v1/sso/oidc/config | -[**api_v1_sso_oidc_config_post**](DefaultApi.md#api_v1_sso_oidc_config_post) | **POST** /api/v1/sso/oidc/config | -[**api_v1_sso_oidc_login_error_get**](DefaultApi.md#api_v1_sso_oidc_login_error_get) | **GET** /api/v1/sso/oidc/login/error | -[**api_v1_sso_oidc_login_get**](DefaultApi.md#api_v1_sso_oidc_login_get) | **GET** /api/v1/sso/oidc/login | -[**api_v1_sso_redirect_github_get**](DefaultApi.md#api_v1_sso_redirect_github_get) | **GET** /api/v1/sso/redirect/github | -[**api_v1_sso_redirect_gitlab_get**](DefaultApi.md#api_v1_sso_redirect_gitlab_get) | **GET** /api/v1/sso/redirect/gitlab | -[**api_v1_sso_redirect_google_get**](DefaultApi.md#api_v1_sso_redirect_google_get) | **GET** /api/v1/sso/redirect/google | -[**api_v1_sso_redirect_saml2_organizations_org_slug_get**](DefaultApi.md#api_v1_sso_redirect_saml2_organizations_org_slug_get) | **GET** /api/v1/sso/redirect/saml2/organizations/{orgSlug} | -[**api_v1_sso_redirect_saml2_saml_config_id_get**](DefaultApi.md#api_v1_sso_redirect_saml2_saml_config_id_get) | **GET** /api/v1/sso/redirect/saml2/{samlConfigId} | -[**api_v1_sso_saml2_saml_config_id_post**](DefaultApi.md#api_v1_sso_saml2_saml_config_id_post) | **POST** /api/v1/sso/saml2/{samlConfigId} | -[**api_v1_sso_token_exchange_post**](DefaultApi.md#api_v1_sso_token_exchange_post) | **POST** /api/v1/sso/token-exchange | -[**api_v1_user_action_get**](DefaultApi.md#api_v1_user_action_get) | **GET** /api/v1/user-action | -[**api_v1_user_action_post**](DefaultApi.md#api_v1_user_action_post) | **POST** /api/v1/user-action | -[**api_v1_user_engagement_me_wish_post**](DefaultApi.md#api_v1_user_engagement_me_wish_post) | **POST** /api/v1/user-engagement/me/wish | -[**api_v1_user_get**](DefaultApi.md#api_v1_user_get) | **GET** /api/v1/user | -[**api_v1_user_me_project_favorites_get**](DefaultApi.md#api_v1_user_me_project_favorites_get) | **GET** /api/v1/user/me/project-favorites | -[**api_v1_user_me_project_favorites_put**](DefaultApi.md#api_v1_user_me_project_favorites_put) | **PUT** /api/v1/user/me/project-favorites | -[**api_v1_user_private_key_get**](DefaultApi.md#api_v1_user_private_key_get) | **GET** /api/v1/user/private-key | -[**api_v1_user_user_id_unlock_get**](DefaultApi.md#api_v1_user_user_id_unlock_get) | **GET** /api/v1/user/{userId}/unlock | -[**api_v1_webhooks_get**](DefaultApi.md#api_v1_webhooks_get) | **GET** /api/v1/webhooks | -[**api_v1_webhooks_post**](DefaultApi.md#api_v1_webhooks_post) | **POST** /api/v1/webhooks | -[**api_v1_webhooks_webhook_id_delete**](DefaultApi.md#api_v1_webhooks_webhook_id_delete) | **DELETE** /api/v1/webhooks/{webhookId} | -[**api_v1_webhooks_webhook_id_patch**](DefaultApi.md#api_v1_webhooks_webhook_id_patch) | **PATCH** /api/v1/webhooks/{webhookId} | -[**api_v1_webhooks_webhook_id_test_post**](DefaultApi.md#api_v1_webhooks_webhook_id_test_post) | **POST** /api/v1/webhooks/{webhookId}/test | -[**api_v1_workspace_get**](DefaultApi.md#api_v1_workspace_get) | **GET** /api/v1/workspace | -[**api_v1_workspace_project_id_permissions_get**](DefaultApi.md#api_v1_workspace_project_id_permissions_get) | **GET** /api/v1/workspace/{projectId}/permissions | -[**api_v1_workspace_project_id_tags_get**](DefaultApi.md#api_v1_workspace_project_id_tags_get) | **GET** /api/v1/workspace/{projectId}/tags | -[**api_v1_workspace_project_id_tags_post**](DefaultApi.md#api_v1_workspace_project_id_tags_post) | **POST** /api/v1/workspace/{projectId}/tags | -[**api_v1_workspace_project_id_tags_slug_tag_slug_get**](DefaultApi.md#api_v1_workspace_project_id_tags_slug_tag_slug_get) | **GET** /api/v1/workspace/{projectId}/tags/slug/{tagSlug} | -[**api_v1_workspace_project_id_tags_tag_id_delete**](DefaultApi.md#api_v1_workspace_project_id_tags_tag_id_delete) | **DELETE** /api/v1/workspace/{projectId}/tags/{tagId} | -[**api_v1_workspace_project_id_tags_tag_id_get**](DefaultApi.md#api_v1_workspace_project_id_tags_tag_id_get) | **GET** /api/v1/workspace/{projectId}/tags/{tagId} | -[**api_v1_workspace_project_id_tags_tag_id_patch**](DefaultApi.md#api_v1_workspace_project_id_tags_tag_id_patch) | **PATCH** /api/v1/workspace/{projectId}/tags/{tagId} | -[**api_v1_workspace_project_slug_roles_get**](DefaultApi.md#api_v1_workspace_project_slug_roles_get) | **GET** /api/v1/workspace/{projectSlug}/roles | -[**api_v1_workspace_project_slug_roles_post**](DefaultApi.md#api_v1_workspace_project_slug_roles_post) | **POST** /api/v1/workspace/{projectSlug}/roles | -[**api_v1_workspace_project_slug_roles_role_id_delete**](DefaultApi.md#api_v1_workspace_project_slug_roles_role_id_delete) | **DELETE** /api/v1/workspace/{projectSlug}/roles/{roleId} | -[**api_v1_workspace_project_slug_roles_role_id_patch**](DefaultApi.md#api_v1_workspace_project_slug_roles_role_id_patch) | **PATCH** /api/v1/workspace/{projectSlug}/roles/{roleId} | -[**api_v1_workspace_project_slug_roles_slug_slug_get**](DefaultApi.md#api_v1_workspace_project_slug_roles_slug_slug_get) | **GET** /api/v1/workspace/{projectSlug}/roles/slug/{slug} | -[**api_v1_workspace_workspace_id_audit_logs_filters_actors_get**](DefaultApi.md#api_v1_workspace_workspace_id_audit_logs_filters_actors_get) | **GET** /api/v1/workspace/{workspaceId}/audit-logs/filters/actors | -[**api_v1_workspace_workspace_id_audit_logs_get**](DefaultApi.md#api_v1_workspace_workspace_id_audit_logs_get) | **GET** /api/v1/workspace/{workspaceId}/audit-logs | -[**api_v1_workspace_workspace_id_authorizations_get**](DefaultApi.md#api_v1_workspace_workspace_id_authorizations_get) | **GET** /api/v1/workspace/{workspaceId}/authorizations | -[**api_v1_workspace_workspace_id_auto_capitalization_post**](DefaultApi.md#api_v1_workspace_workspace_id_auto_capitalization_post) | **POST** /api/v1/workspace/{workspaceId}/auto-capitalization | -[**api_v1_workspace_workspace_id_delete**](DefaultApi.md#api_v1_workspace_workspace_id_delete) | **DELETE** /api/v1/workspace/{workspaceId} | -[**api_v1_workspace_workspace_id_environments_env_id_get**](DefaultApi.md#api_v1_workspace_workspace_id_environments_env_id_get) | **GET** /api/v1/workspace/{workspaceId}/environments/{envId} | -[**api_v1_workspace_workspace_id_environments_id_delete**](DefaultApi.md#api_v1_workspace_workspace_id_environments_id_delete) | **DELETE** /api/v1/workspace/{workspaceId}/environments/{id} | -[**api_v1_workspace_workspace_id_environments_id_patch**](DefaultApi.md#api_v1_workspace_workspace_id_environments_id_patch) | **PATCH** /api/v1/workspace/{workspaceId}/environments/{id} | -[**api_v1_workspace_workspace_id_environments_post**](DefaultApi.md#api_v1_workspace_workspace_id_environments_post) | **POST** /api/v1/workspace/{workspaceId}/environments | -[**api_v1_workspace_workspace_id_get**](DefaultApi.md#api_v1_workspace_workspace_id_get) | **GET** /api/v1/workspace/{workspaceId} | -[**api_v1_workspace_workspace_id_integrations_get**](DefaultApi.md#api_v1_workspace_workspace_id_integrations_get) | **GET** /api/v1/workspace/{workspaceId}/integrations | -[**api_v1_workspace_workspace_id_key_post**](DefaultApi.md#api_v1_workspace_workspace_id_key_post) | **POST** /api/v1/workspace/{workspaceId}/key | -[**api_v1_workspace_workspace_id_keys_get**](DefaultApi.md#api_v1_workspace_workspace_id_keys_get) | **GET** /api/v1/workspace/{workspaceId}/keys | -[**api_v1_workspace_workspace_id_kms_backup_get**](DefaultApi.md#api_v1_workspace_workspace_id_kms_backup_get) | **GET** /api/v1/workspace/{workspaceId}/kms/backup | -[**api_v1_workspace_workspace_id_kms_backup_post**](DefaultApi.md#api_v1_workspace_workspace_id_kms_backup_post) | **POST** /api/v1/workspace/{workspaceId}/kms/backup | -[**api_v1_workspace_workspace_id_kms_get**](DefaultApi.md#api_v1_workspace_workspace_id_kms_get) | **GET** /api/v1/workspace/{workspaceId}/kms | -[**api_v1_workspace_workspace_id_kms_patch**](DefaultApi.md#api_v1_workspace_workspace_id_kms_patch) | **PATCH** /api/v1/workspace/{workspaceId}/kms | -[**api_v1_workspace_workspace_id_leave_delete**](DefaultApi.md#api_v1_workspace_workspace_id_leave_delete) | **DELETE** /api/v1/workspace/{workspaceId}/leave | -[**api_v1_workspace_workspace_id_memberships_details_post**](DefaultApi.md#api_v1_workspace_workspace_id_memberships_details_post) | **POST** /api/v1/workspace/{workspaceId}/memberships/details | -[**api_v1_workspace_workspace_id_memberships_get**](DefaultApi.md#api_v1_workspace_workspace_id_memberships_get) | **GET** /api/v1/workspace/{workspaceId}/memberships | -[**api_v1_workspace_workspace_id_memberships_membership_id_delete**](DefaultApi.md#api_v1_workspace_workspace_id_memberships_membership_id_delete) | **DELETE** /api/v1/workspace/{workspaceId}/memberships/{membershipId} | -[**api_v1_workspace_workspace_id_memberships_membership_id_patch**](DefaultApi.md#api_v1_workspace_workspace_id_memberships_membership_id_patch) | **PATCH** /api/v1/workspace/{workspaceId}/memberships/{membershipId} | -[**api_v1_workspace_workspace_id_memberships_post**](DefaultApi.md#api_v1_workspace_workspace_id_memberships_post) | **POST** /api/v1/workspace/{workspaceId}/memberships | -[**api_v1_workspace_workspace_id_migrate_v3_post**](DefaultApi.md#api_v1_workspace_workspace_id_migrate_v3_post) | **POST** /api/v1/workspace/{workspaceId}/migrate-v3 | -[**api_v1_workspace_workspace_id_name_post**](DefaultApi.md#api_v1_workspace_workspace_id_name_post) | **POST** /api/v1/workspace/{workspaceId}/name | -[**api_v1_workspace_workspace_id_patch**](DefaultApi.md#api_v1_workspace_workspace_id_patch) | **PATCH** /api/v1/workspace/{workspaceId} | -[**api_v1_workspace_workspace_id_secret_snapshots_count_get**](DefaultApi.md#api_v1_workspace_workspace_id_secret_snapshots_count_get) | **GET** /api/v1/workspace/{workspaceId}/secret-snapshots/count | -[**api_v1_workspace_workspace_id_secret_snapshots_get**](DefaultApi.md#api_v1_workspace_workspace_id_secret_snapshots_get) | **GET** /api/v1/workspace/{workspaceId}/secret-snapshots | -[**api_v1_workspace_workspace_id_service_token_data_get**](DefaultApi.md#api_v1_workspace_workspace_id_service_token_data_get) | **GET** /api/v1/workspace/{workspaceId}/service-token-data | -[**api_v1_workspace_workspace_id_trusted_ips_get**](DefaultApi.md#api_v1_workspace_workspace_id_trusted_ips_get) | **GET** /api/v1/workspace/{workspaceId}/trusted-ips | -[**api_v1_workspace_workspace_id_trusted_ips_post**](DefaultApi.md#api_v1_workspace_workspace_id_trusted_ips_post) | **POST** /api/v1/workspace/{workspaceId}/trusted-ips | -[**api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete**](DefaultApi.md#api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete) | **DELETE** /api/v1/workspace/{workspaceId}/trusted-ips/{trustedIpId} | -[**api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch**](DefaultApi.md#api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch) | **PATCH** /api/v1/workspace/{workspaceId}/trusted-ips/{trustedIpId} | -[**api_v1_workspace_workspace_id_users_get**](DefaultApi.md#api_v1_workspace_workspace_id_users_get) | **GET** /api/v1/workspace/{workspaceId}/users | -[**api_v1_workspace_workspace_slug_audit_logs_retention_put**](DefaultApi.md#api_v1_workspace_workspace_slug_audit_logs_retention_put) | **PUT** /api/v1/workspace/{workspaceSlug}/audit-logs-retention | -[**api_v1_workspace_workspace_slug_version_limit_put**](DefaultApi.md#api_v1_workspace_workspace_slug_version_limit_put) | **PUT** /api/v1/workspace/{workspaceSlug}/version-limit | -[**api_v2_auth_mfa_send_post**](DefaultApi.md#api_v2_auth_mfa_send_post) | **POST** /api/v2/auth/mfa/send | -[**api_v2_auth_mfa_verify_post**](DefaultApi.md#api_v2_auth_mfa_verify_post) | **POST** /api/v2/auth/mfa/verify | -[**api_v2_organizations_org_id_identity_memberships_get**](DefaultApi.md#api_v2_organizations_org_id_identity_memberships_get) | **GET** /api/v2/organizations/{orgId}/identity-memberships | -[**api_v2_organizations_organization_id_delete**](DefaultApi.md#api_v2_organizations_organization_id_delete) | **DELETE** /api/v2/organizations/{organizationId} | -[**api_v2_organizations_organization_id_memberships_get**](DefaultApi.md#api_v2_organizations_organization_id_memberships_get) | **GET** /api/v2/organizations/{organizationId}/memberships | -[**api_v2_organizations_organization_id_memberships_membership_id_delete**](DefaultApi.md#api_v2_organizations_organization_id_memberships_membership_id_delete) | **DELETE** /api/v2/organizations/{organizationId}/memberships/{membershipId} | -[**api_v2_organizations_organization_id_memberships_membership_id_get**](DefaultApi.md#api_v2_organizations_organization_id_memberships_membership_id_get) | **GET** /api/v2/organizations/{organizationId}/memberships/{membershipId} | -[**api_v2_organizations_organization_id_memberships_membership_id_patch**](DefaultApi.md#api_v2_organizations_organization_id_memberships_membership_id_patch) | **PATCH** /api/v2/organizations/{organizationId}/memberships/{membershipId} | -[**api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get**](DefaultApi.md#api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get) | **GET** /api/v2/organizations/{organizationId}/memberships/{membershipId}/project-memberships | -[**api_v2_organizations_organization_id_workspaces_get**](DefaultApi.md#api_v2_organizations_organization_id_workspaces_get) | **GET** /api/v2/organizations/{organizationId}/workspaces | -[**api_v2_organizations_post**](DefaultApi.md#api_v2_organizations_post) | **POST** /api/v2/organizations | -[**api_v2_service_token_get**](DefaultApi.md#api_v2_service_token_get) | **GET** /api/v2/service-token | -[**api_v2_service_token_post**](DefaultApi.md#api_v2_service_token_post) | **POST** /api/v2/service-token | -[**api_v2_service_token_service_token_id_delete**](DefaultApi.md#api_v2_service_token_service_token_id_delete) | **DELETE** /api/v2/service-token/{serviceTokenId} | -[**api_v2_users_me_api_keys_api_key_data_id_delete**](DefaultApi.md#api_v2_users_me_api_keys_api_key_data_id_delete) | **DELETE** /api/v2/users/me/api-keys/{apiKeyDataId} | -[**api_v2_users_me_api_keys_get**](DefaultApi.md#api_v2_users_me_api_keys_get) | **GET** /api/v2/users/me/api-keys | -[**api_v2_users_me_api_keys_post**](DefaultApi.md#api_v2_users_me_api_keys_post) | **POST** /api/v2/users/me/api-keys | -[**api_v2_users_me_auth_methods_put**](DefaultApi.md#api_v2_users_me_auth_methods_put) | **PUT** /api/v2/users/me/auth-methods | -[**api_v2_users_me_delete**](DefaultApi.md#api_v2_users_me_delete) | **DELETE** /api/v2/users/me | -[**api_v2_users_me_emails_code_post**](DefaultApi.md#api_v2_users_me_emails_code_post) | **POST** /api/v2/users/me/emails/code | -[**api_v2_users_me_emails_verify_post**](DefaultApi.md#api_v2_users_me_emails_verify_post) | **POST** /api/v2/users/me/emails/verify | -[**api_v2_users_me_get**](DefaultApi.md#api_v2_users_me_get) | **GET** /api/v2/users/me | -[**api_v2_users_me_mfa_patch**](DefaultApi.md#api_v2_users_me_mfa_patch) | **PATCH** /api/v2/users/me/mfa | -[**api_v2_users_me_name_patch**](DefaultApi.md#api_v2_users_me_name_patch) | **PATCH** /api/v2/users/me/name | -[**api_v2_users_me_organizations_get**](DefaultApi.md#api_v2_users_me_organizations_get) | **GET** /api/v2/users/me/organizations | -[**api_v2_users_me_sessions_delete**](DefaultApi.md#api_v2_users_me_sessions_delete) | **DELETE** /api/v2/users/me/sessions | -[**api_v2_users_me_sessions_get**](DefaultApi.md#api_v2_users_me_sessions_get) | **GET** /api/v2/users/me/sessions | -[**api_v2_workspace_post**](DefaultApi.md#api_v2_workspace_post) | **POST** /api/v2/workspace | -[**api_v2_workspace_project_id_identity_memberships_get**](DefaultApi.md#api_v2_workspace_project_id_identity_memberships_get) | **GET** /api/v2/workspace/{projectId}/identity-memberships | -[**api_v2_workspace_project_id_identity_memberships_identity_id_delete**](DefaultApi.md#api_v2_workspace_project_id_identity_memberships_identity_id_delete) | **DELETE** /api/v2/workspace/{projectId}/identity-memberships/{identityId} | -[**api_v2_workspace_project_id_identity_memberships_identity_id_get**](DefaultApi.md#api_v2_workspace_project_id_identity_memberships_identity_id_get) | **GET** /api/v2/workspace/{projectId}/identity-memberships/{identityId} | -[**api_v2_workspace_project_id_identity_memberships_identity_id_patch**](DefaultApi.md#api_v2_workspace_project_id_identity_memberships_identity_id_patch) | **PATCH** /api/v2/workspace/{projectId}/identity-memberships/{identityId} | -[**api_v2_workspace_project_id_identity_memberships_identity_id_post**](DefaultApi.md#api_v2_workspace_project_id_identity_memberships_identity_id_post) | **POST** /api/v2/workspace/{projectId}/identity-memberships/{identityId} | -[**api_v2_workspace_project_id_memberships_delete**](DefaultApi.md#api_v2_workspace_project_id_memberships_delete) | **DELETE** /api/v2/workspace/{projectId}/memberships | -[**api_v2_workspace_project_id_memberships_post**](DefaultApi.md#api_v2_workspace_project_id_memberships_post) | **POST** /api/v2/workspace/{projectId}/memberships | -[**api_v2_workspace_project_id_upgrade_post**](DefaultApi.md#api_v2_workspace_project_id_upgrade_post) | **POST** /api/v2/workspace/{projectId}/upgrade | -[**api_v2_workspace_project_id_upgrade_status_get**](DefaultApi.md#api_v2_workspace_project_id_upgrade_status_get) | **GET** /api/v2/workspace/{projectId}/upgrade/status | -[**api_v2_workspace_project_slug_groups_get**](DefaultApi.md#api_v2_workspace_project_slug_groups_get) | **GET** /api/v2/workspace/{projectSlug}/groups | -[**api_v2_workspace_project_slug_groups_group_slug_delete**](DefaultApi.md#api_v2_workspace_project_slug_groups_group_slug_delete) | **DELETE** /api/v2/workspace/{projectSlug}/groups/{groupSlug} | -[**api_v2_workspace_project_slug_groups_group_slug_patch**](DefaultApi.md#api_v2_workspace_project_slug_groups_group_slug_patch) | **PATCH** /api/v2/workspace/{projectSlug}/groups/{groupSlug} | -[**api_v2_workspace_project_slug_groups_group_slug_post**](DefaultApi.md#api_v2_workspace_project_slug_groups_group_slug_post) | **POST** /api/v2/workspace/{projectSlug}/groups/{groupSlug} | -[**api_v2_workspace_slug_cas_get**](DefaultApi.md#api_v2_workspace_slug_cas_get) | **GET** /api/v2/workspace/{slug}/cas | -[**api_v2_workspace_slug_certificates_get**](DefaultApi.md#api_v2_workspace_slug_certificates_get) | **GET** /api/v2/workspace/{slug}/certificates | -[**api_v2_workspace_slug_delete**](DefaultApi.md#api_v2_workspace_slug_delete) | **DELETE** /api/v2/workspace/{slug} | -[**api_v2_workspace_slug_get**](DefaultApi.md#api_v2_workspace_slug_get) | **GET** /api/v2/workspace/{slug} | -[**api_v2_workspace_slug_patch**](DefaultApi.md#api_v2_workspace_slug_patch) | **PATCH** /api/v2/workspace/{slug} | -[**api_v2_workspace_workspace_id_encrypted_key_get**](DefaultApi.md#api_v2_workspace_workspace_id_encrypted_key_get) | **GET** /api/v2/workspace/{workspaceId}/encrypted-key | -[**api_v3_auth_login1_post**](DefaultApi.md#api_v3_auth_login1_post) | **POST** /api/v3/auth/login1 | -[**api_v3_auth_login2_post**](DefaultApi.md#api_v3_auth_login2_post) | **POST** /api/v3/auth/login2 | -[**api_v3_auth_select_organization_post**](DefaultApi.md#api_v3_auth_select_organization_post) | **POST** /api/v3/auth/select-organization | -[**api_v3_secrets_backfill_secret_references_post**](DefaultApi.md#api_v3_secrets_backfill_secret_references_post) | **POST** /api/v3/secrets/backfill-secret-references | -[**api_v3_secrets_batch_delete**](DefaultApi.md#api_v3_secrets_batch_delete) | **DELETE** /api/v3/secrets/batch | -[**api_v3_secrets_batch_patch**](DefaultApi.md#api_v3_secrets_batch_patch) | **PATCH** /api/v3/secrets/batch | -[**api_v3_secrets_batch_post**](DefaultApi.md#api_v3_secrets_batch_post) | **POST** /api/v3/secrets/batch | -[**api_v3_secrets_batch_raw_delete**](DefaultApi.md#api_v3_secrets_batch_raw_delete) | **DELETE** /api/v3/secrets/batch/raw | -[**api_v3_secrets_batch_raw_patch**](DefaultApi.md#api_v3_secrets_batch_raw_patch) | **PATCH** /api/v3/secrets/batch/raw | -[**api_v3_secrets_batch_raw_post**](DefaultApi.md#api_v3_secrets_batch_raw_post) | **POST** /api/v3/secrets/batch/raw | -[**api_v3_secrets_get**](DefaultApi.md#api_v3_secrets_get) | **GET** /api/v3/secrets | -[**api_v3_secrets_move_post**](DefaultApi.md#api_v3_secrets_move_post) | **POST** /api/v3/secrets/move | -[**api_v3_secrets_raw_get**](DefaultApi.md#api_v3_secrets_raw_get) | **GET** /api/v3/secrets/raw | -[**api_v3_secrets_raw_secret_name_delete**](DefaultApi.md#api_v3_secrets_raw_secret_name_delete) | **DELETE** /api/v3/secrets/raw/{secretName} | -[**api_v3_secrets_raw_secret_name_get**](DefaultApi.md#api_v3_secrets_raw_secret_name_get) | **GET** /api/v3/secrets/raw/{secretName} | -[**api_v3_secrets_raw_secret_name_patch**](DefaultApi.md#api_v3_secrets_raw_secret_name_patch) | **PATCH** /api/v3/secrets/raw/{secretName} | -[**api_v3_secrets_raw_secret_name_post**](DefaultApi.md#api_v3_secrets_raw_secret_name_post) | **POST** /api/v3/secrets/raw/{secretName} | -[**api_v3_secrets_secret_name_delete**](DefaultApi.md#api_v3_secrets_secret_name_delete) | **DELETE** /api/v3/secrets/{secretName} | -[**api_v3_secrets_secret_name_get**](DefaultApi.md#api_v3_secrets_secret_name_get) | **GET** /api/v3/secrets/{secretName} | -[**api_v3_secrets_secret_name_patch**](DefaultApi.md#api_v3_secrets_secret_name_patch) | **PATCH** /api/v3/secrets/{secretName} | -[**api_v3_secrets_secret_name_post**](DefaultApi.md#api_v3_secrets_secret_name_post) | **POST** /api/v3/secrets/{secretName} | -[**api_v3_secrets_tags_secret_name_delete**](DefaultApi.md#api_v3_secrets_tags_secret_name_delete) | **DELETE** /api/v3/secrets/tags/{secretName} | -[**api_v3_secrets_tags_secret_name_post**](DefaultApi.md#api_v3_secrets_tags_secret_name_post) | **POST** /api/v3/secrets/tags/{secretName} | -[**api_v3_signup_complete_account_invite_post**](DefaultApi.md#api_v3_signup_complete_account_invite_post) | **POST** /api/v3/signup/complete-account/invite | -[**api_v3_signup_complete_account_signup_post**](DefaultApi.md#api_v3_signup_complete_account_signup_post) | **POST** /api/v3/signup/complete-account/signup | -[**api_v3_signup_email_signup_post**](DefaultApi.md#api_v3_signup_email_signup_post) | **POST** /api/v3/signup/email/signup | -[**api_v3_signup_email_verify_post**](DefaultApi.md#api_v3_signup_email_verify_post) | **POST** /api/v3/signup/email/verify | -[**api_v3_users_me_api_keys_get**](DefaultApi.md#api_v3_users_me_api_keys_get) | **GET** /api/v3/users/me/api-keys | -[**api_v3_workspaces_project_id_secrets_blind_index_status_get**](DefaultApi.md#api_v3_workspaces_project_id_secrets_blind_index_status_get) | **GET** /api/v3/workspaces/{projectId}/secrets/blind-index-status | -[**api_v3_workspaces_project_id_secrets_get**](DefaultApi.md#api_v3_workspaces_project_id_secrets_get) | **GET** /api/v3/workspaces/{projectId}/secrets | -[**api_v3_workspaces_project_id_secrets_names_post**](DefaultApi.md#api_v3_workspaces_project_id_secrets_names_post) | **POST** /api/v3/workspaces/{projectId}/secrets/names | - - -# **api_status_get** -> ApiStatusGet200Response api_status_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_status_get200_response import ApiStatusGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_status_get() - print("The response of DefaultApi->api_status_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_status_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiStatusGet200Response**](ApiStatusGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_access_approvals_policies_count_get** -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response api_v1_access_approvals_policies_count_get(project_slug, env_slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_count_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | - env_slug = 'env_slug_example' # str | - - try: - api_response = api_instance.api_v1_access_approvals_policies_count_get(project_slug, env_slug) - print("The response of DefaultApi->api_v1_access_approvals_policies_count_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_access_approvals_policies_count_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| | - **env_slug** | **str**| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response**](ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_access_approvals_policies_get** -> ApiV1AccessApprovalsPoliciesGet200Response api_v1_access_approvals_policies_get(project_slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response import ApiV1AccessApprovalsPoliciesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | - - try: - api_response = api_instance.api_v1_access_approvals_policies_get(project_slug) - print("The response of DefaultApi->api_v1_access_approvals_policies_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_access_approvals_policies_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| | - -### Return type - -[**ApiV1AccessApprovalsPoliciesGet200Response**](ApiV1AccessApprovalsPoliciesGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_access_approvals_policies_policy_id_delete** -> ApiV1SecretApprovalsPost200Response api_v1_access_approvals_policies_policy_id_delete(policy_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - policy_id = 'policy_id_example' # str | - - try: - api_response = api_instance.api_v1_access_approvals_policies_policy_id_delete(policy_id) - print("The response of DefaultApi->api_v1_access_approvals_policies_policy_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_access_approvals_policies_policy_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **policy_id** | **str**| | - -### Return type - -[**ApiV1SecretApprovalsPost200Response**](ApiV1SecretApprovalsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_access_approvals_policies_policy_id_patch** -> ApiV1SecretApprovalsPost200Response api_v1_access_approvals_policies_policy_id_patch(policy_id, api_v1_access_approvals_policies_policy_id_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_access_approvals_policies_policy_id_patch_request import ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - policy_id = 'policy_id_example' # str | - api_v1_access_approvals_policies_policy_id_patch_request = infisicalapi_client.ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest() # ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest | - - try: - api_response = api_instance.api_v1_access_approvals_policies_policy_id_patch(policy_id, api_v1_access_approvals_policies_policy_id_patch_request) - print("The response of DefaultApi->api_v1_access_approvals_policies_policy_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_access_approvals_policies_policy_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **policy_id** | **str**| | - **api_v1_access_approvals_policies_policy_id_patch_request** | [**ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest**](ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.md)| | - -### Return type - -[**ApiV1SecretApprovalsPost200Response**](ApiV1SecretApprovalsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_access_approvals_policies_post** -> ApiV1SecretApprovalsPost200Response api_v1_access_approvals_policies_post(api_v1_access_approvals_policies_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_access_approvals_policies_post_request import ApiV1AccessApprovalsPoliciesPostRequest -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_access_approvals_policies_post_request = infisicalapi_client.ApiV1AccessApprovalsPoliciesPostRequest() # ApiV1AccessApprovalsPoliciesPostRequest | - - try: - api_response = api_instance.api_v1_access_approvals_policies_post(api_v1_access_approvals_policies_post_request) - print("The response of DefaultApi->api_v1_access_approvals_policies_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_access_approvals_policies_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_access_approvals_policies_post_request** | [**ApiV1AccessApprovalsPoliciesPostRequest**](ApiV1AccessApprovalsPoliciesPostRequest.md)| | - -### Return type - -[**ApiV1SecretApprovalsPost200Response**](ApiV1SecretApprovalsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_access_approvals_requests_count_get** -> ApiV1AccessApprovalsRequestsCountGet200Response api_v1_access_approvals_requests_count_get(project_slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_access_approvals_requests_count_get200_response import ApiV1AccessApprovalsRequestsCountGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | - - try: - api_response = api_instance.api_v1_access_approvals_requests_count_get(project_slug) - print("The response of DefaultApi->api_v1_access_approvals_requests_count_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_access_approvals_requests_count_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| | - -### Return type - -[**ApiV1AccessApprovalsRequestsCountGet200Response**](ApiV1AccessApprovalsRequestsCountGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_access_approvals_requests_get** -> ApiV1AccessApprovalsRequestsGet200Response api_v1_access_approvals_requests_get(project_slug, author_project_membership_id=author_project_membership_id, env_slug=env_slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response import ApiV1AccessApprovalsRequestsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | - author_project_membership_id = 'author_project_membership_id_example' # str | (optional) - env_slug = 'env_slug_example' # str | (optional) - - try: - api_response = api_instance.api_v1_access_approvals_requests_get(project_slug, author_project_membership_id=author_project_membership_id, env_slug=env_slug) - print("The response of DefaultApi->api_v1_access_approvals_requests_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_access_approvals_requests_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| | - **author_project_membership_id** | **str**| | [optional] - **env_slug** | **str**| | [optional] - -### Return type - -[**ApiV1AccessApprovalsRequestsGet200Response**](ApiV1AccessApprovalsRequestsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_access_approvals_requests_post** -> ApiV1AccessApprovalsRequestsPost200Response api_v1_access_approvals_requests_post(project_slug, api_v1_access_approvals_requests_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response import ApiV1AccessApprovalsRequestsPost200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_post_request import ApiV1AccessApprovalsRequestsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | - api_v1_access_approvals_requests_post_request = infisicalapi_client.ApiV1AccessApprovalsRequestsPostRequest() # ApiV1AccessApprovalsRequestsPostRequest | - - try: - api_response = api_instance.api_v1_access_approvals_requests_post(project_slug, api_v1_access_approvals_requests_post_request) - print("The response of DefaultApi->api_v1_access_approvals_requests_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_access_approvals_requests_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| | - **api_v1_access_approvals_requests_post_request** | [**ApiV1AccessApprovalsRequestsPostRequest**](ApiV1AccessApprovalsRequestsPostRequest.md)| | - -### Return type - -[**ApiV1AccessApprovalsRequestsPost200Response**](ApiV1AccessApprovalsRequestsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_access_approvals_requests_request_id_review_post** -> ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response api_v1_access_approvals_requests_request_id_review_post(request_id, api_v1_secret_approval_requests_id_review_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response import ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post_request import ApiV1SecretApprovalRequestsIdReviewPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - request_id = 'request_id_example' # str | - api_v1_secret_approval_requests_id_review_post_request = infisicalapi_client.ApiV1SecretApprovalRequestsIdReviewPostRequest() # ApiV1SecretApprovalRequestsIdReviewPostRequest | - - try: - api_response = api_instance.api_v1_access_approvals_requests_request_id_review_post(request_id, api_v1_secret_approval_requests_id_review_post_request) - print("The response of DefaultApi->api_v1_access_approvals_requests_request_id_review_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_access_approvals_requests_request_id_review_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request_id** | **str**| | - **api_v1_secret_approval_requests_id_review_post_request** | [**ApiV1SecretApprovalRequestsIdReviewPostRequest**](ApiV1SecretApprovalRequestsIdReviewPostRequest.md)| | - -### Return type - -[**ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response**](ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_identity_delete** -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response api_v1_additional_privilege_identity_delete(api_v1_additional_privilege_identity_delete_request) - - - -Delete a specific privilege of an identity. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_identity_delete_request import ApiV1AdditionalPrivilegeIdentityDeleteRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response import ApiV1AdditionalPrivilegeIdentityPermanentPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_additional_privilege_identity_delete_request = infisicalapi_client.ApiV1AdditionalPrivilegeIdentityDeleteRequest() # ApiV1AdditionalPrivilegeIdentityDeleteRequest | - - try: - api_response = api_instance.api_v1_additional_privilege_identity_delete(api_v1_additional_privilege_identity_delete_request) - print("The response of DefaultApi->api_v1_additional_privilege_identity_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_identity_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_additional_privilege_identity_delete_request** | [**ApiV1AdditionalPrivilegeIdentityDeleteRequest**](ApiV1AdditionalPrivilegeIdentityDeleteRequest.md)| | - -### Return type - -[**ApiV1AdditionalPrivilegeIdentityPermanentPost200Response**](ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_identity_get** -> ApiV1AdditionalPrivilegeIdentityGet200Response api_v1_additional_privilege_identity_get(identity_id, project_slug) - - - -List of a specific privilege of an identity in a project. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_identity_get200_response import ApiV1AdditionalPrivilegeIdentityGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to list. - project_slug = 'project_slug_example' # str | The slug of the project of the identity in. - - try: - api_response = api_instance.api_v1_additional_privilege_identity_get(identity_id, project_slug) - print("The response of DefaultApi->api_v1_additional_privilege_identity_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_identity_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to list. | - **project_slug** | **str**| The slug of the project of the identity in. | - -### Return type - -[**ApiV1AdditionalPrivilegeIdentityGet200Response**](ApiV1AdditionalPrivilegeIdentityGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_identity_patch** -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response api_v1_additional_privilege_identity_patch(api_v1_additional_privilege_identity_patch_request) - - - -Update a specific privilege of an identity. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request import ApiV1AdditionalPrivilegeIdentityPatchRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response import ApiV1AdditionalPrivilegeIdentityPermanentPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_additional_privilege_identity_patch_request = infisicalapi_client.ApiV1AdditionalPrivilegeIdentityPatchRequest() # ApiV1AdditionalPrivilegeIdentityPatchRequest | - - try: - api_response = api_instance.api_v1_additional_privilege_identity_patch(api_v1_additional_privilege_identity_patch_request) - print("The response of DefaultApi->api_v1_additional_privilege_identity_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_identity_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_additional_privilege_identity_patch_request** | [**ApiV1AdditionalPrivilegeIdentityPatchRequest**](ApiV1AdditionalPrivilegeIdentityPatchRequest.md)| | - -### Return type - -[**ApiV1AdditionalPrivilegeIdentityPermanentPost200Response**](ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_identity_permanent_post** -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response api_v1_additional_privilege_identity_permanent_post(api_v1_additional_privilege_identity_permanent_post_request) - - - -Create a permanent or a non expiry specific privilege for identity. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response import ApiV1AdditionalPrivilegeIdentityPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request import ApiV1AdditionalPrivilegeIdentityPermanentPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_additional_privilege_identity_permanent_post_request = infisicalapi_client.ApiV1AdditionalPrivilegeIdentityPermanentPostRequest() # ApiV1AdditionalPrivilegeIdentityPermanentPostRequest | - - try: - api_response = api_instance.api_v1_additional_privilege_identity_permanent_post(api_v1_additional_privilege_identity_permanent_post_request) - print("The response of DefaultApi->api_v1_additional_privilege_identity_permanent_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_identity_permanent_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_additional_privilege_identity_permanent_post_request** | [**ApiV1AdditionalPrivilegeIdentityPermanentPostRequest**](ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.md)| | - -### Return type - -[**ApiV1AdditionalPrivilegeIdentityPermanentPost200Response**](ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_identity_privilege_slug_get** -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response api_v1_additional_privilege_identity_privilege_slug_get(identity_id, project_slug, privilege_slug) - - - -Retrieve details of a specific privilege by privilege slug. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response import ApiV1AdditionalPrivilegeIdentityPermanentPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to list. - project_slug = 'project_slug_example' # str | The slug of the project of the identity in. - privilege_slug = 'privilege_slug_example' # str | The slug of the privilege. - - try: - api_response = api_instance.api_v1_additional_privilege_identity_privilege_slug_get(identity_id, project_slug, privilege_slug) - print("The response of DefaultApi->api_v1_additional_privilege_identity_privilege_slug_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_identity_privilege_slug_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to list. | - **project_slug** | **str**| The slug of the project of the identity in. | - **privilege_slug** | **str**| The slug of the privilege. | - -### Return type - -[**ApiV1AdditionalPrivilegeIdentityPermanentPost200Response**](ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_identity_temporary_post** -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response api_v1_additional_privilege_identity_temporary_post(api_v1_additional_privilege_identity_temporary_post_request) - - - -Create a temporary or a expiring specific privilege for identity. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response import ApiV1AdditionalPrivilegeIdentityPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_identity_temporary_post_request import ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_additional_privilege_identity_temporary_post_request = infisicalapi_client.ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest() # ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest | - - try: - api_response = api_instance.api_v1_additional_privilege_identity_temporary_post(api_v1_additional_privilege_identity_temporary_post_request) - print("The response of DefaultApi->api_v1_additional_privilege_identity_temporary_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_identity_temporary_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_additional_privilege_identity_temporary_post_request** | [**ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest**](ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.md)| | - -### Return type - -[**ApiV1AdditionalPrivilegeIdentityPermanentPost200Response**](ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_users_get** -> ApiV1AdditionalPrivilegeUsersGet200Response api_v1_additional_privilege_users_get(project_membership_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_users_get200_response import ApiV1AdditionalPrivilegeUsersGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_membership_id = 'project_membership_id_example' # str | Project membership id of user - - try: - api_response = api_instance.api_v1_additional_privilege_users_get(project_membership_id) - print("The response of DefaultApi->api_v1_additional_privilege_users_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_users_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_membership_id** | **str**| Project membership id of user | - -### Return type - -[**ApiV1AdditionalPrivilegeUsersGet200Response**](ApiV1AdditionalPrivilegeUsersGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_users_permanent_post** -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response api_v1_additional_privilege_users_permanent_post(api_v1_additional_privilege_users_permanent_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response import ApiV1AdditionalPrivilegeUsersPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post_request import ApiV1AdditionalPrivilegeUsersPermanentPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_additional_privilege_users_permanent_post_request = infisicalapi_client.ApiV1AdditionalPrivilegeUsersPermanentPostRequest() # ApiV1AdditionalPrivilegeUsersPermanentPostRequest | - - try: - api_response = api_instance.api_v1_additional_privilege_users_permanent_post(api_v1_additional_privilege_users_permanent_post_request) - print("The response of DefaultApi->api_v1_additional_privilege_users_permanent_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_users_permanent_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_additional_privilege_users_permanent_post_request** | [**ApiV1AdditionalPrivilegeUsersPermanentPostRequest**](ApiV1AdditionalPrivilegeUsersPermanentPostRequest.md)| | - -### Return type - -[**ApiV1AdditionalPrivilegeUsersPermanentPost200Response**](ApiV1AdditionalPrivilegeUsersPermanentPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_users_privilege_id_delete** -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response api_v1_additional_privilege_users_privilege_id_delete(privilege_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response import ApiV1AdditionalPrivilegeUsersPermanentPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - privilege_id = 'privilege_id_example' # str | The id of privilege object - - try: - api_response = api_instance.api_v1_additional_privilege_users_privilege_id_delete(privilege_id) - print("The response of DefaultApi->api_v1_additional_privilege_users_privilege_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_users_privilege_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **privilege_id** | **str**| The id of privilege object | - -### Return type - -[**ApiV1AdditionalPrivilegeUsersPermanentPost200Response**](ApiV1AdditionalPrivilegeUsersPermanentPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_users_privilege_id_get** -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response api_v1_additional_privilege_users_privilege_id_get(privilege_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response import ApiV1AdditionalPrivilegeUsersPermanentPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - privilege_id = 'privilege_id_example' # str | The id of privilege object - - try: - api_response = api_instance.api_v1_additional_privilege_users_privilege_id_get(privilege_id) - print("The response of DefaultApi->api_v1_additional_privilege_users_privilege_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_users_privilege_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **privilege_id** | **str**| The id of privilege object | - -### Return type - -[**ApiV1AdditionalPrivilegeUsersPermanentPost200Response**](ApiV1AdditionalPrivilegeUsersPermanentPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_users_privilege_id_patch** -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response api_v1_additional_privilege_users_privilege_id_patch(privilege_id, api_v1_additional_privilege_users_privilege_id_patch_request=api_v1_additional_privilege_users_privilege_id_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response import ApiV1AdditionalPrivilegeUsersPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_users_privilege_id_patch_request import ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - privilege_id = 'privilege_id_example' # str | The id of privilege object - api_v1_additional_privilege_users_privilege_id_patch_request = infisicalapi_client.ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest() # ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_additional_privilege_users_privilege_id_patch(privilege_id, api_v1_additional_privilege_users_privilege_id_patch_request=api_v1_additional_privilege_users_privilege_id_patch_request) - print("The response of DefaultApi->api_v1_additional_privilege_users_privilege_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_users_privilege_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **privilege_id** | **str**| The id of privilege object | - **api_v1_additional_privilege_users_privilege_id_patch_request** | [**ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest**](ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AdditionalPrivilegeUsersPermanentPost200Response**](ApiV1AdditionalPrivilegeUsersPermanentPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_additional_privilege_users_temporary_post** -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response api_v1_additional_privilege_users_temporary_post(api_v1_additional_privilege_users_temporary_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response import ApiV1AdditionalPrivilegeUsersPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_users_temporary_post_request import ApiV1AdditionalPrivilegeUsersTemporaryPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_additional_privilege_users_temporary_post_request = infisicalapi_client.ApiV1AdditionalPrivilegeUsersTemporaryPostRequest() # ApiV1AdditionalPrivilegeUsersTemporaryPostRequest | - - try: - api_response = api_instance.api_v1_additional_privilege_users_temporary_post(api_v1_additional_privilege_users_temporary_post_request) - print("The response of DefaultApi->api_v1_additional_privilege_users_temporary_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_additional_privilege_users_temporary_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_additional_privilege_users_temporary_post_request** | [**ApiV1AdditionalPrivilegeUsersTemporaryPostRequest**](ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.md)| | - -### Return type - -[**ApiV1AdditionalPrivilegeUsersPermanentPost200Response**](ApiV1AdditionalPrivilegeUsersPermanentPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_admin_config_get** -> ApiV1AdminConfigGet200Response api_v1_admin_config_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_admin_config_get200_response import ApiV1AdminConfigGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_admin_config_get() - print("The response of DefaultApi->api_v1_admin_config_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_admin_config_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1AdminConfigGet200Response**](ApiV1AdminConfigGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_admin_config_patch** -> ApiV1AdminConfigPatch200Response api_v1_admin_config_patch(api_v1_admin_config_patch_request=api_v1_admin_config_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_admin_config_patch200_response import ApiV1AdminConfigPatch200Response -from infisicalapi_client.models.api_v1_admin_config_patch_request import ApiV1AdminConfigPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_admin_config_patch_request = infisicalapi_client.ApiV1AdminConfigPatchRequest() # ApiV1AdminConfigPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_admin_config_patch(api_v1_admin_config_patch_request=api_v1_admin_config_patch_request) - print("The response of DefaultApi->api_v1_admin_config_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_admin_config_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_admin_config_patch_request** | [**ApiV1AdminConfigPatchRequest**](ApiV1AdminConfigPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AdminConfigPatch200Response**](ApiV1AdminConfigPatch200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_admin_signup_post** -> ApiV1AdminSignupPost200Response api_v1_admin_signup_post(api_v1_admin_signup_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_admin_signup_post200_response import ApiV1AdminSignupPost200Response -from infisicalapi_client.models.api_v1_admin_signup_post_request import ApiV1AdminSignupPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_admin_signup_post_request = infisicalapi_client.ApiV1AdminSignupPostRequest() # ApiV1AdminSignupPostRequest | - - try: - api_response = api_instance.api_v1_admin_signup_post(api_v1_admin_signup_post_request) - print("The response of DefaultApi->api_v1_admin_signup_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_admin_signup_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_admin_signup_post_request** | [**ApiV1AdminSignupPostRequest**](ApiV1AdminSignupPostRequest.md)| | - -### Return type - -[**ApiV1AdminSignupPost200Response**](ApiV1AdminSignupPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_admin_user_management_users_get** -> ApiV1AdminUserManagementUsersGet200Response api_v1_admin_user_management_users_get(search_term=search_term, offset=offset, limit=limit) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response import ApiV1AdminUserManagementUsersGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - search_term = '' # str | (optional) (default to '') - offset = 0 # float | (optional) (default to 0) - limit = 20 # float | (optional) (default to 20) - - try: - api_response = api_instance.api_v1_admin_user_management_users_get(search_term=search_term, offset=offset, limit=limit) - print("The response of DefaultApi->api_v1_admin_user_management_users_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_admin_user_management_users_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **search_term** | **str**| | [optional] [default to ''] - **offset** | **float**| | [optional] [default to 0] - **limit** | **float**| | [optional] [default to 20] - -### Return type - -[**ApiV1AdminUserManagementUsersGet200Response**](ApiV1AdminUserManagementUsersGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_admin_user_management_users_user_id_delete** -> ApiV1AdminUserManagementUsersUserIdDelete200Response api_v1_admin_user_management_users_user_id_delete(user_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_admin_user_management_users_user_id_delete200_response import ApiV1AdminUserManagementUsersUserIdDelete200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - user_id = 'user_id_example' # str | - - try: - api_response = api_instance.api_v1_admin_user_management_users_user_id_delete(user_id) - print("The response of DefaultApi->api_v1_admin_user_management_users_user_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_admin_user_management_users_user_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - -### Return type - -[**ApiV1AdminUserManagementUsersUserIdDelete200Response**](ApiV1AdminUserManagementUsersUserIdDelete200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_audit_log_streams_get** -> ApiV1AuditLogStreamsGet200Response api_v1_audit_log_streams_get() - - - -List Audit Log Streams. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response import ApiV1AuditLogStreamsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_audit_log_streams_get() - print("The response of DefaultApi->api_v1_audit_log_streams_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_audit_log_streams_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1AuditLogStreamsGet200Response**](ApiV1AuditLogStreamsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_audit_log_streams_id_delete** -> ApiV1AuditLogStreamsPost200Response api_v1_audit_log_streams_id_delete(id) - - - -Delete an Audit Log Stream by ID. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_audit_log_streams_post200_response import ApiV1AuditLogStreamsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | The ID of the audit log stream to delete. - - try: - api_response = api_instance.api_v1_audit_log_streams_id_delete(id) - print("The response of DefaultApi->api_v1_audit_log_streams_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_audit_log_streams_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| The ID of the audit log stream to delete. | - -### Return type - -[**ApiV1AuditLogStreamsPost200Response**](ApiV1AuditLogStreamsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_audit_log_streams_id_get** -> ApiV1AuditLogStreamsIdGet200Response api_v1_audit_log_streams_id_get(id) - - - -Get an Audit Log Stream by ID. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response import ApiV1AuditLogStreamsIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | The ID of the audit log stream to get details. - - try: - api_response = api_instance.api_v1_audit_log_streams_id_get(id) - print("The response of DefaultApi->api_v1_audit_log_streams_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_audit_log_streams_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| The ID of the audit log stream to get details. | - -### Return type - -[**ApiV1AuditLogStreamsIdGet200Response**](ApiV1AuditLogStreamsIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_audit_log_streams_id_patch** -> ApiV1AuditLogStreamsPost200Response api_v1_audit_log_streams_id_patch(id, api_v1_audit_log_streams_id_patch_request=api_v1_audit_log_streams_id_patch_request) - - - -Update an Audit Log Stream by ID. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_audit_log_streams_id_patch_request import ApiV1AuditLogStreamsIdPatchRequest -from infisicalapi_client.models.api_v1_audit_log_streams_post200_response import ApiV1AuditLogStreamsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | The ID of the audit log stream to update. - api_v1_audit_log_streams_id_patch_request = infisicalapi_client.ApiV1AuditLogStreamsIdPatchRequest() # ApiV1AuditLogStreamsIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_audit_log_streams_id_patch(id, api_v1_audit_log_streams_id_patch_request=api_v1_audit_log_streams_id_patch_request) - print("The response of DefaultApi->api_v1_audit_log_streams_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_audit_log_streams_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| The ID of the audit log stream to update. | - **api_v1_audit_log_streams_id_patch_request** | [**ApiV1AuditLogStreamsIdPatchRequest**](ApiV1AuditLogStreamsIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AuditLogStreamsPost200Response**](ApiV1AuditLogStreamsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_audit_log_streams_post** -> ApiV1AuditLogStreamsPost200Response api_v1_audit_log_streams_post(api_v1_audit_log_streams_post_request) - - - -Create an Audit Log Stream. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_audit_log_streams_post200_response import ApiV1AuditLogStreamsPost200Response -from infisicalapi_client.models.api_v1_audit_log_streams_post_request import ApiV1AuditLogStreamsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_audit_log_streams_post_request = infisicalapi_client.ApiV1AuditLogStreamsPostRequest() # ApiV1AuditLogStreamsPostRequest | - - try: - api_response = api_instance.api_v1_audit_log_streams_post(api_v1_audit_log_streams_post_request) - print("The response of DefaultApi->api_v1_audit_log_streams_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_audit_log_streams_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_audit_log_streams_post_request** | [**ApiV1AuditLogStreamsPostRequest**](ApiV1AuditLogStreamsPostRequest.md)| | - -### Return type - -[**ApiV1AuditLogStreamsPost200Response**](ApiV1AuditLogStreamsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_aws_auth_identities_identity_id_delete** -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response api_v1_auth_aws_auth_identities_identity_id_delete(identity_id) - - - -Delete AWS Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to revoke the auth method for. - - try: - api_response = api_instance.api_v1_auth_aws_auth_identities_identity_id_delete(identity_id) - print("The response of DefaultApi->api_v1_auth_aws_auth_identities_identity_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_aws_auth_identities_identity_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to revoke the auth method for. | - -### Return type - -[**ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_aws_auth_identities_identity_id_get** -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response api_v1_auth_aws_auth_identities_identity_id_get(identity_id) - - - -Retrieve AWS Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to retrieve the auth method for. - - try: - api_response = api_instance.api_v1_auth_aws_auth_identities_identity_id_get(identity_id) - print("The response of DefaultApi->api_v1_auth_aws_auth_identities_identity_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_aws_auth_identities_identity_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to retrieve the auth method for. | - -### Return type - -[**ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_aws_auth_identities_identity_id_patch** -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response api_v1_auth_aws_auth_identities_identity_id_patch(identity_id, api_v1_auth_aws_auth_identities_identity_id_patch_request=api_v1_auth_aws_auth_identities_identity_id_patch_request) - - - -Update AWS Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_patch_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to update the auth method for. - api_v1_auth_aws_auth_identities_identity_id_patch_request = infisicalapi_client.ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest() # ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_aws_auth_identities_identity_id_patch(identity_id, api_v1_auth_aws_auth_identities_identity_id_patch_request=api_v1_auth_aws_auth_identities_identity_id_patch_request) - print("The response of DefaultApi->api_v1_auth_aws_auth_identities_identity_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_aws_auth_identities_identity_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to update the auth method for. | - **api_v1_auth_aws_auth_identities_identity_id_patch_request** | [**ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest**](ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_aws_auth_identities_identity_id_post** -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response api_v1_auth_aws_auth_identities_identity_id_post(identity_id, api_v1_auth_aws_auth_identities_identity_id_post_request=api_v1_auth_aws_auth_identities_identity_id_post_request) - - - -Attach AWS Auth configuration onto identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_post_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to attach the configuration onto. - api_v1_auth_aws_auth_identities_identity_id_post_request = infisicalapi_client.ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest() # ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_aws_auth_identities_identity_id_post(identity_id, api_v1_auth_aws_auth_identities_identity_id_post_request=api_v1_auth_aws_auth_identities_identity_id_post_request) - print("The response of DefaultApi->api_v1_auth_aws_auth_identities_identity_id_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_aws_auth_identities_identity_id_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to attach the configuration onto. | - **api_v1_auth_aws_auth_identities_identity_id_post_request** | [**ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest**](ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_aws_auth_login_post** -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response api_v1_auth_aws_auth_login_post(api_v1_auth_aws_auth_login_post_request) - - - -Login with AWS Auth - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_aws_auth_login_post_request import ApiV1AuthAwsAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_auth_aws_auth_login_post_request = infisicalapi_client.ApiV1AuthAwsAuthLoginPostRequest() # ApiV1AuthAwsAuthLoginPostRequest | - - try: - api_response = api_instance.api_v1_auth_aws_auth_login_post(api_v1_auth_aws_auth_login_post_request) - print("The response of DefaultApi->api_v1_auth_aws_auth_login_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_aws_auth_login_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_auth_aws_auth_login_post_request** | [**ApiV1AuthAwsAuthLoginPostRequest**](ApiV1AuthAwsAuthLoginPostRequest.md)| | - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_azure_auth_identities_identity_id_delete** -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response api_v1_auth_azure_auth_identities_identity_id_delete(identity_id) - - - -Delete Azure Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to revoke the auth method for. - - try: - api_response = api_instance.api_v1_auth_azure_auth_identities_identity_id_delete(identity_id) - print("The response of DefaultApi->api_v1_auth_azure_auth_identities_identity_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_azure_auth_identities_identity_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to revoke the auth method for. | - -### Return type - -[**ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_azure_auth_identities_identity_id_get** -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response api_v1_auth_azure_auth_identities_identity_id_get(identity_id) - - - -Retrieve Azure Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to retrieve the auth method for. - - try: - api_response = api_instance.api_v1_auth_azure_auth_identities_identity_id_get(identity_id) - print("The response of DefaultApi->api_v1_auth_azure_auth_identities_identity_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_azure_auth_identities_identity_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to retrieve the auth method for. | - -### Return type - -[**ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_azure_auth_identities_identity_id_patch** -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response api_v1_auth_azure_auth_identities_identity_id_patch(identity_id, api_v1_auth_azure_auth_identities_identity_id_patch_request=api_v1_auth_azure_auth_identities_identity_id_patch_request) - - - -Update Azure Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_patch_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to update the auth method for. - api_v1_auth_azure_auth_identities_identity_id_patch_request = infisicalapi_client.ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest() # ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_azure_auth_identities_identity_id_patch(identity_id, api_v1_auth_azure_auth_identities_identity_id_patch_request=api_v1_auth_azure_auth_identities_identity_id_patch_request) - print("The response of DefaultApi->api_v1_auth_azure_auth_identities_identity_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_azure_auth_identities_identity_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to update the auth method for. | - **api_v1_auth_azure_auth_identities_identity_id_patch_request** | [**ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest**](ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_azure_auth_identities_identity_id_post** -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response api_v1_auth_azure_auth_identities_identity_id_post(identity_id, api_v1_auth_azure_auth_identities_identity_id_post_request) - - - -Attach Azure Auth configuration onto identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_post_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to login. - api_v1_auth_azure_auth_identities_identity_id_post_request = infisicalapi_client.ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest() # ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest | - - try: - api_response = api_instance.api_v1_auth_azure_auth_identities_identity_id_post(identity_id, api_v1_auth_azure_auth_identities_identity_id_post_request) - print("The response of DefaultApi->api_v1_auth_azure_auth_identities_identity_id_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_azure_auth_identities_identity_id_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to login. | - **api_v1_auth_azure_auth_identities_identity_id_post_request** | [**ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest**](ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.md)| | - -### Return type - -[**ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_azure_auth_login_post** -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response api_v1_auth_azure_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request) - - - -Login with Azure Auth - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_login_post_request import ApiV1AuthKubernetesAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_auth_kubernetes_auth_login_post_request = infisicalapi_client.ApiV1AuthKubernetesAuthLoginPostRequest() # ApiV1AuthKubernetesAuthLoginPostRequest | - - try: - api_response = api_instance.api_v1_auth_azure_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request) - print("The response of DefaultApi->api_v1_auth_azure_auth_login_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_azure_auth_login_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_auth_kubernetes_auth_login_post_request** | [**ApiV1AuthKubernetesAuthLoginPostRequest**](ApiV1AuthKubernetesAuthLoginPostRequest.md)| | - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_check_auth_post** -> ApiV1AuthCheckAuthPost200Response api_v1_auth_check_auth_post() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_check_auth_post200_response import ApiV1AuthCheckAuthPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_auth_check_auth_post() - print("The response of DefaultApi->api_v1_auth_check_auth_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_check_auth_post: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1AuthCheckAuthPost200Response**](ApiV1AuthCheckAuthPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_gcp_auth_identities_identity_id_delete** -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response api_v1_auth_gcp_auth_identities_identity_id_delete(identity_id) - - - -Delete GCP Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to revoke the auth method for. - - try: - api_response = api_instance.api_v1_auth_gcp_auth_identities_identity_id_delete(identity_id) - print("The response of DefaultApi->api_v1_auth_gcp_auth_identities_identity_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_gcp_auth_identities_identity_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to revoke the auth method for. | - -### Return type - -[**ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_gcp_auth_identities_identity_id_get** -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response api_v1_auth_gcp_auth_identities_identity_id_get(identity_id) - - - -Retrieve GCP Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to retrieve the auth method for. - - try: - api_response = api_instance.api_v1_auth_gcp_auth_identities_identity_id_get(identity_id) - print("The response of DefaultApi->api_v1_auth_gcp_auth_identities_identity_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_gcp_auth_identities_identity_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to retrieve the auth method for. | - -### Return type - -[**ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_gcp_auth_identities_identity_id_patch** -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response api_v1_auth_gcp_auth_identities_identity_id_patch(identity_id, api_v1_auth_gcp_auth_identities_identity_id_patch_request=api_v1_auth_gcp_auth_identities_identity_id_patch_request) - - - -Update GCP Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_patch_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to update the auth method for. - api_v1_auth_gcp_auth_identities_identity_id_patch_request = infisicalapi_client.ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest() # ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_gcp_auth_identities_identity_id_patch(identity_id, api_v1_auth_gcp_auth_identities_identity_id_patch_request=api_v1_auth_gcp_auth_identities_identity_id_patch_request) - print("The response of DefaultApi->api_v1_auth_gcp_auth_identities_identity_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_gcp_auth_identities_identity_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to update the auth method for. | - **api_v1_auth_gcp_auth_identities_identity_id_patch_request** | [**ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest**](ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_gcp_auth_identities_identity_id_post** -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response api_v1_auth_gcp_auth_identities_identity_id_post(identity_id, api_v1_auth_gcp_auth_identities_identity_id_post_request) - - - -Attach GCP Auth configuration onto identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_post_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to attach the configuration onto. - api_v1_auth_gcp_auth_identities_identity_id_post_request = infisicalapi_client.ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest() # ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest | - - try: - api_response = api_instance.api_v1_auth_gcp_auth_identities_identity_id_post(identity_id, api_v1_auth_gcp_auth_identities_identity_id_post_request) - print("The response of DefaultApi->api_v1_auth_gcp_auth_identities_identity_id_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_gcp_auth_identities_identity_id_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to attach the configuration onto. | - **api_v1_auth_gcp_auth_identities_identity_id_post_request** | [**ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest**](ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.md)| | - -### Return type - -[**ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_gcp_auth_login_post** -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response api_v1_auth_gcp_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request) - - - -Login with GCP Auth - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_login_post_request import ApiV1AuthKubernetesAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_auth_kubernetes_auth_login_post_request = infisicalapi_client.ApiV1AuthKubernetesAuthLoginPostRequest() # ApiV1AuthKubernetesAuthLoginPostRequest | - - try: - api_response = api_instance.api_v1_auth_gcp_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request) - print("The response of DefaultApi->api_v1_auth_gcp_auth_login_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_gcp_auth_login_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_auth_kubernetes_auth_login_post_request** | [**ApiV1AuthKubernetesAuthLoginPostRequest**](ApiV1AuthKubernetesAuthLoginPostRequest.md)| | - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_kubernetes_auth_identities_identity_id_delete** -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response api_v1_auth_kubernetes_auth_identities_identity_id_delete(identity_id) - - - -Delete Kubernetes Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to revoke the auth method for. - - try: - api_response = api_instance.api_v1_auth_kubernetes_auth_identities_identity_id_delete(identity_id) - print("The response of DefaultApi->api_v1_auth_kubernetes_auth_identities_identity_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_kubernetes_auth_identities_identity_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to revoke the auth method for. | - -### Return type - -[**ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response**](ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_kubernetes_auth_identities_identity_id_get** -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response api_v1_auth_kubernetes_auth_identities_identity_id_get(identity_id) - - - -Retrieve Kubernetes Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to retrieve the auth method for. - - try: - api_response = api_instance.api_v1_auth_kubernetes_auth_identities_identity_id_get(identity_id) - print("The response of DefaultApi->api_v1_auth_kubernetes_auth_identities_identity_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_kubernetes_auth_identities_identity_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to retrieve the auth method for. | - -### Return type - -[**ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_kubernetes_auth_identities_identity_id_patch** -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response api_v1_auth_kubernetes_auth_identities_identity_id_patch(identity_id, api_v1_auth_kubernetes_auth_identities_identity_id_patch_request=api_v1_auth_kubernetes_auth_identities_identity_id_patch_request) - - - -Update Kubernetes Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_patch_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to update the auth method for. - api_v1_auth_kubernetes_auth_identities_identity_id_patch_request = infisicalapi_client.ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest() # ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_kubernetes_auth_identities_identity_id_patch(identity_id, api_v1_auth_kubernetes_auth_identities_identity_id_patch_request=api_v1_auth_kubernetes_auth_identities_identity_id_patch_request) - print("The response of DefaultApi->api_v1_auth_kubernetes_auth_identities_identity_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_kubernetes_auth_identities_identity_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to update the auth method for. | - **api_v1_auth_kubernetes_auth_identities_identity_id_patch_request** | [**ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest**](ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_kubernetes_auth_identities_identity_id_post** -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response api_v1_auth_kubernetes_auth_identities_identity_id_post(identity_id, api_v1_auth_kubernetes_auth_identities_identity_id_post_request) - - - -Attach Kubernetes Auth configuration onto identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_post_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to attach the configuration onto. - api_v1_auth_kubernetes_auth_identities_identity_id_post_request = infisicalapi_client.ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest() # ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest | - - try: - api_response = api_instance.api_v1_auth_kubernetes_auth_identities_identity_id_post(identity_id, api_v1_auth_kubernetes_auth_identities_identity_id_post_request) - print("The response of DefaultApi->api_v1_auth_kubernetes_auth_identities_identity_id_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_kubernetes_auth_identities_identity_id_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to attach the configuration onto. | - **api_v1_auth_kubernetes_auth_identities_identity_id_post_request** | [**ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest**](ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.md)| | - -### Return type - -[**ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_kubernetes_auth_login_post** -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response api_v1_auth_kubernetes_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request) - - - -Login with Kubernetes Auth - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_login_post_request import ApiV1AuthKubernetesAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_auth_kubernetes_auth_login_post_request = infisicalapi_client.ApiV1AuthKubernetesAuthLoginPostRequest() # ApiV1AuthKubernetesAuthLoginPostRequest | - - try: - api_response = api_instance.api_v1_auth_kubernetes_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request) - print("The response of DefaultApi->api_v1_auth_kubernetes_auth_login_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_kubernetes_auth_login_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_auth_kubernetes_auth_login_post_request** | [**ApiV1AuthKubernetesAuthLoginPostRequest**](ApiV1AuthKubernetesAuthLoginPostRequest.md)| | - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_logout_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v1_auth_logout_post() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_auth_logout_post() - print("The response of DefaultApi->api_v1_auth_logout_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_logout_post: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_oidc_auth_identities_identity_id_delete** -> ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response api_v1_auth_oidc_auth_identities_identity_id_delete(identity_id) - - - -Delete OIDC Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to revoke the auth method for. - - try: - api_response = api_instance.api_v1_auth_oidc_auth_identities_identity_id_delete(identity_id) - print("The response of DefaultApi->api_v1_auth_oidc_auth_identities_identity_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_oidc_auth_identities_identity_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to revoke the auth method for. | - -### Return type - -[**ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response**](ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_oidc_auth_identities_identity_id_get** -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response api_v1_auth_oidc_auth_identities_identity_id_get(identity_id) - - - -Retrieve OIDC Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to retrieve the auth method for. - - try: - api_response = api_instance.api_v1_auth_oidc_auth_identities_identity_id_get(identity_id) - print("The response of DefaultApi->api_v1_auth_oidc_auth_identities_identity_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_oidc_auth_identities_identity_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to retrieve the auth method for. | - -### Return type - -[**ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_oidc_auth_identities_identity_id_patch** -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response api_v1_auth_oidc_auth_identities_identity_id_patch(identity_id, api_v1_auth_oidc_auth_identities_identity_id_patch_request=api_v1_auth_oidc_auth_identities_identity_id_patch_request) - - - -Update OIDC Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_patch_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to update the auth method for. - api_v1_auth_oidc_auth_identities_identity_id_patch_request = infisicalapi_client.ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest() # ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_oidc_auth_identities_identity_id_patch(identity_id, api_v1_auth_oidc_auth_identities_identity_id_patch_request=api_v1_auth_oidc_auth_identities_identity_id_patch_request) - print("The response of DefaultApi->api_v1_auth_oidc_auth_identities_identity_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_oidc_auth_identities_identity_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to update the auth method for. | - **api_v1_auth_oidc_auth_identities_identity_id_patch_request** | [**ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest**](ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_oidc_auth_identities_identity_id_post** -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response api_v1_auth_oidc_auth_identities_identity_id_post(identity_id, api_v1_auth_oidc_auth_identities_identity_id_post_request) - - - -Attach OIDC Auth configuration onto identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_post_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to attach the configuration onto. - api_v1_auth_oidc_auth_identities_identity_id_post_request = infisicalapi_client.ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest() # ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest | - - try: - api_response = api_instance.api_v1_auth_oidc_auth_identities_identity_id_post(identity_id, api_v1_auth_oidc_auth_identities_identity_id_post_request) - print("The response of DefaultApi->api_v1_auth_oidc_auth_identities_identity_id_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_oidc_auth_identities_identity_id_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to attach the configuration onto. | - **api_v1_auth_oidc_auth_identities_identity_id_post_request** | [**ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest**](ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.md)| | - -### Return type - -[**ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_oidc_auth_login_post** -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response api_v1_auth_oidc_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request) - - - -Login with OIDC Auth - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_login_post_request import ApiV1AuthKubernetesAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_auth_kubernetes_auth_login_post_request = infisicalapi_client.ApiV1AuthKubernetesAuthLoginPostRequest() # ApiV1AuthKubernetesAuthLoginPostRequest | - - try: - api_response = api_instance.api_v1_auth_oidc_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request) - print("The response of DefaultApi->api_v1_auth_oidc_auth_login_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_oidc_auth_login_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_auth_kubernetes_auth_login_post_request** | [**ApiV1AuthKubernetesAuthLoginPostRequest**](ApiV1AuthKubernetesAuthLoginPostRequest.md)| | - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_auth_identities_identity_id_delete** -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response api_v1_auth_token_auth_identities_identity_id_delete(identity_id) - - - -Delete Token Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to revoke the auth method for. - - try: - api_response = api_instance.api_v1_auth_token_auth_identities_identity_id_delete(identity_id) - print("The response of DefaultApi->api_v1_auth_token_auth_identities_identity_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_auth_identities_identity_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to revoke the auth method for. | - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_auth_identities_identity_id_get** -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response api_v1_auth_token_auth_identities_identity_id_get(identity_id) - - - -Retrieve Token Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to retrieve the auth method for. - - try: - api_response = api_instance.api_v1_auth_token_auth_identities_identity_id_get(identity_id) - print("The response of DefaultApi->api_v1_auth_token_auth_identities_identity_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_auth_identities_identity_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to retrieve the auth method for. | - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_auth_identities_identity_id_patch** -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response api_v1_auth_token_auth_identities_identity_id_patch(identity_id, api_v1_auth_token_auth_identities_identity_id_patch_request=api_v1_auth_token_auth_identities_identity_id_patch_request) - - - -Update Token Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_patch_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to update the auth method for. - api_v1_auth_token_auth_identities_identity_id_patch_request = infisicalapi_client.ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest() # ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_token_auth_identities_identity_id_patch(identity_id, api_v1_auth_token_auth_identities_identity_id_patch_request=api_v1_auth_token_auth_identities_identity_id_patch_request) - print("The response of DefaultApi->api_v1_auth_token_auth_identities_identity_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_auth_identities_identity_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to update the auth method for. | - **api_v1_auth_token_auth_identities_identity_id_patch_request** | [**ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest**](ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_auth_identities_identity_id_post** -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response api_v1_auth_token_auth_identities_identity_id_post(identity_id, api_v1_auth_token_auth_identities_identity_id_post_request=api_v1_auth_token_auth_identities_identity_id_post_request) - - - -Attach Token Auth configuration onto identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to attach the configuration onto. - api_v1_auth_token_auth_identities_identity_id_post_request = infisicalapi_client.ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest() # ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_token_auth_identities_identity_id_post(identity_id, api_v1_auth_token_auth_identities_identity_id_post_request=api_v1_auth_token_auth_identities_identity_id_post_request) - print("The response of DefaultApi->api_v1_auth_token_auth_identities_identity_id_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_auth_identities_identity_id_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to attach the configuration onto. | - **api_v1_auth_token_auth_identities_identity_id_post_request** | [**ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest**](ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_auth_identities_identity_id_tokens_get** -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response api_v1_auth_token_auth_identities_identity_id_tokens_get(identity_id, offset=offset, limit=limit) - - - -Get tokens for identity with Token Auth - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to list token metadata for. - offset = 0 # float | The offset to start from. If you enter 10, it will start from the 10th token. (optional) (default to 0) - limit = 20 # float | The number of tokens to return (optional) (default to 20) - - try: - api_response = api_instance.api_v1_auth_token_auth_identities_identity_id_tokens_get(identity_id, offset=offset, limit=limit) - print("The response of DefaultApi->api_v1_auth_token_auth_identities_identity_id_tokens_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_auth_identities_identity_id_tokens_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to list token metadata for. | - **offset** | **float**| The offset to start from. If you enter 10, it will start from the 10th token. | [optional] [default to 0] - **limit** | **float**| The number of tokens to return | [optional] [default to 20] - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_auth_identities_identity_id_tokens_post** -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response api_v1_auth_token_auth_identities_identity_id_tokens_post(identity_id, api_v1_auth_token_auth_identities_identity_id_tokens_post_request=api_v1_auth_token_auth_identities_identity_id_tokens_post_request) - - - -Create token for identity with Token Auth - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to create the token for. - api_v1_auth_token_auth_identities_identity_id_tokens_post_request = infisicalapi_client.ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest() # ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_token_auth_identities_identity_id_tokens_post(identity_id, api_v1_auth_token_auth_identities_identity_id_tokens_post_request=api_v1_auth_token_auth_identities_identity_id_tokens_post_request) - print("The response of DefaultApi->api_v1_auth_token_auth_identities_identity_id_tokens_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_auth_identities_identity_id_tokens_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to create the token for. | - **api_v1_auth_token_auth_identities_identity_id_tokens_post_request** | [**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_auth_tokens_token_id_patch** -> ApiV1AuthTokenAuthTokensTokenIdPatch200Response api_v1_auth_token_auth_tokens_token_id_patch(token_id, api_v1_auth_token_auth_tokens_token_id_patch_request=api_v1_auth_token_auth_tokens_token_id_patch_request) - - - -Update token for identity with Token Auth - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch200_response import ApiV1AuthTokenAuthTokensTokenIdPatch200Response -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch_request import ApiV1AuthTokenAuthTokensTokenIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - token_id = 'token_id_example' # str | The ID of the token to update metadata for - api_v1_auth_token_auth_tokens_token_id_patch_request = infisicalapi_client.ApiV1AuthTokenAuthTokensTokenIdPatchRequest() # ApiV1AuthTokenAuthTokensTokenIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_token_auth_tokens_token_id_patch(token_id, api_v1_auth_token_auth_tokens_token_id_patch_request=api_v1_auth_token_auth_tokens_token_id_patch_request) - print("The response of DefaultApi->api_v1_auth_token_auth_tokens_token_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_auth_tokens_token_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **token_id** | **str**| The ID of the token to update metadata for | - **api_v1_auth_token_auth_tokens_token_id_patch_request** | [**ApiV1AuthTokenAuthTokensTokenIdPatchRequest**](ApiV1AuthTokenAuthTokensTokenIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthTokenAuthTokensTokenIdPatch200Response**](ApiV1AuthTokenAuthTokensTokenIdPatch200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_auth_tokens_token_id_revoke_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v1_auth_token_auth_tokens_token_id_revoke_post(token_id) - - - -Revoke token for identity with Token Auth - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - token_id = 'token_id_example' # str | The ID of the token to revoke - - try: - api_response = api_instance.api_v1_auth_token_auth_tokens_token_id_revoke_post(token_id) - print("The response of DefaultApi->api_v1_auth_token_auth_tokens_token_id_revoke_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_auth_tokens_token_id_revoke_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **token_id** | **str**| The ID of the token to revoke | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_post** -> ApiV1AuthTokenPost200Response api_v1_auth_token_post() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_post200_response import ApiV1AuthTokenPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_auth_token_post() - print("The response of DefaultApi->api_v1_auth_token_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_post: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1AuthTokenPost200Response**](ApiV1AuthTokenPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_renew_post** -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response api_v1_auth_token_renew_post(api_v1_auth_token_renew_post_request) - - - -Renew access token - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.models.api_v1_auth_token_renew_post_request import ApiV1AuthTokenRenewPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_auth_token_renew_post_request = infisicalapi_client.ApiV1AuthTokenRenewPostRequest() # ApiV1AuthTokenRenewPostRequest | - - try: - api_response = api_instance.api_v1_auth_token_renew_post(api_v1_auth_token_renew_post_request) - print("The response of DefaultApi->api_v1_auth_token_renew_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_renew_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_auth_token_renew_post_request** | [**ApiV1AuthTokenRenewPostRequest**](ApiV1AuthTokenRenewPostRequest.md)| | - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_token_revoke_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v1_auth_token_revoke_post(api_v1_auth_token_revoke_post_request) - - - -Revoke access token - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_revoke_post_request import ApiV1AuthTokenRevokePostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_auth_token_revoke_post_request = infisicalapi_client.ApiV1AuthTokenRevokePostRequest() # ApiV1AuthTokenRevokePostRequest | - - try: - api_response = api_instance.api_v1_auth_token_revoke_post(api_v1_auth_token_revoke_post_request) - print("The response of DefaultApi->api_v1_auth_token_revoke_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_token_revoke_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_auth_token_revoke_post_request** | [**ApiV1AuthTokenRevokePostRequest**](ApiV1AuthTokenRevokePostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get** -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get(identity_id, client_secret_id) - - - -Get Universal Auth Client Secret for identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to get the client secret from. - client_secret_id = 'client_secret_id_example' # str | The ID of the client secret to get details. - - try: - api_response = api_instance.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get(identity_id, client_secret_id) - print("The response of DefaultApi->api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to get the client secret from. | - **client_secret_id** | **str**| The ID of the client secret to get details. | - -### Return type - -[**ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response**](ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post** -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post(identity_id, client_secret_id) - - - -Revoke Universal Auth Client Secrets for identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to revoke the client secret from. - client_secret_id = 'client_secret_id_example' # str | The ID of the client secret to revoke. - - try: - api_response = api_instance.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post(identity_id, client_secret_id) - print("The response of DefaultApi->api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to revoke the client secret from. | - **client_secret_id** | **str**| The ID of the client secret to revoke. | - -### Return type - -[**ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response**](ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_universal_auth_identities_identity_id_client_secrets_get** -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response api_v1_auth_universal_auth_identities_identity_id_client_secrets_get(identity_id) - - - -List Universal Auth Client Secrets for identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to list client secrets for. - - try: - api_response = api_instance.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get(identity_id) - print("The response of DefaultApi->api_v1_auth_universal_auth_identities_identity_id_client_secrets_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_universal_auth_identities_identity_id_client_secrets_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to list client secrets for. | - -### Return type - -[**ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response**](ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_universal_auth_identities_identity_id_client_secrets_post** -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response api_v1_auth_universal_auth_identities_identity_id_client_secrets_post(identity_id, api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request=api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request) - - - -Create Universal Auth Client Secret for identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to create a client secret for. - api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request = infisicalapi_client.ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest() # ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post(identity_id, api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request=api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request) - print("The response of DefaultApi->api_v1_auth_universal_auth_identities_identity_id_client_secrets_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_universal_auth_identities_identity_id_client_secrets_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to create a client secret for. | - **api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request** | [**ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest**](ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response**](ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_universal_auth_identities_identity_id_delete** -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response api_v1_auth_universal_auth_identities_identity_id_delete(identity_id) - - - -Delete Universal Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to revoke the auth method for. - - try: - api_response = api_instance.api_v1_auth_universal_auth_identities_identity_id_delete(identity_id) - print("The response of DefaultApi->api_v1_auth_universal_auth_identities_identity_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_universal_auth_identities_identity_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to revoke the auth method for. | - -### Return type - -[**ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_universal_auth_identities_identity_id_get** -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response api_v1_auth_universal_auth_identities_identity_id_get(identity_id) - - - -Retrieve Universal Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to retrieve the auth method for. - - try: - api_response = api_instance.api_v1_auth_universal_auth_identities_identity_id_get(identity_id) - print("The response of DefaultApi->api_v1_auth_universal_auth_identities_identity_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_universal_auth_identities_identity_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to retrieve the auth method for. | - -### Return type - -[**ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_universal_auth_identities_identity_id_patch** -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response api_v1_auth_universal_auth_identities_identity_id_patch(identity_id, api_v1_auth_universal_auth_identities_identity_id_patch_request=api_v1_auth_universal_auth_identities_identity_id_patch_request) - - - -Update Universal Auth configuration on identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_patch_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to update the auth method for. - api_v1_auth_universal_auth_identities_identity_id_patch_request = infisicalapi_client.ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest() # ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_universal_auth_identities_identity_id_patch(identity_id, api_v1_auth_universal_auth_identities_identity_id_patch_request=api_v1_auth_universal_auth_identities_identity_id_patch_request) - print("The response of DefaultApi->api_v1_auth_universal_auth_identities_identity_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_universal_auth_identities_identity_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to update the auth method for. | - **api_v1_auth_universal_auth_identities_identity_id_patch_request** | [**ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest**](ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_universal_auth_identities_identity_id_post** -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response api_v1_auth_universal_auth_identities_identity_id_post(identity_id, api_v1_auth_universal_auth_identities_identity_id_post_request=api_v1_auth_universal_auth_identities_identity_id_post_request) - - - -Attach Universal Auth configuration onto identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to attach the configuration onto. - api_v1_auth_universal_auth_identities_identity_id_post_request = infisicalapi_client.ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest() # ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest | (optional) - - try: - api_response = api_instance.api_v1_auth_universal_auth_identities_identity_id_post(identity_id, api_v1_auth_universal_auth_identities_identity_id_post_request=api_v1_auth_universal_auth_identities_identity_id_post_request) - print("The response of DefaultApi->api_v1_auth_universal_auth_identities_identity_id_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_universal_auth_identities_identity_id_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to attach the configuration onto. | - **api_v1_auth_universal_auth_identities_identity_id_post_request** | [**ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest**](ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.md)| | [optional] - -### Return type - -[**ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response**](ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_auth_universal_auth_login_post** -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response api_v1_auth_universal_auth_login_post(api_v1_auth_universal_auth_login_post_request) - - - -Login with Universal Auth - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_login_post_request import ApiV1AuthUniversalAuthLoginPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_auth_universal_auth_login_post_request = infisicalapi_client.ApiV1AuthUniversalAuthLoginPostRequest() # ApiV1AuthUniversalAuthLoginPostRequest | - - try: - api_response = api_instance.api_v1_auth_universal_auth_login_post(api_v1_auth_universal_auth_login_post_request) - print("The response of DefaultApi->api_v1_auth_universal_auth_login_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_auth_universal_auth_login_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_auth_universal_auth_login_post_request** | [**ApiV1AuthUniversalAuthLoginPostRequest**](ApiV1AuthUniversalAuthLoginPostRequest.md)| | - -### Return type - -[**ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response**](ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_bot_bot_id_active_patch** -> ApiV1BotProjectIdGet200Response api_v1_bot_bot_id_active_patch(bot_id, api_v1_bot_bot_id_active_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request import ApiV1BotBotIdActivePatchRequest -from infisicalapi_client.models.api_v1_bot_project_id_get200_response import ApiV1BotProjectIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - bot_id = 'bot_id_example' # str | - api_v1_bot_bot_id_active_patch_request = infisicalapi_client.ApiV1BotBotIdActivePatchRequest() # ApiV1BotBotIdActivePatchRequest | - - try: - api_response = api_instance.api_v1_bot_bot_id_active_patch(bot_id, api_v1_bot_bot_id_active_patch_request) - print("The response of DefaultApi->api_v1_bot_bot_id_active_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_bot_bot_id_active_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **bot_id** | **str**| | - **api_v1_bot_bot_id_active_patch_request** | [**ApiV1BotBotIdActivePatchRequest**](ApiV1BotBotIdActivePatchRequest.md)| | - -### Return type - -[**ApiV1BotProjectIdGet200Response**](ApiV1BotProjectIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_bot_project_id_get** -> ApiV1BotProjectIdGet200Response api_v1_bot_project_id_get(project_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_bot_project_id_get200_response import ApiV1BotProjectIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | - - try: - api_response = api_instance.api_v1_bot_project_id_get(project_id) - print("The response of DefaultApi->api_v1_bot_project_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_bot_project_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -[**ApiV1BotProjectIdGet200Response**](ApiV1BotProjectIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_dynamic_secrets_get** -> ApiV1DynamicSecretsGet200Response api_v1_dynamic_secrets_get(project_slug, environment_slug, path=path) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response import ApiV1DynamicSecretsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | The slug of the project to create dynamic secret in. - environment_slug = 'environment_slug_example' # str | The slug of the environment to list folders from. - path = '/' # str | The path to list folders from. (optional) (default to '/') - - try: - api_response = api_instance.api_v1_dynamic_secrets_get(project_slug, environment_slug, path=path) - print("The response of DefaultApi->api_v1_dynamic_secrets_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_dynamic_secrets_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| The slug of the project to create dynamic secret in. | - **environment_slug** | **str**| The slug of the environment to list folders from. | - **path** | **str**| The path to list folders from. | [optional] [default to '/'] - -### Return type - -[**ApiV1DynamicSecretsGet200Response**](ApiV1DynamicSecretsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_dynamic_secrets_leases_lease_id_delete** -> ApiV1DynamicSecretsLeasesLeaseIdDelete200Response api_v1_dynamic_secrets_leases_lease_id_delete(lease_id, api_v1_dynamic_secrets_leases_lease_id_delete_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete200_response import ApiV1DynamicSecretsLeasesLeaseIdDelete200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete_request import ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - lease_id = 'lease_id_example' # str | The ID of the dynamic secret lease. - api_v1_dynamic_secrets_leases_lease_id_delete_request = infisicalapi_client.ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest() # ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest | - - try: - api_response = api_instance.api_v1_dynamic_secrets_leases_lease_id_delete(lease_id, api_v1_dynamic_secrets_leases_lease_id_delete_request) - print("The response of DefaultApi->api_v1_dynamic_secrets_leases_lease_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_dynamic_secrets_leases_lease_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **lease_id** | **str**| The ID of the dynamic secret lease. | - **api_v1_dynamic_secrets_leases_lease_id_delete_request** | [**ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest**](ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.md)| | - -### Return type - -[**ApiV1DynamicSecretsLeasesLeaseIdDelete200Response**](ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_dynamic_secrets_leases_lease_id_get** -> ApiV1DynamicSecretsLeasesLeaseIdGet200Response api_v1_dynamic_secrets_leases_lease_id_get(project_slug, environment_slug, lease_id, path=path) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response import ApiV1DynamicSecretsLeasesLeaseIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | The slug of the project to create dynamic secret in. - environment_slug = 'environment_slug_example' # str | The slug of the environment to list folders from. - lease_id = 'lease_id_example' # str | The ID of the dynamic secret lease. - path = '/' # str | The path to list folders from. (optional) (default to '/') - - try: - api_response = api_instance.api_v1_dynamic_secrets_leases_lease_id_get(project_slug, environment_slug, lease_id, path=path) - print("The response of DefaultApi->api_v1_dynamic_secrets_leases_lease_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_dynamic_secrets_leases_lease_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| The slug of the project to create dynamic secret in. | - **environment_slug** | **str**| The slug of the environment to list folders from. | - **lease_id** | **str**| The ID of the dynamic secret lease. | - **path** | **str**| The path to list folders from. | [optional] [default to '/'] - -### Return type - -[**ApiV1DynamicSecretsLeasesLeaseIdGet200Response**](ApiV1DynamicSecretsLeasesLeaseIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_dynamic_secrets_leases_lease_id_renew_post** -> ApiV1DynamicSecretsLeasesLeaseIdDelete200Response api_v1_dynamic_secrets_leases_lease_id_renew_post(lease_id, api_v1_dynamic_secrets_leases_lease_id_renew_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete200_response import ApiV1DynamicSecretsLeasesLeaseIdDelete200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_renew_post_request import ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - lease_id = 'lease_id_example' # str | The ID of the dynamic secret lease. - api_v1_dynamic_secrets_leases_lease_id_renew_post_request = infisicalapi_client.ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest() # ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest | - - try: - api_response = api_instance.api_v1_dynamic_secrets_leases_lease_id_renew_post(lease_id, api_v1_dynamic_secrets_leases_lease_id_renew_post_request) - print("The response of DefaultApi->api_v1_dynamic_secrets_leases_lease_id_renew_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_dynamic_secrets_leases_lease_id_renew_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **lease_id** | **str**| The ID of the dynamic secret lease. | - **api_v1_dynamic_secrets_leases_lease_id_renew_post_request** | [**ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest**](ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.md)| | - -### Return type - -[**ApiV1DynamicSecretsLeasesLeaseIdDelete200Response**](ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_dynamic_secrets_leases_post** -> ApiV1DynamicSecretsLeasesPost200Response api_v1_dynamic_secrets_leases_post(api_v1_dynamic_secrets_leases_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post200_response import ApiV1DynamicSecretsLeasesPost200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post_request import ApiV1DynamicSecretsLeasesPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_dynamic_secrets_leases_post_request = infisicalapi_client.ApiV1DynamicSecretsLeasesPostRequest() # ApiV1DynamicSecretsLeasesPostRequest | - - try: - api_response = api_instance.api_v1_dynamic_secrets_leases_post(api_v1_dynamic_secrets_leases_post_request) - print("The response of DefaultApi->api_v1_dynamic_secrets_leases_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_dynamic_secrets_leases_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_dynamic_secrets_leases_post_request** | [**ApiV1DynamicSecretsLeasesPostRequest**](ApiV1DynamicSecretsLeasesPostRequest.md)| | - -### Return type - -[**ApiV1DynamicSecretsLeasesPost200Response**](ApiV1DynamicSecretsLeasesPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_dynamic_secrets_name_delete** -> ApiV1DynamicSecretsPost200Response api_v1_dynamic_secrets_name_delete(name, api_v1_dynamic_secrets_name_delete_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_dynamic_secrets_name_delete_request import ApiV1DynamicSecretsNameDeleteRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_post200_response import ApiV1DynamicSecretsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - name = 'name_example' # str | The name of the dynamic secret. - api_v1_dynamic_secrets_name_delete_request = infisicalapi_client.ApiV1DynamicSecretsNameDeleteRequest() # ApiV1DynamicSecretsNameDeleteRequest | - - try: - api_response = api_instance.api_v1_dynamic_secrets_name_delete(name, api_v1_dynamic_secrets_name_delete_request) - print("The response of DefaultApi->api_v1_dynamic_secrets_name_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_dynamic_secrets_name_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| The name of the dynamic secret. | - **api_v1_dynamic_secrets_name_delete_request** | [**ApiV1DynamicSecretsNameDeleteRequest**](ApiV1DynamicSecretsNameDeleteRequest.md)| | - -### Return type - -[**ApiV1DynamicSecretsPost200Response**](ApiV1DynamicSecretsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_dynamic_secrets_name_get** -> ApiV1DynamicSecretsNameGet200Response api_v1_dynamic_secrets_name_get(project_slug, environment_slug, name, path=path) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response import ApiV1DynamicSecretsNameGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | The slug of the project to create dynamic secret in. - environment_slug = 'environment_slug_example' # str | The slug of the environment to list folders from. - name = 'name_example' # str | The name of the dynamic secret. - path = '/' # str | The path to list folders from. (optional) (default to '/') - - try: - api_response = api_instance.api_v1_dynamic_secrets_name_get(project_slug, environment_slug, name, path=path) - print("The response of DefaultApi->api_v1_dynamic_secrets_name_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_dynamic_secrets_name_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| The slug of the project to create dynamic secret in. | - **environment_slug** | **str**| The slug of the environment to list folders from. | - **name** | **str**| The name of the dynamic secret. | - **path** | **str**| The path to list folders from. | [optional] [default to '/'] - -### Return type - -[**ApiV1DynamicSecretsNameGet200Response**](ApiV1DynamicSecretsNameGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_dynamic_secrets_name_leases_get** -> ApiV1DynamicSecretsNameLeasesGet200Response api_v1_dynamic_secrets_name_leases_get(project_slug, environment_slug, name, path=path) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response import ApiV1DynamicSecretsNameLeasesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | The slug of the project to create dynamic secret in. - environment_slug = 'environment_slug_example' # str | The slug of the environment to list folders from. - name = 'name_example' # str | The name of the dynamic secret. - path = '/' # str | The path to list folders from. (optional) (default to '/') - - try: - api_response = api_instance.api_v1_dynamic_secrets_name_leases_get(project_slug, environment_slug, name, path=path) - print("The response of DefaultApi->api_v1_dynamic_secrets_name_leases_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_dynamic_secrets_name_leases_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| The slug of the project to create dynamic secret in. | - **environment_slug** | **str**| The slug of the environment to list folders from. | - **name** | **str**| The name of the dynamic secret. | - **path** | **str**| The path to list folders from. | [optional] [default to '/'] - -### Return type - -[**ApiV1DynamicSecretsNameLeasesGet200Response**](ApiV1DynamicSecretsNameLeasesGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_dynamic_secrets_name_patch** -> ApiV1DynamicSecretsPost200Response api_v1_dynamic_secrets_name_patch(name, api_v1_dynamic_secrets_name_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request import ApiV1DynamicSecretsNamePatchRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_post200_response import ApiV1DynamicSecretsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - name = 'name_example' # str | The name of the dynamic secret. - api_v1_dynamic_secrets_name_patch_request = infisicalapi_client.ApiV1DynamicSecretsNamePatchRequest() # ApiV1DynamicSecretsNamePatchRequest | - - try: - api_response = api_instance.api_v1_dynamic_secrets_name_patch(name, api_v1_dynamic_secrets_name_patch_request) - print("The response of DefaultApi->api_v1_dynamic_secrets_name_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_dynamic_secrets_name_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| The name of the dynamic secret. | - **api_v1_dynamic_secrets_name_patch_request** | [**ApiV1DynamicSecretsNamePatchRequest**](ApiV1DynamicSecretsNamePatchRequest.md)| | - -### Return type - -[**ApiV1DynamicSecretsPost200Response**](ApiV1DynamicSecretsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_dynamic_secrets_post** -> ApiV1DynamicSecretsPost200Response api_v1_dynamic_secrets_post(api_v1_dynamic_secrets_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_dynamic_secrets_post200_response import ApiV1DynamicSecretsPost200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request import ApiV1DynamicSecretsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_dynamic_secrets_post_request = infisicalapi_client.ApiV1DynamicSecretsPostRequest() # ApiV1DynamicSecretsPostRequest | - - try: - api_response = api_instance.api_v1_dynamic_secrets_post(api_v1_dynamic_secrets_post_request) - print("The response of DefaultApi->api_v1_dynamic_secrets_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_dynamic_secrets_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_dynamic_secrets_post_request** | [**ApiV1DynamicSecretsPostRequest**](ApiV1DynamicSecretsPostRequest.md)| | - -### Return type - -[**ApiV1DynamicSecretsPost200Response**](ApiV1DynamicSecretsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_external_kms_get** -> ApiV1ExternalKmsGet200Response api_v1_external_kms_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_external_kms_get200_response import ApiV1ExternalKmsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_external_kms_get() - print("The response of DefaultApi->api_v1_external_kms_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_external_kms_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1ExternalKmsGet200Response**](ApiV1ExternalKmsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_external_kms_id_delete** -> ApiV1ExternalKmsPost200Response api_v1_external_kms_id_delete(id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_external_kms_post200_response import ApiV1ExternalKmsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | - - try: - api_response = api_instance.api_v1_external_kms_id_delete(id) - print("The response of DefaultApi->api_v1_external_kms_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_external_kms_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - -### Return type - -[**ApiV1ExternalKmsPost200Response**](ApiV1ExternalKmsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_external_kms_id_get** -> ApiV1ExternalKmsIdGet200Response api_v1_external_kms_id_get(id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_external_kms_id_get200_response import ApiV1ExternalKmsIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | - - try: - api_response = api_instance.api_v1_external_kms_id_get(id) - print("The response of DefaultApi->api_v1_external_kms_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_external_kms_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - -### Return type - -[**ApiV1ExternalKmsIdGet200Response**](ApiV1ExternalKmsIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_external_kms_id_patch** -> ApiV1ExternalKmsPost200Response api_v1_external_kms_id_patch(id, api_v1_external_kms_id_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_external_kms_id_patch_request import ApiV1ExternalKmsIdPatchRequest -from infisicalapi_client.models.api_v1_external_kms_post200_response import ApiV1ExternalKmsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | - api_v1_external_kms_id_patch_request = infisicalapi_client.ApiV1ExternalKmsIdPatchRequest() # ApiV1ExternalKmsIdPatchRequest | - - try: - api_response = api_instance.api_v1_external_kms_id_patch(id, api_v1_external_kms_id_patch_request) - print("The response of DefaultApi->api_v1_external_kms_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_external_kms_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **api_v1_external_kms_id_patch_request** | [**ApiV1ExternalKmsIdPatchRequest**](ApiV1ExternalKmsIdPatchRequest.md)| | - -### Return type - -[**ApiV1ExternalKmsPost200Response**](ApiV1ExternalKmsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_external_kms_post** -> ApiV1ExternalKmsPost200Response api_v1_external_kms_post(api_v1_external_kms_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_external_kms_post200_response import ApiV1ExternalKmsPost200Response -from infisicalapi_client.models.api_v1_external_kms_post_request import ApiV1ExternalKmsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_external_kms_post_request = infisicalapi_client.ApiV1ExternalKmsPostRequest() # ApiV1ExternalKmsPostRequest | - - try: - api_response = api_instance.api_v1_external_kms_post(api_v1_external_kms_post_request) - print("The response of DefaultApi->api_v1_external_kms_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_external_kms_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_external_kms_post_request** | [**ApiV1ExternalKmsPostRequest**](ApiV1ExternalKmsPostRequest.md)| | - -### Return type - -[**ApiV1ExternalKmsPost200Response**](ApiV1ExternalKmsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_external_kms_slug_slug_get** -> ApiV1ExternalKmsIdGet200Response api_v1_external_kms_slug_slug_get(slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_external_kms_id_get200_response import ApiV1ExternalKmsIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - slug = 'slug_example' # str | - - try: - api_response = api_instance.api_v1_external_kms_slug_slug_get(slug) - print("The response of DefaultApi->api_v1_external_kms_slug_slug_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_external_kms_slug_slug_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **slug** | **str**| | - -### Return type - -[**ApiV1ExternalKmsIdGet200Response**](ApiV1ExternalKmsIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_folders_batch_patch** -> ApiV1FoldersGet200Response api_v1_folders_batch_patch(api_v1_folders_batch_patch_request) - - - -Update folders by batch - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_folders_batch_patch_request import ApiV1FoldersBatchPatchRequest -from infisicalapi_client.models.api_v1_folders_get200_response import ApiV1FoldersGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_folders_batch_patch_request = infisicalapi_client.ApiV1FoldersBatchPatchRequest() # ApiV1FoldersBatchPatchRequest | - - try: - api_response = api_instance.api_v1_folders_batch_patch(api_v1_folders_batch_patch_request) - print("The response of DefaultApi->api_v1_folders_batch_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_folders_batch_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_folders_batch_patch_request** | [**ApiV1FoldersBatchPatchRequest**](ApiV1FoldersBatchPatchRequest.md)| | - -### Return type - -[**ApiV1FoldersGet200Response**](ApiV1FoldersGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_folders_folder_id_or_name_delete** -> ApiV1FoldersPost200Response api_v1_folders_folder_id_or_name_delete(folder_id_or_name, api_v1_folders_folder_id_or_name_delete_request) - - - -Delete a folder - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_folders_folder_id_or_name_delete_request import ApiV1FoldersFolderIdOrNameDeleteRequest -from infisicalapi_client.models.api_v1_folders_post200_response import ApiV1FoldersPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - folder_id_or_name = 'folder_id_or_name_example' # str | The ID or name of the folder to delete. - api_v1_folders_folder_id_or_name_delete_request = infisicalapi_client.ApiV1FoldersFolderIdOrNameDeleteRequest() # ApiV1FoldersFolderIdOrNameDeleteRequest | - - try: - api_response = api_instance.api_v1_folders_folder_id_or_name_delete(folder_id_or_name, api_v1_folders_folder_id_or_name_delete_request) - print("The response of DefaultApi->api_v1_folders_folder_id_or_name_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_folders_folder_id_or_name_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id_or_name** | **str**| The ID or name of the folder to delete. | - **api_v1_folders_folder_id_or_name_delete_request** | [**ApiV1FoldersFolderIdOrNameDeleteRequest**](ApiV1FoldersFolderIdOrNameDeleteRequest.md)| | - -### Return type - -[**ApiV1FoldersPost200Response**](ApiV1FoldersPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_folders_folder_id_patch** -> ApiV1FoldersPost200Response api_v1_folders_folder_id_patch(folder_id, api_v1_folders_folder_id_patch_request) - - - -Update folder - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_folders_folder_id_patch_request import ApiV1FoldersFolderIdPatchRequest -from infisicalapi_client.models.api_v1_folders_post200_response import ApiV1FoldersPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - folder_id = 'folder_id_example' # str | The ID of the folder to update. - api_v1_folders_folder_id_patch_request = infisicalapi_client.ApiV1FoldersFolderIdPatchRequest() # ApiV1FoldersFolderIdPatchRequest | - - try: - api_response = api_instance.api_v1_folders_folder_id_patch(folder_id, api_v1_folders_folder_id_patch_request) - print("The response of DefaultApi->api_v1_folders_folder_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_folders_folder_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| The ID of the folder to update. | - **api_v1_folders_folder_id_patch_request** | [**ApiV1FoldersFolderIdPatchRequest**](ApiV1FoldersFolderIdPatchRequest.md)| | - -### Return type - -[**ApiV1FoldersPost200Response**](ApiV1FoldersPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_folders_get** -> ApiV1FoldersGet200Response api_v1_folders_get(workspace_id, environment, path=path, directory=directory) - - - -Get folders - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_folders_get200_response import ApiV1FoldersGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to list folders from. - environment = 'environment_example' # str | The slug of the environment to list folders from. - path = '/' # str | The path to list folders from. (optional) (default to '/') - directory = '/' # str | The directory to list folders from. (Deprecated in favor of path) (optional) (default to '/') - - try: - api_response = api_instance.api_v1_folders_get(workspace_id, environment, path=path, directory=directory) - print("The response of DefaultApi->api_v1_folders_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_folders_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to list folders from. | - **environment** | **str**| The slug of the environment to list folders from. | - **path** | **str**| The path to list folders from. | [optional] [default to '/'] - **directory** | **str**| The directory to list folders from. (Deprecated in favor of path) | [optional] [default to '/'] - -### Return type - -[**ApiV1FoldersGet200Response**](ApiV1FoldersGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_folders_id_get** -> ApiV1FoldersPost200Response api_v1_folders_id_get(id) - - - -Get folder by id - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_folders_post200_response import ApiV1FoldersPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | The id of the folder to get details. - - try: - api_response = api_instance.api_v1_folders_id_get(id) - print("The response of DefaultApi->api_v1_folders_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_folders_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| The id of the folder to get details. | - -### Return type - -[**ApiV1FoldersPost200Response**](ApiV1FoldersPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_folders_post** -> ApiV1FoldersPost200Response api_v1_folders_post(api_v1_folders_post_request) - - - -Create folders - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_folders_post200_response import ApiV1FoldersPost200Response -from infisicalapi_client.models.api_v1_folders_post_request import ApiV1FoldersPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_folders_post_request = infisicalapi_client.ApiV1FoldersPostRequest() # ApiV1FoldersPostRequest | - - try: - api_response = api_instance.api_v1_folders_post(api_v1_folders_post_request) - print("The response of DefaultApi->api_v1_folders_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_folders_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_folders_post_request** | [**ApiV1FoldersPostRequest**](ApiV1FoldersPostRequest.md)| | - -### Return type - -[**ApiV1FoldersPost200Response**](ApiV1FoldersPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_groups_current_slug_patch** -> ApiV1GroupsPost200Response api_v1_groups_current_slug_patch(current_slug, api_v1_groups_current_slug_patch_request=api_v1_groups_current_slug_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_groups_current_slug_patch_request import ApiV1GroupsCurrentSlugPatchRequest -from infisicalapi_client.models.api_v1_groups_post200_response import ApiV1GroupsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - current_slug = 'current_slug_example' # str | The current slug of the group to update. - api_v1_groups_current_slug_patch_request = infisicalapi_client.ApiV1GroupsCurrentSlugPatchRequest() # ApiV1GroupsCurrentSlugPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_groups_current_slug_patch(current_slug, api_v1_groups_current_slug_patch_request=api_v1_groups_current_slug_patch_request) - print("The response of DefaultApi->api_v1_groups_current_slug_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_groups_current_slug_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **current_slug** | **str**| The current slug of the group to update. | - **api_v1_groups_current_slug_patch_request** | [**ApiV1GroupsCurrentSlugPatchRequest**](ApiV1GroupsCurrentSlugPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1GroupsPost200Response**](ApiV1GroupsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_groups_post** -> ApiV1GroupsPost200Response api_v1_groups_post(api_v1_groups_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_groups_post200_response import ApiV1GroupsPost200Response -from infisicalapi_client.models.api_v1_groups_post_request import ApiV1GroupsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_groups_post_request = infisicalapi_client.ApiV1GroupsPostRequest() # ApiV1GroupsPostRequest | - - try: - api_response = api_instance.api_v1_groups_post(api_v1_groups_post_request) - print("The response of DefaultApi->api_v1_groups_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_groups_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_groups_post_request** | [**ApiV1GroupsPostRequest**](ApiV1GroupsPostRequest.md)| | - -### Return type - -[**ApiV1GroupsPost200Response**](ApiV1GroupsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_groups_slug_delete** -> ApiV1GroupsPost200Response api_v1_groups_slug_delete(slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_groups_post200_response import ApiV1GroupsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - slug = 'slug_example' # str | The slug of the group to delete - - try: - api_response = api_instance.api_v1_groups_slug_delete(slug) - print("The response of DefaultApi->api_v1_groups_slug_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_groups_slug_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **slug** | **str**| The slug of the group to delete | - -### Return type - -[**ApiV1GroupsPost200Response**](ApiV1GroupsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_groups_slug_users_get** -> ApiV1GroupsSlugUsersGet200Response api_v1_groups_slug_users_get(slug, offset=offset, limit=limit, username=username) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response import ApiV1GroupsSlugUsersGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - slug = 'slug_example' # str | The slug of the group to list users for - offset = 0 # float | The offset to start from. If you enter 10, it will start from the 10th user. (optional) (default to 0) - limit = 10 # float | The number of users to return. (optional) (default to 10) - username = 'username_example' # str | The username to search for. (optional) - - try: - api_response = api_instance.api_v1_groups_slug_users_get(slug, offset=offset, limit=limit, username=username) - print("The response of DefaultApi->api_v1_groups_slug_users_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_groups_slug_users_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **slug** | **str**| The slug of the group to list users for | - **offset** | **float**| The offset to start from. If you enter 10, it will start from the 10th user. | [optional] [default to 0] - **limit** | **float**| The number of users to return. | [optional] [default to 10] - **username** | **str**| The username to search for. | [optional] - -### Return type - -[**ApiV1GroupsSlugUsersGet200Response**](ApiV1GroupsSlugUsersGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_groups_slug_users_username_delete** -> ApiV1GroupsSlugUsersUsernamePost200Response api_v1_groups_slug_users_username_delete(slug, username) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_groups_slug_users_username_post200_response import ApiV1GroupsSlugUsersUsernamePost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - slug = 'slug_example' # str | The slug of the group to remove the user from. - username = 'username_example' # str | The username of the user to remove from the group. - - try: - api_response = api_instance.api_v1_groups_slug_users_username_delete(slug, username) - print("The response of DefaultApi->api_v1_groups_slug_users_username_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_groups_slug_users_username_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **slug** | **str**| The slug of the group to remove the user from. | - **username** | **str**| The username of the user to remove from the group. | - -### Return type - -[**ApiV1GroupsSlugUsersUsernamePost200Response**](ApiV1GroupsSlugUsersUsernamePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_groups_slug_users_username_post** -> ApiV1GroupsSlugUsersUsernamePost200Response api_v1_groups_slug_users_username_post(slug, username) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_groups_slug_users_username_post200_response import ApiV1GroupsSlugUsersUsernamePost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - slug = 'slug_example' # str | The slug of the group to add the user to. - username = 'username_example' # str | The username of the user to add to the group. - - try: - api_response = api_instance.api_v1_groups_slug_users_username_post(slug, username) - print("The response of DefaultApi->api_v1_groups_slug_users_username_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_groups_slug_users_username_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **slug** | **str**| The slug of the group to add the user to. | - **username** | **str**| The username of the user to add to the group. | - -### Return type - -[**ApiV1GroupsSlugUsersUsernamePost200Response**](ApiV1GroupsSlugUsersUsernamePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_identities_get** -> ApiV1IdentitiesGet200Response api_v1_identities_get(org_id) - - - -List identities - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_identities_get200_response import ApiV1IdentitiesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - org_id = 'org_id_example' # str | The ID of the organization to list identities. - - try: - api_response = api_instance.api_v1_identities_get(org_id) - print("The response of DefaultApi->api_v1_identities_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_identities_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **org_id** | **str**| The ID of the organization to list identities. | - -### Return type - -[**ApiV1IdentitiesGet200Response**](ApiV1IdentitiesGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_identities_identity_id_delete** -> ApiV1IdentitiesPost200Response api_v1_identities_identity_id_delete(identity_id) - - - -Delete identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_identities_post200_response import ApiV1IdentitiesPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to delete. - - try: - api_response = api_instance.api_v1_identities_identity_id_delete(identity_id) - print("The response of DefaultApi->api_v1_identities_identity_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_identities_identity_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to delete. | - -### Return type - -[**ApiV1IdentitiesPost200Response**](ApiV1IdentitiesPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_identities_identity_id_get** -> ApiV1IdentitiesIdentityIdGet200Response api_v1_identities_identity_id_get(identity_id) - - - -Get an identity by id - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_identities_identity_id_get200_response import ApiV1IdentitiesIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to get details. - - try: - api_response = api_instance.api_v1_identities_identity_id_get(identity_id) - print("The response of DefaultApi->api_v1_identities_identity_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_identities_identity_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to get details. | - -### Return type - -[**ApiV1IdentitiesIdentityIdGet200Response**](ApiV1IdentitiesIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_identities_identity_id_identity_memberships_get** -> ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response api_v1_identities_identity_id_identity_memberships_get(identity_id) - - - -List project memberships that identity with id is part of - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to get details. - - try: - api_response = api_instance.api_v1_identities_identity_id_identity_memberships_get(identity_id) - print("The response of DefaultApi->api_v1_identities_identity_id_identity_memberships_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_identities_identity_id_identity_memberships_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to get details. | - -### Return type - -[**ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response**](ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_identities_identity_id_patch** -> ApiV1IdentitiesPost200Response api_v1_identities_identity_id_patch(identity_id, api_v1_identities_identity_id_patch_request=api_v1_identities_identity_id_patch_request) - - - -Update identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_identities_identity_id_patch_request import ApiV1IdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_identities_post200_response import ApiV1IdentitiesPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - identity_id = 'identity_id_example' # str | The ID of the identity to update. - api_v1_identities_identity_id_patch_request = infisicalapi_client.ApiV1IdentitiesIdentityIdPatchRequest() # ApiV1IdentitiesIdentityIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_identities_identity_id_patch(identity_id, api_v1_identities_identity_id_patch_request=api_v1_identities_identity_id_patch_request) - print("The response of DefaultApi->api_v1_identities_identity_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_identities_identity_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **identity_id** | **str**| The ID of the identity to update. | - **api_v1_identities_identity_id_patch_request** | [**ApiV1IdentitiesIdentityIdPatchRequest**](ApiV1IdentitiesIdentityIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1IdentitiesPost200Response**](ApiV1IdentitiesPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_identities_post** -> ApiV1IdentitiesPost200Response api_v1_identities_post(api_v1_identities_post_request) - - - -Create identity - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_identities_post200_response import ApiV1IdentitiesPost200Response -from infisicalapi_client.models.api_v1_identities_post_request import ApiV1IdentitiesPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_identities_post_request = infisicalapi_client.ApiV1IdentitiesPostRequest() # ApiV1IdentitiesPostRequest | - - try: - api_response = api_instance.api_v1_identities_post(api_v1_identities_post_request) - print("The response of DefaultApi->api_v1_identities_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_identities_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_identities_post_request** | [**ApiV1IdentitiesPostRequest**](ApiV1IdentitiesPostRequest.md)| | - -### Return type - -[**ApiV1IdentitiesPost200Response**](ApiV1IdentitiesPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_access_token_post** -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response api_v1_integration_auth_access_token_post(api_v1_integration_auth_access_token_post_request) - - - -Create the integration authentication object required for syncing secrets. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_access_token_post_request import ApiV1IntegrationAuthAccessTokenPostRequest -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_integration_auth_access_token_post_request = infisicalapi_client.ApiV1IntegrationAuthAccessTokenPostRequest() # ApiV1IntegrationAuthAccessTokenPostRequest | - - try: - api_response = api_instance.api_v1_integration_auth_access_token_post(api_v1_integration_auth_access_token_post_request) - print("The response of DefaultApi->api_v1_integration_auth_access_token_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_access_token_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_integration_auth_access_token_post_request** | [**ApiV1IntegrationAuthAccessTokenPostRequest**](ApiV1IntegrationAuthAccessTokenPostRequest.md)| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_delete** -> ApiV1IntegrationAuthDelete200Response api_v1_integration_auth_delete(integration, project_id) - - - -Remove all integration's auth object from the project. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_delete200_response import ApiV1IntegrationAuthDelete200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration = 'integration_example' # str | The slug of the integration to be unauthorized. - project_id = 'project_id_example' # str | The ID of the project to delete the integration auth from. - - try: - api_response = api_instance.api_v1_integration_auth_delete(integration, project_id) - print("The response of DefaultApi->api_v1_integration_auth_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration** | **str**| The slug of the integration to be unauthorized. | - **project_id** | **str**| The ID of the project to delete the integration auth from. | - -### Return type - -[**ApiV1IntegrationAuthDelete200Response**](ApiV1IntegrationAuthDelete200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_apps_get** -> ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response api_v1_integration_auth_integration_auth_id_apps_get(integration_auth_id, team_id=team_id, workspace_slug=workspace_slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_auth_id = 'integration_auth_id_example' # str | - team_id = 'team_id_example' # str | (optional) - workspace_slug = 'workspace_slug_example' # str | (optional) - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_apps_get(integration_auth_id, team_id=team_id, workspace_slug=workspace_slug) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_apps_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_apps_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_auth_id** | **str**| | - **team_id** | **str**| | [optional] - **workspace_slug** | **str**| | [optional] - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get** -> ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get(region, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - region = 'region_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get(region, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **region** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get** -> ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get(integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get(integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_checkly_groups_get** -> ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response api_v1_integration_auth_integration_auth_id_checkly_groups_get(account_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - account_id = 'account_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_checkly_groups_get(account_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_checkly_groups_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_checkly_groups_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_delete** -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response api_v1_integration_auth_integration_auth_id_delete(integration_auth_id) - - - -Remove an integration auth object by object id. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_auth_id = 'integration_auth_id_example' # str | The id of integration authentication object to delete. - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_delete(integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_auth_id** | **str**| The id of integration authentication object to delete. | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_get** -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response api_v1_integration_auth_integration_auth_id_get(integration_auth_id) - - - -Get details of an integration authorization by auth object id. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_auth_id = 'integration_auth_id_example' # str | The id of integration authentication object. - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_get(integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_auth_id** | **str**| The id of integration authentication object. | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_github_envs_get** -> ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response api_v1_integration_auth_integration_auth_id_github_envs_get(repo_owner, repo_name, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - repo_owner = 'repo_owner_example' # str | - repo_name = 'repo_name_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_github_envs_get(repo_owner, repo_name, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_github_envs_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_github_envs_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repo_owner** | **str**| | - **repo_name** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_github_orgs_get** -> ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response api_v1_integration_auth_integration_auth_id_github_orgs_get(integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_github_orgs_get(integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_github_orgs_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_github_orgs_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_heroku_pipelines_get** -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response api_v1_integration_auth_integration_auth_id_heroku_pipelines_get(integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get(integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_heroku_pipelines_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_heroku_pipelines_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get** -> ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get(app_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - app_id = 'app_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get(app_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **app_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_qovery_apps_get** -> ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response api_v1_integration_auth_integration_auth_id_qovery_apps_get(environment_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - environment_id = 'environment_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_qovery_apps_get(environment_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_apps_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_apps_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_qovery_containers_get** -> ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response api_v1_integration_auth_integration_auth_id_qovery_containers_get(environment_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - environment_id = 'environment_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_qovery_containers_get(environment_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_containers_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_containers_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_qovery_environments_get** -> ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response api_v1_integration_auth_integration_auth_id_qovery_environments_get(project_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_qovery_environments_get(project_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_environments_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_environments_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_qovery_jobs_get** -> ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response api_v1_integration_auth_integration_auth_id_qovery_jobs_get(environment_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - environment_id = 'environment_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_qovery_jobs_get(environment_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_jobs_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_jobs_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_qovery_orgs_get** -> ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response api_v1_integration_auth_integration_auth_id_qovery_orgs_get(integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_qovery_orgs_get(integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_orgs_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_orgs_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_qovery_projects_get** -> ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response api_v1_integration_auth_integration_auth_id_qovery_projects_get(org_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - org_id = 'org_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_qovery_projects_get(org_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_projects_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_qovery_projects_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **org_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_railway_environments_get** -> ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response api_v1_integration_auth_integration_auth_id_railway_environments_get(app_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - app_id = 'app_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_railway_environments_get(app_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_railway_environments_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_railway_environments_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **app_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_railway_services_get** -> ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response api_v1_integration_auth_integration_auth_id_railway_services_get(app_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - app_id = 'app_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_railway_services_get(app_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_railway_services_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_railway_services_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **app_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get** -> ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get(app_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - app_id = 'app_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get(app_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **app_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_teams_get** -> ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response api_v1_integration_auth_integration_auth_id_teams_get(integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teams_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_teams_get(integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_teams_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_teams_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_auth_id_vercel_branches_get** -> ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response api_v1_integration_auth_integration_auth_id_vercel_branches_get(app_id, integration_auth_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response import ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - app_id = 'app_id_example' # str | - integration_auth_id = 'integration_auth_id_example' # str | - - try: - api_response = api_instance.api_v1_integration_auth_integration_auth_id_vercel_branches_get(app_id, integration_auth_id) - print("The response of DefaultApi->api_v1_integration_auth_integration_auth_id_vercel_branches_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_auth_id_vercel_branches_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **app_id** | **str**| | - **integration_auth_id** | **str**| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_integration_options_get** -> ApiV1IntegrationAuthIntegrationOptionsGet200Response api_v1_integration_auth_integration_options_get() - - - -List of integrations available. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response import ApiV1IntegrationAuthIntegrationOptionsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_integration_auth_integration_options_get() - print("The response of DefaultApi->api_v1_integration_auth_integration_options_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_integration_options_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1IntegrationAuthIntegrationOptionsGet200Response**](ApiV1IntegrationAuthIntegrationOptionsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_auth_oauth_token_post** -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response api_v1_integration_auth_oauth_token_post(api_v1_integration_auth_oauth_token_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGet200Response -from infisicalapi_client.models.api_v1_integration_auth_oauth_token_post_request import ApiV1IntegrationAuthOauthTokenPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_integration_auth_oauth_token_post_request = infisicalapi_client.ApiV1IntegrationAuthOauthTokenPostRequest() # ApiV1IntegrationAuthOauthTokenPostRequest | - - try: - api_response = api_instance.api_v1_integration_auth_oauth_token_post(api_v1_integration_auth_oauth_token_post_request) - print("The response of DefaultApi->api_v1_integration_auth_oauth_token_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_auth_oauth_token_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_integration_auth_oauth_token_post_request** | [**ApiV1IntegrationAuthOauthTokenPostRequest**](ApiV1IntegrationAuthOauthTokenPostRequest.md)| | - -### Return type - -[**ApiV1IntegrationAuthIntegrationAuthIdGet200Response**](ApiV1IntegrationAuthIntegrationAuthIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_integration_id_delete** -> ApiV1IntegrationPost200Response api_v1_integration_integration_id_delete(integration_id, should_delete_integration_secrets=should_delete_integration_secrets) - - - -Remove an integration using the integration object ID - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_post200_response import ApiV1IntegrationPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_id = 'integration_id_example' # str | The ID of the integration object. - should_delete_integration_secrets = 'should_delete_integration_secrets_example' # str | (optional) - - try: - api_response = api_instance.api_v1_integration_integration_id_delete(integration_id, should_delete_integration_secrets=should_delete_integration_secrets) - print("The response of DefaultApi->api_v1_integration_integration_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_integration_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_id** | **str**| The ID of the integration object. | - **should_delete_integration_secrets** | **str**| | [optional] - -### Return type - -[**ApiV1IntegrationPost200Response**](ApiV1IntegrationPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_integration_id_patch** -> ApiV1IntegrationPost200Response api_v1_integration_integration_id_patch(integration_id, api_v1_integration_integration_id_patch_request) - - - -Update an integration by integration id - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request import ApiV1IntegrationIntegrationIdPatchRequest -from infisicalapi_client.models.api_v1_integration_post200_response import ApiV1IntegrationPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_id = 'integration_id_example' # str | The ID of the integration object. - api_v1_integration_integration_id_patch_request = infisicalapi_client.ApiV1IntegrationIntegrationIdPatchRequest() # ApiV1IntegrationIntegrationIdPatchRequest | - - try: - api_response = api_instance.api_v1_integration_integration_id_patch(integration_id, api_v1_integration_integration_id_patch_request) - print("The response of DefaultApi->api_v1_integration_integration_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_integration_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_id** | **str**| The ID of the integration object. | - **api_v1_integration_integration_id_patch_request** | [**ApiV1IntegrationIntegrationIdPatchRequest**](ApiV1IntegrationIntegrationIdPatchRequest.md)| | - -### Return type - -[**ApiV1IntegrationPost200Response**](ApiV1IntegrationPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_integration_id_sync_post** -> ApiV1IntegrationPost200Response api_v1_integration_integration_id_sync_post(integration_id) - - - -Manually trigger sync of an integration by integration id - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_post200_response import ApiV1IntegrationPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - integration_id = 'integration_id_example' # str | The ID of the integration object to manually sync - - try: - api_response = api_instance.api_v1_integration_integration_id_sync_post(integration_id) - print("The response of DefaultApi->api_v1_integration_integration_id_sync_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_integration_id_sync_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **integration_id** | **str**| The ID of the integration object to manually sync | - -### Return type - -[**ApiV1IntegrationPost200Response**](ApiV1IntegrationPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_integration_post** -> ApiV1IntegrationPost200Response api_v1_integration_post(api_v1_integration_post_request) - - - -Create an integration to sync secrets. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_integration_post200_response import ApiV1IntegrationPost200Response -from infisicalapi_client.models.api_v1_integration_post_request import ApiV1IntegrationPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_integration_post_request = infisicalapi_client.ApiV1IntegrationPostRequest() # ApiV1IntegrationPostRequest | - - try: - api_response = api_instance.api_v1_integration_post(api_v1_integration_post_request) - print("The response of DefaultApi->api_v1_integration_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_integration_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_integration_post_request** | [**ApiV1IntegrationPostRequest**](ApiV1IntegrationPostRequest.md)| | - -### Return type - -[**ApiV1IntegrationPost200Response**](ApiV1IntegrationPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_invite_org_signup_post** -> ApiV1InviteOrgSignupPost200Response api_v1_invite_org_signup_post(api_v1_invite_org_signup_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_invite_org_signup_post200_response import ApiV1InviteOrgSignupPost200Response -from infisicalapi_client.models.api_v1_invite_org_signup_post_request import ApiV1InviteOrgSignupPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_invite_org_signup_post_request = infisicalapi_client.ApiV1InviteOrgSignupPostRequest() # ApiV1InviteOrgSignupPostRequest | - - try: - api_response = api_instance.api_v1_invite_org_signup_post(api_v1_invite_org_signup_post_request) - print("The response of DefaultApi->api_v1_invite_org_signup_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_invite_org_signup_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_invite_org_signup_post_request** | [**ApiV1InviteOrgSignupPostRequest**](ApiV1InviteOrgSignupPostRequest.md)| | - -### Return type - -[**ApiV1InviteOrgSignupPost200Response**](ApiV1InviteOrgSignupPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_invite_org_verify_post** -> ApiV1InviteOrgVerifyPost200Response api_v1_invite_org_verify_post(api_v1_invite_org_verify_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_invite_org_verify_post200_response import ApiV1InviteOrgVerifyPost200Response -from infisicalapi_client.models.api_v1_invite_org_verify_post_request import ApiV1InviteOrgVerifyPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_invite_org_verify_post_request = infisicalapi_client.ApiV1InviteOrgVerifyPostRequest() # ApiV1InviteOrgVerifyPostRequest | - - try: - api_response = api_instance.api_v1_invite_org_verify_post(api_v1_invite_org_verify_post_request) - print("The response of DefaultApi->api_v1_invite_org_verify_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_invite_org_verify_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_invite_org_verify_post_request** | [**ApiV1InviteOrgVerifyPostRequest**](ApiV1InviteOrgVerifyPostRequest.md)| | - -### Return type - -[**ApiV1InviteOrgVerifyPost200Response**](ApiV1InviteOrgVerifyPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_ldap_config_config_id_group_maps_get** -> List[ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner] api_v1_ldap_config_config_id_group_maps_get(config_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_get200_response_inner import ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - config_id = 'config_id_example' # str | - - try: - api_response = api_instance.api_v1_ldap_config_config_id_group_maps_get(config_id) - print("The response of DefaultApi->api_v1_ldap_config_config_id_group_maps_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_ldap_config_config_id_group_maps_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **config_id** | **str**| | - -### Return type - -[**List[ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner]**](ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_ldap_config_config_id_group_maps_group_map_id_delete** -> ApiV1LdapConfigConfigIdGroupMapsPost200Response api_v1_ldap_config_config_id_group_maps_group_map_id_delete(config_id, group_map_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post200_response import ApiV1LdapConfigConfigIdGroupMapsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - config_id = 'config_id_example' # str | - group_map_id = 'group_map_id_example' # str | - - try: - api_response = api_instance.api_v1_ldap_config_config_id_group_maps_group_map_id_delete(config_id, group_map_id) - print("The response of DefaultApi->api_v1_ldap_config_config_id_group_maps_group_map_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_ldap_config_config_id_group_maps_group_map_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **config_id** | **str**| | - **group_map_id** | **str**| | - -### Return type - -[**ApiV1LdapConfigConfigIdGroupMapsPost200Response**](ApiV1LdapConfigConfigIdGroupMapsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_ldap_config_config_id_group_maps_post** -> ApiV1LdapConfigConfigIdGroupMapsPost200Response api_v1_ldap_config_config_id_group_maps_post(config_id, api_v1_ldap_config_config_id_group_maps_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post200_response import ApiV1LdapConfigConfigIdGroupMapsPost200Response -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post_request import ApiV1LdapConfigConfigIdGroupMapsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - config_id = 'config_id_example' # str | - api_v1_ldap_config_config_id_group_maps_post_request = infisicalapi_client.ApiV1LdapConfigConfigIdGroupMapsPostRequest() # ApiV1LdapConfigConfigIdGroupMapsPostRequest | - - try: - api_response = api_instance.api_v1_ldap_config_config_id_group_maps_post(config_id, api_v1_ldap_config_config_id_group_maps_post_request) - print("The response of DefaultApi->api_v1_ldap_config_config_id_group_maps_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_ldap_config_config_id_group_maps_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **config_id** | **str**| | - **api_v1_ldap_config_config_id_group_maps_post_request** | [**ApiV1LdapConfigConfigIdGroupMapsPostRequest**](ApiV1LdapConfigConfigIdGroupMapsPostRequest.md)| | - -### Return type - -[**ApiV1LdapConfigConfigIdGroupMapsPost200Response**](ApiV1LdapConfigConfigIdGroupMapsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_ldap_config_config_id_test_connection_post** -> bool api_v1_ldap_config_config_id_test_connection_post(config_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - config_id = 'config_id_example' # str | - - try: - api_response = api_instance.api_v1_ldap_config_config_id_test_connection_post(config_id) - print("The response of DefaultApi->api_v1_ldap_config_config_id_test_connection_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_ldap_config_config_id_test_connection_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **config_id** | **str**| | - -### Return type - -**bool** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_ldap_config_get** -> ApiV1LdapConfigGet200Response api_v1_ldap_config_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_ldap_config_get200_response import ApiV1LdapConfigGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_ldap_config_get(organization_id) - print("The response of DefaultApi->api_v1_ldap_config_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_ldap_config_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1LdapConfigGet200Response**](ApiV1LdapConfigGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_ldap_config_patch** -> ApiV1LdapConfigPost200Response api_v1_ldap_config_patch(api_v1_ldap_config_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_ldap_config_patch_request import ApiV1LdapConfigPatchRequest -from infisicalapi_client.models.api_v1_ldap_config_post200_response import ApiV1LdapConfigPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_ldap_config_patch_request = infisicalapi_client.ApiV1LdapConfigPatchRequest() # ApiV1LdapConfigPatchRequest | - - try: - api_response = api_instance.api_v1_ldap_config_patch(api_v1_ldap_config_patch_request) - print("The response of DefaultApi->api_v1_ldap_config_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_ldap_config_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_ldap_config_patch_request** | [**ApiV1LdapConfigPatchRequest**](ApiV1LdapConfigPatchRequest.md)| | - -### Return type - -[**ApiV1LdapConfigPost200Response**](ApiV1LdapConfigPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_ldap_config_post** -> ApiV1LdapConfigPost200Response api_v1_ldap_config_post(api_v1_ldap_config_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_ldap_config_post200_response import ApiV1LdapConfigPost200Response -from infisicalapi_client.models.api_v1_ldap_config_post_request import ApiV1LdapConfigPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_ldap_config_post_request = infisicalapi_client.ApiV1LdapConfigPostRequest() # ApiV1LdapConfigPostRequest | - - try: - api_response = api_instance.api_v1_ldap_config_post(api_v1_ldap_config_post_request) - print("The response of DefaultApi->api_v1_ldap_config_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_ldap_config_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_ldap_config_post_request** | [**ApiV1LdapConfigPostRequest**](ApiV1LdapConfigPostRequest.md)| | - -### Return type - -[**ApiV1LdapConfigPost200Response**](ApiV1LdapConfigPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_ldap_login_post** -> api_v1_ldap_login_post(api_v1_ldap_login_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_ldap_login_post_request import ApiV1LdapLoginPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_ldap_login_post_request = infisicalapi_client.ApiV1LdapLoginPostRequest() # ApiV1LdapLoginPostRequest | - - try: - api_instance.api_v1_ldap_login_post(api_v1_ldap_login_post_request) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_ldap_login_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_ldap_login_post_request** | [**ApiV1LdapLoginPostRequest**](ApiV1LdapLoginPostRequest.md)| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_admin_projects_get** -> ApiV1OrganizationAdminProjectsGet200Response api_v1_organization_admin_projects_get(search=search, offset=offset, limit=limit) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response import ApiV1OrganizationAdminProjectsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - search = 'search_example' # str | (optional) - offset = 0 # float | (optional) (default to 0) - limit = 50 # float | (optional) (default to 50) - - try: - api_response = api_instance.api_v1_organization_admin_projects_get(search=search, offset=offset, limit=limit) - print("The response of DefaultApi->api_v1_organization_admin_projects_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_admin_projects_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **search** | **str**| | [optional] - **offset** | **float**| | [optional] [default to 0] - **limit** | **float**| | [optional] [default to 50] - -### Return type - -[**ApiV1OrganizationAdminProjectsGet200Response**](ApiV1OrganizationAdminProjectsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_admin_projects_project_id_grant_admin_access_post** -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response api_v1_organization_admin_projects_project_id_grant_admin_access_post(project_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | - - try: - api_response = api_instance.api_v1_organization_admin_projects_project_id_grant_admin_access_post(project_id) - print("The response of DefaultApi->api_v1_organization_admin_projects_project_id_grant_admin_access_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_admin_projects_project_id_grant_admin_access_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -[**ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response**](ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_get** -> ApiV1OrganizationGet200Response api_v1_organization_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_get200_response import ApiV1OrganizationGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_organization_get() - print("The response of DefaultApi->api_v1_organization_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1OrganizationGet200Response**](ApiV1OrganizationGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_get** -> ApiV1OrganizationOrganizationIdGet200Response api_v1_organization_organization_id_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_get200_response import ApiV1OrganizationOrganizationIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organization_organization_id_get(organization_id) - print("The response of DefaultApi->api_v1_organization_organization_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1OrganizationOrganizationIdGet200Response**](ApiV1OrganizationOrganizationIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_groups_get** -> ApiV1OrganizationOrganizationIdGroupsGet200Response api_v1_organization_organization_id_groups_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response import ApiV1OrganizationOrganizationIdGroupsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | The ID of the organization to list groups for. - - try: - api_response = api_instance.api_v1_organization_organization_id_groups_get(organization_id) - print("The response of DefaultApi->api_v1_organization_organization_id_groups_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_groups_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| The ID of the organization to list groups for. | - -### Return type - -[**ApiV1OrganizationOrganizationIdGroupsGet200Response**](ApiV1OrganizationOrganizationIdGroupsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_incident_contact_org_get** -> ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response api_v1_organization_organization_id_incident_contact_org_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organization_organization_id_incident_contact_org_get(organization_id) - print("The response of DefaultApi->api_v1_organization_organization_id_incident_contact_org_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_incident_contact_org_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response**](ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete** -> ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete(organization_id, incident_contact_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_post200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - incident_contact_id = 'incident_contact_id_example' # str | - - try: - api_response = api_instance.api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete(organization_id, incident_contact_id) - print("The response of DefaultApi->api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **incident_contact_id** | **str**| | - -### Return type - -[**ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response**](ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_incident_contact_org_post** -> ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response api_v1_organization_organization_id_incident_contact_org_post(organization_id, api_v1_password_email_password_reset_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_post200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response -from infisicalapi_client.models.api_v1_password_email_password_reset_post_request import ApiV1PasswordEmailPasswordResetPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - api_v1_password_email_password_reset_post_request = infisicalapi_client.ApiV1PasswordEmailPasswordResetPostRequest() # ApiV1PasswordEmailPasswordResetPostRequest | - - try: - api_response = api_instance.api_v1_organization_organization_id_incident_contact_org_post(organization_id, api_v1_password_email_password_reset_post_request) - print("The response of DefaultApi->api_v1_organization_organization_id_incident_contact_org_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_incident_contact_org_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **api_v1_password_email_password_reset_post_request** | [**ApiV1PasswordEmailPasswordResetPostRequest**](ApiV1PasswordEmailPasswordResetPostRequest.md)| | - -### Return type - -[**ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response**](ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_patch** -> ApiV1OrganizationOrganizationIdPatch200Response api_v1_organization_organization_id_patch(organization_id, api_v1_organization_organization_id_patch_request=api_v1_organization_organization_id_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_patch200_response import ApiV1OrganizationOrganizationIdPatch200Response -from infisicalapi_client.models.api_v1_organization_organization_id_patch_request import ApiV1OrganizationOrganizationIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - api_v1_organization_organization_id_patch_request = infisicalapi_client.ApiV1OrganizationOrganizationIdPatchRequest() # ApiV1OrganizationOrganizationIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_organization_organization_id_patch(organization_id, api_v1_organization_organization_id_patch_request=api_v1_organization_organization_id_patch_request) - print("The response of DefaultApi->api_v1_organization_organization_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **api_v1_organization_organization_id_patch_request** | [**ApiV1OrganizationOrganizationIdPatchRequest**](ApiV1OrganizationOrganizationIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1OrganizationOrganizationIdPatch200Response**](ApiV1OrganizationOrganizationIdPatch200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_permissions_get** -> ApiV1OrganizationOrganizationIdPermissionsGet200Response api_v1_organization_organization_id_permissions_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response import ApiV1OrganizationOrganizationIdPermissionsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organization_organization_id_permissions_get(organization_id) - print("The response of DefaultApi->api_v1_organization_organization_id_permissions_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_permissions_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1OrganizationOrganizationIdPermissionsGet200Response**](ApiV1OrganizationOrganizationIdPermissionsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_roles_get** -> ApiV1OrganizationOrganizationIdRolesGet200Response api_v1_organization_organization_id_roles_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response import ApiV1OrganizationOrganizationIdRolesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organization_organization_id_roles_get(organization_id) - print("The response of DefaultApi->api_v1_organization_organization_id_roles_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_roles_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1OrganizationOrganizationIdRolesGet200Response**](ApiV1OrganizationOrganizationIdRolesGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_roles_post** -> ApiV1OrganizationOrganizationIdRolesPost200Response api_v1_organization_organization_id_roles_post(organization_id, api_v1_organization_organization_id_roles_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response import ApiV1OrganizationOrganizationIdRolesPost200Response -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post_request import ApiV1OrganizationOrganizationIdRolesPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - api_v1_organization_organization_id_roles_post_request = infisicalapi_client.ApiV1OrganizationOrganizationIdRolesPostRequest() # ApiV1OrganizationOrganizationIdRolesPostRequest | - - try: - api_response = api_instance.api_v1_organization_organization_id_roles_post(organization_id, api_v1_organization_organization_id_roles_post_request) - print("The response of DefaultApi->api_v1_organization_organization_id_roles_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_roles_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **api_v1_organization_organization_id_roles_post_request** | [**ApiV1OrganizationOrganizationIdRolesPostRequest**](ApiV1OrganizationOrganizationIdRolesPostRequest.md)| | - -### Return type - -[**ApiV1OrganizationOrganizationIdRolesPost200Response**](ApiV1OrganizationOrganizationIdRolesPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_roles_role_id_delete** -> ApiV1OrganizationOrganizationIdRolesPost200Response api_v1_organization_organization_id_roles_role_id_delete(organization_id, role_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response import ApiV1OrganizationOrganizationIdRolesPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - role_id = 'role_id_example' # str | - - try: - api_response = api_instance.api_v1_organization_organization_id_roles_role_id_delete(organization_id, role_id) - print("The response of DefaultApi->api_v1_organization_organization_id_roles_role_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_roles_role_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **role_id** | **str**| | - -### Return type - -[**ApiV1OrganizationOrganizationIdRolesPost200Response**](ApiV1OrganizationOrganizationIdRolesPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_roles_role_id_get** -> ApiV1OrganizationOrganizationIdRolesPost200Response api_v1_organization_organization_id_roles_role_id_get(organization_id, role_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response import ApiV1OrganizationOrganizationIdRolesPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - role_id = 'role_id_example' # str | - - try: - api_response = api_instance.api_v1_organization_organization_id_roles_role_id_get(organization_id, role_id) - print("The response of DefaultApi->api_v1_organization_organization_id_roles_role_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_roles_role_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **role_id** | **str**| | - -### Return type - -[**ApiV1OrganizationOrganizationIdRolesPost200Response**](ApiV1OrganizationOrganizationIdRolesPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_roles_role_id_patch** -> ApiV1OrganizationOrganizationIdRolesPost200Response api_v1_organization_organization_id_roles_role_id_patch(organization_id, role_id, api_v1_organization_organization_id_roles_role_id_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response import ApiV1OrganizationOrganizationIdRolesPost200Response -from infisicalapi_client.models.api_v1_organization_organization_id_roles_role_id_patch_request import ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - role_id = 'role_id_example' # str | - api_v1_organization_organization_id_roles_role_id_patch_request = infisicalapi_client.ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest() # ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest | - - try: - api_response = api_instance.api_v1_organization_organization_id_roles_role_id_patch(organization_id, role_id, api_v1_organization_organization_id_roles_role_id_patch_request) - print("The response of DefaultApi->api_v1_organization_organization_id_roles_role_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_roles_role_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **role_id** | **str**| | - **api_v1_organization_organization_id_roles_role_id_patch_request** | [**ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest**](ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.md)| | - -### Return type - -[**ApiV1OrganizationOrganizationIdRolesPost200Response**](ApiV1OrganizationOrganizationIdRolesPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organization_organization_id_users_get** -> ApiV1OrganizationOrganizationIdUsersGet200Response api_v1_organization_organization_id_users_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response import ApiV1OrganizationOrganizationIdUsersGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organization_organization_id_users_get(organization_id) - print("The response of DefaultApi->api_v1_organization_organization_id_users_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organization_organization_id_users_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1OrganizationOrganizationIdUsersGet200Response**](ApiV1OrganizationOrganizationIdUsersGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_billing_details_get** -> object api_v1_organizations_organization_id_billing_details_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_billing_details_get(organization_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_billing_details_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_billing_details_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_billing_details_patch** -> object api_v1_organizations_organization_id_billing_details_patch(organization_id, api_v1_organizations_organization_id_billing_details_patch_request=api_v1_organizations_organization_id_billing_details_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_patch_request import ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - api_v1_organizations_organization_id_billing_details_patch_request = infisicalapi_client.ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest() # ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_organizations_organization_id_billing_details_patch(organization_id, api_v1_organizations_organization_id_billing_details_patch_request=api_v1_organizations_organization_id_billing_details_patch_request) - print("The response of DefaultApi->api_v1_organizations_organization_id_billing_details_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_billing_details_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **api_v1_organizations_organization_id_billing_details_patch_request** | [**ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest**](ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.md)| | [optional] - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_billing_details_payment_methods_get** -> object api_v1_organizations_organization_id_billing_details_payment_methods_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_billing_details_payment_methods_get(organization_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_billing_details_payment_methods_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_billing_details_payment_methods_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete** -> object api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete(organization_id, pmt_method_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - pmt_method_id = 'pmt_method_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete(organization_id, pmt_method_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **pmt_method_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_billing_details_payment_methods_post** -> object api_v1_organizations_organization_id_billing_details_payment_methods_post(organization_id, api_v1_organizations_organization_id_billing_details_payment_methods_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_payment_methods_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - api_v1_organizations_organization_id_billing_details_payment_methods_post_request = infisicalapi_client.ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest() # ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest | - - try: - api_response = api_instance.api_v1_organizations_organization_id_billing_details_payment_methods_post(organization_id, api_v1_organizations_organization_id_billing_details_payment_methods_post_request) - print("The response of DefaultApi->api_v1_organizations_organization_id_billing_details_payment_methods_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_billing_details_payment_methods_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **api_v1_organizations_organization_id_billing_details_payment_methods_post_request** | [**ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest**](ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.md)| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_billing_details_tax_ids_get** -> object api_v1_organizations_organization_id_billing_details_tax_ids_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_billing_details_tax_ids_get(organization_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_billing_details_tax_ids_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_billing_details_tax_ids_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_billing_details_tax_ids_post** -> object api_v1_organizations_organization_id_billing_details_tax_ids_post(organization_id, api_v1_organizations_organization_id_billing_details_tax_ids_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_tax_ids_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - api_v1_organizations_organization_id_billing_details_tax_ids_post_request = infisicalapi_client.ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest() # ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest | - - try: - api_response = api_instance.api_v1_organizations_organization_id_billing_details_tax_ids_post(organization_id, api_v1_organizations_organization_id_billing_details_tax_ids_post_request) - print("The response of DefaultApi->api_v1_organizations_organization_id_billing_details_tax_ids_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_billing_details_tax_ids_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **api_v1_organizations_organization_id_billing_details_tax_ids_post_request** | [**ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest**](ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.md)| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete** -> object api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete(organization_id, tax_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - tax_id = 'tax_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete(organization_id, tax_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **tax_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_customer_portal_session_post** -> object api_v1_organizations_organization_id_customer_portal_session_post(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_customer_portal_session_post(organization_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_customer_portal_session_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_customer_portal_session_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_invoices_get** -> object api_v1_organizations_organization_id_invoices_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_invoices_get(organization_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_invoices_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_invoices_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_licenses_get** -> object api_v1_organizations_organization_id_licenses_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_licenses_get(organization_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_licenses_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_licenses_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_plan_billing_get** -> object api_v1_organizations_organization_id_plan_billing_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_plan_billing_get(organization_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_plan_billing_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_plan_billing_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_plan_get** -> ApiV1OrganizationsOrganizationIdPlanGet200Response api_v1_organizations_organization_id_plan_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organizations_organization_id_plan_get200_response import ApiV1OrganizationsOrganizationIdPlanGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_plan_get(organization_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_plan_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_plan_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1OrganizationsOrganizationIdPlanGet200Response**](ApiV1OrganizationsOrganizationIdPlanGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_plan_table_get** -> object api_v1_organizations_organization_id_plan_table_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_plan_table_get(organization_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_plan_table_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_plan_table_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_plans_get** -> object api_v1_organizations_organization_id_plans_get(organization_id, workspace_id=workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - workspace_id = 'workspace_id_example' # str | (optional) - - try: - api_response = api_instance.api_v1_organizations_organization_id_plans_get(organization_id, workspace_id=workspace_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_plans_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_plans_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **workspace_id** | **str**| | [optional] - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_plans_table_get** -> object api_v1_organizations_organization_id_plans_table_get(billing_cycle, organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - billing_cycle = 'billing_cycle_example' # str | - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_organizations_organization_id_plans_table_get(billing_cycle, organization_id) - print("The response of DefaultApi->api_v1_organizations_organization_id_plans_table_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_plans_table_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **billing_cycle** | **str**| | - **organization_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_organizations_organization_id_session_trial_post** -> object api_v1_organizations_organization_id_session_trial_post(organization_id, api_v1_organizations_organization_id_session_trial_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organizations_organization_id_session_trial_post_request import ApiV1OrganizationsOrganizationIdSessionTrialPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - api_v1_organizations_organization_id_session_trial_post_request = infisicalapi_client.ApiV1OrganizationsOrganizationIdSessionTrialPostRequest() # ApiV1OrganizationsOrganizationIdSessionTrialPostRequest | - - try: - api_response = api_instance.api_v1_organizations_organization_id_session_trial_post(organization_id, api_v1_organizations_organization_id_session_trial_post_request) - print("The response of DefaultApi->api_v1_organizations_organization_id_session_trial_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_organizations_organization_id_session_trial_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **api_v1_organizations_organization_id_session_trial_post_request** | [**ApiV1OrganizationsOrganizationIdSessionTrialPostRequest**](ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.md)| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_password_backup_private_key_get** -> ApiV1PasswordBackupPrivateKeyGet200Response api_v1_password_backup_private_key_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response import ApiV1PasswordBackupPrivateKeyGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_password_backup_private_key_get() - print("The response of DefaultApi->api_v1_password_backup_private_key_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_password_backup_private_key_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1PasswordBackupPrivateKeyGet200Response**](ApiV1PasswordBackupPrivateKeyGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_password_backup_private_key_post** -> ApiV1PasswordBackupPrivateKeyGet200Response api_v1_password_backup_private_key_post(api_v1_password_backup_private_key_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response import ApiV1PasswordBackupPrivateKeyGet200Response -from infisicalapi_client.models.api_v1_password_backup_private_key_post_request import ApiV1PasswordBackupPrivateKeyPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_password_backup_private_key_post_request = infisicalapi_client.ApiV1PasswordBackupPrivateKeyPostRequest() # ApiV1PasswordBackupPrivateKeyPostRequest | - - try: - api_response = api_instance.api_v1_password_backup_private_key_post(api_v1_password_backup_private_key_post_request) - print("The response of DefaultApi->api_v1_password_backup_private_key_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_password_backup_private_key_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_password_backup_private_key_post_request** | [**ApiV1PasswordBackupPrivateKeyPostRequest**](ApiV1PasswordBackupPrivateKeyPostRequest.md)| | - -### Return type - -[**ApiV1PasswordBackupPrivateKeyGet200Response**](ApiV1PasswordBackupPrivateKeyGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_password_change_password_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v1_password_change_password_post(api_v1_password_change_password_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_password_change_password_post_request import ApiV1PasswordChangePasswordPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_password_change_password_post_request = infisicalapi_client.ApiV1PasswordChangePasswordPostRequest() # ApiV1PasswordChangePasswordPostRequest | - - try: - api_response = api_instance.api_v1_password_change_password_post(api_v1_password_change_password_post_request) - print("The response of DefaultApi->api_v1_password_change_password_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_password_change_password_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_password_change_password_post_request** | [**ApiV1PasswordChangePasswordPostRequest**](ApiV1PasswordChangePasswordPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_password_email_password_reset_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v1_password_email_password_reset_post(api_v1_password_email_password_reset_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_password_email_password_reset_post_request import ApiV1PasswordEmailPasswordResetPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_password_email_password_reset_post_request = infisicalapi_client.ApiV1PasswordEmailPasswordResetPostRequest() # ApiV1PasswordEmailPasswordResetPostRequest | - - try: - api_response = api_instance.api_v1_password_email_password_reset_post(api_v1_password_email_password_reset_post_request) - print("The response of DefaultApi->api_v1_password_email_password_reset_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_password_email_password_reset_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_password_email_password_reset_post_request** | [**ApiV1PasswordEmailPasswordResetPostRequest**](ApiV1PasswordEmailPasswordResetPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_password_email_password_reset_verify_post** -> ApiV1PasswordEmailPasswordResetVerifyPost200Response api_v1_password_email_password_reset_verify_post(api_v1_password_email_password_reset_verify_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response import ApiV1PasswordEmailPasswordResetVerifyPost200Response -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post_request import ApiV1PasswordEmailPasswordResetVerifyPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_password_email_password_reset_verify_post_request = infisicalapi_client.ApiV1PasswordEmailPasswordResetVerifyPostRequest() # ApiV1PasswordEmailPasswordResetVerifyPostRequest | - - try: - api_response = api_instance.api_v1_password_email_password_reset_verify_post(api_v1_password_email_password_reset_verify_post_request) - print("The response of DefaultApi->api_v1_password_email_password_reset_verify_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_password_email_password_reset_verify_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_password_email_password_reset_verify_post_request** | [**ApiV1PasswordEmailPasswordResetVerifyPostRequest**](ApiV1PasswordEmailPasswordResetVerifyPostRequest.md)| | - -### Return type - -[**ApiV1PasswordEmailPasswordResetVerifyPost200Response**](ApiV1PasswordEmailPasswordResetVerifyPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_password_password_reset_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v1_password_password_reset_post(api_v1_password_password_reset_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_password_password_reset_post_request import ApiV1PasswordPasswordResetPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_password_password_reset_post_request = infisicalapi_client.ApiV1PasswordPasswordResetPostRequest() # ApiV1PasswordPasswordResetPostRequest | - - try: - api_response = api_instance.api_v1_password_password_reset_post(api_v1_password_password_reset_post_request) - print("The response of DefaultApi->api_v1_password_password_reset_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_password_password_reset_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_password_password_reset_post_request** | [**ApiV1PasswordPasswordResetPostRequest**](ApiV1PasswordPasswordResetPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_password_srp1_post** -> ApiV1PasswordSrp1Post200Response api_v1_password_srp1_post(api_v1_password_srp1_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_password_srp1_post200_response import ApiV1PasswordSrp1Post200Response -from infisicalapi_client.models.api_v1_password_srp1_post_request import ApiV1PasswordSrp1PostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_password_srp1_post_request = infisicalapi_client.ApiV1PasswordSrp1PostRequest() # ApiV1PasswordSrp1PostRequest | - - try: - api_response = api_instance.api_v1_password_srp1_post(api_v1_password_srp1_post_request) - print("The response of DefaultApi->api_v1_password_srp1_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_password_srp1_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_password_srp1_post_request** | [**ApiV1PasswordSrp1PostRequest**](ApiV1PasswordSrp1PostRequest.md)| | - -### Return type - -[**ApiV1PasswordSrp1Post200Response**](ApiV1PasswordSrp1Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_ca_id_certificate_get** -> ApiV1PkiCaCaIdCertificateGet200Response api_v1_pki_ca_ca_id_certificate_get(ca_id) - - - -Get cert and cert chain of a CA - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_ca_id_certificate_get200_response import ApiV1PkiCaCaIdCertificateGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - ca_id = 'ca_id_example' # str | The ID of the CA to get the certificate body and certificate chain from - - try: - api_response = api_instance.api_v1_pki_ca_ca_id_certificate_get(ca_id) - print("The response of DefaultApi->api_v1_pki_ca_ca_id_certificate_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_ca_id_certificate_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ca_id** | **str**| The ID of the CA to get the certificate body and certificate chain from | - -### Return type - -[**ApiV1PkiCaCaIdCertificateGet200Response**](ApiV1PkiCaCaIdCertificateGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_ca_id_crl_get** -> ApiV1PkiCaCaIdCrlGet200Response api_v1_pki_ca_ca_id_crl_get(ca_id) - - - -Get CRL of the CA - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_ca_id_crl_get200_response import ApiV1PkiCaCaIdCrlGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - ca_id = 'ca_id_example' # str | The ID of the CA to get the certificate revocation list (CRL) for - - try: - api_response = api_instance.api_v1_pki_ca_ca_id_crl_get(ca_id) - print("The response of DefaultApi->api_v1_pki_ca_ca_id_crl_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_ca_id_crl_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ca_id** | **str**| The ID of the CA to get the certificate revocation list (CRL) for | - -### Return type - -[**ApiV1PkiCaCaIdCrlGet200Response**](ApiV1PkiCaCaIdCrlGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_ca_id_csr_get** -> ApiV1PkiCaCaIdCsrGet200Response api_v1_pki_ca_ca_id_csr_get(ca_id) - - - -Get CA CSR - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_ca_id_csr_get200_response import ApiV1PkiCaCaIdCsrGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - ca_id = 'ca_id_example' # str | The ID of the CA to generate CSR from - - try: - api_response = api_instance.api_v1_pki_ca_ca_id_csr_get(ca_id) - print("The response of DefaultApi->api_v1_pki_ca_ca_id_csr_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_ca_id_csr_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ca_id** | **str**| The ID of the CA to generate CSR from | - -### Return type - -[**ApiV1PkiCaCaIdCsrGet200Response**](ApiV1PkiCaCaIdCsrGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_ca_id_delete** -> ApiV1PkiCaPost200Response api_v1_pki_ca_ca_id_delete(ca_id) - - - -Delete CA - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_post200_response import ApiV1PkiCaPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - ca_id = 'ca_id_example' # str | The ID of the CA to delete - - try: - api_response = api_instance.api_v1_pki_ca_ca_id_delete(ca_id) - print("The response of DefaultApi->api_v1_pki_ca_ca_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_ca_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ca_id** | **str**| The ID of the CA to delete | - -### Return type - -[**ApiV1PkiCaPost200Response**](ApiV1PkiCaPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_ca_id_get** -> ApiV1PkiCaPost200Response api_v1_pki_ca_ca_id_get(ca_id) - - - -Get CA - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_post200_response import ApiV1PkiCaPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - ca_id = 'ca_id_example' # str | The ID of the CA to get - - try: - api_response = api_instance.api_v1_pki_ca_ca_id_get(ca_id) - print("The response of DefaultApi->api_v1_pki_ca_ca_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_ca_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ca_id** | **str**| The ID of the CA to get | - -### Return type - -[**ApiV1PkiCaPost200Response**](ApiV1PkiCaPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_ca_id_import_certificate_post** -> ApiV1PkiCaCaIdImportCertificatePost200Response api_v1_pki_ca_ca_id_import_certificate_post(ca_id, api_v1_pki_ca_ca_id_import_certificate_post_request) - - - -Import certificate and chain to CA - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post200_response import ApiV1PkiCaCaIdImportCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post_request import ApiV1PkiCaCaIdImportCertificatePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - ca_id = 'ca_id_example' # str | The ID of the CA to import the certificate for - api_v1_pki_ca_ca_id_import_certificate_post_request = infisicalapi_client.ApiV1PkiCaCaIdImportCertificatePostRequest() # ApiV1PkiCaCaIdImportCertificatePostRequest | - - try: - api_response = api_instance.api_v1_pki_ca_ca_id_import_certificate_post(ca_id, api_v1_pki_ca_ca_id_import_certificate_post_request) - print("The response of DefaultApi->api_v1_pki_ca_ca_id_import_certificate_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_ca_id_import_certificate_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ca_id** | **str**| The ID of the CA to import the certificate for | - **api_v1_pki_ca_ca_id_import_certificate_post_request** | [**ApiV1PkiCaCaIdImportCertificatePostRequest**](ApiV1PkiCaCaIdImportCertificatePostRequest.md)| | - -### Return type - -[**ApiV1PkiCaCaIdImportCertificatePost200Response**](ApiV1PkiCaCaIdImportCertificatePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_ca_id_issue_certificate_post** -> ApiV1PkiCaCaIdIssueCertificatePost200Response api_v1_pki_ca_ca_id_issue_certificate_post(ca_id, api_v1_pki_ca_ca_id_issue_certificate_post_request) - - - -Issue certificate from CA - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post200_response import ApiV1PkiCaCaIdIssueCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post_request import ApiV1PkiCaCaIdIssueCertificatePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - ca_id = 'ca_id_example' # str | The ID of the CA to issue the certificate from - api_v1_pki_ca_ca_id_issue_certificate_post_request = infisicalapi_client.ApiV1PkiCaCaIdIssueCertificatePostRequest() # ApiV1PkiCaCaIdIssueCertificatePostRequest | - - try: - api_response = api_instance.api_v1_pki_ca_ca_id_issue_certificate_post(ca_id, api_v1_pki_ca_ca_id_issue_certificate_post_request) - print("The response of DefaultApi->api_v1_pki_ca_ca_id_issue_certificate_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_ca_id_issue_certificate_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ca_id** | **str**| The ID of the CA to issue the certificate from | - **api_v1_pki_ca_ca_id_issue_certificate_post_request** | [**ApiV1PkiCaCaIdIssueCertificatePostRequest**](ApiV1PkiCaCaIdIssueCertificatePostRequest.md)| | - -### Return type - -[**ApiV1PkiCaCaIdIssueCertificatePost200Response**](ApiV1PkiCaCaIdIssueCertificatePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_ca_id_patch** -> ApiV1PkiCaPost200Response api_v1_pki_ca_ca_id_patch(ca_id, api_v1_pki_ca_ca_id_patch_request=api_v1_pki_ca_ca_id_patch_request) - - - -Update CA - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_ca_id_patch_request import ApiV1PkiCaCaIdPatchRequest -from infisicalapi_client.models.api_v1_pki_ca_post200_response import ApiV1PkiCaPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - ca_id = 'ca_id_example' # str | The ID of the CA to update - api_v1_pki_ca_ca_id_patch_request = infisicalapi_client.ApiV1PkiCaCaIdPatchRequest() # ApiV1PkiCaCaIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_pki_ca_ca_id_patch(ca_id, api_v1_pki_ca_ca_id_patch_request=api_v1_pki_ca_ca_id_patch_request) - print("The response of DefaultApi->api_v1_pki_ca_ca_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_ca_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ca_id** | **str**| The ID of the CA to update | - **api_v1_pki_ca_ca_id_patch_request** | [**ApiV1PkiCaCaIdPatchRequest**](ApiV1PkiCaCaIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1PkiCaPost200Response**](ApiV1PkiCaPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_ca_id_sign_certificate_post** -> ApiV1PkiCaCaIdSignCertificatePost200Response api_v1_pki_ca_ca_id_sign_certificate_post(ca_id, api_v1_pki_ca_ca_id_sign_certificate_post_request) - - - -Sign certificate from CA - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post200_response import ApiV1PkiCaCaIdSignCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post_request import ApiV1PkiCaCaIdSignCertificatePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - ca_id = 'ca_id_example' # str | The ID of the CA to issue the certificate from - api_v1_pki_ca_ca_id_sign_certificate_post_request = infisicalapi_client.ApiV1PkiCaCaIdSignCertificatePostRequest() # ApiV1PkiCaCaIdSignCertificatePostRequest | - - try: - api_response = api_instance.api_v1_pki_ca_ca_id_sign_certificate_post(ca_id, api_v1_pki_ca_ca_id_sign_certificate_post_request) - print("The response of DefaultApi->api_v1_pki_ca_ca_id_sign_certificate_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_ca_id_sign_certificate_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ca_id** | **str**| The ID of the CA to issue the certificate from | - **api_v1_pki_ca_ca_id_sign_certificate_post_request** | [**ApiV1PkiCaCaIdSignCertificatePostRequest**](ApiV1PkiCaCaIdSignCertificatePostRequest.md)| | - -### Return type - -[**ApiV1PkiCaCaIdSignCertificatePost200Response**](ApiV1PkiCaCaIdSignCertificatePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_ca_id_sign_intermediate_post** -> ApiV1PkiCaCaIdSignIntermediatePost200Response api_v1_pki_ca_ca_id_sign_intermediate_post(ca_id, api_v1_pki_ca_ca_id_sign_intermediate_post_request) - - - -Create intermediate CA certificate from parent CA - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post200_response import ApiV1PkiCaCaIdSignIntermediatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post_request import ApiV1PkiCaCaIdSignIntermediatePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - ca_id = 'ca_id_example' # str | The ID of the CA to sign the intermediate certificate with - api_v1_pki_ca_ca_id_sign_intermediate_post_request = infisicalapi_client.ApiV1PkiCaCaIdSignIntermediatePostRequest() # ApiV1PkiCaCaIdSignIntermediatePostRequest | - - try: - api_response = api_instance.api_v1_pki_ca_ca_id_sign_intermediate_post(ca_id, api_v1_pki_ca_ca_id_sign_intermediate_post_request) - print("The response of DefaultApi->api_v1_pki_ca_ca_id_sign_intermediate_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_ca_id_sign_intermediate_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ca_id** | **str**| The ID of the CA to sign the intermediate certificate with | - **api_v1_pki_ca_ca_id_sign_intermediate_post_request** | [**ApiV1PkiCaCaIdSignIntermediatePostRequest**](ApiV1PkiCaCaIdSignIntermediatePostRequest.md)| | - -### Return type - -[**ApiV1PkiCaCaIdSignIntermediatePost200Response**](ApiV1PkiCaCaIdSignIntermediatePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_ca_post** -> ApiV1PkiCaPost200Response api_v1_pki_ca_post(api_v1_pki_ca_post_request) - - - -Create CA - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_ca_post200_response import ApiV1PkiCaPost200Response -from infisicalapi_client.models.api_v1_pki_ca_post_request import ApiV1PkiCaPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_pki_ca_post_request = infisicalapi_client.ApiV1PkiCaPostRequest() # ApiV1PkiCaPostRequest | - - try: - api_response = api_instance.api_v1_pki_ca_post(api_v1_pki_ca_post_request) - print("The response of DefaultApi->api_v1_pki_ca_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_ca_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_pki_ca_post_request** | [**ApiV1PkiCaPostRequest**](ApiV1PkiCaPostRequest.md)| | - -### Return type - -[**ApiV1PkiCaPost200Response**](ApiV1PkiCaPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_certificates_serial_number_certificate_get** -> ApiV1PkiCertificatesSerialNumberCertificateGet200Response api_v1_pki_certificates_serial_number_certificate_get(serial_number) - - - -Get certificate body of certificate - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_certificate_get200_response import ApiV1PkiCertificatesSerialNumberCertificateGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - serial_number = 'serial_number_example' # str | The serial number of the certificate to get the certificate body and certificate chain for - - try: - api_response = api_instance.api_v1_pki_certificates_serial_number_certificate_get(serial_number) - print("The response of DefaultApi->api_v1_pki_certificates_serial_number_certificate_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_certificates_serial_number_certificate_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **serial_number** | **str**| The serial number of the certificate to get the certificate body and certificate chain for | - -### Return type - -[**ApiV1PkiCertificatesSerialNumberCertificateGet200Response**](ApiV1PkiCertificatesSerialNumberCertificateGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_certificates_serial_number_delete** -> ApiV1PkiCertificatesSerialNumberGet200Response api_v1_pki_certificates_serial_number_delete(serial_number) - - - -Delete certificate - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response import ApiV1PkiCertificatesSerialNumberGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - serial_number = 'serial_number_example' # str | The serial number of the certificate to delete - - try: - api_response = api_instance.api_v1_pki_certificates_serial_number_delete(serial_number) - print("The response of DefaultApi->api_v1_pki_certificates_serial_number_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_certificates_serial_number_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **serial_number** | **str**| The serial number of the certificate to delete | - -### Return type - -[**ApiV1PkiCertificatesSerialNumberGet200Response**](ApiV1PkiCertificatesSerialNumberGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_certificates_serial_number_get** -> ApiV1PkiCertificatesSerialNumberGet200Response api_v1_pki_certificates_serial_number_get(serial_number) - - - -Get certificate - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response import ApiV1PkiCertificatesSerialNumberGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - serial_number = 'serial_number_example' # str | The serial number of the certificate to get - - try: - api_response = api_instance.api_v1_pki_certificates_serial_number_get(serial_number) - print("The response of DefaultApi->api_v1_pki_certificates_serial_number_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_certificates_serial_number_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **serial_number** | **str**| The serial number of the certificate to get | - -### Return type - -[**ApiV1PkiCertificatesSerialNumberGet200Response**](ApiV1PkiCertificatesSerialNumberGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_pki_certificates_serial_number_revoke_post** -> ApiV1PkiCertificatesSerialNumberRevokePost200Response api_v1_pki_certificates_serial_number_revoke_post(serial_number, api_v1_pki_certificates_serial_number_revoke_post_request) - - - -Revoke - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post200_response import ApiV1PkiCertificatesSerialNumberRevokePost200Response -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post_request import ApiV1PkiCertificatesSerialNumberRevokePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - serial_number = 'serial_number_example' # str | The serial number of the certificate to revoke. The revoked certificate will be added to the certificate revocation list (CRL) of the CA. - api_v1_pki_certificates_serial_number_revoke_post_request = infisicalapi_client.ApiV1PkiCertificatesSerialNumberRevokePostRequest() # ApiV1PkiCertificatesSerialNumberRevokePostRequest | - - try: - api_response = api_instance.api_v1_pki_certificates_serial_number_revoke_post(serial_number, api_v1_pki_certificates_serial_number_revoke_post_request) - print("The response of DefaultApi->api_v1_pki_certificates_serial_number_revoke_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_pki_certificates_serial_number_revoke_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **serial_number** | **str**| The serial number of the certificate to revoke. The revoked certificate will be added to the certificate revocation list (CRL) of the CA. | - **api_v1_pki_certificates_serial_number_revoke_post_request** | [**ApiV1PkiCertificatesSerialNumberRevokePostRequest**](ApiV1PkiCertificatesSerialNumberRevokePostRequest.md)| | - -### Return type - -[**ApiV1PkiCertificatesSerialNumberRevokePost200Response**](ApiV1PkiCertificatesSerialNumberRevokePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_rate_limit_get** -> ApiV1RateLimitGet200Response api_v1_rate_limit_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_rate_limit_get200_response import ApiV1RateLimitGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_rate_limit_get() - print("The response of DefaultApi->api_v1_rate_limit_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_rate_limit_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1RateLimitGet200Response**](ApiV1RateLimitGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_rate_limit_put** -> ApiV1RateLimitGet200Response api_v1_rate_limit_put(api_v1_rate_limit_put_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_rate_limit_get200_response import ApiV1RateLimitGet200Response -from infisicalapi_client.models.api_v1_rate_limit_put_request import ApiV1RateLimitPutRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_rate_limit_put_request = infisicalapi_client.ApiV1RateLimitPutRequest() # ApiV1RateLimitPutRequest | - - try: - api_response = api_instance.api_v1_rate_limit_put(api_v1_rate_limit_put_request) - print("The response of DefaultApi->api_v1_rate_limit_put:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_rate_limit_put: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_rate_limit_put_request** | [**ApiV1RateLimitPutRequest**](ApiV1RateLimitPutRequest.md)| | - -### Return type - -[**ApiV1RateLimitGet200Response**](ApiV1RateLimitGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_groups_get** -> ApiV1ScimGroupsGet200Response api_v1_scim_groups_get(start_index=start_index, count=count, filter=filter) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_groups_get200_response import ApiV1ScimGroupsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - start_index = 1 # float | (optional) (default to 1) - count = 20 # float | (optional) (default to 20) - filter = 'filter_example' # str | (optional) - - try: - api_response = api_instance.api_v1_scim_groups_get(start_index=start_index, count=count, filter=filter) - print("The response of DefaultApi->api_v1_scim_groups_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_groups_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **start_index** | **float**| | [optional] [default to 1] - **count** | **float**| | [optional] [default to 20] - **filter** | **str**| | [optional] - -### Return type - -[**ApiV1ScimGroupsGet200Response**](ApiV1ScimGroupsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_groups_group_id_delete** -> object api_v1_scim_groups_group_id_delete(group_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - group_id = 'group_id_example' # str | - - try: - api_response = api_instance.api_v1_scim_groups_group_id_delete(group_id) - print("The response of DefaultApi->api_v1_scim_groups_group_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_groups_group_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_groups_group_id_get** -> ApiV1ScimGroupsGet200ResponseResourcesInner api_v1_scim_groups_group_id_get(group_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner import ApiV1ScimGroupsGet200ResponseResourcesInner -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - group_id = 'group_id_example' # str | - - try: - api_response = api_instance.api_v1_scim_groups_group_id_get(group_id) - print("The response of DefaultApi->api_v1_scim_groups_group_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_groups_group_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - -### Return type - -[**ApiV1ScimGroupsGet200ResponseResourcesInner**](ApiV1ScimGroupsGet200ResponseResourcesInner.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_groups_group_id_patch** -> ApiV1ScimGroupsGet200ResponseResourcesInner api_v1_scim_groups_group_id_patch(group_id, api_v1_scim_groups_group_id_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner import ApiV1ScimGroupsGet200ResponseResourcesInner -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request import ApiV1ScimGroupsGroupIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - group_id = 'group_id_example' # str | - api_v1_scim_groups_group_id_patch_request = infisicalapi_client.ApiV1ScimGroupsGroupIdPatchRequest() # ApiV1ScimGroupsGroupIdPatchRequest | - - try: - api_response = api_instance.api_v1_scim_groups_group_id_patch(group_id, api_v1_scim_groups_group_id_patch_request) - print("The response of DefaultApi->api_v1_scim_groups_group_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_groups_group_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **api_v1_scim_groups_group_id_patch_request** | [**ApiV1ScimGroupsGroupIdPatchRequest**](ApiV1ScimGroupsGroupIdPatchRequest.md)| | - -### Return type - -[**ApiV1ScimGroupsGet200ResponseResourcesInner**](ApiV1ScimGroupsGet200ResponseResourcesInner.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_groups_group_id_put** -> ApiV1ScimGroupsGet200ResponseResourcesInner api_v1_scim_groups_group_id_put(group_id, api_v1_scim_groups_group_id_put_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner import ApiV1ScimGroupsGet200ResponseResourcesInner -from infisicalapi_client.models.api_v1_scim_groups_group_id_put_request import ApiV1ScimGroupsGroupIdPutRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - group_id = 'group_id_example' # str | - api_v1_scim_groups_group_id_put_request = infisicalapi_client.ApiV1ScimGroupsGroupIdPutRequest() # ApiV1ScimGroupsGroupIdPutRequest | - - try: - api_response = api_instance.api_v1_scim_groups_group_id_put(group_id, api_v1_scim_groups_group_id_put_request) - print("The response of DefaultApi->api_v1_scim_groups_group_id_put:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_groups_group_id_put: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **api_v1_scim_groups_group_id_put_request** | [**ApiV1ScimGroupsGroupIdPutRequest**](ApiV1ScimGroupsGroupIdPutRequest.md)| | - -### Return type - -[**ApiV1ScimGroupsGet200ResponseResourcesInner**](ApiV1ScimGroupsGet200ResponseResourcesInner.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_groups_post** -> ApiV1ScimGroupsPost200Response api_v1_scim_groups_post(api_v1_scim_groups_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_groups_post200_response import ApiV1ScimGroupsPost200Response -from infisicalapi_client.models.api_v1_scim_groups_post_request import ApiV1ScimGroupsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_scim_groups_post_request = infisicalapi_client.ApiV1ScimGroupsPostRequest() # ApiV1ScimGroupsPostRequest | - - try: - api_response = api_instance.api_v1_scim_groups_post(api_v1_scim_groups_post_request) - print("The response of DefaultApi->api_v1_scim_groups_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_groups_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_scim_groups_post_request** | [**ApiV1ScimGroupsPostRequest**](ApiV1ScimGroupsPostRequest.md)| | - -### Return type - -[**ApiV1ScimGroupsPost200Response**](ApiV1ScimGroupsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_scim_tokens_get** -> ApiV1ScimScimTokensGet200Response api_v1_scim_scim_tokens_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response import ApiV1ScimScimTokensGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_scim_scim_tokens_get(organization_id) - print("The response of DefaultApi->api_v1_scim_scim_tokens_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_scim_tokens_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1ScimScimTokensGet200Response**](ApiV1ScimScimTokensGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_scim_tokens_post** -> ApiV1ScimScimTokensPost200Response api_v1_scim_scim_tokens_post(api_v1_scim_scim_tokens_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_scim_tokens_post200_response import ApiV1ScimScimTokensPost200Response -from infisicalapi_client.models.api_v1_scim_scim_tokens_post_request import ApiV1ScimScimTokensPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_scim_scim_tokens_post_request = infisicalapi_client.ApiV1ScimScimTokensPostRequest() # ApiV1ScimScimTokensPostRequest | - - try: - api_response = api_instance.api_v1_scim_scim_tokens_post(api_v1_scim_scim_tokens_post_request) - print("The response of DefaultApi->api_v1_scim_scim_tokens_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_scim_tokens_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_scim_scim_tokens_post_request** | [**ApiV1ScimScimTokensPostRequest**](ApiV1ScimScimTokensPostRequest.md)| | - -### Return type - -[**ApiV1ScimScimTokensPost200Response**](ApiV1ScimScimTokensPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_scim_tokens_scim_token_id_delete** -> ApiV1ScimScimTokensScimTokenIdDelete200Response api_v1_scim_scim_tokens_scim_token_id_delete(scim_token_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_scim_tokens_scim_token_id_delete200_response import ApiV1ScimScimTokensScimTokenIdDelete200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - scim_token_id = 'scim_token_id_example' # str | - - try: - api_response = api_instance.api_v1_scim_scim_tokens_scim_token_id_delete(scim_token_id) - print("The response of DefaultApi->api_v1_scim_scim_tokens_scim_token_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_scim_tokens_scim_token_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **scim_token_id** | **str**| | - -### Return type - -[**ApiV1ScimScimTokensScimTokenIdDelete200Response**](ApiV1ScimScimTokensScimTokenIdDelete200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_users_get** -> ApiV1ScimUsersGet200Response api_v1_scim_users_get(start_index=start_index, count=count, filter=filter) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_users_get200_response import ApiV1ScimUsersGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - start_index = 1 # float | (optional) (default to 1) - count = 20 # float | (optional) (default to 20) - filter = 'filter_example' # str | (optional) - - try: - api_response = api_instance.api_v1_scim_users_get(start_index=start_index, count=count, filter=filter) - print("The response of DefaultApi->api_v1_scim_users_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_users_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **start_index** | **float**| | [optional] [default to 1] - **count** | **float**| | [optional] [default to 20] - **filter** | **str**| | [optional] - -### Return type - -[**ApiV1ScimUsersGet200Response**](ApiV1ScimUsersGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_users_org_membership_id_delete** -> object api_v1_scim_users_org_membership_id_delete(org_membership_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - org_membership_id = 'org_membership_id_example' # str | - - try: - api_response = api_instance.api_v1_scim_users_org_membership_id_delete(org_membership_id) - print("The response of DefaultApi->api_v1_scim_users_org_membership_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_users_org_membership_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **org_membership_id** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_users_org_membership_id_get** -> ApiV1ScimUsersOrgMembershipIdGet201Response api_v1_scim_users_org_membership_id_get(org_membership_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response import ApiV1ScimUsersOrgMembershipIdGet201Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - org_membership_id = 'org_membership_id_example' # str | - - try: - api_response = api_instance.api_v1_scim_users_org_membership_id_get(org_membership_id) - print("The response of DefaultApi->api_v1_scim_users_org_membership_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_users_org_membership_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **org_membership_id** | **str**| | - -### Return type - -[**ApiV1ScimUsersOrgMembershipIdGet201Response**](ApiV1ScimUsersOrgMembershipIdGet201Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Default Response | - | - -[[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) - -# **api_v1_scim_users_org_membership_id_put** -> ApiV1ScimUsersOrgMembershipIdPut200Response api_v1_scim_users_org_membership_id_put(org_membership_id, api_v1_scim_users_org_membership_id_put_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put200_response import ApiV1ScimUsersOrgMembershipIdPut200Response -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put_request import ApiV1ScimUsersOrgMembershipIdPutRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - org_membership_id = 'org_membership_id_example' # str | - api_v1_scim_users_org_membership_id_put_request = infisicalapi_client.ApiV1ScimUsersOrgMembershipIdPutRequest() # ApiV1ScimUsersOrgMembershipIdPutRequest | - - try: - api_response = api_instance.api_v1_scim_users_org_membership_id_put(org_membership_id, api_v1_scim_users_org_membership_id_put_request) - print("The response of DefaultApi->api_v1_scim_users_org_membership_id_put:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_users_org_membership_id_put: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **org_membership_id** | **str**| | - **api_v1_scim_users_org_membership_id_put_request** | [**ApiV1ScimUsersOrgMembershipIdPutRequest**](ApiV1ScimUsersOrgMembershipIdPutRequest.md)| | - -### Return type - -[**ApiV1ScimUsersOrgMembershipIdPut200Response**](ApiV1ScimUsersOrgMembershipIdPut200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_scim_users_post** -> ApiV1ScimUsersPost200Response api_v1_scim_users_post(api_v1_scim_users_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_scim_users_post200_response import ApiV1ScimUsersPost200Response -from infisicalapi_client.models.api_v1_scim_users_post_request import ApiV1ScimUsersPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_scim_users_post_request = infisicalapi_client.ApiV1ScimUsersPostRequest() # ApiV1ScimUsersPostRequest | - - try: - api_response = api_instance.api_v1_scim_users_post(api_v1_scim_users_post_request) - print("The response of DefaultApi->api_v1_scim_users_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_scim_users_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_scim_users_post_request** | [**ApiV1ScimUsersPostRequest**](ApiV1ScimUsersPostRequest.md)| | - -### Return type - -[**ApiV1ScimUsersPost200Response**](ApiV1ScimUsersPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approval_requests_count_get** -> ApiV1SecretApprovalRequestsCountGet200Response api_v1_secret_approval_requests_count_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response import ApiV1SecretApprovalRequestsCountGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_secret_approval_requests_count_get(workspace_id) - print("The response of DefaultApi->api_v1_secret_approval_requests_count_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approval_requests_count_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1SecretApprovalRequestsCountGet200Response**](ApiV1SecretApprovalRequestsCountGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approval_requests_get** -> ApiV1SecretApprovalRequestsGet200Response api_v1_secret_approval_requests_get(workspace_id, environment=environment, committer=committer, status=status, limit=limit, offset=offset) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response import ApiV1SecretApprovalRequestsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - environment = 'environment_example' # str | (optional) - committer = 'committer_example' # str | (optional) - status = 'status_example' # str | (optional) - limit = 20 # float | (optional) (default to 20) - offset = 0 # float | (optional) (default to 0) - - try: - api_response = api_instance.api_v1_secret_approval_requests_get(workspace_id, environment=environment, committer=committer, status=status, limit=limit, offset=offset) - print("The response of DefaultApi->api_v1_secret_approval_requests_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approval_requests_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **environment** | **str**| | [optional] - **committer** | **str**| | [optional] - **status** | **str**| | [optional] - **limit** | **float**| | [optional] [default to 20] - **offset** | **float**| | [optional] [default to 0] - -### Return type - -[**ApiV1SecretApprovalRequestsGet200Response**](ApiV1SecretApprovalRequestsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approval_requests_id_get** -> ApiV1SecretApprovalRequestsIdGet200Response api_v1_secret_approval_requests_id_get(id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response import ApiV1SecretApprovalRequestsIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | - - try: - api_response = api_instance.api_v1_secret_approval_requests_id_get(id) - print("The response of DefaultApi->api_v1_secret_approval_requests_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approval_requests_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - -### Return type - -[**ApiV1SecretApprovalRequestsIdGet200Response**](ApiV1SecretApprovalRequestsIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approval_requests_id_merge_post** -> ApiV1SecretApprovalRequestsIdMergePost200Response api_v1_secret_approval_requests_id_merge_post(id, api_v1_secret_approval_requests_id_merge_post_request=api_v1_secret_approval_requests_id_merge_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response import ApiV1SecretApprovalRequestsIdMergePost200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post_request import ApiV1SecretApprovalRequestsIdMergePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | - api_v1_secret_approval_requests_id_merge_post_request = infisicalapi_client.ApiV1SecretApprovalRequestsIdMergePostRequest() # ApiV1SecretApprovalRequestsIdMergePostRequest | (optional) - - try: - api_response = api_instance.api_v1_secret_approval_requests_id_merge_post(id, api_v1_secret_approval_requests_id_merge_post_request=api_v1_secret_approval_requests_id_merge_post_request) - print("The response of DefaultApi->api_v1_secret_approval_requests_id_merge_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approval_requests_id_merge_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **api_v1_secret_approval_requests_id_merge_post_request** | [**ApiV1SecretApprovalRequestsIdMergePostRequest**](ApiV1SecretApprovalRequestsIdMergePostRequest.md)| | [optional] - -### Return type - -[**ApiV1SecretApprovalRequestsIdMergePost200Response**](ApiV1SecretApprovalRequestsIdMergePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approval_requests_id_review_post** -> ApiV1SecretApprovalRequestsIdReviewPost200Response api_v1_secret_approval_requests_id_review_post(id, api_v1_secret_approval_requests_id_review_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response import ApiV1SecretApprovalRequestsIdReviewPost200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post_request import ApiV1SecretApprovalRequestsIdReviewPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | - api_v1_secret_approval_requests_id_review_post_request = infisicalapi_client.ApiV1SecretApprovalRequestsIdReviewPostRequest() # ApiV1SecretApprovalRequestsIdReviewPostRequest | - - try: - api_response = api_instance.api_v1_secret_approval_requests_id_review_post(id, api_v1_secret_approval_requests_id_review_post_request) - print("The response of DefaultApi->api_v1_secret_approval_requests_id_review_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approval_requests_id_review_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **api_v1_secret_approval_requests_id_review_post_request** | [**ApiV1SecretApprovalRequestsIdReviewPostRequest**](ApiV1SecretApprovalRequestsIdReviewPostRequest.md)| | - -### Return type - -[**ApiV1SecretApprovalRequestsIdReviewPost200Response**](ApiV1SecretApprovalRequestsIdReviewPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approval_requests_id_status_post** -> ApiV1SecretApprovalRequestsIdMergePost200Response api_v1_secret_approval_requests_id_status_post(id, api_v1_secret_approval_requests_id_status_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response import ApiV1SecretApprovalRequestsIdMergePost200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_status_post_request import ApiV1SecretApprovalRequestsIdStatusPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | - api_v1_secret_approval_requests_id_status_post_request = infisicalapi_client.ApiV1SecretApprovalRequestsIdStatusPostRequest() # ApiV1SecretApprovalRequestsIdStatusPostRequest | - - try: - api_response = api_instance.api_v1_secret_approval_requests_id_status_post(id, api_v1_secret_approval_requests_id_status_post_request) - print("The response of DefaultApi->api_v1_secret_approval_requests_id_status_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approval_requests_id_status_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **api_v1_secret_approval_requests_id_status_post_request** | [**ApiV1SecretApprovalRequestsIdStatusPostRequest**](ApiV1SecretApprovalRequestsIdStatusPostRequest.md)| | - -### Return type - -[**ApiV1SecretApprovalRequestsIdMergePost200Response**](ApiV1SecretApprovalRequestsIdMergePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approvals_board_get** -> ApiV1SecretApprovalsBoardGet200Response api_v1_secret_approvals_board_get(workspace_id, environment, secret_path) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approvals_board_get200_response import ApiV1SecretApprovalsBoardGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - environment = 'environment_example' # str | - secret_path = 'secret_path_example' # str | - - try: - api_response = api_instance.api_v1_secret_approvals_board_get(workspace_id, environment, secret_path) - print("The response of DefaultApi->api_v1_secret_approvals_board_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approvals_board_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **environment** | **str**| | - **secret_path** | **str**| | - -### Return type - -[**ApiV1SecretApprovalsBoardGet200Response**](ApiV1SecretApprovalsBoardGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approvals_get** -> ApiV1SecretApprovalsGet200Response api_v1_secret_approvals_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approvals_get200_response import ApiV1SecretApprovalsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_secret_approvals_get(workspace_id) - print("The response of DefaultApi->api_v1_secret_approvals_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approvals_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1SecretApprovalsGet200Response**](ApiV1SecretApprovalsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approvals_post** -> ApiV1SecretApprovalsPost200Response api_v1_secret_approvals_post(api_v1_secret_approvals_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response -from infisicalapi_client.models.api_v1_secret_approvals_post_request import ApiV1SecretApprovalsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_secret_approvals_post_request = infisicalapi_client.ApiV1SecretApprovalsPostRequest() # ApiV1SecretApprovalsPostRequest | - - try: - api_response = api_instance.api_v1_secret_approvals_post(api_v1_secret_approvals_post_request) - print("The response of DefaultApi->api_v1_secret_approvals_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approvals_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_secret_approvals_post_request** | [**ApiV1SecretApprovalsPostRequest**](ApiV1SecretApprovalsPostRequest.md)| | - -### Return type - -[**ApiV1SecretApprovalsPost200Response**](ApiV1SecretApprovalsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approvals_sap_id_delete** -> ApiV1SecretApprovalsPost200Response api_v1_secret_approvals_sap_id_delete(sap_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - sap_id = 'sap_id_example' # str | - - try: - api_response = api_instance.api_v1_secret_approvals_sap_id_delete(sap_id) - print("The response of DefaultApi->api_v1_secret_approvals_sap_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approvals_sap_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **sap_id** | **str**| | - -### Return type - -[**ApiV1SecretApprovalsPost200Response**](ApiV1SecretApprovalsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_approvals_sap_id_patch** -> ApiV1SecretApprovalsPost200Response api_v1_secret_approvals_sap_id_patch(sap_id, api_v1_secret_approvals_sap_id_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response -from infisicalapi_client.models.api_v1_secret_approvals_sap_id_patch_request import ApiV1SecretApprovalsSapIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - sap_id = 'sap_id_example' # str | - api_v1_secret_approvals_sap_id_patch_request = infisicalapi_client.ApiV1SecretApprovalsSapIdPatchRequest() # ApiV1SecretApprovalsSapIdPatchRequest | - - try: - api_response = api_instance.api_v1_secret_approvals_sap_id_patch(sap_id, api_v1_secret_approvals_sap_id_patch_request) - print("The response of DefaultApi->api_v1_secret_approvals_sap_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_approvals_sap_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **sap_id** | **str**| | - **api_v1_secret_approvals_sap_id_patch_request** | [**ApiV1SecretApprovalsSapIdPatchRequest**](ApiV1SecretApprovalsSapIdPatchRequest.md)| | - -### Return type - -[**ApiV1SecretApprovalsPost200Response**](ApiV1SecretApprovalsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_imports_get** -> ApiV1SecretImportsGet200Response api_v1_secret_imports_get(workspace_id, environment, path=path) - - - -Get secret imports - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_imports_get200_response import ApiV1SecretImportsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to list secret imports from. - environment = 'environment_example' # str | The slug of the environment to list secret imports from. - path = '/' # str | The path to list secret imports from. (optional) (default to '/') - - try: - api_response = api_instance.api_v1_secret_imports_get(workspace_id, environment, path=path) - print("The response of DefaultApi->api_v1_secret_imports_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_imports_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to list secret imports from. | - **environment** | **str**| The slug of the environment to list secret imports from. | - **path** | **str**| The path to list secret imports from. | [optional] [default to '/'] - -### Return type - -[**ApiV1SecretImportsGet200Response**](ApiV1SecretImportsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_imports_post** -> ApiV1SecretImportsPost200Response api_v1_secret_imports_post(api_v1_secret_imports_post_request) - - - -Create secret imports - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_imports_post200_response import ApiV1SecretImportsPost200Response -from infisicalapi_client.models.api_v1_secret_imports_post_request import ApiV1SecretImportsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_secret_imports_post_request = infisicalapi_client.ApiV1SecretImportsPostRequest() # ApiV1SecretImportsPostRequest | - - try: - api_response = api_instance.api_v1_secret_imports_post(api_v1_secret_imports_post_request) - print("The response of DefaultApi->api_v1_secret_imports_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_imports_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_secret_imports_post_request** | [**ApiV1SecretImportsPostRequest**](ApiV1SecretImportsPostRequest.md)| | - -### Return type - -[**ApiV1SecretImportsPost200Response**](ApiV1SecretImportsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_imports_secret_import_id_delete** -> ApiV1SecretImportsPost200Response api_v1_secret_imports_secret_import_id_delete(secret_import_id, api_v1_secret_imports_secret_import_id_delete_request) - - - -Delete secret imports - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_imports_post200_response import ApiV1SecretImportsPost200Response -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_delete_request import ApiV1SecretImportsSecretImportIdDeleteRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_import_id = 'secret_import_id_example' # str | The ID of the secret import to delete. - api_v1_secret_imports_secret_import_id_delete_request = infisicalapi_client.ApiV1SecretImportsSecretImportIdDeleteRequest() # ApiV1SecretImportsSecretImportIdDeleteRequest | - - try: - api_response = api_instance.api_v1_secret_imports_secret_import_id_delete(secret_import_id, api_v1_secret_imports_secret_import_id_delete_request) - print("The response of DefaultApi->api_v1_secret_imports_secret_import_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_imports_secret_import_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_import_id** | **str**| The ID of the secret import to delete. | - **api_v1_secret_imports_secret_import_id_delete_request** | [**ApiV1SecretImportsSecretImportIdDeleteRequest**](ApiV1SecretImportsSecretImportIdDeleteRequest.md)| | - -### Return type - -[**ApiV1SecretImportsPost200Response**](ApiV1SecretImportsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_imports_secret_import_id_patch** -> ApiV1SecretImportsPost200Response api_v1_secret_imports_secret_import_id_patch(secret_import_id, api_v1_secret_imports_secret_import_id_patch_request) - - - -Update secret imports - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_imports_post200_response import ApiV1SecretImportsPost200Response -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request import ApiV1SecretImportsSecretImportIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_import_id = 'secret_import_id_example' # str | The ID of the secret import to update. - api_v1_secret_imports_secret_import_id_patch_request = infisicalapi_client.ApiV1SecretImportsSecretImportIdPatchRequest() # ApiV1SecretImportsSecretImportIdPatchRequest | - - try: - api_response = api_instance.api_v1_secret_imports_secret_import_id_patch(secret_import_id, api_v1_secret_imports_secret_import_id_patch_request) - print("The response of DefaultApi->api_v1_secret_imports_secret_import_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_imports_secret_import_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_import_id** | **str**| The ID of the secret import to update. | - **api_v1_secret_imports_secret_import_id_patch_request** | [**ApiV1SecretImportsSecretImportIdPatchRequest**](ApiV1SecretImportsSecretImportIdPatchRequest.md)| | - -### Return type - -[**ApiV1SecretImportsPost200Response**](ApiV1SecretImportsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_imports_secret_import_id_replication_resync_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v1_secret_imports_secret_import_id_replication_resync_post(secret_import_id, api_v1_secret_imports_secret_import_id_replication_resync_post_request) - - - -Resync secret replication of secret imports - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_replication_resync_post_request import ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_import_id = 'secret_import_id_example' # str | The ID of the secret import to update. - api_v1_secret_imports_secret_import_id_replication_resync_post_request = infisicalapi_client.ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest() # ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest | - - try: - api_response = api_instance.api_v1_secret_imports_secret_import_id_replication_resync_post(secret_import_id, api_v1_secret_imports_secret_import_id_replication_resync_post_request) - print("The response of DefaultApi->api_v1_secret_imports_secret_import_id_replication_resync_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_imports_secret_import_id_replication_resync_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_import_id** | **str**| The ID of the secret import to update. | - **api_v1_secret_imports_secret_import_id_replication_resync_post_request** | [**ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest**](ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_imports_secrets_get** -> ApiV1SecretImportsSecretsGet200Response api_v1_secret_imports_secrets_get(workspace_id, environment, path=path) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response import ApiV1SecretImportsSecretsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - environment = 'environment_example' # str | - path = '/' # str | (optional) (default to '/') - - try: - api_response = api_instance.api_v1_secret_imports_secrets_get(workspace_id, environment, path=path) - print("The response of DefaultApi->api_v1_secret_imports_secrets_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_imports_secrets_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **environment** | **str**| | - **path** | **str**| | [optional] [default to '/'] - -### Return type - -[**ApiV1SecretImportsSecretsGet200Response**](ApiV1SecretImportsSecretsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_imports_secrets_raw_get** -> ApiV1SecretImportsSecretsRawGet200Response api_v1_secret_imports_secrets_raw_get(workspace_id, environment, path=path) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response import ApiV1SecretImportsSecretsRawGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - environment = 'environment_example' # str | - path = '/' # str | (optional) (default to '/') - - try: - api_response = api_instance.api_v1_secret_imports_secrets_raw_get(workspace_id, environment, path=path) - print("The response of DefaultApi->api_v1_secret_imports_secrets_raw_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_imports_secrets_raw_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **environment** | **str**| | - **path** | **str**| | [optional] [default to '/'] - -### Return type - -[**ApiV1SecretImportsSecretsRawGet200Response**](ApiV1SecretImportsSecretsRawGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_rotation_providers_workspace_id_get** -> ApiV1SecretRotationProvidersWorkspaceIdGet200Response api_v1_secret_rotation_providers_workspace_id_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response import ApiV1SecretRotationProvidersWorkspaceIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_secret_rotation_providers_workspace_id_get(workspace_id) - print("The response of DefaultApi->api_v1_secret_rotation_providers_workspace_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_rotation_providers_workspace_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1SecretRotationProvidersWorkspaceIdGet200Response**](ApiV1SecretRotationProvidersWorkspaceIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_rotations_get** -> ApiV1SecretRotationsGet200Response api_v1_secret_rotations_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_rotations_get200_response import ApiV1SecretRotationsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_secret_rotations_get(workspace_id) - print("The response of DefaultApi->api_v1_secret_rotations_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_rotations_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1SecretRotationsGet200Response**](ApiV1SecretRotationsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_rotations_id_delete** -> ApiV1SecretRotationsRestartPost200Response api_v1_secret_rotations_id_delete(id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response import ApiV1SecretRotationsRestartPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - id = 'id_example' # str | - - try: - api_response = api_instance.api_v1_secret_rotations_id_delete(id) - print("The response of DefaultApi->api_v1_secret_rotations_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_rotations_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - -### Return type - -[**ApiV1SecretRotationsRestartPost200Response**](ApiV1SecretRotationsRestartPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_rotations_post** -> ApiV1SecretRotationsPost200Response api_v1_secret_rotations_post(api_v1_secret_rotations_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_rotations_post200_response import ApiV1SecretRotationsPost200Response -from infisicalapi_client.models.api_v1_secret_rotations_post_request import ApiV1SecretRotationsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_secret_rotations_post_request = infisicalapi_client.ApiV1SecretRotationsPostRequest() # ApiV1SecretRotationsPostRequest | - - try: - api_response = api_instance.api_v1_secret_rotations_post(api_v1_secret_rotations_post_request) - print("The response of DefaultApi->api_v1_secret_rotations_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_rotations_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_secret_rotations_post_request** | [**ApiV1SecretRotationsPostRequest**](ApiV1SecretRotationsPostRequest.md)| | - -### Return type - -[**ApiV1SecretRotationsPost200Response**](ApiV1SecretRotationsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_rotations_restart_post** -> ApiV1SecretRotationsRestartPost200Response api_v1_secret_rotations_restart_post(api_v1_secret_rotations_restart_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response import ApiV1SecretRotationsRestartPost200Response -from infisicalapi_client.models.api_v1_secret_rotations_restart_post_request import ApiV1SecretRotationsRestartPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_secret_rotations_restart_post_request = infisicalapi_client.ApiV1SecretRotationsRestartPostRequest() # ApiV1SecretRotationsRestartPostRequest | - - try: - api_response = api_instance.api_v1_secret_rotations_restart_post(api_v1_secret_rotations_restart_post_request) - print("The response of DefaultApi->api_v1_secret_rotations_restart_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_rotations_restart_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_secret_rotations_restart_post_request** | [**ApiV1SecretRotationsRestartPostRequest**](ApiV1SecretRotationsRestartPostRequest.md)| | - -### Return type - -[**ApiV1SecretRotationsRestartPost200Response**](ApiV1SecretRotationsRestartPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_scanning_create_installation_session_organization_post** -> ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response api_v1_secret_scanning_create_installation_session_organization_post(api_v1_secret_scanning_create_installation_session_organization_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post200_response import ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post_request import ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_secret_scanning_create_installation_session_organization_post_request = infisicalapi_client.ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest() # ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest | - - try: - api_response = api_instance.api_v1_secret_scanning_create_installation_session_organization_post(api_v1_secret_scanning_create_installation_session_organization_post_request) - print("The response of DefaultApi->api_v1_secret_scanning_create_installation_session_organization_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_scanning_create_installation_session_organization_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_secret_scanning_create_installation_session_organization_post_request** | [**ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest**](ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.md)| | - -### Return type - -[**ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response**](ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_scanning_installation_status_organization_organization_id_get** -> ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response api_v1_secret_scanning_installation_status_organization_organization_id_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_scanning_installation_status_organization_organization_id_get200_response import ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_secret_scanning_installation_status_organization_organization_id_get(organization_id) - print("The response of DefaultApi->api_v1_secret_scanning_installation_status_organization_organization_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_scanning_installation_status_organization_organization_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response**](ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_scanning_link_installation_post** -> ApiV1SecretScanningLinkInstallationPost200Response api_v1_secret_scanning_link_installation_post(api_v1_secret_scanning_link_installation_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post200_response import ApiV1SecretScanningLinkInstallationPost200Response -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post_request import ApiV1SecretScanningLinkInstallationPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_secret_scanning_link_installation_post_request = infisicalapi_client.ApiV1SecretScanningLinkInstallationPostRequest() # ApiV1SecretScanningLinkInstallationPostRequest | - - try: - api_response = api_instance.api_v1_secret_scanning_link_installation_post(api_v1_secret_scanning_link_installation_post_request) - print("The response of DefaultApi->api_v1_secret_scanning_link_installation_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_scanning_link_installation_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_secret_scanning_link_installation_post_request** | [**ApiV1SecretScanningLinkInstallationPostRequest**](ApiV1SecretScanningLinkInstallationPostRequest.md)| | - -### Return type - -[**ApiV1SecretScanningLinkInstallationPost200Response**](ApiV1SecretScanningLinkInstallationPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_scanning_organization_organization_id_risks_get** -> ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response api_v1_secret_scanning_organization_organization_id_risks_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_secret_scanning_organization_organization_id_risks_get(organization_id) - print("The response of DefaultApi->api_v1_secret_scanning_organization_organization_id_risks_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_scanning_organization_organization_id_risks_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response**](ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post** -> ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post(organization_id, risk_id, api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request import ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - risk_id = 'risk_id_example' # str | - api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request = infisicalapi_client.ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest() # ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest | - - try: - api_response = api_instance.api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post(organization_id, risk_id, api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request) - print("The response of DefaultApi->api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - **risk_id** | **str**| | - **api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request** | [**ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest**](ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.md)| | - -### Return type - -[**ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner**](ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_secret_id_secret_versions_get** -> ApiV1SecretSecretIdSecretVersionsGet200Response api_v1_secret_secret_id_secret_versions_get(offset, limit, secret_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response import ApiV1SecretSecretIdSecretVersionsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - offset = 3.4 # float | - limit = 3.4 # float | - secret_id = 'secret_id_example' # str | - - try: - api_response = api_instance.api_v1_secret_secret_id_secret_versions_get(offset, limit, secret_id) - print("The response of DefaultApi->api_v1_secret_secret_id_secret_versions_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_secret_id_secret_versions_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **offset** | **float**| | - **limit** | **float**| | - **secret_id** | **str**| | - -### Return type - -[**ApiV1SecretSecretIdSecretVersionsGet200Response**](ApiV1SecretSecretIdSecretVersionsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_sharing_get** -> ApiV1SecretSharingGet200Response api_v1_secret_sharing_get(offset=offset, limit=limit) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_sharing_get200_response import ApiV1SecretSharingGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - offset = 0 # float | (optional) (default to 0) - limit = 25 # float | (optional) (default to 25) - - try: - api_response = api_instance.api_v1_secret_sharing_get(offset=offset, limit=limit) - print("The response of DefaultApi->api_v1_secret_sharing_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_sharing_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **offset** | **float**| | [optional] [default to 0] - **limit** | **float**| | [optional] [default to 25] - -### Return type - -[**ApiV1SecretSharingGet200Response**](ApiV1SecretSharingGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_sharing_post** -> ApiV1SecretSharingPost200Response api_v1_secret_sharing_post(api_v1_secret_sharing_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_sharing_post200_response import ApiV1SecretSharingPost200Response -from infisicalapi_client.models.api_v1_secret_sharing_post_request import ApiV1SecretSharingPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_secret_sharing_post_request = infisicalapi_client.ApiV1SecretSharingPostRequest() # ApiV1SecretSharingPostRequest | - - try: - api_response = api_instance.api_v1_secret_sharing_post(api_v1_secret_sharing_post_request) - print("The response of DefaultApi->api_v1_secret_sharing_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_sharing_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_secret_sharing_post_request** | [**ApiV1SecretSharingPostRequest**](ApiV1SecretSharingPostRequest.md)| | - -### Return type - -[**ApiV1SecretSharingPost200Response**](ApiV1SecretSharingPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_sharing_public_id_get** -> ApiV1SecretSharingPublicIdGet200Response api_v1_secret_sharing_public_id_get(hashed_hex, id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_sharing_public_id_get200_response import ApiV1SecretSharingPublicIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - hashed_hex = 'hashed_hex_example' # str | - id = 'id_example' # str | - - try: - api_response = api_instance.api_v1_secret_sharing_public_id_get(hashed_hex, id) - print("The response of DefaultApi->api_v1_secret_sharing_public_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_sharing_public_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **hashed_hex** | **str**| | - **id** | **str**| | - -### Return type - -[**ApiV1SecretSharingPublicIdGet200Response**](ApiV1SecretSharingPublicIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_sharing_public_post** -> ApiV1SecretSharingPost200Response api_v1_secret_sharing_public_post(api_v1_secret_sharing_public_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_sharing_post200_response import ApiV1SecretSharingPost200Response -from infisicalapi_client.models.api_v1_secret_sharing_public_post_request import ApiV1SecretSharingPublicPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_secret_sharing_public_post_request = infisicalapi_client.ApiV1SecretSharingPublicPostRequest() # ApiV1SecretSharingPublicPostRequest | - - try: - api_response = api_instance.api_v1_secret_sharing_public_post(api_v1_secret_sharing_public_post_request) - print("The response of DefaultApi->api_v1_secret_sharing_public_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_sharing_public_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_secret_sharing_public_post_request** | [**ApiV1SecretSharingPublicPostRequest**](ApiV1SecretSharingPublicPostRequest.md)| | - -### Return type - -[**ApiV1SecretSharingPost200Response**](ApiV1SecretSharingPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_sharing_shared_secret_id_delete** -> ApiV1SecretSharingGet200ResponseSecretsInner api_v1_secret_sharing_shared_secret_id_delete(shared_secret_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_sharing_get200_response_secrets_inner import ApiV1SecretSharingGet200ResponseSecretsInner -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - shared_secret_id = 'shared_secret_id_example' # str | - - try: - api_response = api_instance.api_v1_secret_sharing_shared_secret_id_delete(shared_secret_id) - print("The response of DefaultApi->api_v1_secret_sharing_shared_secret_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_sharing_shared_secret_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **shared_secret_id** | **str**| | - -### Return type - -[**ApiV1SecretSharingGet200ResponseSecretsInner**](ApiV1SecretSharingGet200ResponseSecretsInner.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_snapshot_secret_snapshot_id_get** -> ApiV1SecretSnapshotSecretSnapshotIdGet200Response api_v1_secret_snapshot_secret_snapshot_id_get(secret_snapshot_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response import ApiV1SecretSnapshotSecretSnapshotIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_snapshot_id = 'secret_snapshot_id_example' # str | - - try: - api_response = api_instance.api_v1_secret_snapshot_secret_snapshot_id_get(secret_snapshot_id) - print("The response of DefaultApi->api_v1_secret_snapshot_secret_snapshot_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_snapshot_secret_snapshot_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_snapshot_id** | **str**| | - -### Return type - -[**ApiV1SecretSnapshotSecretSnapshotIdGet200Response**](ApiV1SecretSnapshotSecretSnapshotIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_secret_snapshot_secret_snapshot_id_rollback_post** -> ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response api_v1_secret_snapshot_secret_snapshot_id_rollback_post(secret_snapshot_id) - - - -Roll back project secrets to those captured in a secret snapshot version. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response import ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_snapshot_id = 'secret_snapshot_id_example' # str | The ID of the snapshot to rollback to. - - try: - api_response = api_instance.api_v1_secret_snapshot_secret_snapshot_id_rollback_post(secret_snapshot_id) - print("The response of DefaultApi->api_v1_secret_snapshot_secret_snapshot_id_rollback_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_secret_snapshot_secret_snapshot_id_rollback_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_snapshot_id** | **str**| The ID of the snapshot to rollback to. | - -### Return type - -[**ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response**](ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_config_get** -> ApiV1SsoConfigGet200Response api_v1_sso_config_get(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_sso_config_get200_response import ApiV1SsoConfigGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v1_sso_config_get(organization_id) - print("The response of DefaultApi->api_v1_sso_config_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_config_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1SsoConfigGet200Response**](ApiV1SsoConfigGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_config_patch** -> ApiV1SsoConfigPost200Response api_v1_sso_config_patch(api_v1_sso_config_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_sso_config_patch_request import ApiV1SsoConfigPatchRequest -from infisicalapi_client.models.api_v1_sso_config_post200_response import ApiV1SsoConfigPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_sso_config_patch_request = infisicalapi_client.ApiV1SsoConfigPatchRequest() # ApiV1SsoConfigPatchRequest | - - try: - api_response = api_instance.api_v1_sso_config_patch(api_v1_sso_config_patch_request) - print("The response of DefaultApi->api_v1_sso_config_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_config_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_sso_config_patch_request** | [**ApiV1SsoConfigPatchRequest**](ApiV1SsoConfigPatchRequest.md)| | - -### Return type - -[**ApiV1SsoConfigPost200Response**](ApiV1SsoConfigPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_config_post** -> ApiV1SsoConfigPost200Response api_v1_sso_config_post(api_v1_sso_config_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_sso_config_post200_response import ApiV1SsoConfigPost200Response -from infisicalapi_client.models.api_v1_sso_config_post_request import ApiV1SsoConfigPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_sso_config_post_request = infisicalapi_client.ApiV1SsoConfigPostRequest() # ApiV1SsoConfigPostRequest | - - try: - api_response = api_instance.api_v1_sso_config_post(api_v1_sso_config_post_request) - print("The response of DefaultApi->api_v1_sso_config_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_config_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_sso_config_post_request** | [**ApiV1SsoConfigPostRequest**](ApiV1SsoConfigPostRequest.md)| | - -### Return type - -[**ApiV1SsoConfigPost200Response**](ApiV1SsoConfigPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_github_get** -> api_v1_sso_github_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_instance.api_v1_sso_github_get() - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_github_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_gitlab_get** -> api_v1_sso_gitlab_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_instance.api_v1_sso_gitlab_get() - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_gitlab_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_google_get** -> api_v1_sso_google_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_instance.api_v1_sso_google_get() - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_google_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_oidc_callback_get** -> api_v1_sso_oidc_callback_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_instance.api_v1_sso_oidc_callback_get() - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_oidc_callback_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_oidc_config_get** -> ApiV1SsoOidcConfigGet200Response api_v1_sso_oidc_config_get(org_slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_sso_oidc_config_get200_response import ApiV1SsoOidcConfigGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - org_slug = 'org_slug_example' # str | - - try: - api_response = api_instance.api_v1_sso_oidc_config_get(org_slug) - print("The response of DefaultApi->api_v1_sso_oidc_config_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_oidc_config_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **org_slug** | **str**| | - -### Return type - -[**ApiV1SsoOidcConfigGet200Response**](ApiV1SsoOidcConfigGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_oidc_config_patch** -> ApiV1SsoOidcConfigPatch200Response api_v1_sso_oidc_config_patch(api_v1_sso_oidc_config_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_sso_oidc_config_patch200_response import ApiV1SsoOidcConfigPatch200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_patch_request import ApiV1SsoOidcConfigPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_sso_oidc_config_patch_request = infisicalapi_client.ApiV1SsoOidcConfigPatchRequest() # ApiV1SsoOidcConfigPatchRequest | - - try: - api_response = api_instance.api_v1_sso_oidc_config_patch(api_v1_sso_oidc_config_patch_request) - print("The response of DefaultApi->api_v1_sso_oidc_config_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_oidc_config_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_sso_oidc_config_patch_request** | [**ApiV1SsoOidcConfigPatchRequest**](ApiV1SsoOidcConfigPatchRequest.md)| | - -### Return type - -[**ApiV1SsoOidcConfigPatch200Response**](ApiV1SsoOidcConfigPatch200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_oidc_config_post** -> ApiV1SsoOidcConfigPost200Response api_v1_sso_oidc_config_post(api_v1_sso_oidc_config_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_sso_oidc_config_post200_response import ApiV1SsoOidcConfigPost200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_post_request import ApiV1SsoOidcConfigPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_sso_oidc_config_post_request = infisicalapi_client.ApiV1SsoOidcConfigPostRequest() # ApiV1SsoOidcConfigPostRequest | - - try: - api_response = api_instance.api_v1_sso_oidc_config_post(api_v1_sso_oidc_config_post_request) - print("The response of DefaultApi->api_v1_sso_oidc_config_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_oidc_config_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_sso_oidc_config_post_request** | [**ApiV1SsoOidcConfigPostRequest**](ApiV1SsoOidcConfigPostRequest.md)| | - -### Return type - -[**ApiV1SsoOidcConfigPost200Response**](ApiV1SsoOidcConfigPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_oidc_login_error_get** -> api_v1_sso_oidc_login_error_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_instance.api_v1_sso_oidc_login_error_get() - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_oidc_login_error_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_oidc_login_get** -> api_v1_sso_oidc_login_get(org_slug, callback_port=callback_port) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - org_slug = 'org_slug_example' # str | - callback_port = 'callback_port_example' # str | (optional) - - try: - api_instance.api_v1_sso_oidc_login_get(org_slug, callback_port=callback_port) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_oidc_login_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **org_slug** | **str**| | - **callback_port** | **str**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_redirect_github_get** -> api_v1_sso_redirect_github_get(callback_port=callback_port) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - callback_port = 'callback_port_example' # str | (optional) - - try: - api_instance.api_v1_sso_redirect_github_get(callback_port=callback_port) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_redirect_github_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **callback_port** | **str**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_redirect_gitlab_get** -> api_v1_sso_redirect_gitlab_get(callback_port=callback_port) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - callback_port = 'callback_port_example' # str | (optional) - - try: - api_instance.api_v1_sso_redirect_gitlab_get(callback_port=callback_port) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_redirect_gitlab_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **callback_port** | **str**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_redirect_google_get** -> api_v1_sso_redirect_google_get(callback_port=callback_port) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - callback_port = 'callback_port_example' # str | (optional) - - try: - api_instance.api_v1_sso_redirect_google_get(callback_port=callback_port) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_redirect_google_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **callback_port** | **str**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_redirect_saml2_organizations_org_slug_get** -> api_v1_sso_redirect_saml2_organizations_org_slug_get(org_slug, callback_port=callback_port) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - org_slug = 'org_slug_example' # str | - callback_port = 'callback_port_example' # str | (optional) - - try: - api_instance.api_v1_sso_redirect_saml2_organizations_org_slug_get(org_slug, callback_port=callback_port) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_redirect_saml2_organizations_org_slug_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **org_slug** | **str**| | - **callback_port** | **str**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_redirect_saml2_saml_config_id_get** -> api_v1_sso_redirect_saml2_saml_config_id_get(saml_config_id, callback_port=callback_port) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - saml_config_id = 'saml_config_id_example' # str | - callback_port = 'callback_port_example' # str | (optional) - - try: - api_instance.api_v1_sso_redirect_saml2_saml_config_id_get(saml_config_id, callback_port=callback_port) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_redirect_saml2_saml_config_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **saml_config_id** | **str**| | - **callback_port** | **str**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_saml2_saml_config_id_post** -> api_v1_sso_saml2_saml_config_id_post(saml_config_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - saml_config_id = 'saml_config_id_example' # str | - - try: - api_instance.api_v1_sso_saml2_saml_config_id_post(saml_config_id) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_saml2_saml_config_id_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **saml_config_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_sso_token_exchange_post** -> api_v1_sso_token_exchange_post(api_v1_sso_token_exchange_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_sso_token_exchange_post_request import ApiV1SsoTokenExchangePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_sso_token_exchange_post_request = infisicalapi_client.ApiV1SsoTokenExchangePostRequest() # ApiV1SsoTokenExchangePostRequest | - - try: - api_instance.api_v1_sso_token_exchange_post(api_v1_sso_token_exchange_post_request) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_sso_token_exchange_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_sso_token_exchange_post_request** | [**ApiV1SsoTokenExchangePostRequest**](ApiV1SsoTokenExchangePostRequest.md)| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_user_action_get** -> ApiV1UserActionGet200Response api_v1_user_action_get(action) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_user_action_get200_response import ApiV1UserActionGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - action = 'action_example' # str | - - try: - api_response = api_instance.api_v1_user_action_get(action) - print("The response of DefaultApi->api_v1_user_action_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_user_action_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **action** | **str**| | - -### Return type - -[**ApiV1UserActionGet200Response**](ApiV1UserActionGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_user_action_post** -> ApiV1UserActionPost200Response api_v1_user_action_post(api_v1_user_action_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_user_action_post200_response import ApiV1UserActionPost200Response -from infisicalapi_client.models.api_v1_user_action_post_request import ApiV1UserActionPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_user_action_post_request = infisicalapi_client.ApiV1UserActionPostRequest() # ApiV1UserActionPostRequest | - - try: - api_response = api_instance.api_v1_user_action_post(api_v1_user_action_post_request) - print("The response of DefaultApi->api_v1_user_action_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_user_action_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_user_action_post_request** | [**ApiV1UserActionPostRequest**](ApiV1UserActionPostRequest.md)| | - -### Return type - -[**ApiV1UserActionPost200Response**](ApiV1UserActionPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_user_engagement_me_wish_post** -> object api_v1_user_engagement_me_wish_post(api_v1_user_engagement_me_wish_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_user_engagement_me_wish_post_request import ApiV1UserEngagementMeWishPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_user_engagement_me_wish_post_request = infisicalapi_client.ApiV1UserEngagementMeWishPostRequest() # ApiV1UserEngagementMeWishPostRequest | - - try: - api_response = api_instance.api_v1_user_engagement_me_wish_post(api_v1_user_engagement_me_wish_post_request) - print("The response of DefaultApi->api_v1_user_engagement_me_wish_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_user_engagement_me_wish_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_user_engagement_me_wish_post_request** | [**ApiV1UserEngagementMeWishPostRequest**](ApiV1UserEngagementMeWishPostRequest.md)| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_user_get** -> ApiV1UserGet200Response api_v1_user_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_user_get200_response import ApiV1UserGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_user_get() - print("The response of DefaultApi->api_v1_user_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_user_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1UserGet200Response**](ApiV1UserGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_user_me_project_favorites_get** -> ApiV1UserMeProjectFavoritesGet200Response api_v1_user_me_project_favorites_get(org_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_user_me_project_favorites_get200_response import ApiV1UserMeProjectFavoritesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - org_id = 'org_id_example' # str | - - try: - api_response = api_instance.api_v1_user_me_project_favorites_get(org_id) - print("The response of DefaultApi->api_v1_user_me_project_favorites_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_user_me_project_favorites_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **org_id** | **str**| | - -### Return type - -[**ApiV1UserMeProjectFavoritesGet200Response**](ApiV1UserMeProjectFavoritesGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_user_me_project_favorites_put** -> api_v1_user_me_project_favorites_put(api_v1_user_me_project_favorites_put_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_user_me_project_favorites_put_request import ApiV1UserMeProjectFavoritesPutRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_user_me_project_favorites_put_request = infisicalapi_client.ApiV1UserMeProjectFavoritesPutRequest() # ApiV1UserMeProjectFavoritesPutRequest | - - try: - api_instance.api_v1_user_me_project_favorites_put(api_v1_user_me_project_favorites_put_request) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_user_me_project_favorites_put: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_user_me_project_favorites_put_request** | [**ApiV1UserMeProjectFavoritesPutRequest**](ApiV1UserMeProjectFavoritesPutRequest.md)| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_user_private_key_get** -> ApiV1UserPrivateKeyGet200Response api_v1_user_private_key_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_user_private_key_get200_response import ApiV1UserPrivateKeyGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_user_private_key_get() - print("The response of DefaultApi->api_v1_user_private_key_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_user_private_key_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1UserPrivateKeyGet200Response**](ApiV1UserPrivateKeyGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_user_user_id_unlock_get** -> api_v1_user_user_id_unlock_get(token, user_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - token = 'token_example' # str | - user_id = 'user_id_example' # str | - - try: - api_instance.api_v1_user_user_id_unlock_get(token, user_id) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_user_user_id_unlock_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **token** | **str**| | - **user_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_webhooks_get** -> ApiV1WebhooksGet200Response api_v1_webhooks_get(workspace_id, environment=environment, secret_path=secret_path) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_webhooks_get200_response import ApiV1WebhooksGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - environment = 'environment_example' # str | (optional) - secret_path = 'secret_path_example' # str | (optional) - - try: - api_response = api_instance.api_v1_webhooks_get(workspace_id, environment=environment, secret_path=secret_path) - print("The response of DefaultApi->api_v1_webhooks_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_webhooks_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **environment** | **str**| | [optional] - **secret_path** | **str**| | [optional] - -### Return type - -[**ApiV1WebhooksGet200Response**](ApiV1WebhooksGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_webhooks_post** -> ApiV1WebhooksPost200Response api_v1_webhooks_post(api_v1_webhooks_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_webhooks_post200_response import ApiV1WebhooksPost200Response -from infisicalapi_client.models.api_v1_webhooks_post_request import ApiV1WebhooksPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_webhooks_post_request = infisicalapi_client.ApiV1WebhooksPostRequest() # ApiV1WebhooksPostRequest | - - try: - api_response = api_instance.api_v1_webhooks_post(api_v1_webhooks_post_request) - print("The response of DefaultApi->api_v1_webhooks_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_webhooks_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_webhooks_post_request** | [**ApiV1WebhooksPostRequest**](ApiV1WebhooksPostRequest.md)| | - -### Return type - -[**ApiV1WebhooksPost200Response**](ApiV1WebhooksPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_webhooks_webhook_id_delete** -> api_v1_webhooks_webhook_id_delete(webhook_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - webhook_id = 'webhook_id_example' # str | - - try: - api_instance.api_v1_webhooks_webhook_id_delete(webhook_id) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_webhooks_webhook_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **webhook_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_webhooks_webhook_id_patch** -> ApiV1WebhooksPost200Response api_v1_webhooks_webhook_id_patch(webhook_id, api_v1_webhooks_webhook_id_patch_request=api_v1_webhooks_webhook_id_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_webhooks_post200_response import ApiV1WebhooksPost200Response -from infisicalapi_client.models.api_v1_webhooks_webhook_id_patch_request import ApiV1WebhooksWebhookIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - webhook_id = 'webhook_id_example' # str | - api_v1_webhooks_webhook_id_patch_request = infisicalapi_client.ApiV1WebhooksWebhookIdPatchRequest() # ApiV1WebhooksWebhookIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_webhooks_webhook_id_patch(webhook_id, api_v1_webhooks_webhook_id_patch_request=api_v1_webhooks_webhook_id_patch_request) - print("The response of DefaultApi->api_v1_webhooks_webhook_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_webhooks_webhook_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **webhook_id** | **str**| | - **api_v1_webhooks_webhook_id_patch_request** | [**ApiV1WebhooksWebhookIdPatchRequest**](ApiV1WebhooksWebhookIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1WebhooksPost200Response**](ApiV1WebhooksPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_webhooks_webhook_id_test_post** -> ApiV1WebhooksPost200Response api_v1_webhooks_webhook_id_test_post(webhook_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_webhooks_post200_response import ApiV1WebhooksPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - webhook_id = 'webhook_id_example' # str | - - try: - api_response = api_instance.api_v1_webhooks_webhook_id_test_post(webhook_id) - print("The response of DefaultApi->api_v1_webhooks_webhook_id_test_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_webhooks_webhook_id_test_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **webhook_id** | **str**| | - -### Return type - -[**ApiV1WebhooksPost200Response**](ApiV1WebhooksPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_get** -> ApiV1WorkspaceGet200Response api_v1_workspace_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_get200_response import ApiV1WorkspaceGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v1_workspace_get() - print("The response of DefaultApi->api_v1_workspace_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1WorkspaceGet200Response**](ApiV1WorkspaceGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_id_permissions_get** -> ApiV1WorkspaceProjectIdPermissionsGet200Response api_v1_workspace_project_id_permissions_get(project_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response import ApiV1WorkspaceProjectIdPermissionsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_project_id_permissions_get(project_id) - print("The response of DefaultApi->api_v1_workspace_project_id_permissions_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_id_permissions_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -[**ApiV1WorkspaceProjectIdPermissionsGet200Response**](ApiV1WorkspaceProjectIdPermissionsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_id_tags_get** -> ApiV1WorkspaceProjectIdTagsGet200Response api_v1_workspace_project_id_tags_get(project_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response import ApiV1WorkspaceProjectIdTagsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to list tags from. - - try: - api_response = api_instance.api_v1_workspace_project_id_tags_get(project_id) - print("The response of DefaultApi->api_v1_workspace_project_id_tags_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_id_tags_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to list tags from. | - -### Return type - -[**ApiV1WorkspaceProjectIdTagsGet200Response**](ApiV1WorkspaceProjectIdTagsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_id_tags_post** -> ApiV1WorkspaceProjectIdTagsPost200Response api_v1_workspace_project_id_tags_post(project_id, api_v1_workspace_project_id_tags_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post200_response import ApiV1WorkspaceProjectIdTagsPost200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post_request import ApiV1WorkspaceProjectIdTagsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to create the tag in. - api_v1_workspace_project_id_tags_post_request = infisicalapi_client.ApiV1WorkspaceProjectIdTagsPostRequest() # ApiV1WorkspaceProjectIdTagsPostRequest | - - try: - api_response = api_instance.api_v1_workspace_project_id_tags_post(project_id, api_v1_workspace_project_id_tags_post_request) - print("The response of DefaultApi->api_v1_workspace_project_id_tags_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_id_tags_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to create the tag in. | - **api_v1_workspace_project_id_tags_post_request** | [**ApiV1WorkspaceProjectIdTagsPostRequest**](ApiV1WorkspaceProjectIdTagsPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceProjectIdTagsPost200Response**](ApiV1WorkspaceProjectIdTagsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_id_tags_slug_tag_slug_get** -> ApiV1WorkspaceProjectIdTagsTagIdGet200Response api_v1_workspace_project_id_tags_slug_tag_slug_get(project_id, tag_slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response import ApiV1WorkspaceProjectIdTagsTagIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to get tags from. - tag_slug = 'tag_slug_example' # str | The slug of the tag to get details - - try: - api_response = api_instance.api_v1_workspace_project_id_tags_slug_tag_slug_get(project_id, tag_slug) - print("The response of DefaultApi->api_v1_workspace_project_id_tags_slug_tag_slug_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_id_tags_slug_tag_slug_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to get tags from. | - **tag_slug** | **str**| The slug of the tag to get details | - -### Return type - -[**ApiV1WorkspaceProjectIdTagsTagIdGet200Response**](ApiV1WorkspaceProjectIdTagsTagIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_id_tags_tag_id_delete** -> ApiV1WorkspaceProjectIdTagsPost200Response api_v1_workspace_project_id_tags_tag_id_delete(project_id, tag_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post200_response import ApiV1WorkspaceProjectIdTagsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to delete the tag from. - tag_id = 'tag_id_example' # str | The ID of the tag to delete. - - try: - api_response = api_instance.api_v1_workspace_project_id_tags_tag_id_delete(project_id, tag_id) - print("The response of DefaultApi->api_v1_workspace_project_id_tags_tag_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_id_tags_tag_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to delete the tag from. | - **tag_id** | **str**| The ID of the tag to delete. | - -### Return type - -[**ApiV1WorkspaceProjectIdTagsPost200Response**](ApiV1WorkspaceProjectIdTagsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_id_tags_tag_id_get** -> ApiV1WorkspaceProjectIdTagsTagIdGet200Response api_v1_workspace_project_id_tags_tag_id_get(project_id, tag_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response import ApiV1WorkspaceProjectIdTagsTagIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to get tags from. - tag_id = 'tag_id_example' # str | The ID of the tag to get details - - try: - api_response = api_instance.api_v1_workspace_project_id_tags_tag_id_get(project_id, tag_id) - print("The response of DefaultApi->api_v1_workspace_project_id_tags_tag_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_id_tags_tag_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to get tags from. | - **tag_id** | **str**| The ID of the tag to get details | - -### Return type - -[**ApiV1WorkspaceProjectIdTagsTagIdGet200Response**](ApiV1WorkspaceProjectIdTagsTagIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_id_tags_tag_id_patch** -> ApiV1WorkspaceProjectIdTagsPost200Response api_v1_workspace_project_id_tags_tag_id_patch(project_id, tag_id, api_v1_workspace_project_id_tags_tag_id_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post200_response import ApiV1WorkspaceProjectIdTagsPost200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_patch_request import ApiV1WorkspaceProjectIdTagsTagIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to update the tag in. - tag_id = 'tag_id_example' # str | The ID of the tag to get details - api_v1_workspace_project_id_tags_tag_id_patch_request = infisicalapi_client.ApiV1WorkspaceProjectIdTagsTagIdPatchRequest() # ApiV1WorkspaceProjectIdTagsTagIdPatchRequest | - - try: - api_response = api_instance.api_v1_workspace_project_id_tags_tag_id_patch(project_id, tag_id, api_v1_workspace_project_id_tags_tag_id_patch_request) - print("The response of DefaultApi->api_v1_workspace_project_id_tags_tag_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_id_tags_tag_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to update the tag in. | - **tag_id** | **str**| The ID of the tag to get details | - **api_v1_workspace_project_id_tags_tag_id_patch_request** | [**ApiV1WorkspaceProjectIdTagsTagIdPatchRequest**](ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.md)| | - -### Return type - -[**ApiV1WorkspaceProjectIdTagsPost200Response**](ApiV1WorkspaceProjectIdTagsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_slug_roles_get** -> ApiV1WorkspaceProjectSlugRolesGet200Response api_v1_workspace_project_slug_roles_get(project_slug) - - - -List project role - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response import ApiV1WorkspaceProjectSlugRolesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | The slug of the project to list the roles of. - - try: - api_response = api_instance.api_v1_workspace_project_slug_roles_get(project_slug) - print("The response of DefaultApi->api_v1_workspace_project_slug_roles_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_slug_roles_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| The slug of the project to list the roles of. | - -### Return type - -[**ApiV1WorkspaceProjectSlugRolesGet200Response**](ApiV1WorkspaceProjectSlugRolesGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_slug_roles_post** -> ApiV1WorkspaceProjectSlugRolesPost200Response api_v1_workspace_project_slug_roles_post(project_slug, api_v1_workspace_project_slug_roles_post_request) - - - -Create a project role - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response import ApiV1WorkspaceProjectSlugRolesPost200Response -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request import ApiV1WorkspaceProjectSlugRolesPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | Slug of the project to create the role for. - api_v1_workspace_project_slug_roles_post_request = infisicalapi_client.ApiV1WorkspaceProjectSlugRolesPostRequest() # ApiV1WorkspaceProjectSlugRolesPostRequest | - - try: - api_response = api_instance.api_v1_workspace_project_slug_roles_post(project_slug, api_v1_workspace_project_slug_roles_post_request) - print("The response of DefaultApi->api_v1_workspace_project_slug_roles_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_slug_roles_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| Slug of the project to create the role for. | - **api_v1_workspace_project_slug_roles_post_request** | [**ApiV1WorkspaceProjectSlugRolesPostRequest**](ApiV1WorkspaceProjectSlugRolesPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceProjectSlugRolesPost200Response**](ApiV1WorkspaceProjectSlugRolesPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_slug_roles_role_id_delete** -> ApiV1WorkspaceProjectSlugRolesPost200Response api_v1_workspace_project_slug_roles_role_id_delete(project_slug, role_id) - - - -Delete a project role - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response import ApiV1WorkspaceProjectSlugRolesPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | Slug of the project to delete this role for. - role_id = 'role_id_example' # str | The ID of the role to update - - try: - api_response = api_instance.api_v1_workspace_project_slug_roles_role_id_delete(project_slug, role_id) - print("The response of DefaultApi->api_v1_workspace_project_slug_roles_role_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_slug_roles_role_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| Slug of the project to delete this role for. | - **role_id** | **str**| The ID of the role to update | - -### Return type - -[**ApiV1WorkspaceProjectSlugRolesPost200Response**](ApiV1WorkspaceProjectSlugRolesPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_slug_roles_role_id_patch** -> ApiV1WorkspaceProjectSlugRolesPost200Response api_v1_workspace_project_slug_roles_role_id_patch(project_slug, role_id, api_v1_workspace_project_slug_roles_role_id_patch_request=api_v1_workspace_project_slug_roles_role_id_patch_request) - - - -Update a project role - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response import ApiV1WorkspaceProjectSlugRolesPost200Response -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_role_id_patch_request import ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | Slug of the project to update the role for. - role_id = 'role_id_example' # str | The ID of the role to update - api_v1_workspace_project_slug_roles_role_id_patch_request = infisicalapi_client.ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest() # ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_workspace_project_slug_roles_role_id_patch(project_slug, role_id, api_v1_workspace_project_slug_roles_role_id_patch_request=api_v1_workspace_project_slug_roles_role_id_patch_request) - print("The response of DefaultApi->api_v1_workspace_project_slug_roles_role_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_slug_roles_role_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| Slug of the project to update the role for. | - **role_id** | **str**| The ID of the role to update | - **api_v1_workspace_project_slug_roles_role_id_patch_request** | [**ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest**](ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1WorkspaceProjectSlugRolesPost200Response**](ApiV1WorkspaceProjectSlugRolesPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_project_slug_roles_slug_slug_get** -> ApiV1WorkspaceProjectSlugRolesPost200Response api_v1_workspace_project_slug_roles_slug_slug_get(project_slug, slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response import ApiV1WorkspaceProjectSlugRolesPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | The slug of the project. - slug = 'slug_example' # str | The slug of the role to get details - - try: - api_response = api_instance.api_v1_workspace_project_slug_roles_slug_slug_get(project_slug, slug) - print("The response of DefaultApi->api_v1_workspace_project_slug_roles_slug_slug_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_project_slug_roles_slug_slug_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| The slug of the project. | - **slug** | **str**| The slug of the role to get details | - -### Return type - -[**ApiV1WorkspaceProjectSlugRolesPost200Response**](ApiV1WorkspaceProjectSlugRolesPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_audit_logs_filters_actors_get** -> ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response api_v1_workspace_workspace_id_audit_logs_filters_actors_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_audit_logs_filters_actors_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_audit_logs_filters_actors_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_audit_logs_filters_actors_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response**](ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_audit_logs_get** -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response api_v1_workspace_workspace_id_audit_logs_get(workspace_id, event_type=event_type, user_agent_type=user_agent_type, start_date=start_date, end_date=end_date, offset=offset, limit=limit, actor=actor) - - - -Return audit logs - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to export audit logs from. - event_type = 'event_type_example' # str | The type of the event to export. (optional) - user_agent_type = 'user_agent_type_example' # str | Choose which consuming application to export audit logs for. (optional) - start_date = '2013-10-20T19:20:30+01:00' # datetime | The date to start the export from. (optional) - end_date = '2013-10-20T19:20:30+01:00' # datetime | The date to end the export at. (optional) - offset = 0 # float | The offset to start from. If you enter 10, it will start from the 10th audit log. (optional) (default to 0) - limit = 20 # float | The number of audit logs to return. (optional) (default to 20) - actor = 'actor_example' # str | The actor to filter the audit logs by. (optional) - - try: - api_response = api_instance.api_v1_workspace_workspace_id_audit_logs_get(workspace_id, event_type=event_type, user_agent_type=user_agent_type, start_date=start_date, end_date=end_date, offset=offset, limit=limit, actor=actor) - print("The response of DefaultApi->api_v1_workspace_workspace_id_audit_logs_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_audit_logs_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to export audit logs from. | - **event_type** | **str**| The type of the event to export. | [optional] - **user_agent_type** | **str**| Choose which consuming application to export audit logs for. | [optional] - **start_date** | **datetime**| The date to start the export from. | [optional] - **end_date** | **datetime**| The date to end the export at. | [optional] - **offset** | **float**| The offset to start from. If you enter 10, it will start from the 10th audit log. | [optional] [default to 0] - **limit** | **float**| The number of audit logs to return. | [optional] [default to 20] - **actor** | **str**| The actor to filter the audit logs by. | [optional] - -### Return type - -[**ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response**](ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_authorizations_get** -> ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response api_v1_workspace_workspace_id_authorizations_get(workspace_id) - - - -List integration auth objects for a workspace. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to list integration auths for. - - try: - api_response = api_instance.api_v1_workspace_workspace_id_authorizations_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_authorizations_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_authorizations_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to list integration auths for. | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response**](ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_auto_capitalization_post** -> ApiV1WorkspaceWorkspaceIdNamePost200Response api_v1_workspace_workspace_id_auto_capitalization_post(workspace_id, api_v1_workspace_workspace_id_auto_capitalization_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_auto_capitalization_post_request import ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post200_response import ApiV1WorkspaceWorkspaceIdNamePost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - api_v1_workspace_workspace_id_auto_capitalization_post_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest() # ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_auto_capitalization_post(workspace_id, api_v1_workspace_workspace_id_auto_capitalization_post_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_auto_capitalization_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_auto_capitalization_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **api_v1_workspace_workspace_id_auto_capitalization_post_request** | [**ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest**](ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdNamePost200Response**](ApiV1WorkspaceWorkspaceIdNamePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_delete** -> ApiV1WorkspaceWorkspaceIdDelete200Response api_v1_workspace_workspace_id_delete(workspace_id) - - - -Delete project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_delete200_response import ApiV1WorkspaceWorkspaceIdDelete200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to delete. - - try: - api_response = api_instance.api_v1_workspace_workspace_id_delete(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to delete. | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdDelete200Response**](ApiV1WorkspaceWorkspaceIdDelete200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_environments_env_id_get** -> ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response api_v1_workspace_workspace_id_environments_env_id_get(workspace_id, env_id) - - - -Get Environment - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project the environment belongs to. - env_id = 'env_id_example' # str | The ID of the environment to fetch. - - try: - api_response = api_instance.api_v1_workspace_workspace_id_environments_env_id_get(workspace_id, env_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_environments_env_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_environments_env_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project the environment belongs to. | - **env_id** | **str**| The ID of the environment to fetch. | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response**](ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_environments_id_delete** -> ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response api_v1_workspace_workspace_id_environments_id_delete(workspace_id, id) - - - -Delete environment - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to delete the environment from. - id = 'id_example' # str | The ID of the environment to delete. - - try: - api_response = api_instance.api_v1_workspace_workspace_id_environments_id_delete(workspace_id, id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_environments_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_environments_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to delete the environment from. | - **id** | **str**| The ID of the environment to delete. | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response**](ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_environments_id_patch** -> ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response api_v1_workspace_workspace_id_environments_id_patch(workspace_id, id, api_v1_workspace_workspace_id_environments_id_patch_request=api_v1_workspace_workspace_id_environments_id_patch_request) - - - -Update environment - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_id_patch_request import ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to update the environment in. - id = 'id_example' # str | The ID of the environment to update. - api_v1_workspace_workspace_id_environments_id_patch_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest() # ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_workspace_workspace_id_environments_id_patch(workspace_id, id, api_v1_workspace_workspace_id_environments_id_patch_request=api_v1_workspace_workspace_id_environments_id_patch_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_environments_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_environments_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to update the environment in. | - **id** | **str**| The ID of the environment to update. | - **api_v1_workspace_workspace_id_environments_id_patch_request** | [**ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest**](ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response**](ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_environments_post** -> ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response api_v1_workspace_workspace_id_environments_post(workspace_id, api_v1_workspace_workspace_id_environments_post_request) - - - -Create environment - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post_request import ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to create the environment in. - api_v1_workspace_workspace_id_environments_post_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest() # ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_environments_post(workspace_id, api_v1_workspace_workspace_id_environments_post_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_environments_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_environments_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to create the environment in. | - **api_v1_workspace_workspace_id_environments_post_request** | [**ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest**](ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response**](ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_get** -> ApiV1WorkspaceWorkspaceIdGet200Response api_v1_workspace_workspace_id_get(workspace_id) - - - -Get project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_get200_response import ApiV1WorkspaceWorkspaceIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project. - - try: - api_response = api_instance.api_v1_workspace_workspace_id_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project. | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdGet200Response**](ApiV1WorkspaceWorkspaceIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_integrations_get** -> ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response api_v1_workspace_workspace_id_integrations_get(workspace_id) - - - -List integrations for a project. - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response import ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to list integrations for. - - try: - api_response = api_instance.api_v1_workspace_workspace_id_integrations_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_integrations_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_integrations_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to list integrations for. | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response**](ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_key_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v1_workspace_workspace_id_key_post(workspace_id, api_v1_workspace_workspace_id_key_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request import ApiV1WorkspaceWorkspaceIdKeyPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - api_v1_workspace_workspace_id_key_post_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdKeyPostRequest() # ApiV1WorkspaceWorkspaceIdKeyPostRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_key_post(workspace_id, api_v1_workspace_workspace_id_key_post_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_key_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_key_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **api_v1_workspace_workspace_id_key_post_request** | [**ApiV1WorkspaceWorkspaceIdKeyPostRequest**](ApiV1WorkspaceWorkspaceIdKeyPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_keys_get** -> ApiV1WorkspaceWorkspaceIdKeysGet200Response api_v1_workspace_workspace_id_keys_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response import ApiV1WorkspaceWorkspaceIdKeysGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_keys_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_keys_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_keys_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdKeysGet200Response**](ApiV1WorkspaceWorkspaceIdKeysGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_kms_backup_get** -> ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response api_v1_workspace_workspace_id_kms_backup_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_get200_response import ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_kms_backup_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_kms_backup_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_kms_backup_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response**](ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_kms_backup_post** -> ApiV1WorkspaceWorkspaceIdKmsGet200Response api_v1_workspace_workspace_id_kms_backup_post(workspace_id, api_v1_workspace_workspace_id_kms_backup_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_post_request import ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response import ApiV1WorkspaceWorkspaceIdKmsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - api_v1_workspace_workspace_id_kms_backup_post_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest() # ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_kms_backup_post(workspace_id, api_v1_workspace_workspace_id_kms_backup_post_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_kms_backup_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_kms_backup_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **api_v1_workspace_workspace_id_kms_backup_post_request** | [**ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest**](ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdKmsGet200Response**](ApiV1WorkspaceWorkspaceIdKmsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_kms_get** -> ApiV1WorkspaceWorkspaceIdKmsGet200Response api_v1_workspace_workspace_id_kms_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response import ApiV1WorkspaceWorkspaceIdKmsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_kms_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_kms_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_kms_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdKmsGet200Response**](ApiV1WorkspaceWorkspaceIdKmsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_kms_patch** -> ApiV1WorkspaceWorkspaceIdKmsGet200Response api_v1_workspace_workspace_id_kms_patch(workspace_id, api_v1_workspace_workspace_id_kms_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response import ApiV1WorkspaceWorkspaceIdKmsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request import ApiV1WorkspaceWorkspaceIdKmsPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - api_v1_workspace_workspace_id_kms_patch_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdKmsPatchRequest() # ApiV1WorkspaceWorkspaceIdKmsPatchRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_kms_patch(workspace_id, api_v1_workspace_workspace_id_kms_patch_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_kms_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_kms_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **api_v1_workspace_workspace_id_kms_patch_request** | [**ApiV1WorkspaceWorkspaceIdKmsPatchRequest**](ApiV1WorkspaceWorkspaceIdKmsPatchRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdKmsGet200Response**](ApiV1WorkspaceWorkspaceIdKmsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_leave_delete** -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response api_v1_workspace_workspace_id_leave_delete(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_leave_delete(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_leave_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_leave_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response**](ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_memberships_details_post** -> ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response api_v1_workspace_workspace_id_memberships_details_post(workspace_id, api_v1_workspace_workspace_id_memberships_details_post_request) - - - -Return project user memberships - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post_request import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to get memberships from. - api_v1_workspace_workspace_id_memberships_details_post_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest() # ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_memberships_details_post(workspace_id, api_v1_workspace_workspace_id_memberships_details_post_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_memberships_details_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_memberships_details_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to get memberships from. | - **api_v1_workspace_workspace_id_memberships_details_post_request** | [**ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest**](ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response**](ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_memberships_get** -> ApiV1WorkspaceWorkspaceIdMembershipsGet200Response api_v1_workspace_workspace_id_memberships_get(workspace_id) - - - -Return project user memberships - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response import ApiV1WorkspaceWorkspaceIdMembershipsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to get memberships from. - - try: - api_response = api_instance.api_v1_workspace_workspace_id_memberships_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_memberships_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_memberships_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to get memberships from. | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMembershipsGet200Response**](ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_memberships_membership_id_delete** -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response api_v1_workspace_workspace_id_memberships_membership_id_delete(workspace_id, membership_id) - - - -Delete project user membership - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - membership_id = 'membership_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_memberships_membership_id_delete(workspace_id, membership_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_memberships_membership_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_memberships_membership_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **membership_id** | **str**| | - -### Return type - -[**ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response**](ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_memberships_membership_id_patch** -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response api_v1_workspace_workspace_id_memberships_membership_id_patch(workspace_id, membership_id, api_v1_workspace_workspace_id_memberships_membership_id_patch_request) - - - -Update project user membership - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to update the membership for. - membership_id = 'membership_id_example' # str | The ID of the membership to update. - api_v1_workspace_workspace_id_memberships_membership_id_patch_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest() # ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_memberships_membership_id_patch(workspace_id, membership_id, api_v1_workspace_workspace_id_memberships_membership_id_patch_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_memberships_membership_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_memberships_membership_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to update the membership for. | - **membership_id** | **str**| The ID of the membership to update. | - **api_v1_workspace_workspace_id_memberships_membership_id_patch_request** | [**ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest**](ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response**](ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_memberships_post** -> ApiV1WorkspaceWorkspaceIdMembershipsPost200Response api_v1_workspace_workspace_id_memberships_post(workspace_id, api_v1_workspace_workspace_id_memberships_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request import ApiV1WorkspaceWorkspaceIdMembershipsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - api_v1_workspace_workspace_id_memberships_post_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdMembershipsPostRequest() # ApiV1WorkspaceWorkspaceIdMembershipsPostRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_memberships_post(workspace_id, api_v1_workspace_workspace_id_memberships_post_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_memberships_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_memberships_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **api_v1_workspace_workspace_id_memberships_post_request** | [**ApiV1WorkspaceWorkspaceIdMembershipsPostRequest**](ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMembershipsPost200Response**](ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_migrate_v3_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v1_workspace_workspace_id_migrate_v3_post(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_migrate_v3_post(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_migrate_v3_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_migrate_v3_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_name_post** -> ApiV1WorkspaceWorkspaceIdNamePost200Response api_v1_workspace_workspace_id_name_post(workspace_id, api_v1_workspace_workspace_id_name_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post200_response import ApiV1WorkspaceWorkspaceIdNamePost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post_request import ApiV1WorkspaceWorkspaceIdNamePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - api_v1_workspace_workspace_id_name_post_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdNamePostRequest() # ApiV1WorkspaceWorkspaceIdNamePostRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_name_post(workspace_id, api_v1_workspace_workspace_id_name_post_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_name_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_name_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **api_v1_workspace_workspace_id_name_post_request** | [**ApiV1WorkspaceWorkspaceIdNamePostRequest**](ApiV1WorkspaceWorkspaceIdNamePostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdNamePost200Response**](ApiV1WorkspaceWorkspaceIdNamePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_patch** -> ApiV1WorkspaceWorkspaceIdPatch200Response api_v1_workspace_workspace_id_patch(workspace_id, api_v1_workspace_workspace_id_patch_request=api_v1_workspace_workspace_id_patch_request) - - - -Update project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch200_response import ApiV1WorkspaceWorkspaceIdPatch200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch_request import ApiV1WorkspaceWorkspaceIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to update. - api_v1_workspace_workspace_id_patch_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdPatchRequest() # ApiV1WorkspaceWorkspaceIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v1_workspace_workspace_id_patch(workspace_id, api_v1_workspace_workspace_id_patch_request=api_v1_workspace_workspace_id_patch_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to update. | - **api_v1_workspace_workspace_id_patch_request** | [**ApiV1WorkspaceWorkspaceIdPatchRequest**](ApiV1WorkspaceWorkspaceIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1WorkspaceWorkspaceIdPatch200Response**](ApiV1WorkspaceWorkspaceIdPatch200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_secret_snapshots_count_get** -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response api_v1_workspace_workspace_id_secret_snapshots_count_get(environment, workspace_id, path=path) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_count_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - environment = 'environment_example' # str | - workspace_id = 'workspace_id_example' # str | - path = '/' # str | (optional) (default to '/') - - try: - api_response = api_instance.api_v1_workspace_workspace_id_secret_snapshots_count_get(environment, workspace_id, path=path) - print("The response of DefaultApi->api_v1_workspace_workspace_id_secret_snapshots_count_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_secret_snapshots_count_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment** | **str**| | - **workspace_id** | **str**| | - **path** | **str**| | [optional] [default to '/'] - -### Return type - -[**ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response**](ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_secret_snapshots_get** -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response api_v1_workspace_workspace_id_secret_snapshots_get(environment, workspace_id, path=path, offset=offset, limit=limit) - - - -Return project secret snapshots ids - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - environment = 'environment_example' # str | The environment to get snapshots from. - workspace_id = 'workspace_id_example' # str | The ID of the project to get snapshots from. - path = '/' # str | The secret path to get snapshots from. (optional) (default to '/') - offset = 0 # float | The offset to start from. If you enter 10, it will start from the 10th snapshot. (optional) (default to 0) - limit = 20 # float | The number of snapshots to return. (optional) (default to 20) - - try: - api_response = api_instance.api_v1_workspace_workspace_id_secret_snapshots_get(environment, workspace_id, path=path, offset=offset, limit=limit) - print("The response of DefaultApi->api_v1_workspace_workspace_id_secret_snapshots_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_secret_snapshots_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment** | **str**| The environment to get snapshots from. | - **workspace_id** | **str**| The ID of the project to get snapshots from. | - **path** | **str**| The secret path to get snapshots from. | [optional] [default to '/'] - **offset** | **float**| The offset to start from. If you enter 10, it will start from the 10th snapshot. | [optional] [default to 0] - **limit** | **float**| The number of snapshots to return. | [optional] [default to 20] - -### Return type - -[**ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response**](ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_service_token_data_get** -> ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response api_v1_workspace_workspace_id_service_token_data_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_service_token_data_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_service_token_data_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_service_token_data_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response**](ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_trusted_ips_get** -> ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response api_v1_workspace_workspace_id_trusted_ips_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_trusted_ips_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_trusted_ips_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_trusted_ips_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response**](ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_trusted_ips_post** -> ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response api_v1_workspace_workspace_id_trusted_ips_post(workspace_id, api_v1_workspace_workspace_id_trusted_ips_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post_request import ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - api_v1_workspace_workspace_id_trusted_ips_post_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest() # ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_trusted_ips_post(workspace_id, api_v1_workspace_workspace_id_trusted_ips_post_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_trusted_ips_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_trusted_ips_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **api_v1_workspace_workspace_id_trusted_ips_post_request** | [**ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest**](ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response**](ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete** -> ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete(workspace_id, trusted_ip_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - trusted_ip_id = 'trusted_ip_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete(workspace_id, trusted_ip_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **trusted_ip_id** | **str**| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response**](ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch** -> ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch(workspace_id, trusted_ip_id, api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request import ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - trusted_ip_id = 'trusted_ip_id_example' # str | - api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest() # ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch(workspace_id, trusted_ip_id, api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request) - print("The response of DefaultApi->api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **trusted_ip_id** | **str**| | - **api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request** | [**ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest**](ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response**](ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_id_users_get** -> ApiV1WorkspaceWorkspaceIdUsersGet200Response api_v1_workspace_workspace_id_users_get(workspace_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response import ApiV1WorkspaceWorkspaceIdUsersGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - - try: - api_response = api_instance.api_v1_workspace_workspace_id_users_get(workspace_id) - print("The response of DefaultApi->api_v1_workspace_workspace_id_users_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_id_users_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdUsersGet200Response**](ApiV1WorkspaceWorkspaceIdUsersGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_slug_audit_logs_retention_put** -> ApiV1WorkspaceWorkspaceIdNamePost200Response api_v1_workspace_workspace_slug_audit_logs_retention_put(workspace_slug, api_v1_workspace_workspace_slug_audit_logs_retention_put_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post200_response import ApiV1WorkspaceWorkspaceIdNamePost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_slug_audit_logs_retention_put_request import ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_slug = 'workspace_slug_example' # str | - api_v1_workspace_workspace_slug_audit_logs_retention_put_request = infisicalapi_client.ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest() # ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_slug_audit_logs_retention_put(workspace_slug, api_v1_workspace_workspace_slug_audit_logs_retention_put_request) - print("The response of DefaultApi->api_v1_workspace_workspace_slug_audit_logs_retention_put:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_slug_audit_logs_retention_put: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_slug** | **str**| | - **api_v1_workspace_workspace_slug_audit_logs_retention_put_request** | [**ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest**](ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdNamePost200Response**](ApiV1WorkspaceWorkspaceIdNamePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v1_workspace_workspace_slug_version_limit_put** -> ApiV1WorkspaceWorkspaceIdNamePost200Response api_v1_workspace_workspace_slug_version_limit_put(workspace_slug, api_v1_workspace_workspace_slug_version_limit_put_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post200_response import ApiV1WorkspaceWorkspaceIdNamePost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_slug_version_limit_put_request import ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_slug = 'workspace_slug_example' # str | - api_v1_workspace_workspace_slug_version_limit_put_request = infisicalapi_client.ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest() # ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest | - - try: - api_response = api_instance.api_v1_workspace_workspace_slug_version_limit_put(workspace_slug, api_v1_workspace_workspace_slug_version_limit_put_request) - print("The response of DefaultApi->api_v1_workspace_workspace_slug_version_limit_put:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v1_workspace_workspace_slug_version_limit_put: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_slug** | **str**| | - **api_v1_workspace_workspace_slug_version_limit_put_request** | [**ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest**](ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdNamePost200Response**](ApiV1WorkspaceWorkspaceIdNamePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_auth_mfa_send_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v2_auth_mfa_send_post() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v2_auth_mfa_send_post() - print("The response of DefaultApi->api_v2_auth_mfa_send_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_auth_mfa_send_post: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_auth_mfa_verify_post** -> ApiV2AuthMfaVerifyPost200Response api_v2_auth_mfa_verify_post(api_v2_auth_mfa_verify_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_auth_mfa_verify_post200_response import ApiV2AuthMfaVerifyPost200Response -from infisicalapi_client.models.api_v2_auth_mfa_verify_post_request import ApiV2AuthMfaVerifyPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v2_auth_mfa_verify_post_request = infisicalapi_client.ApiV2AuthMfaVerifyPostRequest() # ApiV2AuthMfaVerifyPostRequest | - - try: - api_response = api_instance.api_v2_auth_mfa_verify_post(api_v2_auth_mfa_verify_post_request) - print("The response of DefaultApi->api_v2_auth_mfa_verify_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_auth_mfa_verify_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_auth_mfa_verify_post_request** | [**ApiV2AuthMfaVerifyPostRequest**](ApiV2AuthMfaVerifyPostRequest.md)| | - -### Return type - -[**ApiV2AuthMfaVerifyPost200Response**](ApiV2AuthMfaVerifyPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_organizations_org_id_identity_memberships_get** -> ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response api_v2_organizations_org_id_identity_memberships_get(org_id) - - - -Return organization identity memberships - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_organizations_org_id_identity_memberships_get200_response import ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - org_id = 'org_id_example' # str | The ID of the organization to get identity memberships from. - - try: - api_response = api_instance.api_v2_organizations_org_id_identity_memberships_get(org_id) - print("The response of DefaultApi->api_v2_organizations_org_id_identity_memberships_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_organizations_org_id_identity_memberships_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **org_id** | **str**| The ID of the organization to get identity memberships from. | - -### Return type - -[**ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response**](ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_organizations_organization_id_delete** -> ApiV1OrganizationOrganizationIdGet200Response api_v2_organizations_organization_id_delete(organization_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_get200_response import ApiV1OrganizationOrganizationIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | - - try: - api_response = api_instance.api_v2_organizations_organization_id_delete(organization_id) - print("The response of DefaultApi->api_v2_organizations_organization_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_organizations_organization_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| | - -### Return type - -[**ApiV1OrganizationOrganizationIdGet200Response**](ApiV1OrganizationOrganizationIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_organizations_organization_id_memberships_get** -> ApiV2OrganizationsOrganizationIdMembershipsGet200Response api_v2_organizations_organization_id_memberships_get(organization_id) - - - -Return organization user memberships - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | The ID of the organization to get memberships from. - - try: - api_response = api_instance.api_v2_organizations_organization_id_memberships_get(organization_id) - print("The response of DefaultApi->api_v2_organizations_organization_id_memberships_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_organizations_organization_id_memberships_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| The ID of the organization to get memberships from. | - -### Return type - -[**ApiV2OrganizationsOrganizationIdMembershipsGet200Response**](ApiV2OrganizationsOrganizationIdMembershipsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_organizations_organization_id_memberships_membership_id_delete** -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response api_v2_organizations_organization_id_memberships_membership_id_delete(organization_id, membership_id) - - - -Delete organization user memberships - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_delete200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | The ID of the organization to delete the membership from. - membership_id = 'membership_id_example' # str | The ID of the membership to delete. - - try: - api_response = api_instance.api_v2_organizations_organization_id_memberships_membership_id_delete(organization_id, membership_id) - print("The response of DefaultApi->api_v2_organizations_organization_id_memberships_membership_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_organizations_organization_id_memberships_membership_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| The ID of the organization to delete the membership from. | - **membership_id** | **str**| The ID of the membership to delete. | - -### Return type - -[**ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response**](ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_organizations_organization_id_memberships_membership_id_get** -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response api_v2_organizations_organization_id_memberships_membership_id_get(organization_id, membership_id) - - - -Get organization user membership - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | The ID of the organization to get the membership for. - membership_id = 'membership_id_example' # str | The ID of the membership to get. - - try: - api_response = api_instance.api_v2_organizations_organization_id_memberships_membership_id_get(organization_id, membership_id) - print("The response of DefaultApi->api_v2_organizations_organization_id_memberships_membership_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_organizations_organization_id_memberships_membership_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| The ID of the organization to get the membership for. | - **membership_id** | **str**| The ID of the membership to get. | - -### Return type - -[**ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response**](ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_organizations_organization_id_memberships_membership_id_patch** -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response api_v2_organizations_organization_id_memberships_membership_id_patch(organization_id, membership_id, api_v2_organizations_organization_id_memberships_membership_id_patch_request=api_v2_organizations_organization_id_memberships_membership_id_patch_request) - - - -Update organization user memberships - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_delete200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_patch_request import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | The ID of the organization to update the membership for. - membership_id = 'membership_id_example' # str | The ID of the membership to update. - api_v2_organizations_organization_id_memberships_membership_id_patch_request = infisicalapi_client.ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest() # ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest | (optional) - - try: - api_response = api_instance.api_v2_organizations_organization_id_memberships_membership_id_patch(organization_id, membership_id, api_v2_organizations_organization_id_memberships_membership_id_patch_request=api_v2_organizations_organization_id_memberships_membership_id_patch_request) - print("The response of DefaultApi->api_v2_organizations_organization_id_memberships_membership_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_organizations_organization_id_memberships_membership_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| The ID of the organization to update the membership for. | - **membership_id** | **str**| The ID of the membership to update. | - **api_v2_organizations_organization_id_memberships_membership_id_patch_request** | [**ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest**](ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.md)| | [optional] - -### Return type - -[**ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response**](ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get** -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get(organization_id, membership_id) - - - -Get project memberships given organization membership - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | The ID of the organization to delete the membership from. - membership_id = 'membership_id_example' # str | The ID of the membership to delete. - - try: - api_response = api_instance.api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get(organization_id, membership_id) - print("The response of DefaultApi->api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| The ID of the organization to delete the membership from. | - **membership_id** | **str**| The ID of the membership to delete. | - -### Return type - -[**ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response**](ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_organizations_organization_id_workspaces_get** -> ApiV2OrganizationsOrganizationIdWorkspacesGet200Response api_v2_organizations_organization_id_workspaces_get(organization_id) - - - -Return projects in organization that user is part of - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response import ApiV2OrganizationsOrganizationIdWorkspacesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - organization_id = 'organization_id_example' # str | The ID of the organization to get projects from. - - try: - api_response = api_instance.api_v2_organizations_organization_id_workspaces_get(organization_id) - print("The response of DefaultApi->api_v2_organizations_organization_id_workspaces_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_organizations_organization_id_workspaces_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **organization_id** | **str**| The ID of the organization to get projects from. | - -### Return type - -[**ApiV2OrganizationsOrganizationIdWorkspacesGet200Response**](ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_organizations_post** -> ApiV1OrganizationOrganizationIdGet200Response api_v2_organizations_post(api_v1_workspace_workspace_id_name_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_organization_id_get200_response import ApiV1OrganizationOrganizationIdGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post_request import ApiV1WorkspaceWorkspaceIdNamePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_workspace_workspace_id_name_post_request = infisicalapi_client.ApiV1WorkspaceWorkspaceIdNamePostRequest() # ApiV1WorkspaceWorkspaceIdNamePostRequest | - - try: - api_response = api_instance.api_v2_organizations_post(api_v1_workspace_workspace_id_name_post_request) - print("The response of DefaultApi->api_v2_organizations_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_organizations_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_workspace_workspace_id_name_post_request** | [**ApiV1WorkspaceWorkspaceIdNamePostRequest**](ApiV1WorkspaceWorkspaceIdNamePostRequest.md)| | - -### Return type - -[**ApiV1OrganizationOrganizationIdGet200Response**](ApiV1OrganizationOrganizationIdGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_service_token_get** -> ApiV2ServiceTokenGet200Response api_v2_service_token_get() - - - -Return Infisical Token data - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_service_token_get200_response import ApiV2ServiceTokenGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v2_service_token_get() - print("The response of DefaultApi->api_v2_service_token_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_service_token_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV2ServiceTokenGet200Response**](ApiV2ServiceTokenGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_service_token_post** -> ApiV2ServiceTokenPost200Response api_v2_service_token_post(api_v2_service_token_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_service_token_post200_response import ApiV2ServiceTokenPost200Response -from infisicalapi_client.models.api_v2_service_token_post_request import ApiV2ServiceTokenPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v2_service_token_post_request = infisicalapi_client.ApiV2ServiceTokenPostRequest() # ApiV2ServiceTokenPostRequest | - - try: - api_response = api_instance.api_v2_service_token_post(api_v2_service_token_post_request) - print("The response of DefaultApi->api_v2_service_token_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_service_token_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_service_token_post_request** | [**ApiV2ServiceTokenPostRequest**](ApiV2ServiceTokenPostRequest.md)| | - -### Return type - -[**ApiV2ServiceTokenPost200Response**](ApiV2ServiceTokenPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_service_token_service_token_id_delete** -> ApiV2ServiceTokenServiceTokenIdDelete200Response api_v2_service_token_service_token_id_delete(service_token_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_service_token_service_token_id_delete200_response import ApiV2ServiceTokenServiceTokenIdDelete200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - service_token_id = 'service_token_id_example' # str | - - try: - api_response = api_instance.api_v2_service_token_service_token_id_delete(service_token_id) - print("The response of DefaultApi->api_v2_service_token_service_token_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_service_token_service_token_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **service_token_id** | **str**| | - -### Return type - -[**ApiV2ServiceTokenServiceTokenIdDelete200Response**](ApiV2ServiceTokenServiceTokenIdDelete200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_api_keys_api_key_data_id_delete** -> ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response api_v2_users_me_api_keys_api_key_data_id_delete(api_key_data_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_users_me_api_keys_api_key_data_id_delete200_response import ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_key_data_id = 'api_key_data_id_example' # str | - - try: - api_response = api_instance.api_v2_users_me_api_keys_api_key_data_id_delete(api_key_data_id) - print("The response of DefaultApi->api_v2_users_me_api_keys_api_key_data_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_api_keys_api_key_data_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_key_data_id** | **str**| | - -### Return type - -[**ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response**](ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_api_keys_get** -> List[ApiV2UsersMeApiKeysGet200ResponseInner] api_v2_users_me_api_keys_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_users_me_api_keys_get200_response_inner import ApiV2UsersMeApiKeysGet200ResponseInner -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v2_users_me_api_keys_get() - print("The response of DefaultApi->api_v2_users_me_api_keys_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_api_keys_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**List[ApiV2UsersMeApiKeysGet200ResponseInner]**](ApiV2UsersMeApiKeysGet200ResponseInner.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_api_keys_post** -> ApiV2UsersMeApiKeysPost200Response api_v2_users_me_api_keys_post(api_v2_users_me_api_keys_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_users_me_api_keys_post200_response import ApiV2UsersMeApiKeysPost200Response -from infisicalapi_client.models.api_v2_users_me_api_keys_post_request import ApiV2UsersMeApiKeysPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v2_users_me_api_keys_post_request = infisicalapi_client.ApiV2UsersMeApiKeysPostRequest() # ApiV2UsersMeApiKeysPostRequest | - - try: - api_response = api_instance.api_v2_users_me_api_keys_post(api_v2_users_me_api_keys_post_request) - print("The response of DefaultApi->api_v2_users_me_api_keys_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_api_keys_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_users_me_api_keys_post_request** | [**ApiV2UsersMeApiKeysPostRequest**](ApiV2UsersMeApiKeysPostRequest.md)| | - -### Return type - -[**ApiV2UsersMeApiKeysPost200Response**](ApiV2UsersMeApiKeysPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_auth_methods_put** -> ApiV2UsersMeMfaPatch200Response api_v2_users_me_auth_methods_put(api_v2_users_me_auth_methods_put_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_users_me_auth_methods_put_request import ApiV2UsersMeAuthMethodsPutRequest -from infisicalapi_client.models.api_v2_users_me_mfa_patch200_response import ApiV2UsersMeMfaPatch200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v2_users_me_auth_methods_put_request = infisicalapi_client.ApiV2UsersMeAuthMethodsPutRequest() # ApiV2UsersMeAuthMethodsPutRequest | - - try: - api_response = api_instance.api_v2_users_me_auth_methods_put(api_v2_users_me_auth_methods_put_request) - print("The response of DefaultApi->api_v2_users_me_auth_methods_put:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_auth_methods_put: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_users_me_auth_methods_put_request** | [**ApiV2UsersMeAuthMethodsPutRequest**](ApiV2UsersMeAuthMethodsPutRequest.md)| | - -### Return type - -[**ApiV2UsersMeMfaPatch200Response**](ApiV2UsersMeMfaPatch200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_delete** -> ApiV2UsersMeMfaPatch200Response api_v2_users_me_delete() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_users_me_mfa_patch200_response import ApiV2UsersMeMfaPatch200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v2_users_me_delete() - print("The response of DefaultApi->api_v2_users_me_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_delete: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV2UsersMeMfaPatch200Response**](ApiV2UsersMeMfaPatch200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_emails_code_post** -> object api_v2_users_me_emails_code_post(api_v2_users_me_emails_code_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_users_me_emails_code_post_request import ApiV2UsersMeEmailsCodePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v2_users_me_emails_code_post_request = infisicalapi_client.ApiV2UsersMeEmailsCodePostRequest() # ApiV2UsersMeEmailsCodePostRequest | - - try: - api_response = api_instance.api_v2_users_me_emails_code_post(api_v2_users_me_emails_code_post_request) - print("The response of DefaultApi->api_v2_users_me_emails_code_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_emails_code_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_users_me_emails_code_post_request** | [**ApiV2UsersMeEmailsCodePostRequest**](ApiV2UsersMeEmailsCodePostRequest.md)| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_emails_verify_post** -> object api_v2_users_me_emails_verify_post(api_v2_users_me_emails_verify_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_users_me_emails_verify_post_request import ApiV2UsersMeEmailsVerifyPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v2_users_me_emails_verify_post_request = infisicalapi_client.ApiV2UsersMeEmailsVerifyPostRequest() # ApiV2UsersMeEmailsVerifyPostRequest | - - try: - api_response = api_instance.api_v2_users_me_emails_verify_post(api_v2_users_me_emails_verify_post_request) - print("The response of DefaultApi->api_v2_users_me_emails_verify_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_emails_verify_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_users_me_emails_verify_post_request** | [**ApiV2UsersMeEmailsVerifyPostRequest**](ApiV2UsersMeEmailsVerifyPostRequest.md)| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_get** -> ApiV1UserGet200Response api_v2_users_me_get() - - - -Retrieve the current user on the request - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_user_get200_response import ApiV1UserGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v2_users_me_get() - print("The response of DefaultApi->api_v2_users_me_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1UserGet200Response**](ApiV1UserGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_mfa_patch** -> ApiV2UsersMeMfaPatch200Response api_v2_users_me_mfa_patch(api_v2_users_me_mfa_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_users_me_mfa_patch200_response import ApiV2UsersMeMfaPatch200Response -from infisicalapi_client.models.api_v2_users_me_mfa_patch_request import ApiV2UsersMeMfaPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v2_users_me_mfa_patch_request = infisicalapi_client.ApiV2UsersMeMfaPatchRequest() # ApiV2UsersMeMfaPatchRequest | - - try: - api_response = api_instance.api_v2_users_me_mfa_patch(api_v2_users_me_mfa_patch_request) - print("The response of DefaultApi->api_v2_users_me_mfa_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_mfa_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_users_me_mfa_patch_request** | [**ApiV2UsersMeMfaPatchRequest**](ApiV2UsersMeMfaPatchRequest.md)| | - -### Return type - -[**ApiV2UsersMeMfaPatch200Response**](ApiV2UsersMeMfaPatch200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_name_patch** -> ApiV2UsersMeMfaPatch200Response api_v2_users_me_name_patch(api_v2_users_me_name_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_users_me_mfa_patch200_response import ApiV2UsersMeMfaPatch200Response -from infisicalapi_client.models.api_v2_users_me_name_patch_request import ApiV2UsersMeNamePatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v2_users_me_name_patch_request = infisicalapi_client.ApiV2UsersMeNamePatchRequest() # ApiV2UsersMeNamePatchRequest | - - try: - api_response = api_instance.api_v2_users_me_name_patch(api_v2_users_me_name_patch_request) - print("The response of DefaultApi->api_v2_users_me_name_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_name_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_users_me_name_patch_request** | [**ApiV2UsersMeNamePatchRequest**](ApiV2UsersMeNamePatchRequest.md)| | - -### Return type - -[**ApiV2UsersMeMfaPatch200Response**](ApiV2UsersMeMfaPatch200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_organizations_get** -> ApiV1OrganizationGet200Response api_v2_users_me_organizations_get() - - - -Return organizations that current user is part of - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_get200_response import ApiV1OrganizationGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v2_users_me_organizations_get() - print("The response of DefaultApi->api_v2_users_me_organizations_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_organizations_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1OrganizationGet200Response**](ApiV1OrganizationGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_sessions_delete** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v2_users_me_sessions_delete() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v2_users_me_sessions_delete() - print("The response of DefaultApi->api_v2_users_me_sessions_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_sessions_delete: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_users_me_sessions_get** -> List[ApiV2UsersMeSessionsGet200ResponseInner] api_v2_users_me_sessions_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_users_me_sessions_get200_response_inner import ApiV2UsersMeSessionsGet200ResponseInner -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v2_users_me_sessions_get() - print("The response of DefaultApi->api_v2_users_me_sessions_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_users_me_sessions_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**List[ApiV2UsersMeSessionsGet200ResponseInner]**](ApiV2UsersMeSessionsGet200ResponseInner.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_post** -> ApiV2WorkspacePost200Response api_v2_workspace_post(api_v2_workspace_post_request) - - - -Create a new project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_post200_response import ApiV2WorkspacePost200Response -from infisicalapi_client.models.api_v2_workspace_post_request import ApiV2WorkspacePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v2_workspace_post_request = infisicalapi_client.ApiV2WorkspacePostRequest() # ApiV2WorkspacePostRequest | - - try: - api_response = api_instance.api_v2_workspace_post(api_v2_workspace_post_request) - print("The response of DefaultApi->api_v2_workspace_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_workspace_post_request** | [**ApiV2WorkspacePostRequest**](ApiV2WorkspacePostRequest.md)| | - -### Return type - -[**ApiV2WorkspacePost200Response**](ApiV2WorkspacePost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_id_identity_memberships_get** -> ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response api_v2_workspace_project_id_identity_memberships_get(project_id) - - - -Return project identity memberships - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to get identity memberships from. - - try: - api_response = api_instance.api_v2_workspace_project_id_identity_memberships_get(project_id) - print("The response of DefaultApi->api_v2_workspace_project_id_identity_memberships_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_id_identity_memberships_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to get identity memberships from. | - -### Return type - -[**ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response**](ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_id_identity_memberships_identity_id_delete** -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response api_v2_workspace_project_id_identity_memberships_identity_id_delete(project_id, identity_id) - - - -Delete project identity memberships - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to delete the identity membership from. - identity_id = 'identity_id_example' # str | The ID of the identity to delete the membership from. - - try: - api_response = api_instance.api_v2_workspace_project_id_identity_memberships_identity_id_delete(project_id, identity_id) - print("The response of DefaultApi->api_v2_workspace_project_id_identity_memberships_identity_id_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_id_identity_memberships_identity_id_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to delete the identity membership from. | - **identity_id** | **str**| The ID of the identity to delete the membership from. | - -### Return type - -[**ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response**](ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_id_identity_memberships_identity_id_get** -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response api_v2_workspace_project_id_identity_memberships_identity_id_get(project_id, identity_id) - - - -Return project identity membership - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_get200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to get the identity membership for. - identity_id = 'identity_id_example' # str | The ID of the identity to get the membership for. - - try: - api_response = api_instance.api_v2_workspace_project_id_identity_memberships_identity_id_get(project_id, identity_id) - print("The response of DefaultApi->api_v2_workspace_project_id_identity_memberships_identity_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_id_identity_memberships_identity_id_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to get the identity membership for. | - **identity_id** | **str**| The ID of the identity to get the membership for. | - -### Return type - -[**ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response**](ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_id_identity_memberships_identity_id_patch** -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response api_v2_workspace_project_id_identity_memberships_identity_id_patch(project_id, identity_id, api_v2_workspace_project_id_identity_memberships_identity_id_patch_request) - - - -Update project identity memberships - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to update the identity membership for. - identity_id = 'identity_id_example' # str | The ID of the identity to update the membership for. - api_v2_workspace_project_id_identity_memberships_identity_id_patch_request = infisicalapi_client.ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest() # ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest | - - try: - api_response = api_instance.api_v2_workspace_project_id_identity_memberships_identity_id_patch(project_id, identity_id, api_v2_workspace_project_id_identity_memberships_identity_id_patch_request) - print("The response of DefaultApi->api_v2_workspace_project_id_identity_memberships_identity_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_id_identity_memberships_identity_id_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to update the identity membership for. | - **identity_id** | **str**| The ID of the identity to update the membership for. | - **api_v2_workspace_project_id_identity_memberships_identity_id_patch_request** | [**ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest**](ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response**](ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_id_identity_memberships_identity_id_post** -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response api_v2_workspace_project_id_identity_memberships_identity_id_post(project_id, identity_id, api_v2_workspace_project_id_identity_memberships_identity_id_post_request=api_v2_workspace_project_id_identity_memberships_identity_id_post_request) - - - -Create project identity membership - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | - identity_id = 'identity_id_example' # str | - api_v2_workspace_project_id_identity_memberships_identity_id_post_request = infisicalapi_client.ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest() # ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest | (optional) - - try: - api_response = api_instance.api_v2_workspace_project_id_identity_memberships_identity_id_post(project_id, identity_id, api_v2_workspace_project_id_identity_memberships_identity_id_post_request=api_v2_workspace_project_id_identity_memberships_identity_id_post_request) - print("The response of DefaultApi->api_v2_workspace_project_id_identity_memberships_identity_id_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_id_identity_memberships_identity_id_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **identity_id** | **str**| | - **api_v2_workspace_project_id_identity_memberships_identity_id_post_request** | [**ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest**](ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.md)| | [optional] - -### Return type - -[**ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response**](ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_id_memberships_delete** -> ApiV2WorkspaceProjectIdMembershipsPost200Response api_v2_workspace_project_id_memberships_delete(project_id, api_v2_workspace_project_id_memberships_delete_request=api_v2_workspace_project_id_memberships_delete_request) - - - -Remove members from project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_delete_request import ApiV2WorkspaceProjectIdMembershipsDeleteRequest -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post200_response import ApiV2WorkspaceProjectIdMembershipsPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to remove the member from. - api_v2_workspace_project_id_memberships_delete_request = infisicalapi_client.ApiV2WorkspaceProjectIdMembershipsDeleteRequest() # ApiV2WorkspaceProjectIdMembershipsDeleteRequest | (optional) - - try: - api_response = api_instance.api_v2_workspace_project_id_memberships_delete(project_id, api_v2_workspace_project_id_memberships_delete_request=api_v2_workspace_project_id_memberships_delete_request) - print("The response of DefaultApi->api_v2_workspace_project_id_memberships_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_id_memberships_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to remove the member from. | - **api_v2_workspace_project_id_memberships_delete_request** | [**ApiV2WorkspaceProjectIdMembershipsDeleteRequest**](ApiV2WorkspaceProjectIdMembershipsDeleteRequest.md)| | [optional] - -### Return type - -[**ApiV2WorkspaceProjectIdMembershipsPost200Response**](ApiV2WorkspaceProjectIdMembershipsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_id_memberships_post** -> ApiV2WorkspaceProjectIdMembershipsPost200Response api_v2_workspace_project_id_memberships_post(project_id, api_v2_workspace_project_id_memberships_post_request=api_v2_workspace_project_id_memberships_post_request) - - - -Invite members to project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post200_response import ApiV2WorkspaceProjectIdMembershipsPost200Response -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post_request import ApiV2WorkspaceProjectIdMembershipsPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | The ID of the project to invite the member to. - api_v2_workspace_project_id_memberships_post_request = infisicalapi_client.ApiV2WorkspaceProjectIdMembershipsPostRequest() # ApiV2WorkspaceProjectIdMembershipsPostRequest | (optional) - - try: - api_response = api_instance.api_v2_workspace_project_id_memberships_post(project_id, api_v2_workspace_project_id_memberships_post_request=api_v2_workspace_project_id_memberships_post_request) - print("The response of DefaultApi->api_v2_workspace_project_id_memberships_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_id_memberships_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| The ID of the project to invite the member to. | - **api_v2_workspace_project_id_memberships_post_request** | [**ApiV2WorkspaceProjectIdMembershipsPostRequest**](ApiV2WorkspaceProjectIdMembershipsPostRequest.md)| | [optional] - -### Return type - -[**ApiV2WorkspaceProjectIdMembershipsPost200Response**](ApiV2WorkspaceProjectIdMembershipsPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_id_upgrade_post** -> object api_v2_workspace_project_id_upgrade_post(project_id, api_v2_workspace_project_id_upgrade_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_post_request import ApiV2WorkspaceProjectIdUpgradePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | - api_v2_workspace_project_id_upgrade_post_request = infisicalapi_client.ApiV2WorkspaceProjectIdUpgradePostRequest() # ApiV2WorkspaceProjectIdUpgradePostRequest | - - try: - api_response = api_instance.api_v2_workspace_project_id_upgrade_post(project_id, api_v2_workspace_project_id_upgrade_post_request) - print("The response of DefaultApi->api_v2_workspace_project_id_upgrade_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_id_upgrade_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **api_v2_workspace_project_id_upgrade_post_request** | [**ApiV2WorkspaceProjectIdUpgradePostRequest**](ApiV2WorkspaceProjectIdUpgradePostRequest.md)| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_id_upgrade_status_get** -> ApiV2WorkspaceProjectIdUpgradeStatusGet200Response api_v2_workspace_project_id_upgrade_status_get(project_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_status_get200_response import ApiV2WorkspaceProjectIdUpgradeStatusGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | - - try: - api_response = api_instance.api_v2_workspace_project_id_upgrade_status_get(project_id) - print("The response of DefaultApi->api_v2_workspace_project_id_upgrade_status_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_id_upgrade_status_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -[**ApiV2WorkspaceProjectIdUpgradeStatusGet200Response**](ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_slug_groups_get** -> ApiV2WorkspaceProjectSlugGroupsGet200Response api_v2_workspace_project_slug_groups_get(project_slug) - - - -Return list of groups in project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response import ApiV2WorkspaceProjectSlugGroupsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | The slug of the project to list groups for. - - try: - api_response = api_instance.api_v2_workspace_project_slug_groups_get(project_slug) - print("The response of DefaultApi->api_v2_workspace_project_slug_groups_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_slug_groups_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| The slug of the project to list groups for. | - -### Return type - -[**ApiV2WorkspaceProjectSlugGroupsGet200Response**](ApiV2WorkspaceProjectSlugGroupsGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_slug_groups_group_slug_delete** -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response api_v2_workspace_project_slug_groups_group_slug_delete(project_slug, group_slug) - - - -Remove group from project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | The slug of the project to delete the group from. - group_slug = 'group_slug_example' # str | The slug of the group to delete from the project. - - try: - api_response = api_instance.api_v2_workspace_project_slug_groups_group_slug_delete(project_slug, group_slug) - print("The response of DefaultApi->api_v2_workspace_project_slug_groups_group_slug_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_slug_groups_group_slug_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| The slug of the project to delete the group from. | - **group_slug** | **str**| The slug of the group to delete from the project. | - -### Return type - -[**ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response**](ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_slug_groups_group_slug_patch** -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response api_v2_workspace_project_slug_groups_group_slug_patch(project_slug, group_slug, api_v2_workspace_project_slug_groups_group_slug_patch_request) - - - -Update group in project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_patch_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | The slug of the project to update the group in. - group_slug = 'group_slug_example' # str | The slug of the group to update in the project. - api_v2_workspace_project_slug_groups_group_slug_patch_request = infisicalapi_client.ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest() # ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest | - - try: - api_response = api_instance.api_v2_workspace_project_slug_groups_group_slug_patch(project_slug, group_slug, api_v2_workspace_project_slug_groups_group_slug_patch_request) - print("The response of DefaultApi->api_v2_workspace_project_slug_groups_group_slug_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_slug_groups_group_slug_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| The slug of the project to update the group in. | - **group_slug** | **str**| The slug of the group to update in the project. | - **api_v2_workspace_project_slug_groups_group_slug_patch_request** | [**ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest**](ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response**](ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_project_slug_groups_group_slug_post** -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response api_v2_workspace_project_slug_groups_group_slug_post(project_slug, group_slug, api_v2_workspace_project_slug_groups_group_slug_post_request=api_v2_workspace_project_slug_groups_group_slug_post_request) - - - -Add group to project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_slug = 'project_slug_example' # str | The slug of the project to add the group to. - group_slug = 'group_slug_example' # str | The slug of the group to add to the project. - api_v2_workspace_project_slug_groups_group_slug_post_request = infisicalapi_client.ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest() # ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest | (optional) - - try: - api_response = api_instance.api_v2_workspace_project_slug_groups_group_slug_post(project_slug, group_slug, api_v2_workspace_project_slug_groups_group_slug_post_request=api_v2_workspace_project_slug_groups_group_slug_post_request) - print("The response of DefaultApi->api_v2_workspace_project_slug_groups_group_slug_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_project_slug_groups_group_slug_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_slug** | **str**| The slug of the project to add the group to. | - **group_slug** | **str**| The slug of the group to add to the project. | - **api_v2_workspace_project_slug_groups_group_slug_post_request** | [**ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest**](ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.md)| | [optional] - -### Return type - -[**ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response**](ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_slug_cas_get** -> ApiV2WorkspaceSlugCasGet200Response api_v2_workspace_slug_cas_get(slug, status=status, friendly_name=friendly_name, common_name=common_name, offset=offset, limit=limit) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_slug_cas_get200_response import ApiV2WorkspaceSlugCasGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - slug = 'slug_example' # str | The slug of the project to list CAs for. - status = 'status_example' # str | The status of the CA to filter by. (optional) - friendly_name = 'friendly_name_example' # str | The friendly name of the CA to filter by. (optional) - common_name = 'common_name_example' # str | The common name of the CA to filter by. (optional) - offset = 0 # float | The offset to start from. If you enter 10, it will start from the 10th CA. (optional) (default to 0) - limit = 25 # float | The number of CAs to return. (optional) (default to 25) - - try: - api_response = api_instance.api_v2_workspace_slug_cas_get(slug, status=status, friendly_name=friendly_name, common_name=common_name, offset=offset, limit=limit) - print("The response of DefaultApi->api_v2_workspace_slug_cas_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_slug_cas_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **slug** | **str**| The slug of the project to list CAs for. | - **status** | **str**| The status of the CA to filter by. | [optional] - **friendly_name** | **str**| The friendly name of the CA to filter by. | [optional] - **common_name** | **str**| The common name of the CA to filter by. | [optional] - **offset** | **float**| The offset to start from. If you enter 10, it will start from the 10th CA. | [optional] [default to 0] - **limit** | **float**| The number of CAs to return. | [optional] [default to 25] - -### Return type - -[**ApiV2WorkspaceSlugCasGet200Response**](ApiV2WorkspaceSlugCasGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_slug_certificates_get** -> ApiV2WorkspaceSlugCertificatesGet200Response api_v2_workspace_slug_certificates_get(slug, friendly_name=friendly_name, common_name=common_name, offset=offset, limit=limit) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_slug_certificates_get200_response import ApiV2WorkspaceSlugCertificatesGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - slug = 'slug_example' # str | The slug of the project to list certificates for. - friendly_name = 'friendly_name_example' # str | The friendly name of the certificate to filter by. (optional) - common_name = 'common_name_example' # str | The common name of the certificate to filter by. (optional) - offset = 0 # float | The offset to start from. If you enter 10, it will start from the 10th certificate. (optional) (default to 0) - limit = 25 # float | The number of certificates to return. (optional) (default to 25) - - try: - api_response = api_instance.api_v2_workspace_slug_certificates_get(slug, friendly_name=friendly_name, common_name=common_name, offset=offset, limit=limit) - print("The response of DefaultApi->api_v2_workspace_slug_certificates_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_slug_certificates_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **slug** | **str**| The slug of the project to list certificates for. | - **friendly_name** | **str**| The friendly name of the certificate to filter by. | [optional] - **common_name** | **str**| The common name of the certificate to filter by. | [optional] - **offset** | **float**| The offset to start from. If you enter 10, it will start from the 10th certificate. | [optional] [default to 0] - **limit** | **float**| The number of certificates to return. | [optional] [default to 25] - -### Return type - -[**ApiV2WorkspaceSlugCertificatesGet200Response**](ApiV2WorkspaceSlugCertificatesGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_slug_delete** -> ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner api_v2_workspace_slug_delete(slug) - - - -Delete project - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - slug = 'slug_example' # str | The slug of the project to delete. - - try: - api_response = api_instance.api_v2_workspace_slug_delete(slug) - print("The response of DefaultApi->api_v2_workspace_slug_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_slug_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **slug** | **str**| The slug of the project to delete. | - -### Return type - -[**ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner**](ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_slug_get** -> ApiV1WorkspaceGet200ResponseWorkspacesInner api_v2_workspace_slug_get(slug) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_get200_response_workspaces_inner import ApiV1WorkspaceGet200ResponseWorkspacesInner -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - slug = 'slug_example' # str | The slug of the project to get. - - try: - api_response = api_instance.api_v2_workspace_slug_get(slug) - print("The response of DefaultApi->api_v2_workspace_slug_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_slug_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **slug** | **str**| The slug of the project to get. | - -### Return type - -[**ApiV1WorkspaceGet200ResponseWorkspacesInner**](ApiV1WorkspaceGet200ResponseWorkspacesInner.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_slug_patch** -> ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner api_v2_workspace_slug_patch(slug, api_v2_workspace_slug_patch_request=api_v2_workspace_slug_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner -from infisicalapi_client.models.api_v2_workspace_slug_patch_request import ApiV2WorkspaceSlugPatchRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - slug = 'slug_example' # str | The slug of the project to update. - api_v2_workspace_slug_patch_request = infisicalapi_client.ApiV2WorkspaceSlugPatchRequest() # ApiV2WorkspaceSlugPatchRequest | (optional) - - try: - api_response = api_instance.api_v2_workspace_slug_patch(slug, api_v2_workspace_slug_patch_request=api_v2_workspace_slug_patch_request) - print("The response of DefaultApi->api_v2_workspace_slug_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_slug_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **slug** | **str**| The slug of the project to update. | - **api_v2_workspace_slug_patch_request** | [**ApiV2WorkspaceSlugPatchRequest**](ApiV2WorkspaceSlugPatchRequest.md)| | [optional] - -### Return type - -[**ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner**](ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v2_workspace_workspace_id_encrypted_key_get** -> ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response api_v2_workspace_workspace_id_encrypted_key_get(workspace_id) - - - -Return encrypted project key - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to get the key from. - - try: - api_response = api_instance.api_v2_workspace_workspace_id_encrypted_key_get(workspace_id) - print("The response of DefaultApi->api_v2_workspace_workspace_id_encrypted_key_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v2_workspace_workspace_id_encrypted_key_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to get the key from. | - -### Return type - -[**ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response**](ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_auth_login1_post** -> ApiV1PasswordSrp1Post200Response api_v3_auth_login1_post(api_v3_auth_login1_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_password_srp1_post200_response import ApiV1PasswordSrp1Post200Response -from infisicalapi_client.models.api_v3_auth_login1_post_request import ApiV3AuthLogin1PostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_auth_login1_post_request = infisicalapi_client.ApiV3AuthLogin1PostRequest() # ApiV3AuthLogin1PostRequest | - - try: - api_response = api_instance.api_v3_auth_login1_post(api_v3_auth_login1_post_request) - print("The response of DefaultApi->api_v3_auth_login1_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_auth_login1_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_auth_login1_post_request** | [**ApiV3AuthLogin1PostRequest**](ApiV3AuthLogin1PostRequest.md)| | - -### Return type - -[**ApiV1PasswordSrp1Post200Response**](ApiV1PasswordSrp1Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_auth_login2_post** -> ApiV3AuthLogin2Post200Response api_v3_auth_login2_post(api_v3_auth_login2_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_auth_login2_post200_response import ApiV3AuthLogin2Post200Response -from infisicalapi_client.models.api_v3_auth_login2_post_request import ApiV3AuthLogin2PostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_auth_login2_post_request = infisicalapi_client.ApiV3AuthLogin2PostRequest() # ApiV3AuthLogin2PostRequest | - - try: - api_response = api_instance.api_v3_auth_login2_post(api_v3_auth_login2_post_request) - print("The response of DefaultApi->api_v3_auth_login2_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_auth_login2_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_auth_login2_post_request** | [**ApiV3AuthLogin2PostRequest**](ApiV3AuthLogin2PostRequest.md)| | - -### Return type - -[**ApiV3AuthLogin2Post200Response**](ApiV3AuthLogin2Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_auth_select_organization_post** -> ApiV1AuthTokenPost200Response api_v3_auth_select_organization_post(api_v1_secret_scanning_create_installation_session_organization_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_token_post200_response import ApiV1AuthTokenPost200Response -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post_request import ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_secret_scanning_create_installation_session_organization_post_request = infisicalapi_client.ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest() # ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest | - - try: - api_response = api_instance.api_v3_auth_select_organization_post(api_v1_secret_scanning_create_installation_session_organization_post_request) - print("The response of DefaultApi->api_v3_auth_select_organization_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_auth_select_organization_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_secret_scanning_create_installation_session_organization_post_request** | [**ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest**](ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.md)| | - -### Return type - -[**ApiV1AuthTokenPost200Response**](ApiV1AuthTokenPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_backfill_secret_references_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v3_secrets_backfill_secret_references_post(api_v3_secrets_backfill_secret_references_post_request) - - - -Backfill secret references - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.models.api_v3_secrets_backfill_secret_references_post_request import ApiV3SecretsBackfillSecretReferencesPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_secrets_backfill_secret_references_post_request = infisicalapi_client.ApiV3SecretsBackfillSecretReferencesPostRequest() # ApiV3SecretsBackfillSecretReferencesPostRequest | - - try: - api_response = api_instance.api_v3_secrets_backfill_secret_references_post(api_v3_secrets_backfill_secret_references_post_request) - print("The response of DefaultApi->api_v3_secrets_backfill_secret_references_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_backfill_secret_references_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_secrets_backfill_secret_references_post_request** | [**ApiV3SecretsBackfillSecretReferencesPostRequest**](ApiV3SecretsBackfillSecretReferencesPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_batch_delete** -> ApiV3SecretsBatchPost200Response api_v3_secrets_batch_delete(api_v3_secrets_batch_delete_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_batch_delete_request import ApiV3SecretsBatchDeleteRequest -from infisicalapi_client.models.api_v3_secrets_batch_post200_response import ApiV3SecretsBatchPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_secrets_batch_delete_request = infisicalapi_client.ApiV3SecretsBatchDeleteRequest() # ApiV3SecretsBatchDeleteRequest | - - try: - api_response = api_instance.api_v3_secrets_batch_delete(api_v3_secrets_batch_delete_request) - print("The response of DefaultApi->api_v3_secrets_batch_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_batch_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_secrets_batch_delete_request** | [**ApiV3SecretsBatchDeleteRequest**](ApiV3SecretsBatchDeleteRequest.md)| | - -### Return type - -[**ApiV3SecretsBatchPost200Response**](ApiV3SecretsBatchPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_batch_patch** -> ApiV3SecretsBatchPost200Response api_v3_secrets_batch_patch(api_v3_secrets_batch_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_batch_patch_request import ApiV3SecretsBatchPatchRequest -from infisicalapi_client.models.api_v3_secrets_batch_post200_response import ApiV3SecretsBatchPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_secrets_batch_patch_request = infisicalapi_client.ApiV3SecretsBatchPatchRequest() # ApiV3SecretsBatchPatchRequest | - - try: - api_response = api_instance.api_v3_secrets_batch_patch(api_v3_secrets_batch_patch_request) - print("The response of DefaultApi->api_v3_secrets_batch_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_batch_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_secrets_batch_patch_request** | [**ApiV3SecretsBatchPatchRequest**](ApiV3SecretsBatchPatchRequest.md)| | - -### Return type - -[**ApiV3SecretsBatchPost200Response**](ApiV3SecretsBatchPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_batch_post** -> ApiV3SecretsBatchPost200Response api_v3_secrets_batch_post(api_v3_secrets_batch_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_batch_post200_response import ApiV3SecretsBatchPost200Response -from infisicalapi_client.models.api_v3_secrets_batch_post_request import ApiV3SecretsBatchPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_secrets_batch_post_request = infisicalapi_client.ApiV3SecretsBatchPostRequest() # ApiV3SecretsBatchPostRequest | - - try: - api_response = api_instance.api_v3_secrets_batch_post(api_v3_secrets_batch_post_request) - print("The response of DefaultApi->api_v3_secrets_batch_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_batch_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_secrets_batch_post_request** | [**ApiV3SecretsBatchPostRequest**](ApiV3SecretsBatchPostRequest.md)| | - -### Return type - -[**ApiV3SecretsBatchPost200Response**](ApiV3SecretsBatchPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_batch_raw_delete** -> ApiV3SecretsBatchRawPost200Response api_v3_secrets_batch_raw_delete(api_v3_secrets_batch_raw_delete_request) - - - -Delete many secrets - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request import ApiV3SecretsBatchRawDeleteRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response import ApiV3SecretsBatchRawPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_secrets_batch_raw_delete_request = infisicalapi_client.ApiV3SecretsBatchRawDeleteRequest() # ApiV3SecretsBatchRawDeleteRequest | - - try: - api_response = api_instance.api_v3_secrets_batch_raw_delete(api_v3_secrets_batch_raw_delete_request) - print("The response of DefaultApi->api_v3_secrets_batch_raw_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_batch_raw_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_secrets_batch_raw_delete_request** | [**ApiV3SecretsBatchRawDeleteRequest**](ApiV3SecretsBatchRawDeleteRequest.md)| | - -### Return type - -[**ApiV3SecretsBatchRawPost200Response**](ApiV3SecretsBatchRawPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_batch_raw_patch** -> ApiV3SecretsBatchRawPost200Response api_v3_secrets_batch_raw_patch(api_v3_secrets_batch_raw_patch_request) - - - -Update many secrets - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request import ApiV3SecretsBatchRawPatchRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response import ApiV3SecretsBatchRawPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_secrets_batch_raw_patch_request = infisicalapi_client.ApiV3SecretsBatchRawPatchRequest() # ApiV3SecretsBatchRawPatchRequest | - - try: - api_response = api_instance.api_v3_secrets_batch_raw_patch(api_v3_secrets_batch_raw_patch_request) - print("The response of DefaultApi->api_v3_secrets_batch_raw_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_batch_raw_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_secrets_batch_raw_patch_request** | [**ApiV3SecretsBatchRawPatchRequest**](ApiV3SecretsBatchRawPatchRequest.md)| | - -### Return type - -[**ApiV3SecretsBatchRawPost200Response**](ApiV3SecretsBatchRawPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_batch_raw_post** -> ApiV3SecretsBatchRawPost200Response api_v3_secrets_batch_raw_post(api_v3_secrets_batch_raw_post_request) - - - -Create many secrets - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response import ApiV3SecretsBatchRawPost200Response -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request import ApiV3SecretsBatchRawPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_secrets_batch_raw_post_request = infisicalapi_client.ApiV3SecretsBatchRawPostRequest() # ApiV3SecretsBatchRawPostRequest | - - try: - api_response = api_instance.api_v3_secrets_batch_raw_post(api_v3_secrets_batch_raw_post_request) - print("The response of DefaultApi->api_v3_secrets_batch_raw_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_batch_raw_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_secrets_batch_raw_post_request** | [**ApiV3SecretsBatchRawPostRequest**](ApiV3SecretsBatchRawPostRequest.md)| | - -### Return type - -[**ApiV3SecretsBatchRawPost200Response**](ApiV3SecretsBatchRawPost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_get** -> ApiV3SecretsGet200Response api_v3_secrets_get(workspace_id, environment, secret_path=secret_path, recursive=recursive, include_imports=include_imports) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_get200_response import ApiV3SecretsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - environment = 'environment_example' # str | - secret_path = '/' # str | (optional) (default to '/') - recursive = 'false' # str | (optional) (default to 'false') - include_imports = 'false' # str | (optional) (default to 'false') - - try: - api_response = api_instance.api_v3_secrets_get(workspace_id, environment, secret_path=secret_path, recursive=recursive, include_imports=include_imports) - print("The response of DefaultApi->api_v3_secrets_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **environment** | **str**| | - **secret_path** | **str**| | [optional] [default to '/'] - **recursive** | **str**| | [optional] [default to 'false'] - **include_imports** | **str**| | [optional] [default to 'false'] - -### Return type - -[**ApiV3SecretsGet200Response**](ApiV3SecretsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_move_post** -> ApiV3SecretsMovePost200Response api_v3_secrets_move_post(api_v3_secrets_move_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_move_post200_response import ApiV3SecretsMovePost200Response -from infisicalapi_client.models.api_v3_secrets_move_post_request import ApiV3SecretsMovePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_secrets_move_post_request = infisicalapi_client.ApiV3SecretsMovePostRequest() # ApiV3SecretsMovePostRequest | - - try: - api_response = api_instance.api_v3_secrets_move_post(api_v3_secrets_move_post_request) - print("The response of DefaultApi->api_v3_secrets_move_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_move_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_secrets_move_post_request** | [**ApiV3SecretsMovePostRequest**](ApiV3SecretsMovePostRequest.md)| | - -### Return type - -[**ApiV3SecretsMovePost200Response**](ApiV3SecretsMovePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_raw_get** -> ApiV3SecretsRawGet200Response api_v3_secrets_raw_get(workspace_id=workspace_id, workspace_slug=workspace_slug, environment=environment, secret_path=secret_path, expand_secret_references=expand_secret_references, recursive=recursive, include_imports=include_imports, tag_slugs=tag_slugs) - - - -List secrets - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_raw_get200_response import ApiV3SecretsRawGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | The ID of the project to list secrets from. (optional) - workspace_slug = 'workspace_slug_example' # str | The slug of the project to list secrets from. This parameter is only applicable by machine identities. (optional) - environment = 'environment_example' # str | The slug of the environment to list secrets from. (optional) - secret_path = '/' # str | The secret path to list secrets from. (optional) (default to '/') - expand_secret_references = 'false' # str | Whether or not to expand secret references (optional) (default to 'false') - recursive = 'false' # str | Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep. (optional) (default to 'false') - include_imports = 'false' # str | Weather to include imported secrets or not. (optional) (default to 'false') - tag_slugs = 'tag_slugs_example' # str | The comma separated tag slugs to filter secrets (optional) - - try: - api_response = api_instance.api_v3_secrets_raw_get(workspace_id=workspace_id, workspace_slug=workspace_slug, environment=environment, secret_path=secret_path, expand_secret_references=expand_secret_references, recursive=recursive, include_imports=include_imports, tag_slugs=tag_slugs) - print("The response of DefaultApi->api_v3_secrets_raw_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_raw_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| The ID of the project to list secrets from. | [optional] - **workspace_slug** | **str**| The slug of the project to list secrets from. This parameter is only applicable by machine identities. | [optional] - **environment** | **str**| The slug of the environment to list secrets from. | [optional] - **secret_path** | **str**| The secret path to list secrets from. | [optional] [default to '/'] - **expand_secret_references** | **str**| Whether or not to expand secret references | [optional] [default to 'false'] - **recursive** | **str**| Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep. | [optional] [default to 'false'] - **include_imports** | **str**| Weather to include imported secrets or not. | [optional] [default to 'false'] - **tag_slugs** | **str**| The comma separated tag slugs to filter secrets | [optional] - -### Return type - -[**ApiV3SecretsRawGet200Response**](ApiV3SecretsRawGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_raw_secret_name_delete** -> ApiV3SecretsRawSecretNamePost200Response api_v3_secrets_raw_secret_name_delete(secret_name, api_v3_secrets_raw_secret_name_delete_request) - - - -Delete secret - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_delete_request import ApiV3SecretsRawSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response import ApiV3SecretsRawSecretNamePost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_name = 'secret_name_example' # str | The name of the secret to delete. - api_v3_secrets_raw_secret_name_delete_request = infisicalapi_client.ApiV3SecretsRawSecretNameDeleteRequest() # ApiV3SecretsRawSecretNameDeleteRequest | - - try: - api_response = api_instance.api_v3_secrets_raw_secret_name_delete(secret_name, api_v3_secrets_raw_secret_name_delete_request) - print("The response of DefaultApi->api_v3_secrets_raw_secret_name_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_raw_secret_name_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_name** | **str**| The name of the secret to delete. | - **api_v3_secrets_raw_secret_name_delete_request** | [**ApiV3SecretsRawSecretNameDeleteRequest**](ApiV3SecretsRawSecretNameDeleteRequest.md)| | - -### Return type - -[**ApiV3SecretsRawSecretNamePost200Response**](ApiV3SecretsRawSecretNamePost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_raw_secret_name_get** -> ApiV3SecretsRawSecretNameGet200Response api_v3_secrets_raw_secret_name_get(secret_name, workspace_id=workspace_id, workspace_slug=workspace_slug, environment=environment, secret_path=secret_path, version=version, type=type, expand_secret_references=expand_secret_references, include_imports=include_imports) - - - -Get a secret by name - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response import ApiV3SecretsRawSecretNameGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_name = 'secret_name_example' # str | The name of the secret to get. - workspace_id = 'workspace_id_example' # str | The ID of the project to get the secret from. (optional) - workspace_slug = 'workspace_slug_example' # str | The slug of the project to get the secret from. (optional) - environment = 'environment_example' # str | The slug of the environment to get the secret from. (optional) - secret_path = '/' # str | The path of the secret to get. (optional) (default to '/') - version = 3.4 # float | The version of the secret to get. (optional) - type = 'shared' # str | The type of the secret to get. (optional) (default to 'shared') - expand_secret_references = 'false' # str | Whether or not to expand secret references (optional) (default to 'false') - include_imports = 'false' # str | Weather to include imported secrets or not. (optional) (default to 'false') - - try: - api_response = api_instance.api_v3_secrets_raw_secret_name_get(secret_name, workspace_id=workspace_id, workspace_slug=workspace_slug, environment=environment, secret_path=secret_path, version=version, type=type, expand_secret_references=expand_secret_references, include_imports=include_imports) - print("The response of DefaultApi->api_v3_secrets_raw_secret_name_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_raw_secret_name_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_name** | **str**| The name of the secret to get. | - **workspace_id** | **str**| The ID of the project to get the secret from. | [optional] - **workspace_slug** | **str**| The slug of the project to get the secret from. | [optional] - **environment** | **str**| The slug of the environment to get the secret from. | [optional] - **secret_path** | **str**| The path of the secret to get. | [optional] [default to '/'] - **version** | **float**| The version of the secret to get. | [optional] - **type** | **str**| The type of the secret to get. | [optional] [default to 'shared'] - **expand_secret_references** | **str**| Whether or not to expand secret references | [optional] [default to 'false'] - **include_imports** | **str**| Weather to include imported secrets or not. | [optional] [default to 'false'] - -### Return type - -[**ApiV3SecretsRawSecretNameGet200Response**](ApiV3SecretsRawSecretNameGet200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_raw_secret_name_patch** -> ApiV3SecretsRawSecretNamePost200Response api_v3_secrets_raw_secret_name_patch(secret_name, api_v3_secrets_raw_secret_name_patch_request) - - - -Update secret - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_patch_request import ApiV3SecretsRawSecretNamePatchRequest -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response import ApiV3SecretsRawSecretNamePost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_name = 'secret_name_example' # str | The name of the secret to update. - api_v3_secrets_raw_secret_name_patch_request = infisicalapi_client.ApiV3SecretsRawSecretNamePatchRequest() # ApiV3SecretsRawSecretNamePatchRequest | - - try: - api_response = api_instance.api_v3_secrets_raw_secret_name_patch(secret_name, api_v3_secrets_raw_secret_name_patch_request) - print("The response of DefaultApi->api_v3_secrets_raw_secret_name_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_raw_secret_name_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_name** | **str**| The name of the secret to update. | - **api_v3_secrets_raw_secret_name_patch_request** | [**ApiV3SecretsRawSecretNamePatchRequest**](ApiV3SecretsRawSecretNamePatchRequest.md)| | - -### Return type - -[**ApiV3SecretsRawSecretNamePost200Response**](ApiV3SecretsRawSecretNamePost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_raw_secret_name_post** -> ApiV3SecretsRawSecretNamePost200Response api_v3_secrets_raw_secret_name_post(secret_name, api_v3_secrets_raw_secret_name_post_request) - - - -Create secret - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response import ApiV3SecretsRawSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post_request import ApiV3SecretsRawSecretNamePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_name = 'secret_name_example' # str | The name of the secret to create. - api_v3_secrets_raw_secret_name_post_request = infisicalapi_client.ApiV3SecretsRawSecretNamePostRequest() # ApiV3SecretsRawSecretNamePostRequest | - - try: - api_response = api_instance.api_v3_secrets_raw_secret_name_post(secret_name, api_v3_secrets_raw_secret_name_post_request) - print("The response of DefaultApi->api_v3_secrets_raw_secret_name_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_raw_secret_name_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_name** | **str**| The name of the secret to create. | - **api_v3_secrets_raw_secret_name_post_request** | [**ApiV3SecretsRawSecretNamePostRequest**](ApiV3SecretsRawSecretNamePostRequest.md)| | - -### Return type - -[**ApiV3SecretsRawSecretNamePost200Response**](ApiV3SecretsRawSecretNamePost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_secret_name_delete** -> ApiV3SecretsSecretNamePost200Response api_v3_secrets_secret_name_delete(secret_name, api_v3_secrets_secret_name_delete_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_secret_name_delete_request import ApiV3SecretsSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response import ApiV3SecretsSecretNamePost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_name = 'secret_name_example' # str | - api_v3_secrets_secret_name_delete_request = infisicalapi_client.ApiV3SecretsSecretNameDeleteRequest() # ApiV3SecretsSecretNameDeleteRequest | - - try: - api_response = api_instance.api_v3_secrets_secret_name_delete(secret_name, api_v3_secrets_secret_name_delete_request) - print("The response of DefaultApi->api_v3_secrets_secret_name_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_secret_name_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_name** | **str**| | - **api_v3_secrets_secret_name_delete_request** | [**ApiV3SecretsSecretNameDeleteRequest**](ApiV3SecretsSecretNameDeleteRequest.md)| | - -### Return type - -[**ApiV3SecretsSecretNamePost200Response**](ApiV3SecretsSecretNamePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_secret_name_get** -> ApiV3SecretsSecretNameGet200Response api_v3_secrets_secret_name_get(workspace_id, environment, secret_name, secret_path=secret_path, type=type, version=version, include_imports=include_imports) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response import ApiV3SecretsSecretNameGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - workspace_id = 'workspace_id_example' # str | - environment = 'environment_example' # str | - secret_name = 'secret_name_example' # str | - secret_path = '/' # str | (optional) (default to '/') - type = 'shared' # str | (optional) (default to 'shared') - version = 3.4 # float | (optional) - include_imports = 'false' # str | (optional) (default to 'false') - - try: - api_response = api_instance.api_v3_secrets_secret_name_get(workspace_id, environment, secret_name, secret_path=secret_path, type=type, version=version, include_imports=include_imports) - print("The response of DefaultApi->api_v3_secrets_secret_name_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_secret_name_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **environment** | **str**| | - **secret_name** | **str**| | - **secret_path** | **str**| | [optional] [default to '/'] - **type** | **str**| | [optional] [default to 'shared'] - **version** | **float**| | [optional] - **include_imports** | **str**| | [optional] [default to 'false'] - -### Return type - -[**ApiV3SecretsSecretNameGet200Response**](ApiV3SecretsSecretNameGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_secret_name_patch** -> ApiV3SecretsSecretNamePost200Response api_v3_secrets_secret_name_patch(secret_name, api_v3_secrets_secret_name_patch_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_secret_name_patch_request import ApiV3SecretsSecretNamePatchRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response import ApiV3SecretsSecretNamePost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_name = 'secret_name_example' # str | - api_v3_secrets_secret_name_patch_request = infisicalapi_client.ApiV3SecretsSecretNamePatchRequest() # ApiV3SecretsSecretNamePatchRequest | - - try: - api_response = api_instance.api_v3_secrets_secret_name_patch(secret_name, api_v3_secrets_secret_name_patch_request) - print("The response of DefaultApi->api_v3_secrets_secret_name_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_secret_name_patch: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_name** | **str**| | - **api_v3_secrets_secret_name_patch_request** | [**ApiV3SecretsSecretNamePatchRequest**](ApiV3SecretsSecretNamePatchRequest.md)| | - -### Return type - -[**ApiV3SecretsSecretNamePost200Response**](ApiV3SecretsSecretNamePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_secret_name_post** -> ApiV3SecretsSecretNamePost200Response api_v3_secrets_secret_name_post(secret_name, api_v3_secrets_secret_name_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response import ApiV3SecretsSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_secret_name_post_request import ApiV3SecretsSecretNamePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_name = 'secret_name_example' # str | - api_v3_secrets_secret_name_post_request = infisicalapi_client.ApiV3SecretsSecretNamePostRequest() # ApiV3SecretsSecretNamePostRequest | - - try: - api_response = api_instance.api_v3_secrets_secret_name_post(secret_name, api_v3_secrets_secret_name_post_request) - print("The response of DefaultApi->api_v3_secrets_secret_name_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_secret_name_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_name** | **str**| | - **api_v3_secrets_secret_name_post_request** | [**ApiV3SecretsSecretNamePostRequest**](ApiV3SecretsSecretNamePostRequest.md)| | - -### Return type - -[**ApiV3SecretsSecretNamePost200Response**](ApiV3SecretsSecretNamePost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_tags_secret_name_delete** -> ApiV3SecretsTagsSecretNamePost200Response api_v3_secrets_tags_secret_name_delete(secret_name, api_v3_secrets_tags_secret_name_delete_request) - - - -Detach tags from a secret - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_delete_request import ApiV3SecretsTagsSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response import ApiV3SecretsTagsSecretNamePost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_name = 'secret_name_example' # str | The name of the secret to detach tags from. - api_v3_secrets_tags_secret_name_delete_request = infisicalapi_client.ApiV3SecretsTagsSecretNameDeleteRequest() # ApiV3SecretsTagsSecretNameDeleteRequest | - - try: - api_response = api_instance.api_v3_secrets_tags_secret_name_delete(secret_name, api_v3_secrets_tags_secret_name_delete_request) - print("The response of DefaultApi->api_v3_secrets_tags_secret_name_delete:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_tags_secret_name_delete: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_name** | **str**| The name of the secret to detach tags from. | - **api_v3_secrets_tags_secret_name_delete_request** | [**ApiV3SecretsTagsSecretNameDeleteRequest**](ApiV3SecretsTagsSecretNameDeleteRequest.md)| | - -### Return type - -[**ApiV3SecretsTagsSecretNamePost200Response**](ApiV3SecretsTagsSecretNamePost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_secrets_tags_secret_name_post** -> ApiV3SecretsTagsSecretNamePost200Response api_v3_secrets_tags_secret_name_post(secret_name, api_v3_secrets_tags_secret_name_post_request) - - - -Attach tags to a secret - -### Example - -* Bearer (JWT) Authentication (bearerAuth): -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response import ApiV3SecretsTagsSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post_request import ApiV3SecretsTagsSecretNamePostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (JWT): bearerAuth -configuration = infisicalapi_client.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - secret_name = 'secret_name_example' # str | The name of the secret to attach tags to. - api_v3_secrets_tags_secret_name_post_request = infisicalapi_client.ApiV3SecretsTagsSecretNamePostRequest() # ApiV3SecretsTagsSecretNamePostRequest | - - try: - api_response = api_instance.api_v3_secrets_tags_secret_name_post(secret_name, api_v3_secrets_tags_secret_name_post_request) - print("The response of DefaultApi->api_v3_secrets_tags_secret_name_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_secrets_tags_secret_name_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **secret_name** | **str**| The name of the secret to attach tags to. | - **api_v3_secrets_tags_secret_name_post_request** | [**ApiV3SecretsTagsSecretNamePostRequest**](ApiV3SecretsTagsSecretNamePostRequest.md)| | - -### Return type - -[**ApiV3SecretsTagsSecretNamePost200Response**](ApiV3SecretsTagsSecretNamePost200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_signup_complete_account_invite_post** -> ApiV1PasswordEmailPasswordResetVerifyPost200Response api_v3_signup_complete_account_invite_post(api_v1_admin_signup_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_admin_signup_post_request import ApiV1AdminSignupPostRequest -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response import ApiV1PasswordEmailPasswordResetVerifyPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_admin_signup_post_request = infisicalapi_client.ApiV1AdminSignupPostRequest() # ApiV1AdminSignupPostRequest | - - try: - api_response = api_instance.api_v3_signup_complete_account_invite_post(api_v1_admin_signup_post_request) - print("The response of DefaultApi->api_v3_signup_complete_account_invite_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_signup_complete_account_invite_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_admin_signup_post_request** | [**ApiV1AdminSignupPostRequest**](ApiV1AdminSignupPostRequest.md)| | - -### Return type - -[**ApiV1PasswordEmailPasswordResetVerifyPost200Response**](ApiV1PasswordEmailPasswordResetVerifyPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_signup_complete_account_signup_post** -> ApiV3SignupCompleteAccountSignupPost200Response api_v3_signup_complete_account_signup_post(api_v3_signup_complete_account_signup_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post200_response import ApiV3SignupCompleteAccountSignupPost200Response -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post_request import ApiV3SignupCompleteAccountSignupPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v3_signup_complete_account_signup_post_request = infisicalapi_client.ApiV3SignupCompleteAccountSignupPostRequest() # ApiV3SignupCompleteAccountSignupPostRequest | - - try: - api_response = api_instance.api_v3_signup_complete_account_signup_post(api_v3_signup_complete_account_signup_post_request) - print("The response of DefaultApi->api_v3_signup_complete_account_signup_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_signup_complete_account_signup_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v3_signup_complete_account_signup_post_request** | [**ApiV3SignupCompleteAccountSignupPostRequest**](ApiV3SignupCompleteAccountSignupPostRequest.md)| | - -### Return type - -[**ApiV3SignupCompleteAccountSignupPost200Response**](ApiV3SignupCompleteAccountSignupPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_signup_email_signup_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v3_signup_email_signup_post(api_v1_password_email_password_reset_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_password_email_password_reset_post_request import ApiV1PasswordEmailPasswordResetPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_password_email_password_reset_post_request = infisicalapi_client.ApiV1PasswordEmailPasswordResetPostRequest() # ApiV1PasswordEmailPasswordResetPostRequest | - - try: - api_response = api_instance.api_v3_signup_email_signup_post(api_v1_password_email_password_reset_post_request) - print("The response of DefaultApi->api_v3_signup_email_signup_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_signup_email_signup_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_password_email_password_reset_post_request** | [**ApiV1PasswordEmailPasswordResetPostRequest**](ApiV1PasswordEmailPasswordResetPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_signup_email_verify_post** -> ApiV3SignupEmailVerifyPost200Response api_v3_signup_email_verify_post(api_v1_password_email_password_reset_verify_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post_request import ApiV1PasswordEmailPasswordResetVerifyPostRequest -from infisicalapi_client.models.api_v3_signup_email_verify_post200_response import ApiV3SignupEmailVerifyPost200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - api_v1_password_email_password_reset_verify_post_request = infisicalapi_client.ApiV1PasswordEmailPasswordResetVerifyPostRequest() # ApiV1PasswordEmailPasswordResetVerifyPostRequest | - - try: - api_response = api_instance.api_v3_signup_email_verify_post(api_v1_password_email_password_reset_verify_post_request) - print("The response of DefaultApi->api_v3_signup_email_verify_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_signup_email_verify_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v1_password_email_password_reset_verify_post_request** | [**ApiV1PasswordEmailPasswordResetVerifyPostRequest**](ApiV1PasswordEmailPasswordResetVerifyPostRequest.md)| | - -### Return type - -[**ApiV3SignupEmailVerifyPost200Response**](ApiV3SignupEmailVerifyPost200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_users_me_api_keys_get** -> ApiV3UsersMeApiKeysGet200Response api_v3_users_me_api_keys_get() - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_users_me_api_keys_get200_response import ApiV3UsersMeApiKeysGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - - try: - api_response = api_instance.api_v3_users_me_api_keys_get() - print("The response of DefaultApi->api_v3_users_me_api_keys_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_users_me_api_keys_get: %s\n" % e) -``` - - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ApiV3UsersMeApiKeysGet200Response**](ApiV3UsersMeApiKeysGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_workspaces_project_id_secrets_blind_index_status_get** -> bool api_v3_workspaces_project_id_secrets_blind_index_status_get(project_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | - - try: - api_response = api_instance.api_v3_workspaces_project_id_secrets_blind_index_status_get(project_id) - print("The response of DefaultApi->api_v3_workspaces_project_id_secrets_blind_index_status_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_workspaces_project_id_secrets_blind_index_status_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -**bool** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_workspaces_project_id_secrets_get** -> ApiV3WorkspacesProjectIdSecretsGet200Response api_v3_workspaces_project_id_secrets_get(project_id) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response import ApiV3WorkspacesProjectIdSecretsGet200Response -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | - - try: - api_response = api_instance.api_v3_workspaces_project_id_secrets_get(project_id) - print("The response of DefaultApi->api_v3_workspaces_project_id_secrets_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_workspaces_project_id_secrets_get: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -[**ApiV3WorkspacesProjectIdSecretsGet200Response**](ApiV3WorkspacesProjectIdSecretsGet200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[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) - -# **api_v3_workspaces_project_id_secrets_names_post** -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response api_v3_workspaces_project_id_secrets_names_post(project_id, api_v3_workspaces_project_id_secrets_names_post_request) - - - -### Example - -```python -import time -import os -import infisicalapi_client -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request import ApiV3WorkspacesProjectIdSecretsNamesPostRequest -from infisicalapi_client.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://app.infisical.com -# See configuration.py for a list of all supported configuration parameters. -configuration = infisicalapi_client.Configuration( - host = "https://app.infisical.com" -) - - -# Enter a context with an instance of the API client -with infisicalapi_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = infisicalapi_client.DefaultApi(api_client) - project_id = 'project_id_example' # str | - api_v3_workspaces_project_id_secrets_names_post_request = infisicalapi_client.ApiV3WorkspacesProjectIdSecretsNamesPostRequest() # ApiV3WorkspacesProjectIdSecretsNamesPostRequest | - - try: - api_response = api_instance.api_v3_workspaces_project_id_secrets_names_post(project_id, api_v3_workspaces_project_id_secrets_names_post_request) - print("The response of DefaultApi->api_v3_workspaces_project_id_secrets_names_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->api_v3_workspaces_project_id_secrets_names_post: %s\n" % e) -``` - - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **api_v3_workspaces_project_id_secrets_names_post_request** | [**ApiV3WorkspacesProjectIdSecretsNamesPostRequest**](ApiV3WorkspacesProjectIdSecretsNamesPostRequest.md)| | - -### Return type - -[**ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response**](ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Default Response | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/example.py b/example.py index 6e2ab52..61054b5 100644 --- a/example.py +++ b/example.py @@ -1,5 +1,4 @@ from infisical_sdk import InfisicalSDKClient -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_secrets_inner import ApiV3SecretsRawGet200ResponseSecretsInner sdkInstance = InfisicalSDKClient(host="https://app.infisical.com") diff --git a/infisical_sdk/__init__.py b/infisical_sdk/__init__.py index c7ca8ad..508a560 100644 --- a/infisical_sdk/__init__.py +++ b/infisical_sdk/__init__.py @@ -1 +1,3 @@ -from .client import InfisicalSDKClient \ No newline at end of file +from .client import InfisicalSDKClient # noqa +from .infisical_requests import InfisicalError # noqa +from .api_types import SingleSecretResponse, ListSecretsResponse, BaseSecret # noqa \ No newline at end of file diff --git a/infisical_sdk/api_types.py b/infisical_sdk/api_types.py new file mode 100644 index 0000000..3b1cb8d --- /dev/null +++ b/infisical_sdk/api_types.py @@ -0,0 +1,123 @@ +from dataclasses import dataclass, field +from typing import Optional, List, Any, Dict +from enum import Enum +import json + + +class ApprovalStatus(str, Enum): + """Enum for approval status""" + OPEN = "open" + APPROVED = "approved" + REJECTED = "rejected" + + +class BaseModel: + """Base class for all models""" + def to_dict(self) -> Dict: + """Convert model to dictionary""" + result = {} + for key, value in self.__dict__.items(): + if value is not None: # Skip None values + if isinstance(value, BaseModel): + result[key] = value.to_dict() + elif isinstance(value, list): + result[key] = [ + item.to_dict() if isinstance(item, BaseModel) else item + for item in value + ] + elif isinstance(value, Enum): + result[key] = value.value + else: + result[key] = value + return result + + @classmethod + def from_dict(cls, data: Dict) -> 'BaseModel': + """Create model from dictionary""" + return cls(**data) + + def to_json(self) -> str: + """Convert model to JSON string""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> 'BaseModel': + """Create model from JSON string""" + data = json.loads(json_str) + return cls.from_dict(data) + + +@dataclass(frozen=True) +class SecretTag(BaseModel): + """Model for secret tags""" + id: str + slug: str + name: str + color: Optional[str] = None + + +@dataclass +class BaseSecret(BaseModel): + """Infisical Secret""" + id: str + _id: str + workspace: str + environment: str + version: int + type: str + secretKey: str + secretValue: str + secretComment: str + createdAt: str + updatedAt: str + secretReminderNote: Optional[str] = None + secretReminderRepeatDays: Optional[int] = None + skipMultilineEncoding: Optional[bool] = False + metadata: Optional[Any] = None + secretPath: Optional[str] = None + tags: List[SecretTag] = field(default_factory=list) + + +@dataclass +class Import(BaseModel): + """Model for imports section""" + secretPath: str + environment: str + folderId: Optional[str] = None + secrets: List[BaseSecret] = field(default_factory=list) + + +@dataclass +class ListSecretsResponse(BaseModel): + """Complete response model for secrets API""" + secrets: List[BaseSecret] + imports: List[Import] = field(default_factory=list) + + @classmethod + def from_dict(cls, data: Dict) -> 'ListSecretsResponse': + """Create model from dictionary with camelCase keys, handling nested objects""" + return cls( + secrets=[BaseSecret.from_dict(secret) for secret in data['secrets']], + imports=[Import.from_dict(imp) for imp in data.get('imports', [])] + ) + + +@dataclass +class SingleSecretResponse(BaseModel): + """Response model for get secret API""" + secret: BaseSecret + + @classmethod + def from_dict(cls, data: Dict) -> 'ListSecretsResponse': + return cls( + secret=BaseSecret.from_dict(data['secret']), + ) + + +@dataclass +class MachineIdentityLoginResponse(BaseModel): + """Response model for machine identity login API""" + accessToken: str + expiresIn: int + accessTokenMaxTTL: int + tokenType: str diff --git a/infisical_sdk/aws_auth.py b/infisical_sdk/aws_auth.py deleted file mode 100644 index fac7728..0000000 --- a/infisical_sdk/aws_auth.py +++ /dev/null @@ -1,121 +0,0 @@ -import os -import json -import base64 -import requests -from typing import Dict -from datetime import datetime -import hashlib -import hmac -import urllib.parse - - -class AWSAuth: - def __init__(self, client): - self.client = client - - def aws_iam_auth_login(self, identity_id: str = "") -> Dict: - if not identity_id: - identity_id = os.getenv("INFISICAL_AWS_IAM_AUTH_IDENTITY_ID") - - aws_region = self._get_aws_region() - credentials = self._get_aws_credentials() - - # Prepare request for signing - iam_request_url = f"https://sts.{aws_region}.amazonaws.com/" - iam_request_body = "Action=GetCallerIdentity&Version=2011-06-15" - - # Create request - req = { - "method": "POST", - "url": iam_request_url, - "data": iam_request_body, - "headers": {} - } - - # Add date header - current_time = datetime.utcnow() - req["headers"]["X-Amz-Date"] = current_time.strftime("%Y%m%dT%H%M%SZ") - - # Calculate payload hash - payload_hash = hashlib.sha256(iam_request_body.encode()).hexdigest() - - # Sign the request - self._sign_request(req, credentials, payload_hash, "sts", aws_region, current_time) - - # Prepare headers for the API call - real_headers = {k: v for k, v in req["headers"].items() if k.lower() != "content-length"} - real_headers["Host"] = f"sts.{aws_region}.amazonaws.com" - real_headers["Content-Type"] = "application/x-www-form-urlencoded; charset=utf-8" - real_headers["Content-Length"] = str(len(iam_request_body)) - - # Convert headers to JSON and encode - json_string_headers = json.dumps(real_headers) - encoded_headers = base64.b64encode(json_string_headers.encode()).decode() - - # Prepare the request body for the API call - api_request = { - "HTTPRequestMethod": req["method"], - "IamRequestBody": base64.b64encode(iam_request_body.encode()).decode(), - "IamRequestHeaders": encoded_headers, - "IdentityId": identity_id - } - - # Call the API - credential = self._call_aws_iam_auth_login(api_request) - - # Set the access token - self.client.set_access_token(credential["accessToken"], "AWS_IAM") - - - return credential - - def _get_aws_region(self): - # Implement AWS region retrieval logic here - # For this example, we'll use a placeholder - return "us-west-2" - - def _get_aws_credentials(self): - # Implement AWS credentials retrieval logic here - # For this example, we'll use placeholders - return { - "AccessKeyId": "YOUR_ACCESS_KEY_ID", - "SecretAccessKey": "YOUR_SECRET_ACCESS_KEY", - "SessionToken": "YOUR_SESSION_TOKEN" - } - - def _sign_request(self, req, credentials, payload_hash, service, region, time): - # Implement AWS Signature V4 signing process - # This is a simplified version and may need to be expanded for full functionality - algorithm = "AWS4-HMAC-SHA256" - credential_scope = f"{time.strftime('%Y%m%d')}/{region}/{service}/aws4_request" - - string_to_sign = f"{algorithm}\n{req['headers']['X-Amz-Date']}\n{credential_scope}\n" - string_to_sign += hashlib.sha256(self._canonical_request(req, payload_hash).encode()).hexdigest() - - date_key = hmac.new(f"AWS4{credentials['SecretAccessKey']}".encode(), time.strftime('%Y%m%d').encode(), - hashlib.sha256).digest() - date_region_key = hmac.new(date_key, region.encode(), hashlib.sha256).digest() - date_region_service_key = hmac.new(date_region_key, service.encode(), hashlib.sha256).digest() - signing_key = hmac.new(date_region_service_key, b"aws4_request", hashlib.sha256).digest() - - signature = hmac.new(signing_key, string_to_sign.encode(), hashlib.sha256).hexdigest() - - req["headers"]["Authorization"] = ( - f"{algorithm} Credential={credentials['AccessKeyId']}/{credential_scope}, " - f"SignedHeaders=host;x-amz-date, Signature={signature}" - ) - - def _canonical_request(self, req, payload_hash): - canonical_headers = "host:" + req["headers"]["Host"] + "\n" + "x-amz-date:" + req["headers"][ - "X-Amz-Date"] + "\n" - signed_headers = "host;x-amz-date" - - return f"{req['method']}\n/{urllib.parse.urlparse(req['url']).path}\n\n{canonical_headers}\n{signed_headers}\n{payload_hash}" - - def _call_aws_iam_auth_login(self, request): - response = requests.post( - f"{self.client.base_url}/v1/auth/aws-auth/login", - json=request - ) - response.raise_for_status() - return response.json() \ No newline at end of file diff --git a/infisical_sdk/client.py b/infisical_sdk/client.py index 61c16b2..3f6d1c8 100644 --- a/infisical_sdk/client.py +++ b/infisical_sdk/client.py @@ -2,8 +2,6 @@ import json from typing import List, Union import os -import json -import base64 import datetime from typing import Dict, Any @@ -13,28 +11,17 @@ from botocore.awsrequest import AWSRequest from botocore.exceptions import NoCredentialsError +from .infisical_requests import InfisicalRequests +from .api_types import ListSecretsResponse, MachineIdentityLoginResponse +from .api_types import SingleSecretResponse, BaseSecret -import infisicalapi_client -from infisicalapi_client.models.api_v1_auth_aws_auth_login_post_request import ApiV1AuthAwsAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_login_post_request import ApiV1AuthUniversalAuthLoginPostRequest -from infisicalapi_client.models.api_v3_secrets_raw_get200_response import ApiV3SecretsRawGet200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_delete_request import ApiV3SecretsRawSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response import ApiV3SecretsRawSecretNameGet200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_patch_request import ApiV3SecretsRawSecretNamePatchRequest -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response import ApiV3SecretsRawSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post_request import ApiV3SecretsRawSecretNamePostRequest class InfisicalSDKClient: - def __init__(self, host: str, token: str = None): + def __init__(self, host: str, token: str = None): self.host = host - self.token_type = None - self.expires_in = None + self.access_token = token - self._api_config = infisicalapi_client.Configuration(host=host, access_token=token) - self._api_client = infisicalapi_client.ApiClient(self._api_config) - self._api_instance = infisicalapi_client.DefaultApi(self._api_client) - self.rest = self._api_instance + self.api = InfisicalRequests(host=host, token=token) self.auth = Auth(self) self.secrets = V3RawSecrets(self) @@ -43,20 +30,21 @@ def set_token(self, token: str): """ Set the access token for future requests. """ - self._api_config.access_token = token + self.api.set_token(token) + self.access_token = token def get_token(self): """ Set the access token for future requests. """ - return self.token + return self.access_token class UniversalAuth: def __init__(self, client: InfisicalSDKClient): self.client = client - def login(self, client_id: str, client_secret: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: + def login(self, client_id: str, client_secret: str) -> MachineIdentityLoginResponse: """ Login with Universal Auth. @@ -68,23 +56,29 @@ def login(self, client_id: str, client_secret: str) -> ApiV1AuthTokenAuthIdentit Dict: A dictionary containing the access token and related information. """ - response = self.client._api_instance.api_v1_auth_universal_auth_login_post(ApiV1AuthUniversalAuthLoginPostRequest( - client_id = client_id, - client_secret = client_secret - )) + requestBody = { + "clientId": client_id, + "clientSecret": client_secret + } + + result = self.client.api.post( + path="/api/v1/auth/universal-auth/login", + json=requestBody, + model=MachineIdentityLoginResponse + ) - self.client.set_token(response.access_token) + self.client.set_token(result.data.accessToken) + + return result.data - return response - class AWSAuth: def __init__(self, client: InfisicalSDKClient) -> None: self.client = client - def login(self, identity_id: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: + def login(self, identity_id: str) -> MachineIdentityLoginResponse: """ - Login with AWS Authentication. + Login with AWS Authentication. Args: identity_id (str): Your Machine Identity ID that has AWS Auth configured. @@ -95,7 +89,10 @@ def login(self, identity_id: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdToken identity_id = identity_id or os.getenv("INFISICAL_AWS_IAM_AUTH_IDENTITY_ID") if not identity_id: - raise ValueError("Identity ID must be provided or set in the environment variable INFISICAL_AWS_IAM_AUTH_IDENTITY_ID.") + raise ValueError( + "Identity ID must be provided or set in the environment variable" + + "INFISICAL_AWS_IAM_AUTH_IDENTITY_ID." + ) aws_region = self.get_aws_region() session = boto3.Session(region_name=aws_region) @@ -104,19 +101,30 @@ def login(self, identity_id: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdToken iam_request_url = f"https://sts.{aws_region}.amazonaws.com/" iam_request_body = "Action=GetCallerIdentity&Version=2011-06-15" - request_headers = self._prepare_aws_request(iam_request_url, iam_request_body, credentials, aws_region) - login_request = ApiV1AuthAwsAuthLoginPostRequest( - identityId=identity_id, - iamRequestBody=base64.b64encode(iam_request_body.encode()).decode(), - iamRequestHeaders=base64.b64encode(json.dumps(request_headers).encode()).decode(), - iamHttpRequestMethod="POST" + request_headers = self._prepare_aws_request( + iam_request_url, + iam_request_body, + credentials, + aws_region + ) + + requestBody = { + "identityId": identity_id, + "iamRequestBody": base64.b64encode(iam_request_body.encode()).decode(), + "iamRequestHeaders": base64.b64encode(json.dumps(request_headers).encode()).decode(), + "iamHttpRequestMethod": "POST" + } + + result = self.client.api.post( + path="/api/v1/auth/aws-auth/login", + json=requestBody, + model=MachineIdentityLoginResponse ) - response = self.client._api_instance.api_v1_auth_aws_auth_login_post(login_request) - self.client.set_token(response.access_token) + self.client.set_token(result.data.accessToken) - return response + return result.data def _get_aws_credentials(self, session: boto3.Session) -> Any: try: @@ -127,10 +135,16 @@ def _get_aws_credentials(self, session: boto3.Session) -> Any: except NoCredentialsError as e: raise RuntimeError(f"AWS IAM Auth Login failed: {str(e)}") - def _prepare_aws_request(self, url: str, body: str, credentials: Any, region: str) -> Dict[str, str]: + def _prepare_aws_request( + self, + url: str, + body: str, + credentials: Any, + region: str) -> Dict[str, str]: + current_time = datetime.datetime.now(datetime.timezone.utc) amz_date = current_time.strftime('%Y%m%dT%H%M%SZ') - + request = AWSRequest(method="POST", url=url, data=body) request.headers["X-Amz-Date"] = amz_date request.headers["Host"] = f"sts.{region}.amazonaws.com" @@ -139,12 +153,12 @@ def _prepare_aws_request(self, url: str, body: str, credentials: Any, region: st signer = SigV4Auth(credentials, "sts", region) signer.add_auth(request) - + return {k: v for k, v in request.headers.items() if k.lower() != "content-length"} @staticmethod def get_aws_region() -> str: - region = os.getenv("AWS_REGION") # Typically found in lambda runtime environment + region = os.getenv("AWS_REGION") # Typically found in lambda runtime environment if region: return region @@ -180,72 +194,152 @@ def __init__(self, client): self.aws_auth = AWSAuth(client) self.universal_auth = UniversalAuth(client) + class V3RawSecrets: def __init__(self, client: InfisicalSDKClient) -> None: self.client = client - def list_secrets(self, project_id: str, environment_slug: str, secret_path: str, expand_secret_references: bool = True, recursive: bool = False, include_imports : bool = True, tag_filters: List[str] = []) -> ApiV3SecretsRawGet200Response: - return self.client._api_instance.api_v3_secrets_raw_get( - workspace_id=project_id, - environment=environment_slug, - secret_path=secret_path, - expand_secret_references=str(expand_secret_references).lower(), - recursive=str(recursive).lower(), - tag_slugs=",".join(tag_filters), - include_imports=str(include_imports).lower()) - - def create_secret_by_name(self, secret_name: str, project_id: str, secret_path: str, environment_slug: str, secret_value: str = None, secret_comment: str = None, skip_multiline_encoding: bool = False, secret_reminder_repeat_days: Union[float, int] = None, secret_reminder_note: str = None) -> ApiV3SecretsRawSecretNamePost200Response: - secret_request = ApiV3SecretsRawSecretNamePostRequest( - workspaceId = project_id, - environment = environment_slug, - secretPath= secret_path, - secretValue = secret_value, - secretComment = secret_comment, - tagIds = None, - skipMultilineEncoding = skip_multiline_encoding, - type = "shared", - secretReminderRepeatDays = secret_reminder_repeat_days, - secretReminderNote = secret_reminder_note + def list_secrets( + self, + project_id: str, + environment_slug: str, + secret_path: str, + expand_secret_references: bool = True, + recursive: bool = False, + include_imports: bool = True, + tag_filters: List[str] = []) -> ListSecretsResponse: + + params = { + "workspaceId": project_id, + "environment": environment_slug, + "secretPath": secret_path, + "expandSecretReferences": str(expand_secret_references).lower(), + "recursive": str(recursive).lower(), + "include_imports": str(include_imports).lower(), + } + + if tag_filters: + params["tag_slugs"] = ",".join(tag_filters) + + result = self.client.api.get( + path="/api/v3/secrets/raw", + params=params, + model=ListSecretsResponse ) - return self.client._api_instance.api_v3_secrets_raw_secret_name_post(secret_name, secret_request) - - - def update_secret_by_name(self, current_secret_name: str, project_id: str, secret_path: str, environment_slug: str, secret_value: str = None, secret_comment: str = None, skip_multiline_encoding: bool = False, secret_reminder_repeat_days: Union[float, int] = None, secret_reminder_note: str = None, new_secret_name: str = None) -> ApiV3SecretsRawSecretNamePost200Response: - secret_request = ApiV3SecretsRawSecretNamePatchRequest( - workspaceId = project_id, - environment = environment_slug, - secretPath= secret_path, - secretValue = secret_value, - secretComment = secret_comment, - new_secret_name=new_secret_name, - tagIds = None, - skipMultilineEncoding = skip_multiline_encoding, - type = "shared", - secretReminderRepeatDays = secret_reminder_repeat_days, - secretReminderNote = secret_reminder_note + return result.data + + def get_secret_by_name( + self, + secret_name: str, + project_id: str, + environment_slug: str, + secret_path: str, + expand_secret_references: bool = True, + include_imports: bool = True, + version: str = None) -> BaseSecret: + + params = { + "workspaceId": project_id, + "environment": environment_slug, + "secretPath": secret_path, + "expandSecretReferences": str(expand_secret_references).lower(), + "include_imports": str(include_imports).lower(), + "version": version + } + + result = self.client.api.get( + path=f"/api/v3/secrets/raw/{secret_name}", + params=params, + model=SingleSecretResponse ) - return self.client._api_instance.api_v3_secrets_raw_secret_name_patch(current_secret_name, secret_request) - - def delete_secret_by_name(self, secret_name: str, project_id: str, secret_path: str, environment_slug: str) -> ApiV3SecretsRawSecretNamePost200Response: - secret_delete_request = ApiV3SecretsRawSecretNameDeleteRequest( - workspaceId = project_id, - environment = environment_slug, - secretPath= secret_path, - type = "shared", + return result.data.secret + + def create_secret_by_name( + self, + secret_name: str, + project_id: str, + secret_path: str, + environment_slug: str, + secret_value: str = None, + secret_comment: str = None, + skip_multiline_encoding: bool = False, + secret_reminder_repeat_days: Union[float, int] = None, + secret_reminder_note: str = None) -> BaseSecret: + + requestBody = { + "workspaceId": project_id, + "environment": environment_slug, + "secretPath": secret_path, + "secretValue": secret_value, + "secretComment": secret_comment, + "tagIds": None, + "skipMultilineEncoding": skip_multiline_encoding, + "type": "shared", + "secretReminderRepeatDays": secret_reminder_repeat_days, + "secretReminderNote": secret_reminder_note + } + result = self.client.api.post( + path=f"/api/v3/secrets/raw/{secret_name}", + json=requestBody, + model=SingleSecretResponse ) - return self.client._api_instance.api_v3_secrets_raw_secret_name_delete(secret_name, secret_delete_request) - - def get_secret_by_name(self, secret_name: str, project_id: str, environment_slug: str, secret_path: str, expand_secret_references: bool = True, include_imports : bool = True, version: str = None) -> ApiV3SecretsRawSecretNameGet200Response: - return self.client._api_instance.api_v3_secrets_raw_secret_name_get( - secret_name=secret_name, - workspace_id=project_id, - environment=environment_slug, - secret_path=secret_path, - version=version, - type="shared", - expand_secret_references=str(expand_secret_references).lower(), - include_imports=str(include_imports).lower() + return result.data.secret + + def update_secret_by_name( + self, + current_secret_name: str, + project_id: str, + secret_path: str, + environment_slug: str, + secret_value: str = None, + secret_comment: str = None, + skip_multiline_encoding: bool = False, + secret_reminder_repeat_days: Union[float, int] = None, + secret_reminder_note: str = None, + new_secret_name: str = None) -> BaseSecret: + + requestBody = { + "workspaceId": project_id, + "environment": environment_slug, + "secretPath": secret_path, + "secretValue": secret_value, + "secretComment": secret_comment, + "new_secret_name": new_secret_name, + "tagIds": None, + "skipMultilineEncoding": skip_multiline_encoding, + "type": "shared", + "secretReminderRepeatDays": secret_reminder_repeat_days, + "secretReminderNote": secret_reminder_note + } + + result = self.client.api.patch( + path=f"/api/v3/secrets/raw/{current_secret_name}", + json=requestBody, + model=SingleSecretResponse + ) + return result.data.secret + + def delete_secret_by_name( + self, + secret_name: str, + project_id: str, + secret_path: str, + environment_slug: str) -> BaseSecret: + + requestBody = { + "workspaceId": project_id, + "environment": environment_slug, + "secretPath": secret_path, + "type": "shared", + } + + result = self.client.api.delete( + path=f"/api/v3/secrets/raw/{secret_name}", + json=requestBody, + model=SingleSecretResponse ) + + return result.data.secret diff --git a/infisical_sdk/infisical_requests.py b/infisical_sdk/infisical_requests.py new file mode 100644 index 0000000..4410287 --- /dev/null +++ b/infisical_sdk/infisical_requests.py @@ -0,0 +1,186 @@ +from typing import Any, Dict, Generic, Optional, TypeVar +from urllib.parse import urljoin +import requests +from dataclasses import dataclass + +T = TypeVar("T") + + +class InfisicalError(Exception): + """Base exception for Infisical client errors""" + pass + + +class APIError(InfisicalError): + """API-specific errors""" + def __init__(self, message: str, status_code: int, response: Dict[str, Any]): + self.status_code = status_code + self.response = response + super().__init__(f"{message} (Status: {status_code})") + + +@dataclass +class APIResponse(Generic[T]): + """Generic API response wrapper""" + data: T + status_code: int + headers: Dict[str, str] + + def to_dict(self) -> Dict: + """Convert to dictionary with camelCase keys""" + return { + 'data': self.data.to_dict() if hasattr(self.data, 'to_dict') else self.data, + 'statusCode': self.status_code, + 'headers': self.headers + } + + @classmethod + def from_dict(cls, data: Dict) -> 'APIResponse[T]': + """Create from dictionary with camelCase keys""" + return cls( + data=data['data'], + status_code=data['statusCode'], + headers=data['headers'] + ) + + +class InfisicalRequests: + def __init__(self, host: str, token: Optional[str] = None): + self.host = host.rstrip("/") + self.session = requests.Session() + + # Set common headers + self.session.headers.update({ + "Content-Type": "application/json", + "Accept": "application/json", + }) + + if token: + self.set_token(token) + + def _build_url(self, path: str) -> str: + """Construct full URL from path""" + return urljoin(self.host, path.lstrip("/")) + + def set_token(self, token: str): + """Set authorization token""" + self.session.headers["Authorization"] = f"Bearer {token}" + + def _handle_response(self, response: requests.Response) -> Dict[str, Any]: + """Handle API response and raise appropriate errors""" + try: + response.raise_for_status() + return response.json() + except requests.exceptions.HTTPError: + try: + error_data = response.json() + except ValueError: + error_data = {"message": response.text} + + raise APIError( + message=error_data.get("message", "Unknown error"), + status_code=response.status_code, + response=error_data + ) + except requests.exceptions.RequestException as e: + raise InfisicalError(f"Request failed: {str(e)}") + except ValueError: + raise InfisicalError("Invalid JSON response") + + def get( + self, + path: str, + model: type[T], + params: Optional[Dict[str, Any]] = None + ) -> APIResponse[T]: + + """ + Make a GET request and parse response into given model + + Args: + path: API endpoint path + model: model class to parse response into + params: Optional query parameters + """ + response = self.session.get(self._build_url(path), params=params) + data = self._handle_response(response) + + parsed_data = model.from_dict(data) if hasattr(model, 'from_dict') else data + + return APIResponse( + data=parsed_data, + status_code=response.status_code, + headers=dict(response.headers) + ) + + def post( + self, + path: str, + model: type[T], + json: Optional[Dict[str, Any]] = None + ) -> APIResponse[T]: + + """Make a POST request with JSON data""" + + if json is not None: + # Filter out None values + json = {k: v for k, v in json.items() if v is not None} + + response = self.session.post(self._build_url(path), json=json) + data = self._handle_response(response) + + parsed_data = model.from_dict(data) if hasattr(model, 'from_dict') else data + + return APIResponse( + data=parsed_data, + status_code=response.status_code, + headers=dict(response.headers) + ) + + def patch( + self, + path: str, + model: type[T], + json: Optional[Dict[str, Any]] = None + ) -> APIResponse[T]: + + """Make a PATCH request with JSON data""" + + if json is not None: + # Filter out None values + json = {k: v for k, v in json.items() if v is not None} + + response = self.session.patch(self._build_url(path), json=json) + data = self._handle_response(response) + + parsed_data = model.from_dict(data) if hasattr(model, 'from_dict') else data + + return APIResponse( + data=parsed_data, + status_code=response.status_code, + headers=dict(response.headers) + ) + + def delete( + self, + path: str, + model: type[T], + json: Optional[Dict[str, Any]] = None + ) -> APIResponse[T]: + + """Make a PATCH request with JSON data""" + + if json is not None: + # Filter out None values + json = {k: v for k, v in json.items() if v is not None} + + response = self.session.delete(self._build_url(path), json=json) + data = self._handle_response(response) + + parsed_data = model.from_dict(data) if hasattr(model, 'from_dict') else data + + return APIResponse( + data=parsed_data, + status_code=response.status_code, + headers=dict(response.headers) + ) diff --git a/infisical_sdk/universal_auth.py b/infisical_sdk/universal_auth.py deleted file mode 100644 index e69de29..0000000 diff --git a/infisicalapi_client/__init__.py b/infisicalapi_client/__init__.py deleted file mode 100644 index dab2eff..0000000 --- a/infisicalapi_client/__init__.py +++ /dev/null @@ -1,681 +0,0 @@ -# coding: utf-8 - -# flake8: noqa - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -__version__ = "1.0.0" - -# import apis into sdk package -from infisicalapi_client.api.default_api import DefaultApi - -# import ApiClient -from infisicalapi_client.api_response import ApiResponse -from infisicalapi_client.api_client import ApiClient -from infisicalapi_client.configuration import Configuration -from infisicalapi_client.exceptions import OpenApiException -from infisicalapi_client.exceptions import ApiTypeError -from infisicalapi_client.exceptions import ApiValueError -from infisicalapi_client.exceptions import ApiKeyError -from infisicalapi_client.exceptions import ApiAttributeError -from infisicalapi_client.exceptions import ApiException - -# import models into sdk package -from infisicalapi_client.models.api_status_get200_response import ApiStatusGet200Response -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response import ApiV1AccessApprovalsPoliciesGet200Response -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response_approvals_inner import ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner -from infisicalapi_client.models.api_v1_access_approvals_policies_policy_id_patch_request import ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest -from infisicalapi_client.models.api_v1_access_approvals_policies_post_request import ApiV1AccessApprovalsPoliciesPostRequest -from infisicalapi_client.models.api_v1_access_approvals_requests_count_get200_response import ApiV1AccessApprovalsRequestsCountGet200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response import ApiV1AccessApprovalsRequestsGet200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_policy import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_privilege import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response import ApiV1AccessApprovalsRequestsPost200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response_approval import ApiV1AccessApprovalsRequestsPost200ResponseApproval -from infisicalapi_client.models.api_v1_access_approvals_requests_post_request import ApiV1AccessApprovalsRequestsPostRequest -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response import ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response_review import ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview -from infisicalapi_client.models.api_v1_additional_privilege_identity_delete_request import ApiV1AdditionalPrivilegeIdentityDeleteRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_get200_response import ApiV1AdditionalPrivilegeIdentityGet200Response -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request import ApiV1AdditionalPrivilegeIdentityPatchRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request_privilege_details import ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response import ApiV1AdditionalPrivilegeIdentityPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request import ApiV1AdditionalPrivilegeIdentityPermanentPostRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions -from infisicalapi_client.models.api_v1_additional_privilege_identity_temporary_post_request import ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest -from infisicalapi_client.models.api_v1_additional_privilege_users_get200_response import ApiV1AdditionalPrivilegeUsersGet200Response -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response import ApiV1AdditionalPrivilegeUsersPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post_request import ApiV1AdditionalPrivilegeUsersPermanentPostRequest -from infisicalapi_client.models.api_v1_additional_privilege_users_privilege_id_patch_request import ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest -from infisicalapi_client.models.api_v1_additional_privilege_users_temporary_post_request import ApiV1AdditionalPrivilegeUsersTemporaryPostRequest -from infisicalapi_client.models.api_v1_admin_config_get200_response import ApiV1AdminConfigGet200Response -from infisicalapi_client.models.api_v1_admin_config_get200_response_config import ApiV1AdminConfigGet200ResponseConfig -from infisicalapi_client.models.api_v1_admin_config_patch200_response import ApiV1AdminConfigPatch200Response -from infisicalapi_client.models.api_v1_admin_config_patch200_response_config import ApiV1AdminConfigPatch200ResponseConfig -from infisicalapi_client.models.api_v1_admin_config_patch_request import ApiV1AdminConfigPatchRequest -from infisicalapi_client.models.api_v1_admin_signup_post200_response import ApiV1AdminSignupPost200Response -from infisicalapi_client.models.api_v1_admin_signup_post_request import ApiV1AdminSignupPostRequest -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response import ApiV1AdminUserManagementUsersGet200Response -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response_users_inner import ApiV1AdminUserManagementUsersGet200ResponseUsersInner -from infisicalapi_client.models.api_v1_admin_user_management_users_user_id_delete200_response import ApiV1AdminUserManagementUsersUserIdDelete200Response -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response import ApiV1AuditLogStreamsGet200Response -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response_audit_log_streams_inner import ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response import ApiV1AuditLogStreamsIdGet200Response -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner -from infisicalapi_client.models.api_v1_audit_log_streams_id_patch_request import ApiV1AuditLogStreamsIdPatchRequest -from infisicalapi_client.models.api_v1_audit_log_streams_post200_response import ApiV1AuditLogStreamsPost200Response -from infisicalapi_client.models.api_v1_audit_log_streams_post_request import ApiV1AuditLogStreamsPostRequest -from infisicalapi_client.models.api_v1_audit_log_streams_post_request_headers_inner import ApiV1AuditLogStreamsPostRequestHeadersInner -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_patch_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_post_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_aws_auth_login_post_request import ApiV1AuthAwsAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_patch_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_post_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_check_auth_post200_response import ApiV1AuthCheckAuthPost200Response -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_patch_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_post_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_patch_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_post_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_login_post_request import ApiV1AuthKubernetesAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_patch_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_post_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_patch_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch200_response import ApiV1AuthTokenAuthTokensTokenIdPatch200Response -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch_request import ApiV1AuthTokenAuthTokensTokenIdPatchRequest -from infisicalapi_client.models.api_v1_auth_token_post200_response import ApiV1AuthTokenPost200Response -from infisicalapi_client.models.api_v1_auth_token_renew_post_request import ApiV1AuthTokenRenewPostRequest -from infisicalapi_client.models.api_v1_auth_token_revoke_post_request import ApiV1AuthTokenRevokePostRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_patch_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_login_post_request import ApiV1AuthUniversalAuthLoginPostRequest -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request import ApiV1BotBotIdActivePatchRequest -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request_bot_key import ApiV1BotBotIdActivePatchRequestBotKey -from infisicalapi_client.models.api_v1_bot_project_id_get200_response import ApiV1BotProjectIdGet200Response -from infisicalapi_client.models.api_v1_bot_project_id_get200_response_bot import ApiV1BotProjectIdGet200ResponseBot -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response import ApiV1DynamicSecretsGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner import ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete200_response import ApiV1DynamicSecretsLeasesLeaseIdDelete200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete_request import ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response import ApiV1DynamicSecretsLeasesLeaseIdGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response_lease import ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_renew_post_request import ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post200_response import ApiV1DynamicSecretsLeasesPost200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post_request import ApiV1DynamicSecretsLeasesPostRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_name_delete_request import ApiV1DynamicSecretsNameDeleteRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response import ApiV1DynamicSecretsNameGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response_dynamic_secret import ApiV1DynamicSecretsNameGet200ResponseDynamicSecret -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response import ApiV1DynamicSecretsNameLeasesGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response_leases_inner import ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request import ApiV1DynamicSecretsNamePatchRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request_data import ApiV1DynamicSecretsNamePatchRequestData -from infisicalapi_client.models.api_v1_dynamic_secrets_post200_response import ApiV1DynamicSecretsPost200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request import ApiV1DynamicSecretsPostRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider import ApiV1DynamicSecretsPostRequestProvider -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of import ApiV1DynamicSecretsPostRequestProviderAnyOf -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of1 import ApiV1DynamicSecretsPostRequestProviderAnyOf1 -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of1_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of2 import ApiV1DynamicSecretsPostRequestProviderAnyOf2 -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of2_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOfInputs -from infisicalapi_client.models.api_v1_external_kms_get200_response import ApiV1ExternalKmsGet200Response -from infisicalapi_client.models.api_v1_external_kms_get200_response_external_kms_list_inner import ApiV1ExternalKmsGet200ResponseExternalKmsListInner -from infisicalapi_client.models.api_v1_external_kms_get200_response_external_kms_list_inner_external_kms import ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms -from infisicalapi_client.models.api_v1_external_kms_id_get200_response import ApiV1ExternalKmsIdGet200Response -from infisicalapi_client.models.api_v1_external_kms_id_get200_response_external_kms import ApiV1ExternalKmsIdGet200ResponseExternalKms -from infisicalapi_client.models.api_v1_external_kms_id_get200_response_external_kms_external import ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal -from infisicalapi_client.models.api_v1_external_kms_id_patch_request import ApiV1ExternalKmsIdPatchRequest -from infisicalapi_client.models.api_v1_external_kms_id_patch_request_provider import ApiV1ExternalKmsIdPatchRequestProvider -from infisicalapi_client.models.api_v1_external_kms_id_patch_request_provider_inputs import ApiV1ExternalKmsIdPatchRequestProviderInputs -from infisicalapi_client.models.api_v1_external_kms_post200_response import ApiV1ExternalKmsPost200Response -from infisicalapi_client.models.api_v1_external_kms_post200_response_external_kms import ApiV1ExternalKmsPost200ResponseExternalKms -from infisicalapi_client.models.api_v1_external_kms_post200_response_external_kms_external import ApiV1ExternalKmsPost200ResponseExternalKmsExternal -from infisicalapi_client.models.api_v1_external_kms_post_request import ApiV1ExternalKmsPostRequest -from infisicalapi_client.models.api_v1_external_kms_post_request_provider import ApiV1ExternalKmsPostRequestProvider -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs import ApiV1ExternalKmsPostRequestProviderInputs -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential import ApiV1ExternalKmsPostRequestProviderInputsCredential -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of1 import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of_data import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData -from infisicalapi_client.models.api_v1_folders_batch_patch_request import ApiV1FoldersBatchPatchRequest -from infisicalapi_client.models.api_v1_folders_batch_patch_request_folders_inner import ApiV1FoldersBatchPatchRequestFoldersInner -from infisicalapi_client.models.api_v1_folders_folder_id_or_name_delete_request import ApiV1FoldersFolderIdOrNameDeleteRequest -from infisicalapi_client.models.api_v1_folders_folder_id_patch_request import ApiV1FoldersFolderIdPatchRequest -from infisicalapi_client.models.api_v1_folders_get200_response import ApiV1FoldersGet200Response -from infisicalapi_client.models.api_v1_folders_get200_response_folders_inner import ApiV1FoldersGet200ResponseFoldersInner -from infisicalapi_client.models.api_v1_folders_post200_response import ApiV1FoldersPost200Response -from infisicalapi_client.models.api_v1_folders_post_request import ApiV1FoldersPostRequest -from infisicalapi_client.models.api_v1_groups_current_slug_patch_request import ApiV1GroupsCurrentSlugPatchRequest -from infisicalapi_client.models.api_v1_groups_post200_response import ApiV1GroupsPost200Response -from infisicalapi_client.models.api_v1_groups_post_request import ApiV1GroupsPostRequest -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response import ApiV1GroupsSlugUsersGet200Response -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response_users_inner import ApiV1GroupsSlugUsersGet200ResponseUsersInner -from infisicalapi_client.models.api_v1_groups_slug_users_username_post200_response import ApiV1GroupsSlugUsersUsernamePost200Response -from infisicalapi_client.models.api_v1_identities_get200_response import ApiV1IdentitiesGet200Response -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner import ApiV1IdentitiesGet200ResponseIdentitiesInner -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner_identity import ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity -from infisicalapi_client.models.api_v1_identities_identity_id_get200_response import ApiV1IdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner -from infisicalapi_client.models.api_v1_identities_identity_id_patch_request import ApiV1IdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_identities_post200_response import ApiV1IdentitiesPost200Response -from infisicalapi_client.models.api_v1_identities_post200_response_identity import ApiV1IdentitiesPost200ResponseIdentity -from infisicalapi_client.models.api_v1_identities_post_request import ApiV1IdentitiesPostRequest -from infisicalapi_client.models.api_v1_integration_auth_access_token_post_request import ApiV1IntegrationAuthAccessTokenPostRequest -from infisicalapi_client.models.api_v1_integration_auth_delete200_response import ApiV1IntegrationAuthDelete200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teams_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response import ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response import ApiV1IntegrationAuthIntegrationOptionsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response_integration_options_inner import ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner -from infisicalapi_client.models.api_v1_integration_auth_oauth_token_post_request import ApiV1IntegrationAuthOauthTokenPostRequest -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request import ApiV1IntegrationIntegrationIdPatchRequest -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request_metadata import ApiV1IntegrationIntegrationIdPatchRequestMetadata -from infisicalapi_client.models.api_v1_integration_post200_response import ApiV1IntegrationPost200Response -from infisicalapi_client.models.api_v1_integration_post200_response_integration import ApiV1IntegrationPost200ResponseIntegration -from infisicalapi_client.models.api_v1_integration_post_request import ApiV1IntegrationPostRequest -from infisicalapi_client.models.api_v1_integration_post_request_metadata import ApiV1IntegrationPostRequestMetadata -from infisicalapi_client.models.api_v1_integration_post_request_metadata_secret_gcp_label import ApiV1IntegrationPostRequestMetadataSecretGCPLabel -from infisicalapi_client.models.api_v1_invite_org_signup_post200_response import ApiV1InviteOrgSignupPost200Response -from infisicalapi_client.models.api_v1_invite_org_signup_post_request import ApiV1InviteOrgSignupPostRequest -from infisicalapi_client.models.api_v1_invite_org_verify_post200_response import ApiV1InviteOrgVerifyPost200Response -from infisicalapi_client.models.api_v1_invite_org_verify_post_request import ApiV1InviteOrgVerifyPostRequest -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_get200_response_inner import ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post200_response import ApiV1LdapConfigConfigIdGroupMapsPost200Response -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post_request import ApiV1LdapConfigConfigIdGroupMapsPostRequest -from infisicalapi_client.models.api_v1_ldap_config_get200_response import ApiV1LdapConfigGet200Response -from infisicalapi_client.models.api_v1_ldap_config_patch_request import ApiV1LdapConfigPatchRequest -from infisicalapi_client.models.api_v1_ldap_config_post200_response import ApiV1LdapConfigPost200Response -from infisicalapi_client.models.api_v1_ldap_config_post_request import ApiV1LdapConfigPostRequest -from infisicalapi_client.models.api_v1_ldap_login_post_request import ApiV1LdapLoginPostRequest -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response import ApiV1OrganizationAdminProjectsGet200Response -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership -from infisicalapi_client.models.api_v1_organization_get200_response import ApiV1OrganizationGet200Response -from infisicalapi_client.models.api_v1_organization_get200_response_organizations_inner import ApiV1OrganizationGet200ResponseOrganizationsInner -from infisicalapi_client.models.api_v1_organization_organization_id_get200_response import ApiV1OrganizationOrganizationIdGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response import ApiV1OrganizationOrganizationIdGroupsGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_post200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response -from infisicalapi_client.models.api_v1_organization_organization_id_patch200_response import ApiV1OrganizationOrganizationIdPatch200Response -from infisicalapi_client.models.api_v1_organization_organization_id_patch_request import ApiV1OrganizationOrganizationIdPatchRequest -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response import ApiV1OrganizationOrganizationIdPermissionsGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response_membership import ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response import ApiV1OrganizationOrganizationIdRolesGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response_data import ApiV1OrganizationOrganizationIdRolesGet200ResponseData -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response_data_roles_inner import ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response import ApiV1OrganizationOrganizationIdRolesPost200Response -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response_role import ApiV1OrganizationOrganizationIdRolesPost200ResponseRole -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post_request import ApiV1OrganizationOrganizationIdRolesPostRequest -from infisicalapi_client.models.api_v1_organization_organization_id_roles_role_id_patch_request import ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response import ApiV1OrganizationOrganizationIdUsersGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response_users_inner import ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response_users_inner_user import ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_patch_request import ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_payment_methods_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_tax_ids_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest -from infisicalapi_client.models.api_v1_organizations_organization_id_plan_get200_response import ApiV1OrganizationsOrganizationIdPlanGet200Response -from infisicalapi_client.models.api_v1_organizations_organization_id_session_trial_post_request import ApiV1OrganizationsOrganizationIdSessionTrialPostRequest -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response import ApiV1PasswordBackupPrivateKeyGet200Response -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response_backup_private_key import ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey -from infisicalapi_client.models.api_v1_password_backup_private_key_post_request import ApiV1PasswordBackupPrivateKeyPostRequest -from infisicalapi_client.models.api_v1_password_change_password_post_request import ApiV1PasswordChangePasswordPostRequest -from infisicalapi_client.models.api_v1_password_email_password_reset_post_request import ApiV1PasswordEmailPasswordResetPostRequest -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response import ApiV1PasswordEmailPasswordResetVerifyPost200Response -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response_user import ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post_request import ApiV1PasswordEmailPasswordResetVerifyPostRequest -from infisicalapi_client.models.api_v1_password_password_reset_post_request import ApiV1PasswordPasswordResetPostRequest -from infisicalapi_client.models.api_v1_password_srp1_post200_response import ApiV1PasswordSrp1Post200Response -from infisicalapi_client.models.api_v1_password_srp1_post_request import ApiV1PasswordSrp1PostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_certificate_get200_response import ApiV1PkiCaCaIdCertificateGet200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_crl_get200_response import ApiV1PkiCaCaIdCrlGet200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_csr_get200_response import ApiV1PkiCaCaIdCsrGet200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post200_response import ApiV1PkiCaCaIdImportCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post_request import ApiV1PkiCaCaIdImportCertificatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post200_response import ApiV1PkiCaCaIdIssueCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post_request import ApiV1PkiCaCaIdIssueCertificatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_patch_request import ApiV1PkiCaCaIdPatchRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post200_response import ApiV1PkiCaCaIdSignCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post_request import ApiV1PkiCaCaIdSignCertificatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post200_response import ApiV1PkiCaCaIdSignIntermediatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post_request import ApiV1PkiCaCaIdSignIntermediatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_post200_response import ApiV1PkiCaPost200Response -from infisicalapi_client.models.api_v1_pki_ca_post200_response_ca import ApiV1PkiCaPost200ResponseCa -from infisicalapi_client.models.api_v1_pki_ca_post_request import ApiV1PkiCaPostRequest -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_certificate_get200_response import ApiV1PkiCertificatesSerialNumberCertificateGet200Response -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response import ApiV1PkiCertificatesSerialNumberGet200Response -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response_certificate import ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post200_response import ApiV1PkiCertificatesSerialNumberRevokePost200Response -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post_request import ApiV1PkiCertificatesSerialNumberRevokePostRequest -from infisicalapi_client.models.api_v1_rate_limit_get200_response import ApiV1RateLimitGet200Response -from infisicalapi_client.models.api_v1_rate_limit_get200_response_rate_limit import ApiV1RateLimitGet200ResponseRateLimit -from infisicalapi_client.models.api_v1_rate_limit_put_request import ApiV1RateLimitPutRequest -from infisicalapi_client.models.api_v1_scim_groups_get200_response import ApiV1ScimGroupsGet200Response -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner import ApiV1ScimGroupsGet200ResponseResourcesInner -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner_meta import ApiV1ScimGroupsGet200ResponseResourcesInnerMeta -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request import ApiV1ScimGroupsGroupIdPatchRequest -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner import ApiV1ScimGroupsGroupIdPatchRequestOperationsInner -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1 import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2 import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue -from infisicalapi_client.models.api_v1_scim_groups_group_id_put_request import ApiV1ScimGroupsGroupIdPutRequest -from infisicalapi_client.models.api_v1_scim_groups_post200_response import ApiV1ScimGroupsPost200Response -from infisicalapi_client.models.api_v1_scim_groups_post_request import ApiV1ScimGroupsPostRequest -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response import ApiV1ScimScimTokensGet200Response -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response_scim_tokens_inner import ApiV1ScimScimTokensGet200ResponseScimTokensInner -from infisicalapi_client.models.api_v1_scim_scim_tokens_post200_response import ApiV1ScimScimTokensPost200Response -from infisicalapi_client.models.api_v1_scim_scim_tokens_post_request import ApiV1ScimScimTokensPostRequest -from infisicalapi_client.models.api_v1_scim_scim_tokens_scim_token_id_delete200_response import ApiV1ScimScimTokensScimTokenIdDelete200Response -from infisicalapi_client.models.api_v1_scim_users_get200_response import ApiV1ScimUsersGet200Response -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner import ApiV1ScimUsersGet200ResponseResourcesInner -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_emails_inner import ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_name import ApiV1ScimUsersGet200ResponseResourcesInnerName -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response import ApiV1ScimUsersOrgMembershipIdGet201Response -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response_groups_inner import ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put200_response import ApiV1ScimUsersOrgMembershipIdPut200Response -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put_request import ApiV1ScimUsersOrgMembershipIdPutRequest -from infisicalapi_client.models.api_v1_scim_users_post200_response import ApiV1ScimUsersPost200Response -from infisicalapi_client.models.api_v1_scim_users_post_request import ApiV1ScimUsersPostRequest -from infisicalapi_client.models.api_v1_scim_users_post_request_emails_inner import ApiV1ScimUsersPostRequestEmailsInner -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response import ApiV1SecretApprovalRequestsCountGet200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response_approvals import ApiV1SecretApprovalRequestsCountGet200ResponseApprovals -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response import ApiV1SecretApprovalRequestsGet200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_policy import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response import ApiV1SecretApprovalRequestsIdGet200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval import ApiV1SecretApprovalRequestsIdGet200ResponseApproval -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_policy import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response import ApiV1SecretApprovalRequestsIdMergePost200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response_approval import ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post_request import ApiV1SecretApprovalRequestsIdMergePostRequest -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response import ApiV1SecretApprovalRequestsIdReviewPost200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response_review import ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post_request import ApiV1SecretApprovalRequestsIdReviewPostRequest -from infisicalapi_client.models.api_v1_secret_approval_requests_id_status_post_request import ApiV1SecretApprovalRequestsIdStatusPostRequest -from infisicalapi_client.models.api_v1_secret_approvals_board_get200_response import ApiV1SecretApprovalsBoardGet200Response -from infisicalapi_client.models.api_v1_secret_approvals_get200_response import ApiV1SecretApprovalsGet200Response -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInner -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response -from infisicalapi_client.models.api_v1_secret_approvals_post200_response_approval import ApiV1SecretApprovalsPost200ResponseApproval -from infisicalapi_client.models.api_v1_secret_approvals_post_request import ApiV1SecretApprovalsPostRequest -from infisicalapi_client.models.api_v1_secret_approvals_sap_id_patch_request import ApiV1SecretApprovalsSapIdPatchRequest -from infisicalapi_client.models.api_v1_secret_imports_get200_response import ApiV1SecretImportsGet200Response -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner import ApiV1SecretImportsGet200ResponseSecretImportsInner -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner_import_env import ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv -from infisicalapi_client.models.api_v1_secret_imports_post200_response import ApiV1SecretImportsPost200Response -from infisicalapi_client.models.api_v1_secret_imports_post_request import ApiV1SecretImportsPostRequest -from infisicalapi_client.models.api_v1_secret_imports_post_request_import import ApiV1SecretImportsPostRequestImport -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_delete_request import ApiV1SecretImportsSecretImportIdDeleteRequest -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request import ApiV1SecretImportsSecretImportIdPatchRequest -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request_import import ApiV1SecretImportsSecretImportIdPatchRequestImport -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_replication_resync_post_request import ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response import ApiV1SecretImportsSecretsGet200Response -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInner -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response import ApiV1SecretImportsSecretsRawGet200Response -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response_secrets_inner import ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response import ApiV1SecretRotationProvidersWorkspaceIdGet200Response -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner import ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner -from infisicalapi_client.models.api_v1_secret_rotations_get200_response import ApiV1SecretRotationsGet200Response -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner import ApiV1SecretRotationsGet200ResponseSecretRotationsInner -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner import ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret import ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret -from infisicalapi_client.models.api_v1_secret_rotations_post200_response import ApiV1SecretRotationsPost200Response -from infisicalapi_client.models.api_v1_secret_rotations_post200_response_secret_rotation import ApiV1SecretRotationsPost200ResponseSecretRotation -from infisicalapi_client.models.api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner import ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner -from infisicalapi_client.models.api_v1_secret_rotations_post_request import ApiV1SecretRotationsPostRequest -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response import ApiV1SecretRotationsRestartPost200Response -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response_secret_rotation import ApiV1SecretRotationsRestartPost200ResponseSecretRotation -from infisicalapi_client.models.api_v1_secret_rotations_restart_post_request import ApiV1SecretRotationsRestartPostRequest -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post200_response import ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post_request import ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest -from infisicalapi_client.models.api_v1_secret_scanning_installation_status_organization_organization_id_get200_response import ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post200_response import ApiV1SecretScanningLinkInstallationPost200Response -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post_request import ApiV1SecretScanningLinkInstallationPostRequest -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request import ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response import ApiV1SecretSecretIdSecretVersionsGet200Response -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner import ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner -from infisicalapi_client.models.api_v1_secret_sharing_get200_response import ApiV1SecretSharingGet200Response -from infisicalapi_client.models.api_v1_secret_sharing_get200_response_secrets_inner import ApiV1SecretSharingGet200ResponseSecretsInner -from infisicalapi_client.models.api_v1_secret_sharing_post200_response import ApiV1SecretSharingPost200Response -from infisicalapi_client.models.api_v1_secret_sharing_post_request import ApiV1SecretSharingPostRequest -from infisicalapi_client.models.api_v1_secret_sharing_public_id_get200_response import ApiV1SecretSharingPublicIdGet200Response -from infisicalapi_client.models.api_v1_secret_sharing_public_post_request import ApiV1SecretSharingPublicPostRequest -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response import ApiV1SecretSnapshotSecretSnapshotIdGet200Response -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response import ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response -from infisicalapi_client.models.api_v1_sso_config_get200_response import ApiV1SsoConfigGet200Response -from infisicalapi_client.models.api_v1_sso_config_patch_request import ApiV1SsoConfigPatchRequest -from infisicalapi_client.models.api_v1_sso_config_post200_response import ApiV1SsoConfigPost200Response -from infisicalapi_client.models.api_v1_sso_config_post_request import ApiV1SsoConfigPostRequest -from infisicalapi_client.models.api_v1_sso_oidc_config_get200_response import ApiV1SsoOidcConfigGet200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_patch200_response import ApiV1SsoOidcConfigPatch200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_patch_request import ApiV1SsoOidcConfigPatchRequest -from infisicalapi_client.models.api_v1_sso_oidc_config_post200_response import ApiV1SsoOidcConfigPost200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_post_request import ApiV1SsoOidcConfigPostRequest -from infisicalapi_client.models.api_v1_sso_token_exchange_post_request import ApiV1SsoTokenExchangePostRequest -from infisicalapi_client.models.api_v1_user_action_get200_response import ApiV1UserActionGet200Response -from infisicalapi_client.models.api_v1_user_action_get200_response_user_action import ApiV1UserActionGet200ResponseUserAction -from infisicalapi_client.models.api_v1_user_action_post200_response import ApiV1UserActionPost200Response -from infisicalapi_client.models.api_v1_user_action_post200_response_user_action import ApiV1UserActionPost200ResponseUserAction -from infisicalapi_client.models.api_v1_user_action_post_request import ApiV1UserActionPostRequest -from infisicalapi_client.models.api_v1_user_engagement_me_wish_post_request import ApiV1UserEngagementMeWishPostRequest -from infisicalapi_client.models.api_v1_user_get200_response import ApiV1UserGet200Response -from infisicalapi_client.models.api_v1_user_get200_response_user import ApiV1UserGet200ResponseUser -from infisicalapi_client.models.api_v1_user_me_project_favorites_get200_response import ApiV1UserMeProjectFavoritesGet200Response -from infisicalapi_client.models.api_v1_user_me_project_favorites_put_request import ApiV1UserMeProjectFavoritesPutRequest -from infisicalapi_client.models.api_v1_user_private_key_get200_response import ApiV1UserPrivateKeyGet200Response -from infisicalapi_client.models.api_v1_webhooks_get200_response import ApiV1WebhooksGet200Response -from infisicalapi_client.models.api_v1_webhooks_get200_response_webhooks_inner import ApiV1WebhooksGet200ResponseWebhooksInner -from infisicalapi_client.models.api_v1_webhooks_post200_response import ApiV1WebhooksPost200Response -from infisicalapi_client.models.api_v1_webhooks_post200_response_webhook import ApiV1WebhooksPost200ResponseWebhook -from infisicalapi_client.models.api_v1_webhooks_post_request import ApiV1WebhooksPostRequest -from infisicalapi_client.models.api_v1_webhooks_webhook_id_patch_request import ApiV1WebhooksWebhookIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_get200_response import ApiV1WorkspaceGet200Response -from infisicalapi_client.models.api_v1_workspace_get200_response_workspaces_inner import ApiV1WorkspaceGet200ResponseWorkspacesInner -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response import ApiV1WorkspaceProjectIdPermissionsGet200Response -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data import ApiV1WorkspaceProjectIdPermissionsGet200ResponseData -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data_membership import ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner import ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response import ApiV1WorkspaceProjectIdTagsGet200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner import ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post200_response import ApiV1WorkspaceProjectIdTagsPost200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post_request import ApiV1WorkspaceProjectIdTagsPostRequest -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response import ApiV1WorkspaceProjectIdTagsTagIdGet200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag import ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_patch_request import ApiV1WorkspaceProjectIdTagsTagIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response import ApiV1WorkspaceProjectSlugRolesGet200Response -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response_roles_inner import ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response import ApiV1WorkspaceProjectSlugRolesPost200Response -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role import ApiV1WorkspaceProjectSlugRolesPost200ResponseRole -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request import ApiV1WorkspaceProjectSlugRolesPostRequest -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_role_id_patch_request import ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner import ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event import ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_auto_capitalization_post_request import ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_delete200_response import ApiV1WorkspaceWorkspaceIdDelete200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response_environment import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_id_patch_request import ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post_request import ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_get200_response import ApiV1WorkspaceWorkspaceIdGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response import ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner import ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request import ApiV1WorkspaceWorkspaceIdKeyPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request_key import ApiV1WorkspaceWorkspaceIdKeyPostRequestKey -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response import ApiV1WorkspaceWorkspaceIdKeysGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner import ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_get200_response import ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_post_request import ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response import ApiV1WorkspaceWorkspaceIdKmsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key import ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request import ApiV1WorkspaceWorkspaceIdKmsPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms_any_of import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1 import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post_request import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response import ApiV1WorkspaceWorkspaceIdMembershipsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1 import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request import ApiV1WorkspaceWorkspaceIdMembershipsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request_members_inner import ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post200_response import ApiV1WorkspaceWorkspaceIdNamePost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post_request import ApiV1WorkspaceWorkspaceIdNamePostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch200_response import ApiV1WorkspaceWorkspaceIdPatch200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch_request import ApiV1WorkspaceWorkspaceIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_count_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post_request import ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request import ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response import ApiV1WorkspaceWorkspaceIdUsersGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_project import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_user import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser -from infisicalapi_client.models.api_v1_workspace_workspace_slug_audit_logs_retention_put_request import ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest -from infisicalapi_client.models.api_v1_workspace_workspace_slug_version_limit_put_request import ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest -from infisicalapi_client.models.api_v2_auth_mfa_verify_post200_response import ApiV2AuthMfaVerifyPost200Response -from infisicalapi_client.models.api_v2_auth_mfa_verify_post_request import ApiV2AuthMfaVerifyPostRequest -from infisicalapi_client.models.api_v2_organizations_org_id_identity_memberships_get200_response import ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response_users_inner import ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response_users_inner_user import ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_delete200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_patch_request import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response import ApiV2OrganizationsOrganizationIdWorkspacesGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner import ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner import ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner -from infisicalapi_client.models.api_v2_service_token_get200_response import ApiV2ServiceTokenGet200Response -from infisicalapi_client.models.api_v2_service_token_get200_response_user import ApiV2ServiceTokenGet200ResponseUser -from infisicalapi_client.models.api_v2_service_token_post200_response import ApiV2ServiceTokenPost200Response -from infisicalapi_client.models.api_v2_service_token_post_request import ApiV2ServiceTokenPostRequest -from infisicalapi_client.models.api_v2_service_token_post_request_scopes_inner import ApiV2ServiceTokenPostRequestScopesInner -from infisicalapi_client.models.api_v2_service_token_service_token_id_delete200_response import ApiV2ServiceTokenServiceTokenIdDelete200Response -from infisicalapi_client.models.api_v2_users_me_api_keys_api_key_data_id_delete200_response import ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response -from infisicalapi_client.models.api_v2_users_me_api_keys_get200_response_inner import ApiV2UsersMeApiKeysGet200ResponseInner -from infisicalapi_client.models.api_v2_users_me_api_keys_post200_response import ApiV2UsersMeApiKeysPost200Response -from infisicalapi_client.models.api_v2_users_me_api_keys_post_request import ApiV2UsersMeApiKeysPostRequest -from infisicalapi_client.models.api_v2_users_me_auth_methods_put_request import ApiV2UsersMeAuthMethodsPutRequest -from infisicalapi_client.models.api_v2_users_me_emails_code_post_request import ApiV2UsersMeEmailsCodePostRequest -from infisicalapi_client.models.api_v2_users_me_emails_verify_post_request import ApiV2UsersMeEmailsVerifyPostRequest -from infisicalapi_client.models.api_v2_users_me_mfa_patch200_response import ApiV2UsersMeMfaPatch200Response -from infisicalapi_client.models.api_v2_users_me_mfa_patch_request import ApiV2UsersMeMfaPatchRequest -from infisicalapi_client.models.api_v2_users_me_name_patch_request import ApiV2UsersMeNamePatchRequest -from infisicalapi_client.models.api_v2_users_me_sessions_get200_response_inner import ApiV2UsersMeSessionsGet200ResponseInner -from infisicalapi_client.models.api_v2_workspace_post200_response import ApiV2WorkspacePost200Response -from infisicalapi_client.models.api_v2_workspace_post_request import ApiV2WorkspacePostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_get200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_delete_request import ApiV2WorkspaceProjectIdMembershipsDeleteRequest -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post200_response import ApiV2WorkspaceProjectIdMembershipsPost200Response -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post_request import ApiV2WorkspaceProjectIdMembershipsPostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_post_request import ApiV2WorkspaceProjectIdUpgradePostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_status_get200_response import ApiV2WorkspaceProjectIdUpgradeStatusGet200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response import ApiV2WorkspaceProjectSlugGroupsGet200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner import ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group import ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_patch_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest -from infisicalapi_client.models.api_v2_workspace_slug_cas_get200_response import ApiV2WorkspaceSlugCasGet200Response -from infisicalapi_client.models.api_v2_workspace_slug_certificates_get200_response import ApiV2WorkspaceSlugCertificatesGet200Response -from infisicalapi_client.models.api_v2_workspace_slug_patch_request import ApiV2WorkspaceSlugPatchRequest -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response_sender import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender -from infisicalapi_client.models.api_v3_auth_login1_post_request import ApiV3AuthLogin1PostRequest -from infisicalapi_client.models.api_v3_auth_login2_post200_response import ApiV3AuthLogin2Post200Response -from infisicalapi_client.models.api_v3_auth_login2_post200_response_any_of import ApiV3AuthLogin2Post200ResponseAnyOf -from infisicalapi_client.models.api_v3_auth_login2_post200_response_any_of1 import ApiV3AuthLogin2Post200ResponseAnyOf1 -from infisicalapi_client.models.api_v3_auth_login2_post_request import ApiV3AuthLogin2PostRequest -from infisicalapi_client.models.api_v3_secrets_backfill_secret_references_post_request import ApiV3SecretsBackfillSecretReferencesPostRequest -from infisicalapi_client.models.api_v3_secrets_batch_delete_request import ApiV3SecretsBatchDeleteRequest -from infisicalapi_client.models.api_v3_secrets_batch_delete_request_secrets_inner import ApiV3SecretsBatchDeleteRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_batch_patch_request import ApiV3SecretsBatchPatchRequest -from infisicalapi_client.models.api_v3_secrets_batch_patch_request_secrets_inner import ApiV3SecretsBatchPatchRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_batch_post200_response import ApiV3SecretsBatchPost200Response -from infisicalapi_client.models.api_v3_secrets_batch_post200_response_any_of import ApiV3SecretsBatchPost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_batch_post_request import ApiV3SecretsBatchPostRequest -from infisicalapi_client.models.api_v3_secrets_batch_post_request_secrets_inner import ApiV3SecretsBatchPostRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request import ApiV3SecretsBatchRawDeleteRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request_secrets_inner import ApiV3SecretsBatchRawDeleteRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request import ApiV3SecretsBatchRawPatchRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request_secrets_inner import ApiV3SecretsBatchRawPatchRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response import ApiV3SecretsBatchRawPost200Response -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response_any_of import ApiV3SecretsBatchRawPost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request import ApiV3SecretsBatchRawPostRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request_secrets_inner import ApiV3SecretsBatchRawPostRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_get200_response import ApiV3SecretsGet200Response -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner import ApiV3SecretsGet200ResponseImportsInner -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner_secrets_inner import ApiV3SecretsGet200ResponseImportsInnerSecretsInner -from infisicalapi_client.models.api_v3_secrets_get200_response_secrets_inner import ApiV3SecretsGet200ResponseSecretsInner -from infisicalapi_client.models.api_v3_secrets_move_post200_response import ApiV3SecretsMovePost200Response -from infisicalapi_client.models.api_v3_secrets_move_post_request import ApiV3SecretsMovePostRequest -from infisicalapi_client.models.api_v3_secrets_raw_get200_response import ApiV3SecretsRawGet200Response -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_imports_inner import ApiV3SecretsRawGet200ResponseImportsInner -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_imports_inner_secrets_inner import ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_secrets_inner import ApiV3SecretsRawGet200ResponseSecretsInner -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_delete_request import ApiV3SecretsRawSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response import ApiV3SecretsRawSecretNameGet200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response_secret import ApiV3SecretsRawSecretNameGet200ResponseSecret -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_patch_request import ApiV3SecretsRawSecretNamePatchRequest -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response import ApiV3SecretsRawSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of import ApiV3SecretsRawSecretNamePost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of1 import ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post_request import ApiV3SecretsRawSecretNamePostRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_delete_request import ApiV3SecretsSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response import ApiV3SecretsSecretNameGet200Response -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response_secret import ApiV3SecretsSecretNameGet200ResponseSecret -from infisicalapi_client.models.api_v3_secrets_secret_name_patch_request import ApiV3SecretsSecretNamePatchRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response import ApiV3SecretsSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response_any_of import ApiV3SecretsSecretNamePost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_secret_name_post_request import ApiV3SecretsSecretNamePostRequest -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_delete_request import ApiV3SecretsTagsSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response import ApiV3SecretsTagsSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret import ApiV3SecretsTagsSecretNamePost200ResponseSecret -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner import ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post_request import ApiV3SecretsTagsSecretNamePostRequest -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post200_response import ApiV3SignupCompleteAccountSignupPost200Response -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post_request import ApiV3SignupCompleteAccountSignupPostRequest -from infisicalapi_client.models.api_v3_signup_email_verify_post200_response import ApiV3SignupEmailVerifyPost200Response -from infisicalapi_client.models.api_v3_users_me_api_keys_get200_response import ApiV3UsersMeApiKeysGet200Response -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response import ApiV3WorkspacesProjectIdSecretsGet200Response -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response_secrets_inner import ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request import ApiV3WorkspacesProjectIdSecretsNamesPostRequest -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner import ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner diff --git a/infisicalapi_client/api/__init__.py b/infisicalapi_client/api/__init__.py deleted file mode 100644 index 308ec7c..0000000 --- a/infisicalapi_client/api/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# flake8: noqa - -# import apis into api package -from infisicalapi_client.api.default_api import DefaultApi - diff --git a/infisicalapi_client/api/default_api.py b/infisicalapi_client/api/default_api.py deleted file mode 100644 index e327500..0000000 --- a/infisicalapi_client/api/default_api.py +++ /dev/null @@ -1,61732 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import re # noqa: F401 -import io -import warnings - -from pydantic import validate_arguments, ValidationError - -from typing_extensions import Annotated -from datetime import datetime - -from pydantic import Field, StrictFloat, StrictInt, StrictStr, confloat, conint, constr - -from typing import Any, Dict, List, Optional, Union - -from infisicalapi_client.models.api_status_get200_response import ApiStatusGet200Response -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response import ApiV1AccessApprovalsPoliciesGet200Response -from infisicalapi_client.models.api_v1_access_approvals_policies_policy_id_patch_request import ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest -from infisicalapi_client.models.api_v1_access_approvals_policies_post_request import ApiV1AccessApprovalsPoliciesPostRequest -from infisicalapi_client.models.api_v1_access_approvals_requests_count_get200_response import ApiV1AccessApprovalsRequestsCountGet200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response import ApiV1AccessApprovalsRequestsGet200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response import ApiV1AccessApprovalsRequestsPost200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_post_request import ApiV1AccessApprovalsRequestsPostRequest -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response import ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_identity_delete_request import ApiV1AdditionalPrivilegeIdentityDeleteRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_get200_response import ApiV1AdditionalPrivilegeIdentityGet200Response -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request import ApiV1AdditionalPrivilegeIdentityPatchRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response import ApiV1AdditionalPrivilegeIdentityPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request import ApiV1AdditionalPrivilegeIdentityPermanentPostRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_temporary_post_request import ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest -from infisicalapi_client.models.api_v1_additional_privilege_users_get200_response import ApiV1AdditionalPrivilegeUsersGet200Response -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response import ApiV1AdditionalPrivilegeUsersPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post_request import ApiV1AdditionalPrivilegeUsersPermanentPostRequest -from infisicalapi_client.models.api_v1_additional_privilege_users_privilege_id_patch_request import ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest -from infisicalapi_client.models.api_v1_additional_privilege_users_temporary_post_request import ApiV1AdditionalPrivilegeUsersTemporaryPostRequest -from infisicalapi_client.models.api_v1_admin_config_get200_response import ApiV1AdminConfigGet200Response -from infisicalapi_client.models.api_v1_admin_config_patch200_response import ApiV1AdminConfigPatch200Response -from infisicalapi_client.models.api_v1_admin_config_patch_request import ApiV1AdminConfigPatchRequest -from infisicalapi_client.models.api_v1_admin_signup_post200_response import ApiV1AdminSignupPost200Response -from infisicalapi_client.models.api_v1_admin_signup_post_request import ApiV1AdminSignupPostRequest -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response import ApiV1AdminUserManagementUsersGet200Response -from infisicalapi_client.models.api_v1_admin_user_management_users_user_id_delete200_response import ApiV1AdminUserManagementUsersUserIdDelete200Response -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response import ApiV1AuditLogStreamsGet200Response -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response import ApiV1AuditLogStreamsIdGet200Response -from infisicalapi_client.models.api_v1_audit_log_streams_id_patch_request import ApiV1AuditLogStreamsIdPatchRequest -from infisicalapi_client.models.api_v1_audit_log_streams_post200_response import ApiV1AuditLogStreamsPost200Response -from infisicalapi_client.models.api_v1_audit_log_streams_post_request import ApiV1AuditLogStreamsPostRequest -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_patch_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_post_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_aws_auth_login_post_request import ApiV1AuthAwsAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_patch_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_post_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_check_auth_post200_response import ApiV1AuthCheckAuthPost200Response -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_patch_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_post_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_patch_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_post_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_login_post_request import ApiV1AuthKubernetesAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_patch_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_post_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_patch_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch200_response import ApiV1AuthTokenAuthTokensTokenIdPatch200Response -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch_request import ApiV1AuthTokenAuthTokensTokenIdPatchRequest -from infisicalapi_client.models.api_v1_auth_token_post200_response import ApiV1AuthTokenPost200Response -from infisicalapi_client.models.api_v1_auth_token_renew_post_request import ApiV1AuthTokenRenewPostRequest -from infisicalapi_client.models.api_v1_auth_token_revoke_post_request import ApiV1AuthTokenRevokePostRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_patch_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_login_post_request import ApiV1AuthUniversalAuthLoginPostRequest -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request import ApiV1BotBotIdActivePatchRequest -from infisicalapi_client.models.api_v1_bot_project_id_get200_response import ApiV1BotProjectIdGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response import ApiV1DynamicSecretsGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete200_response import ApiV1DynamicSecretsLeasesLeaseIdDelete200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete_request import ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response import ApiV1DynamicSecretsLeasesLeaseIdGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_renew_post_request import ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post200_response import ApiV1DynamicSecretsLeasesPost200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post_request import ApiV1DynamicSecretsLeasesPostRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_name_delete_request import ApiV1DynamicSecretsNameDeleteRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response import ApiV1DynamicSecretsNameGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response import ApiV1DynamicSecretsNameLeasesGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request import ApiV1DynamicSecretsNamePatchRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_post200_response import ApiV1DynamicSecretsPost200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request import ApiV1DynamicSecretsPostRequest -from infisicalapi_client.models.api_v1_external_kms_get200_response import ApiV1ExternalKmsGet200Response -from infisicalapi_client.models.api_v1_external_kms_id_get200_response import ApiV1ExternalKmsIdGet200Response -from infisicalapi_client.models.api_v1_external_kms_id_patch_request import ApiV1ExternalKmsIdPatchRequest -from infisicalapi_client.models.api_v1_external_kms_post200_response import ApiV1ExternalKmsPost200Response -from infisicalapi_client.models.api_v1_external_kms_post_request import ApiV1ExternalKmsPostRequest -from infisicalapi_client.models.api_v1_folders_batch_patch_request import ApiV1FoldersBatchPatchRequest -from infisicalapi_client.models.api_v1_folders_folder_id_or_name_delete_request import ApiV1FoldersFolderIdOrNameDeleteRequest -from infisicalapi_client.models.api_v1_folders_folder_id_patch_request import ApiV1FoldersFolderIdPatchRequest -from infisicalapi_client.models.api_v1_folders_get200_response import ApiV1FoldersGet200Response -from infisicalapi_client.models.api_v1_folders_post200_response import ApiV1FoldersPost200Response -from infisicalapi_client.models.api_v1_folders_post_request import ApiV1FoldersPostRequest -from infisicalapi_client.models.api_v1_groups_current_slug_patch_request import ApiV1GroupsCurrentSlugPatchRequest -from infisicalapi_client.models.api_v1_groups_post200_response import ApiV1GroupsPost200Response -from infisicalapi_client.models.api_v1_groups_post_request import ApiV1GroupsPostRequest -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response import ApiV1GroupsSlugUsersGet200Response -from infisicalapi_client.models.api_v1_groups_slug_users_username_post200_response import ApiV1GroupsSlugUsersUsernamePost200Response -from infisicalapi_client.models.api_v1_identities_get200_response import ApiV1IdentitiesGet200Response -from infisicalapi_client.models.api_v1_identities_identity_id_get200_response import ApiV1IdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response -from infisicalapi_client.models.api_v1_identities_identity_id_patch_request import ApiV1IdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_identities_post200_response import ApiV1IdentitiesPost200Response -from infisicalapi_client.models.api_v1_identities_post_request import ApiV1IdentitiesPostRequest -from infisicalapi_client.models.api_v1_integration_auth_access_token_post_request import ApiV1IntegrationAuthAccessTokenPostRequest -from infisicalapi_client.models.api_v1_integration_auth_delete200_response import ApiV1IntegrationAuthDelete200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teams_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response import ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response import ApiV1IntegrationAuthIntegrationOptionsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_oauth_token_post_request import ApiV1IntegrationAuthOauthTokenPostRequest -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request import ApiV1IntegrationIntegrationIdPatchRequest -from infisicalapi_client.models.api_v1_integration_post200_response import ApiV1IntegrationPost200Response -from infisicalapi_client.models.api_v1_integration_post_request import ApiV1IntegrationPostRequest -from infisicalapi_client.models.api_v1_invite_org_signup_post200_response import ApiV1InviteOrgSignupPost200Response -from infisicalapi_client.models.api_v1_invite_org_signup_post_request import ApiV1InviteOrgSignupPostRequest -from infisicalapi_client.models.api_v1_invite_org_verify_post200_response import ApiV1InviteOrgVerifyPost200Response -from infisicalapi_client.models.api_v1_invite_org_verify_post_request import ApiV1InviteOrgVerifyPostRequest -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_get200_response_inner import ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post200_response import ApiV1LdapConfigConfigIdGroupMapsPost200Response -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post_request import ApiV1LdapConfigConfigIdGroupMapsPostRequest -from infisicalapi_client.models.api_v1_ldap_config_get200_response import ApiV1LdapConfigGet200Response -from infisicalapi_client.models.api_v1_ldap_config_patch_request import ApiV1LdapConfigPatchRequest -from infisicalapi_client.models.api_v1_ldap_config_post200_response import ApiV1LdapConfigPost200Response -from infisicalapi_client.models.api_v1_ldap_config_post_request import ApiV1LdapConfigPostRequest -from infisicalapi_client.models.api_v1_ldap_login_post_request import ApiV1LdapLoginPostRequest -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response import ApiV1OrganizationAdminProjectsGet200Response -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response -from infisicalapi_client.models.api_v1_organization_get200_response import ApiV1OrganizationGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_get200_response import ApiV1OrganizationOrganizationIdGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response import ApiV1OrganizationOrganizationIdGroupsGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_post200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response -from infisicalapi_client.models.api_v1_organization_organization_id_patch200_response import ApiV1OrganizationOrganizationIdPatch200Response -from infisicalapi_client.models.api_v1_organization_organization_id_patch_request import ApiV1OrganizationOrganizationIdPatchRequest -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response import ApiV1OrganizationOrganizationIdPermissionsGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response import ApiV1OrganizationOrganizationIdRolesGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response import ApiV1OrganizationOrganizationIdRolesPost200Response -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post_request import ApiV1OrganizationOrganizationIdRolesPostRequest -from infisicalapi_client.models.api_v1_organization_organization_id_roles_role_id_patch_request import ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response import ApiV1OrganizationOrganizationIdUsersGet200Response -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_patch_request import ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_payment_methods_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_tax_ids_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest -from infisicalapi_client.models.api_v1_organizations_organization_id_plan_get200_response import ApiV1OrganizationsOrganizationIdPlanGet200Response -from infisicalapi_client.models.api_v1_organizations_organization_id_session_trial_post_request import ApiV1OrganizationsOrganizationIdSessionTrialPostRequest -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response import ApiV1PasswordBackupPrivateKeyGet200Response -from infisicalapi_client.models.api_v1_password_backup_private_key_post_request import ApiV1PasswordBackupPrivateKeyPostRequest -from infisicalapi_client.models.api_v1_password_change_password_post_request import ApiV1PasswordChangePasswordPostRequest -from infisicalapi_client.models.api_v1_password_email_password_reset_post_request import ApiV1PasswordEmailPasswordResetPostRequest -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response import ApiV1PasswordEmailPasswordResetVerifyPost200Response -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post_request import ApiV1PasswordEmailPasswordResetVerifyPostRequest -from infisicalapi_client.models.api_v1_password_password_reset_post_request import ApiV1PasswordPasswordResetPostRequest -from infisicalapi_client.models.api_v1_password_srp1_post200_response import ApiV1PasswordSrp1Post200Response -from infisicalapi_client.models.api_v1_password_srp1_post_request import ApiV1PasswordSrp1PostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_certificate_get200_response import ApiV1PkiCaCaIdCertificateGet200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_crl_get200_response import ApiV1PkiCaCaIdCrlGet200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_csr_get200_response import ApiV1PkiCaCaIdCsrGet200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post200_response import ApiV1PkiCaCaIdImportCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post_request import ApiV1PkiCaCaIdImportCertificatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post200_response import ApiV1PkiCaCaIdIssueCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post_request import ApiV1PkiCaCaIdIssueCertificatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_patch_request import ApiV1PkiCaCaIdPatchRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post200_response import ApiV1PkiCaCaIdSignCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post_request import ApiV1PkiCaCaIdSignCertificatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post200_response import ApiV1PkiCaCaIdSignIntermediatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post_request import ApiV1PkiCaCaIdSignIntermediatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_post200_response import ApiV1PkiCaPost200Response -from infisicalapi_client.models.api_v1_pki_ca_post_request import ApiV1PkiCaPostRequest -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_certificate_get200_response import ApiV1PkiCertificatesSerialNumberCertificateGet200Response -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response import ApiV1PkiCertificatesSerialNumberGet200Response -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post200_response import ApiV1PkiCertificatesSerialNumberRevokePost200Response -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post_request import ApiV1PkiCertificatesSerialNumberRevokePostRequest -from infisicalapi_client.models.api_v1_rate_limit_get200_response import ApiV1RateLimitGet200Response -from infisicalapi_client.models.api_v1_rate_limit_put_request import ApiV1RateLimitPutRequest -from infisicalapi_client.models.api_v1_scim_groups_get200_response import ApiV1ScimGroupsGet200Response -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner import ApiV1ScimGroupsGet200ResponseResourcesInner -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request import ApiV1ScimGroupsGroupIdPatchRequest -from infisicalapi_client.models.api_v1_scim_groups_group_id_put_request import ApiV1ScimGroupsGroupIdPutRequest -from infisicalapi_client.models.api_v1_scim_groups_post200_response import ApiV1ScimGroupsPost200Response -from infisicalapi_client.models.api_v1_scim_groups_post_request import ApiV1ScimGroupsPostRequest -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response import ApiV1ScimScimTokensGet200Response -from infisicalapi_client.models.api_v1_scim_scim_tokens_post200_response import ApiV1ScimScimTokensPost200Response -from infisicalapi_client.models.api_v1_scim_scim_tokens_post_request import ApiV1ScimScimTokensPostRequest -from infisicalapi_client.models.api_v1_scim_scim_tokens_scim_token_id_delete200_response import ApiV1ScimScimTokensScimTokenIdDelete200Response -from infisicalapi_client.models.api_v1_scim_users_get200_response import ApiV1ScimUsersGet200Response -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response import ApiV1ScimUsersOrgMembershipIdGet201Response -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put200_response import ApiV1ScimUsersOrgMembershipIdPut200Response -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put_request import ApiV1ScimUsersOrgMembershipIdPutRequest -from infisicalapi_client.models.api_v1_scim_users_post200_response import ApiV1ScimUsersPost200Response -from infisicalapi_client.models.api_v1_scim_users_post_request import ApiV1ScimUsersPostRequest -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response import ApiV1SecretApprovalRequestsCountGet200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response import ApiV1SecretApprovalRequestsGet200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response import ApiV1SecretApprovalRequestsIdGet200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response import ApiV1SecretApprovalRequestsIdMergePost200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post_request import ApiV1SecretApprovalRequestsIdMergePostRequest -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response import ApiV1SecretApprovalRequestsIdReviewPost200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post_request import ApiV1SecretApprovalRequestsIdReviewPostRequest -from infisicalapi_client.models.api_v1_secret_approval_requests_id_status_post_request import ApiV1SecretApprovalRequestsIdStatusPostRequest -from infisicalapi_client.models.api_v1_secret_approvals_board_get200_response import ApiV1SecretApprovalsBoardGet200Response -from infisicalapi_client.models.api_v1_secret_approvals_get200_response import ApiV1SecretApprovalsGet200Response -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response -from infisicalapi_client.models.api_v1_secret_approvals_post_request import ApiV1SecretApprovalsPostRequest -from infisicalapi_client.models.api_v1_secret_approvals_sap_id_patch_request import ApiV1SecretApprovalsSapIdPatchRequest -from infisicalapi_client.models.api_v1_secret_imports_get200_response import ApiV1SecretImportsGet200Response -from infisicalapi_client.models.api_v1_secret_imports_post200_response import ApiV1SecretImportsPost200Response -from infisicalapi_client.models.api_v1_secret_imports_post_request import ApiV1SecretImportsPostRequest -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_delete_request import ApiV1SecretImportsSecretImportIdDeleteRequest -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request import ApiV1SecretImportsSecretImportIdPatchRequest -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_replication_resync_post_request import ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response import ApiV1SecretImportsSecretsGet200Response -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response import ApiV1SecretImportsSecretsRawGet200Response -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response import ApiV1SecretRotationProvidersWorkspaceIdGet200Response -from infisicalapi_client.models.api_v1_secret_rotations_get200_response import ApiV1SecretRotationsGet200Response -from infisicalapi_client.models.api_v1_secret_rotations_post200_response import ApiV1SecretRotationsPost200Response -from infisicalapi_client.models.api_v1_secret_rotations_post_request import ApiV1SecretRotationsPostRequest -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response import ApiV1SecretRotationsRestartPost200Response -from infisicalapi_client.models.api_v1_secret_rotations_restart_post_request import ApiV1SecretRotationsRestartPostRequest -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post200_response import ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post_request import ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest -from infisicalapi_client.models.api_v1_secret_scanning_installation_status_organization_organization_id_get200_response import ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post200_response import ApiV1SecretScanningLinkInstallationPost200Response -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post_request import ApiV1SecretScanningLinkInstallationPostRequest -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request import ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response import ApiV1SecretSecretIdSecretVersionsGet200Response -from infisicalapi_client.models.api_v1_secret_sharing_get200_response import ApiV1SecretSharingGet200Response -from infisicalapi_client.models.api_v1_secret_sharing_get200_response_secrets_inner import ApiV1SecretSharingGet200ResponseSecretsInner -from infisicalapi_client.models.api_v1_secret_sharing_post200_response import ApiV1SecretSharingPost200Response -from infisicalapi_client.models.api_v1_secret_sharing_post_request import ApiV1SecretSharingPostRequest -from infisicalapi_client.models.api_v1_secret_sharing_public_id_get200_response import ApiV1SecretSharingPublicIdGet200Response -from infisicalapi_client.models.api_v1_secret_sharing_public_post_request import ApiV1SecretSharingPublicPostRequest -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response import ApiV1SecretSnapshotSecretSnapshotIdGet200Response -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response import ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response -from infisicalapi_client.models.api_v1_sso_config_get200_response import ApiV1SsoConfigGet200Response -from infisicalapi_client.models.api_v1_sso_config_patch_request import ApiV1SsoConfigPatchRequest -from infisicalapi_client.models.api_v1_sso_config_post200_response import ApiV1SsoConfigPost200Response -from infisicalapi_client.models.api_v1_sso_config_post_request import ApiV1SsoConfigPostRequest -from infisicalapi_client.models.api_v1_sso_oidc_config_get200_response import ApiV1SsoOidcConfigGet200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_patch200_response import ApiV1SsoOidcConfigPatch200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_patch_request import ApiV1SsoOidcConfigPatchRequest -from infisicalapi_client.models.api_v1_sso_oidc_config_post200_response import ApiV1SsoOidcConfigPost200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_post_request import ApiV1SsoOidcConfigPostRequest -from infisicalapi_client.models.api_v1_sso_token_exchange_post_request import ApiV1SsoTokenExchangePostRequest -from infisicalapi_client.models.api_v1_user_action_get200_response import ApiV1UserActionGet200Response -from infisicalapi_client.models.api_v1_user_action_post200_response import ApiV1UserActionPost200Response -from infisicalapi_client.models.api_v1_user_action_post_request import ApiV1UserActionPostRequest -from infisicalapi_client.models.api_v1_user_engagement_me_wish_post_request import ApiV1UserEngagementMeWishPostRequest -from infisicalapi_client.models.api_v1_user_get200_response import ApiV1UserGet200Response -from infisicalapi_client.models.api_v1_user_me_project_favorites_get200_response import ApiV1UserMeProjectFavoritesGet200Response -from infisicalapi_client.models.api_v1_user_me_project_favorites_put_request import ApiV1UserMeProjectFavoritesPutRequest -from infisicalapi_client.models.api_v1_user_private_key_get200_response import ApiV1UserPrivateKeyGet200Response -from infisicalapi_client.models.api_v1_webhooks_get200_response import ApiV1WebhooksGet200Response -from infisicalapi_client.models.api_v1_webhooks_post200_response import ApiV1WebhooksPost200Response -from infisicalapi_client.models.api_v1_webhooks_post_request import ApiV1WebhooksPostRequest -from infisicalapi_client.models.api_v1_webhooks_webhook_id_patch_request import ApiV1WebhooksWebhookIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_get200_response import ApiV1WorkspaceGet200Response -from infisicalapi_client.models.api_v1_workspace_get200_response_workspaces_inner import ApiV1WorkspaceGet200ResponseWorkspacesInner -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response import ApiV1WorkspaceProjectIdPermissionsGet200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response import ApiV1WorkspaceProjectIdTagsGet200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post200_response import ApiV1WorkspaceProjectIdTagsPost200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post_request import ApiV1WorkspaceProjectIdTagsPostRequest -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response import ApiV1WorkspaceProjectIdTagsTagIdGet200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_patch_request import ApiV1WorkspaceProjectIdTagsTagIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response import ApiV1WorkspaceProjectSlugRolesGet200Response -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response import ApiV1WorkspaceProjectSlugRolesPost200Response -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request import ApiV1WorkspaceProjectSlugRolesPostRequest -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_role_id_patch_request import ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_auto_capitalization_post_request import ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_delete200_response import ApiV1WorkspaceWorkspaceIdDelete200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_id_patch_request import ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post_request import ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_get200_response import ApiV1WorkspaceWorkspaceIdGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response import ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request import ApiV1WorkspaceWorkspaceIdKeyPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response import ApiV1WorkspaceWorkspaceIdKeysGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_get200_response import ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_post_request import ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response import ApiV1WorkspaceWorkspaceIdKmsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request import ApiV1WorkspaceWorkspaceIdKmsPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post_request import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response import ApiV1WorkspaceWorkspaceIdMembershipsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request import ApiV1WorkspaceWorkspaceIdMembershipsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post200_response import ApiV1WorkspaceWorkspaceIdNamePost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post_request import ApiV1WorkspaceWorkspaceIdNamePostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch200_response import ApiV1WorkspaceWorkspaceIdPatch200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch_request import ApiV1WorkspaceWorkspaceIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_count_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post_request import ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request import ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response import ApiV1WorkspaceWorkspaceIdUsersGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_slug_audit_logs_retention_put_request import ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest -from infisicalapi_client.models.api_v1_workspace_workspace_slug_version_limit_put_request import ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest -from infisicalapi_client.models.api_v2_auth_mfa_verify_post200_response import ApiV2AuthMfaVerifyPost200Response -from infisicalapi_client.models.api_v2_auth_mfa_verify_post_request import ApiV2AuthMfaVerifyPostRequest -from infisicalapi_client.models.api_v2_organizations_org_id_identity_memberships_get200_response import ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_delete200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_patch_request import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response import ApiV2OrganizationsOrganizationIdWorkspacesGet200Response -from infisicalapi_client.models.api_v2_service_token_get200_response import ApiV2ServiceTokenGet200Response -from infisicalapi_client.models.api_v2_service_token_post200_response import ApiV2ServiceTokenPost200Response -from infisicalapi_client.models.api_v2_service_token_post_request import ApiV2ServiceTokenPostRequest -from infisicalapi_client.models.api_v2_service_token_service_token_id_delete200_response import ApiV2ServiceTokenServiceTokenIdDelete200Response -from infisicalapi_client.models.api_v2_users_me_api_keys_api_key_data_id_delete200_response import ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response -from infisicalapi_client.models.api_v2_users_me_api_keys_get200_response_inner import ApiV2UsersMeApiKeysGet200ResponseInner -from infisicalapi_client.models.api_v2_users_me_api_keys_post200_response import ApiV2UsersMeApiKeysPost200Response -from infisicalapi_client.models.api_v2_users_me_api_keys_post_request import ApiV2UsersMeApiKeysPostRequest -from infisicalapi_client.models.api_v2_users_me_auth_methods_put_request import ApiV2UsersMeAuthMethodsPutRequest -from infisicalapi_client.models.api_v2_users_me_emails_code_post_request import ApiV2UsersMeEmailsCodePostRequest -from infisicalapi_client.models.api_v2_users_me_emails_verify_post_request import ApiV2UsersMeEmailsVerifyPostRequest -from infisicalapi_client.models.api_v2_users_me_mfa_patch200_response import ApiV2UsersMeMfaPatch200Response -from infisicalapi_client.models.api_v2_users_me_mfa_patch_request import ApiV2UsersMeMfaPatchRequest -from infisicalapi_client.models.api_v2_users_me_name_patch_request import ApiV2UsersMeNamePatchRequest -from infisicalapi_client.models.api_v2_users_me_sessions_get200_response_inner import ApiV2UsersMeSessionsGet200ResponseInner -from infisicalapi_client.models.api_v2_workspace_post200_response import ApiV2WorkspacePost200Response -from infisicalapi_client.models.api_v2_workspace_post_request import ApiV2WorkspacePostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_get200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_delete_request import ApiV2WorkspaceProjectIdMembershipsDeleteRequest -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post200_response import ApiV2WorkspaceProjectIdMembershipsPost200Response -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post_request import ApiV2WorkspaceProjectIdMembershipsPostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_post_request import ApiV2WorkspaceProjectIdUpgradePostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_status_get200_response import ApiV2WorkspaceProjectIdUpgradeStatusGet200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response import ApiV2WorkspaceProjectSlugGroupsGet200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_patch_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest -from infisicalapi_client.models.api_v2_workspace_slug_cas_get200_response import ApiV2WorkspaceSlugCasGet200Response -from infisicalapi_client.models.api_v2_workspace_slug_certificates_get200_response import ApiV2WorkspaceSlugCertificatesGet200Response -from infisicalapi_client.models.api_v2_workspace_slug_patch_request import ApiV2WorkspaceSlugPatchRequest -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response -from infisicalapi_client.models.api_v3_auth_login1_post_request import ApiV3AuthLogin1PostRequest -from infisicalapi_client.models.api_v3_auth_login2_post200_response import ApiV3AuthLogin2Post200Response -from infisicalapi_client.models.api_v3_auth_login2_post_request import ApiV3AuthLogin2PostRequest -from infisicalapi_client.models.api_v3_secrets_backfill_secret_references_post_request import ApiV3SecretsBackfillSecretReferencesPostRequest -from infisicalapi_client.models.api_v3_secrets_batch_delete_request import ApiV3SecretsBatchDeleteRequest -from infisicalapi_client.models.api_v3_secrets_batch_patch_request import ApiV3SecretsBatchPatchRequest -from infisicalapi_client.models.api_v3_secrets_batch_post200_response import ApiV3SecretsBatchPost200Response -from infisicalapi_client.models.api_v3_secrets_batch_post_request import ApiV3SecretsBatchPostRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request import ApiV3SecretsBatchRawDeleteRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request import ApiV3SecretsBatchRawPatchRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response import ApiV3SecretsBatchRawPost200Response -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request import ApiV3SecretsBatchRawPostRequest -from infisicalapi_client.models.api_v3_secrets_get200_response import ApiV3SecretsGet200Response -from infisicalapi_client.models.api_v3_secrets_move_post200_response import ApiV3SecretsMovePost200Response -from infisicalapi_client.models.api_v3_secrets_move_post_request import ApiV3SecretsMovePostRequest -from infisicalapi_client.models.api_v3_secrets_raw_get200_response import ApiV3SecretsRawGet200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_delete_request import ApiV3SecretsRawSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response import ApiV3SecretsRawSecretNameGet200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_patch_request import ApiV3SecretsRawSecretNamePatchRequest -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response import ApiV3SecretsRawSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post_request import ApiV3SecretsRawSecretNamePostRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_delete_request import ApiV3SecretsSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response import ApiV3SecretsSecretNameGet200Response -from infisicalapi_client.models.api_v3_secrets_secret_name_patch_request import ApiV3SecretsSecretNamePatchRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response import ApiV3SecretsSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_secret_name_post_request import ApiV3SecretsSecretNamePostRequest -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_delete_request import ApiV3SecretsTagsSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response import ApiV3SecretsTagsSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post_request import ApiV3SecretsTagsSecretNamePostRequest -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post200_response import ApiV3SignupCompleteAccountSignupPost200Response -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post_request import ApiV3SignupCompleteAccountSignupPostRequest -from infisicalapi_client.models.api_v3_signup_email_verify_post200_response import ApiV3SignupEmailVerifyPost200Response -from infisicalapi_client.models.api_v3_users_me_api_keys_get200_response import ApiV3UsersMeApiKeysGet200Response -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response import ApiV3WorkspacesProjectIdSecretsGet200Response -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request import ApiV3WorkspacesProjectIdSecretsNamesPostRequest - -from infisicalapi_client.api_client import ApiClient -from infisicalapi_client.api_response import ApiResponse -from infisicalapi_client.exceptions import ( # noqa: F401 - ApiTypeError, - ApiValueError -) - - -class DefaultApi: - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None) -> None: - if api_client is None: - api_client = ApiClient.get_default() - self.api_client = api_client - - @validate_arguments - def api_status_get(self, **kwargs) -> ApiStatusGet200Response: # noqa: E501 - """api_status_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_status_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiStatusGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_status_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_status_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_status_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_status_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_status_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiStatusGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_status_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiStatusGet200Response", - } - - return self.api_client.call_api( - '/api/status', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_access_approvals_policies_count_get(self, project_slug : StrictStr, env_slug : StrictStr, **kwargs) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response: # noqa: E501 - """api_v1_access_approvals_policies_count_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_policies_count_get(project_slug, env_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: (required) - :type project_slug: str - :param env_slug: (required) - :type env_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_access_approvals_policies_count_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_access_approvals_policies_count_get_with_http_info(project_slug, env_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_access_approvals_policies_count_get_with_http_info(self, project_slug : StrictStr, env_slug : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_access_approvals_policies_count_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_policies_count_get_with_http_info(project_slug, env_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: (required) - :type project_slug: str - :param env_slug: (required) - :type env_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'env_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_access_approvals_policies_count_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - if _params.get('env_slug') is not None: # noqa: E501 - _query_params.append(('envSlug', _params['env_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response", - } - - return self.api_client.call_api( - '/api/v1/access-approvals/policies/count', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_access_approvals_policies_get(self, project_slug : StrictStr, **kwargs) -> ApiV1AccessApprovalsPoliciesGet200Response: # noqa: E501 - """api_v1_access_approvals_policies_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_policies_get(project_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: (required) - :type project_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AccessApprovalsPoliciesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_access_approvals_policies_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_access_approvals_policies_get_with_http_info(project_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_access_approvals_policies_get_with_http_info(self, project_slug : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_access_approvals_policies_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_policies_get_with_http_info(project_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: (required) - :type project_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AccessApprovalsPoliciesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_access_approvals_policies_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AccessApprovalsPoliciesGet200Response", - } - - return self.api_client.call_api( - '/api/v1/access-approvals/policies', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_access_approvals_policies_policy_id_delete(self, policy_id : StrictStr, **kwargs) -> ApiV1SecretApprovalsPost200Response: # noqa: E501 - """api_v1_access_approvals_policies_policy_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_policies_policy_id_delete(policy_id, async_req=True) - >>> result = thread.get() - - :param policy_id: (required) - :type policy_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_access_approvals_policies_policy_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_access_approvals_policies_policy_id_delete_with_http_info(policy_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_access_approvals_policies_policy_id_delete_with_http_info(self, policy_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_access_approvals_policies_policy_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_policies_policy_id_delete_with_http_info(policy_id, async_req=True) - >>> result = thread.get() - - :param policy_id: (required) - :type policy_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'policy_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_access_approvals_policies_policy_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['policy_id'] is not None: - _path_params['policyId'] = _params['policy_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/access-approvals/policies/{policyId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_access_approvals_policies_policy_id_patch(self, policy_id : StrictStr, api_v1_access_approvals_policies_policy_id_patch_request : ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest, **kwargs) -> ApiV1SecretApprovalsPost200Response: # noqa: E501 - """api_v1_access_approvals_policies_policy_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_policies_policy_id_patch(policy_id, api_v1_access_approvals_policies_policy_id_patch_request, async_req=True) - >>> result = thread.get() - - :param policy_id: (required) - :type policy_id: str - :param api_v1_access_approvals_policies_policy_id_patch_request: (required) - :type api_v1_access_approvals_policies_policy_id_patch_request: ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_access_approvals_policies_policy_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_access_approvals_policies_policy_id_patch_with_http_info(policy_id, api_v1_access_approvals_policies_policy_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_access_approvals_policies_policy_id_patch_with_http_info(self, policy_id : StrictStr, api_v1_access_approvals_policies_policy_id_patch_request : ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_access_approvals_policies_policy_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_policies_policy_id_patch_with_http_info(policy_id, api_v1_access_approvals_policies_policy_id_patch_request, async_req=True) - >>> result = thread.get() - - :param policy_id: (required) - :type policy_id: str - :param api_v1_access_approvals_policies_policy_id_patch_request: (required) - :type api_v1_access_approvals_policies_policy_id_patch_request: ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'policy_id', - 'api_v1_access_approvals_policies_policy_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_access_approvals_policies_policy_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['policy_id'] is not None: - _path_params['policyId'] = _params['policy_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_access_approvals_policies_policy_id_patch_request'] is not None: - _body_params = _params['api_v1_access_approvals_policies_policy_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/access-approvals/policies/{policyId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_access_approvals_policies_post(self, api_v1_access_approvals_policies_post_request : ApiV1AccessApprovalsPoliciesPostRequest, **kwargs) -> ApiV1SecretApprovalsPost200Response: # noqa: E501 - """api_v1_access_approvals_policies_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_policies_post(api_v1_access_approvals_policies_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_access_approvals_policies_post_request: (required) - :type api_v1_access_approvals_policies_post_request: ApiV1AccessApprovalsPoliciesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_access_approvals_policies_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_access_approvals_policies_post_with_http_info(api_v1_access_approvals_policies_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_access_approvals_policies_post_with_http_info(self, api_v1_access_approvals_policies_post_request : ApiV1AccessApprovalsPoliciesPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_access_approvals_policies_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_policies_post_with_http_info(api_v1_access_approvals_policies_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_access_approvals_policies_post_request: (required) - :type api_v1_access_approvals_policies_post_request: ApiV1AccessApprovalsPoliciesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_access_approvals_policies_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_access_approvals_policies_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_access_approvals_policies_post_request'] is not None: - _body_params = _params['api_v1_access_approvals_policies_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/access-approvals/policies', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_access_approvals_requests_count_get(self, project_slug : StrictStr, **kwargs) -> ApiV1AccessApprovalsRequestsCountGet200Response: # noqa: E501 - """api_v1_access_approvals_requests_count_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_requests_count_get(project_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: (required) - :type project_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AccessApprovalsRequestsCountGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_access_approvals_requests_count_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_access_approvals_requests_count_get_with_http_info(project_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_access_approvals_requests_count_get_with_http_info(self, project_slug : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_access_approvals_requests_count_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_requests_count_get_with_http_info(project_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: (required) - :type project_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AccessApprovalsRequestsCountGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_access_approvals_requests_count_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AccessApprovalsRequestsCountGet200Response", - } - - return self.api_client.call_api( - '/api/v1/access-approvals/requests/count', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_access_approvals_requests_get(self, project_slug : StrictStr, author_project_membership_id : Optional[StrictStr] = None, env_slug : Optional[StrictStr] = None, **kwargs) -> ApiV1AccessApprovalsRequestsGet200Response: # noqa: E501 - """api_v1_access_approvals_requests_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_requests_get(project_slug, author_project_membership_id, env_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: (required) - :type project_slug: str - :param author_project_membership_id: - :type author_project_membership_id: str - :param env_slug: - :type env_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AccessApprovalsRequestsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_access_approvals_requests_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_access_approvals_requests_get_with_http_info(project_slug, author_project_membership_id, env_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_access_approvals_requests_get_with_http_info(self, project_slug : StrictStr, author_project_membership_id : Optional[StrictStr] = None, env_slug : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_access_approvals_requests_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_requests_get_with_http_info(project_slug, author_project_membership_id, env_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: (required) - :type project_slug: str - :param author_project_membership_id: - :type author_project_membership_id: str - :param env_slug: - :type env_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AccessApprovalsRequestsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'author_project_membership_id', - 'env_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_access_approvals_requests_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - if _params.get('author_project_membership_id') is not None: # noqa: E501 - _query_params.append(('authorProjectMembershipId', _params['author_project_membership_id'])) - - if _params.get('env_slug') is not None: # noqa: E501 - _query_params.append(('envSlug', _params['env_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AccessApprovalsRequestsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/access-approvals/requests', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_access_approvals_requests_post(self, project_slug : StrictStr, api_v1_access_approvals_requests_post_request : ApiV1AccessApprovalsRequestsPostRequest, **kwargs) -> ApiV1AccessApprovalsRequestsPost200Response: # noqa: E501 - """api_v1_access_approvals_requests_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_requests_post(project_slug, api_v1_access_approvals_requests_post_request, async_req=True) - >>> result = thread.get() - - :param project_slug: (required) - :type project_slug: str - :param api_v1_access_approvals_requests_post_request: (required) - :type api_v1_access_approvals_requests_post_request: ApiV1AccessApprovalsRequestsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AccessApprovalsRequestsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_access_approvals_requests_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_access_approvals_requests_post_with_http_info(project_slug, api_v1_access_approvals_requests_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_access_approvals_requests_post_with_http_info(self, project_slug : StrictStr, api_v1_access_approvals_requests_post_request : ApiV1AccessApprovalsRequestsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_access_approvals_requests_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_requests_post_with_http_info(project_slug, api_v1_access_approvals_requests_post_request, async_req=True) - >>> result = thread.get() - - :param project_slug: (required) - :type project_slug: str - :param api_v1_access_approvals_requests_post_request: (required) - :type api_v1_access_approvals_requests_post_request: ApiV1AccessApprovalsRequestsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AccessApprovalsRequestsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'api_v1_access_approvals_requests_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_access_approvals_requests_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_access_approvals_requests_post_request'] is not None: - _body_params = _params['api_v1_access_approvals_requests_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AccessApprovalsRequestsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/access-approvals/requests', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_access_approvals_requests_request_id_review_post(self, request_id : StrictStr, api_v1_secret_approval_requests_id_review_post_request : ApiV1SecretApprovalRequestsIdReviewPostRequest, **kwargs) -> ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response: # noqa: E501 - """api_v1_access_approvals_requests_request_id_review_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_requests_request_id_review_post(request_id, api_v1_secret_approval_requests_id_review_post_request, async_req=True) - >>> result = thread.get() - - :param request_id: (required) - :type request_id: str - :param api_v1_secret_approval_requests_id_review_post_request: (required) - :type api_v1_secret_approval_requests_id_review_post_request: ApiV1SecretApprovalRequestsIdReviewPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_access_approvals_requests_request_id_review_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_access_approvals_requests_request_id_review_post_with_http_info(request_id, api_v1_secret_approval_requests_id_review_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_access_approvals_requests_request_id_review_post_with_http_info(self, request_id : StrictStr, api_v1_secret_approval_requests_id_review_post_request : ApiV1SecretApprovalRequestsIdReviewPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_access_approvals_requests_request_id_review_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_access_approvals_requests_request_id_review_post_with_http_info(request_id, api_v1_secret_approval_requests_id_review_post_request, async_req=True) - >>> result = thread.get() - - :param request_id: (required) - :type request_id: str - :param api_v1_secret_approval_requests_id_review_post_request: (required) - :type api_v1_secret_approval_requests_id_review_post_request: ApiV1SecretApprovalRequestsIdReviewPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'request_id', - 'api_v1_secret_approval_requests_id_review_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_access_approvals_requests_request_id_review_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['request_id'] is not None: - _path_params['requestId'] = _params['request_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_approval_requests_id_review_post_request'] is not None: - _body_params = _params['api_v1_secret_approval_requests_id_review_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response", - } - - return self.api_client.call_api( - '/api/v1/access-approvals/requests/{requestId}/review', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_identity_delete(self, api_v1_additional_privilege_identity_delete_request : ApiV1AdditionalPrivilegeIdentityDeleteRequest, **kwargs) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response: # noqa: E501 - """api_v1_additional_privilege_identity_delete # noqa: E501 - - Delete a specific privilege of an identity. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_delete(api_v1_additional_privilege_identity_delete_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_identity_delete_request: (required) - :type api_v1_additional_privilege_identity_delete_request: ApiV1AdditionalPrivilegeIdentityDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeIdentityPermanentPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_identity_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_identity_delete_with_http_info(api_v1_additional_privilege_identity_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_identity_delete_with_http_info(self, api_v1_additional_privilege_identity_delete_request : ApiV1AdditionalPrivilegeIdentityDeleteRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_identity_delete # noqa: E501 - - Delete a specific privilege of an identity. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_delete_with_http_info(api_v1_additional_privilege_identity_delete_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_identity_delete_request: (required) - :type api_v1_additional_privilege_identity_delete_request: ApiV1AdditionalPrivilegeIdentityDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeIdentityPermanentPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_additional_privilege_identity_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_identity_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_additional_privilege_identity_delete_request'] is not None: - _body_params = _params['api_v1_additional_privilege_identity_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeIdentityPermanentPost200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/identity', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_identity_get(self, identity_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the identity to list.")], project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project of the identity in.")], **kwargs) -> ApiV1AdditionalPrivilegeIdentityGet200Response: # noqa: E501 - """api_v1_additional_privilege_identity_get # noqa: E501 - - List of a specific privilege of an identity in a project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_get(identity_id, project_slug, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to list. (required) - :type identity_id: str - :param project_slug: The slug of the project of the identity in. (required) - :type project_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeIdentityGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_identity_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_identity_get_with_http_info(identity_id, project_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_identity_get_with_http_info(self, identity_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the identity to list.")], project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project of the identity in.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_identity_get # noqa: E501 - - List of a specific privilege of an identity in a project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_get_with_http_info(identity_id, project_slug, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to list. (required) - :type identity_id: str - :param project_slug: The slug of the project of the identity in. (required) - :type project_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeIdentityGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'project_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_identity_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('identity_id') is not None: # noqa: E501 - _query_params.append(('identityId', _params['identity_id'])) - - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeIdentityGet200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/identity', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_identity_patch(self, api_v1_additional_privilege_identity_patch_request : ApiV1AdditionalPrivilegeIdentityPatchRequest, **kwargs) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response: # noqa: E501 - """api_v1_additional_privilege_identity_patch # noqa: E501 - - Update a specific privilege of an identity. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_patch(api_v1_additional_privilege_identity_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_identity_patch_request: (required) - :type api_v1_additional_privilege_identity_patch_request: ApiV1AdditionalPrivilegeIdentityPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeIdentityPermanentPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_identity_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_identity_patch_with_http_info(api_v1_additional_privilege_identity_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_identity_patch_with_http_info(self, api_v1_additional_privilege_identity_patch_request : ApiV1AdditionalPrivilegeIdentityPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_identity_patch # noqa: E501 - - Update a specific privilege of an identity. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_patch_with_http_info(api_v1_additional_privilege_identity_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_identity_patch_request: (required) - :type api_v1_additional_privilege_identity_patch_request: ApiV1AdditionalPrivilegeIdentityPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeIdentityPermanentPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_additional_privilege_identity_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_identity_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_additional_privilege_identity_patch_request'] is not None: - _body_params = _params['api_v1_additional_privilege_identity_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeIdentityPermanentPost200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/identity', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_identity_permanent_post(self, api_v1_additional_privilege_identity_permanent_post_request : ApiV1AdditionalPrivilegeIdentityPermanentPostRequest, **kwargs) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response: # noqa: E501 - """api_v1_additional_privilege_identity_permanent_post # noqa: E501 - - Create a permanent or a non expiry specific privilege for identity. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_permanent_post(api_v1_additional_privilege_identity_permanent_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_identity_permanent_post_request: (required) - :type api_v1_additional_privilege_identity_permanent_post_request: ApiV1AdditionalPrivilegeIdentityPermanentPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeIdentityPermanentPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_identity_permanent_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_identity_permanent_post_with_http_info(api_v1_additional_privilege_identity_permanent_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_identity_permanent_post_with_http_info(self, api_v1_additional_privilege_identity_permanent_post_request : ApiV1AdditionalPrivilegeIdentityPermanentPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_identity_permanent_post # noqa: E501 - - Create a permanent or a non expiry specific privilege for identity. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_permanent_post_with_http_info(api_v1_additional_privilege_identity_permanent_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_identity_permanent_post_request: (required) - :type api_v1_additional_privilege_identity_permanent_post_request: ApiV1AdditionalPrivilegeIdentityPermanentPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeIdentityPermanentPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_additional_privilege_identity_permanent_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_identity_permanent_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_additional_privilege_identity_permanent_post_request'] is not None: - _body_params = _params['api_v1_additional_privilege_identity_permanent_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeIdentityPermanentPost200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/identity/permanent', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_identity_privilege_slug_get(self, identity_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the identity to list.")], project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project of the identity in.")], privilege_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the privilege.")], **kwargs) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response: # noqa: E501 - """api_v1_additional_privilege_identity_privilege_slug_get # noqa: E501 - - Retrieve details of a specific privilege by privilege slug. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_privilege_slug_get(identity_id, project_slug, privilege_slug, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to list. (required) - :type identity_id: str - :param project_slug: The slug of the project of the identity in. (required) - :type project_slug: str - :param privilege_slug: The slug of the privilege. (required) - :type privilege_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeIdentityPermanentPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_identity_privilege_slug_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_identity_privilege_slug_get_with_http_info(identity_id, project_slug, privilege_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_identity_privilege_slug_get_with_http_info(self, identity_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the identity to list.")], project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project of the identity in.")], privilege_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the privilege.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_identity_privilege_slug_get # noqa: E501 - - Retrieve details of a specific privilege by privilege slug. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_privilege_slug_get_with_http_info(identity_id, project_slug, privilege_slug, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to list. (required) - :type identity_id: str - :param project_slug: The slug of the project of the identity in. (required) - :type project_slug: str - :param privilege_slug: The slug of the privilege. (required) - :type privilege_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeIdentityPermanentPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'project_slug', - 'privilege_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_identity_privilege_slug_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['privilege_slug'] is not None: - _path_params['privilegeSlug'] = _params['privilege_slug'] - - - # process the query parameters - _query_params = [] - if _params.get('identity_id') is not None: # noqa: E501 - _query_params.append(('identityId', _params['identity_id'])) - - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeIdentityPermanentPost200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/identity/{privilegeSlug}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_identity_temporary_post(self, api_v1_additional_privilege_identity_temporary_post_request : ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest, **kwargs) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response: # noqa: E501 - """api_v1_additional_privilege_identity_temporary_post # noqa: E501 - - Create a temporary or a expiring specific privilege for identity. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_temporary_post(api_v1_additional_privilege_identity_temporary_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_identity_temporary_post_request: (required) - :type api_v1_additional_privilege_identity_temporary_post_request: ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeIdentityPermanentPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_identity_temporary_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_identity_temporary_post_with_http_info(api_v1_additional_privilege_identity_temporary_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_identity_temporary_post_with_http_info(self, api_v1_additional_privilege_identity_temporary_post_request : ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_identity_temporary_post # noqa: E501 - - Create a temporary or a expiring specific privilege for identity. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_identity_temporary_post_with_http_info(api_v1_additional_privilege_identity_temporary_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_identity_temporary_post_request: (required) - :type api_v1_additional_privilege_identity_temporary_post_request: ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeIdentityPermanentPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_additional_privilege_identity_temporary_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_identity_temporary_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_additional_privilege_identity_temporary_post_request'] is not None: - _body_params = _params['api_v1_additional_privilege_identity_temporary_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeIdentityPermanentPost200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/identity/temporary', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_users_get(self, project_membership_id : Annotated[StrictStr, Field(..., description="Project membership id of user")], **kwargs) -> ApiV1AdditionalPrivilegeUsersGet200Response: # noqa: E501 - """api_v1_additional_privilege_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_get(project_membership_id, async_req=True) - >>> result = thread.get() - - :param project_membership_id: Project membership id of user (required) - :type project_membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeUsersGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_users_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_users_get_with_http_info(project_membership_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_users_get_with_http_info(self, project_membership_id : Annotated[StrictStr, Field(..., description="Project membership id of user")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_get_with_http_info(project_membership_id, async_req=True) - >>> result = thread.get() - - :param project_membership_id: Project membership id of user (required) - :type project_membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeUsersGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_membership_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_users_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('project_membership_id') is not None: # noqa: E501 - _query_params.append(('projectMembershipId', _params['project_membership_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeUsersGet200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/users', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_users_permanent_post(self, api_v1_additional_privilege_users_permanent_post_request : ApiV1AdditionalPrivilegeUsersPermanentPostRequest, **kwargs) -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response: # noqa: E501 - """api_v1_additional_privilege_users_permanent_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_permanent_post(api_v1_additional_privilege_users_permanent_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_users_permanent_post_request: (required) - :type api_v1_additional_privilege_users_permanent_post_request: ApiV1AdditionalPrivilegeUsersPermanentPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeUsersPermanentPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_users_permanent_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_users_permanent_post_with_http_info(api_v1_additional_privilege_users_permanent_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_users_permanent_post_with_http_info(self, api_v1_additional_privilege_users_permanent_post_request : ApiV1AdditionalPrivilegeUsersPermanentPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_users_permanent_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_permanent_post_with_http_info(api_v1_additional_privilege_users_permanent_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_users_permanent_post_request: (required) - :type api_v1_additional_privilege_users_permanent_post_request: ApiV1AdditionalPrivilegeUsersPermanentPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeUsersPermanentPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_additional_privilege_users_permanent_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_users_permanent_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_additional_privilege_users_permanent_post_request'] is not None: - _body_params = _params['api_v1_additional_privilege_users_permanent_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeUsersPermanentPost200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/users/permanent', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_users_privilege_id_delete(self, privilege_id : Annotated[StrictStr, Field(..., description="The id of privilege object")], **kwargs) -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response: # noqa: E501 - """api_v1_additional_privilege_users_privilege_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_privilege_id_delete(privilege_id, async_req=True) - >>> result = thread.get() - - :param privilege_id: The id of privilege object (required) - :type privilege_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeUsersPermanentPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_users_privilege_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_users_privilege_id_delete_with_http_info(privilege_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_users_privilege_id_delete_with_http_info(self, privilege_id : Annotated[StrictStr, Field(..., description="The id of privilege object")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_users_privilege_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_privilege_id_delete_with_http_info(privilege_id, async_req=True) - >>> result = thread.get() - - :param privilege_id: The id of privilege object (required) - :type privilege_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeUsersPermanentPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'privilege_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_users_privilege_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['privilege_id'] is not None: - _path_params['privilegeId'] = _params['privilege_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeUsersPermanentPost200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/users/{privilegeId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_users_privilege_id_get(self, privilege_id : Annotated[StrictStr, Field(..., description="The id of privilege object")], **kwargs) -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response: # noqa: E501 - """api_v1_additional_privilege_users_privilege_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_privilege_id_get(privilege_id, async_req=True) - >>> result = thread.get() - - :param privilege_id: The id of privilege object (required) - :type privilege_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeUsersPermanentPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_users_privilege_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_users_privilege_id_get_with_http_info(privilege_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_users_privilege_id_get_with_http_info(self, privilege_id : Annotated[StrictStr, Field(..., description="The id of privilege object")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_users_privilege_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_privilege_id_get_with_http_info(privilege_id, async_req=True) - >>> result = thread.get() - - :param privilege_id: The id of privilege object (required) - :type privilege_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeUsersPermanentPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'privilege_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_users_privilege_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['privilege_id'] is not None: - _path_params['privilegeId'] = _params['privilege_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeUsersPermanentPost200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/users/{privilegeId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_users_privilege_id_patch(self, privilege_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The id of privilege object")], api_v1_additional_privilege_users_privilege_id_patch_request : Optional[ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest] = None, **kwargs) -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response: # noqa: E501 - """api_v1_additional_privilege_users_privilege_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_privilege_id_patch(privilege_id, api_v1_additional_privilege_users_privilege_id_patch_request, async_req=True) - >>> result = thread.get() - - :param privilege_id: The id of privilege object (required) - :type privilege_id: str - :param api_v1_additional_privilege_users_privilege_id_patch_request: - :type api_v1_additional_privilege_users_privilege_id_patch_request: ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeUsersPermanentPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_users_privilege_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_users_privilege_id_patch_with_http_info(privilege_id, api_v1_additional_privilege_users_privilege_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_users_privilege_id_patch_with_http_info(self, privilege_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The id of privilege object")], api_v1_additional_privilege_users_privilege_id_patch_request : Optional[ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_users_privilege_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_privilege_id_patch_with_http_info(privilege_id, api_v1_additional_privilege_users_privilege_id_patch_request, async_req=True) - >>> result = thread.get() - - :param privilege_id: The id of privilege object (required) - :type privilege_id: str - :param api_v1_additional_privilege_users_privilege_id_patch_request: - :type api_v1_additional_privilege_users_privilege_id_patch_request: ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeUsersPermanentPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'privilege_id', - 'api_v1_additional_privilege_users_privilege_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_users_privilege_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['privilege_id'] is not None: - _path_params['privilegeId'] = _params['privilege_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_additional_privilege_users_privilege_id_patch_request'] is not None: - _body_params = _params['api_v1_additional_privilege_users_privilege_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeUsersPermanentPost200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/users/{privilegeId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_additional_privilege_users_temporary_post(self, api_v1_additional_privilege_users_temporary_post_request : ApiV1AdditionalPrivilegeUsersTemporaryPostRequest, **kwargs) -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response: # noqa: E501 - """api_v1_additional_privilege_users_temporary_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_temporary_post(api_v1_additional_privilege_users_temporary_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_users_temporary_post_request: (required) - :type api_v1_additional_privilege_users_temporary_post_request: ApiV1AdditionalPrivilegeUsersTemporaryPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdditionalPrivilegeUsersPermanentPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_additional_privilege_users_temporary_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_additional_privilege_users_temporary_post_with_http_info(api_v1_additional_privilege_users_temporary_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_additional_privilege_users_temporary_post_with_http_info(self, api_v1_additional_privilege_users_temporary_post_request : ApiV1AdditionalPrivilegeUsersTemporaryPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_additional_privilege_users_temporary_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_additional_privilege_users_temporary_post_with_http_info(api_v1_additional_privilege_users_temporary_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_additional_privilege_users_temporary_post_request: (required) - :type api_v1_additional_privilege_users_temporary_post_request: ApiV1AdditionalPrivilegeUsersTemporaryPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdditionalPrivilegeUsersPermanentPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_additional_privilege_users_temporary_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_additional_privilege_users_temporary_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_additional_privilege_users_temporary_post_request'] is not None: - _body_params = _params['api_v1_additional_privilege_users_temporary_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdditionalPrivilegeUsersPermanentPost200Response", - } - - return self.api_client.call_api( - '/api/v1/additional-privilege/users/temporary', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_admin_config_get(self, **kwargs) -> ApiV1AdminConfigGet200Response: # noqa: E501 - """api_v1_admin_config_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_admin_config_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdminConfigGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_admin_config_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_admin_config_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_admin_config_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_admin_config_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_admin_config_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdminConfigGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_admin_config_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdminConfigGet200Response", - } - - return self.api_client.call_api( - '/api/v1/admin/config', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_admin_config_patch(self, api_v1_admin_config_patch_request : Optional[ApiV1AdminConfigPatchRequest] = None, **kwargs) -> ApiV1AdminConfigPatch200Response: # noqa: E501 - """api_v1_admin_config_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_admin_config_patch(api_v1_admin_config_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_admin_config_patch_request: - :type api_v1_admin_config_patch_request: ApiV1AdminConfigPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdminConfigPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_admin_config_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_admin_config_patch_with_http_info(api_v1_admin_config_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_admin_config_patch_with_http_info(self, api_v1_admin_config_patch_request : Optional[ApiV1AdminConfigPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_admin_config_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_admin_config_patch_with_http_info(api_v1_admin_config_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_admin_config_patch_request: - :type api_v1_admin_config_patch_request: ApiV1AdminConfigPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdminConfigPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_admin_config_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_admin_config_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_admin_config_patch_request'] is not None: - _body_params = _params['api_v1_admin_config_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdminConfigPatch200Response", - } - - return self.api_client.call_api( - '/api/v1/admin/config', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_admin_signup_post(self, api_v1_admin_signup_post_request : ApiV1AdminSignupPostRequest, **kwargs) -> ApiV1AdminSignupPost200Response: # noqa: E501 - """api_v1_admin_signup_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_admin_signup_post(api_v1_admin_signup_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_admin_signup_post_request: (required) - :type api_v1_admin_signup_post_request: ApiV1AdminSignupPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdminSignupPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_admin_signup_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_admin_signup_post_with_http_info(api_v1_admin_signup_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_admin_signup_post_with_http_info(self, api_v1_admin_signup_post_request : ApiV1AdminSignupPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_admin_signup_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_admin_signup_post_with_http_info(api_v1_admin_signup_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_admin_signup_post_request: (required) - :type api_v1_admin_signup_post_request: ApiV1AdminSignupPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdminSignupPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_admin_signup_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_admin_signup_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_admin_signup_post_request'] is not None: - _body_params = _params['api_v1_admin_signup_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdminSignupPost200Response", - } - - return self.api_client.call_api( - '/api/v1/admin/signup', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_admin_user_management_users_get(self, search_term : Optional[StrictStr] = None, offset : Optional[Union[StrictFloat, StrictInt]] = None, limit : Optional[Union[confloat(le=100, strict=True), conint(le=100.0, strict=True)]] = None, **kwargs) -> ApiV1AdminUserManagementUsersGet200Response: # noqa: E501 - """api_v1_admin_user_management_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_admin_user_management_users_get(search_term, offset, limit, async_req=True) - >>> result = thread.get() - - :param search_term: - :type search_term: str - :param offset: - :type offset: float - :param limit: - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdminUserManagementUsersGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_admin_user_management_users_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_admin_user_management_users_get_with_http_info(search_term, offset, limit, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_admin_user_management_users_get_with_http_info(self, search_term : Optional[StrictStr] = None, offset : Optional[Union[StrictFloat, StrictInt]] = None, limit : Optional[Union[confloat(le=100, strict=True), conint(le=100.0, strict=True)]] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_admin_user_management_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_admin_user_management_users_get_with_http_info(search_term, offset, limit, async_req=True) - >>> result = thread.get() - - :param search_term: - :type search_term: str - :param offset: - :type offset: float - :param limit: - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdminUserManagementUsersGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'search_term', - 'offset', - 'limit' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_admin_user_management_users_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('search_term') is not None: # noqa: E501 - _query_params.append(('searchTerm', _params['search_term'])) - - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdminUserManagementUsersGet200Response", - } - - return self.api_client.call_api( - '/api/v1/admin/user-management/users', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_admin_user_management_users_user_id_delete(self, user_id : StrictStr, **kwargs) -> ApiV1AdminUserManagementUsersUserIdDelete200Response: # noqa: E501 - """api_v1_admin_user_management_users_user_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_admin_user_management_users_user_id_delete(user_id, async_req=True) - >>> result = thread.get() - - :param user_id: (required) - :type user_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AdminUserManagementUsersUserIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_admin_user_management_users_user_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_admin_user_management_users_user_id_delete_with_http_info(user_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_admin_user_management_users_user_id_delete_with_http_info(self, user_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_admin_user_management_users_user_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_admin_user_management_users_user_id_delete_with_http_info(user_id, async_req=True) - >>> result = thread.get() - - :param user_id: (required) - :type user_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AdminUserManagementUsersUserIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'user_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_admin_user_management_users_user_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['user_id'] is not None: - _path_params['userId'] = _params['user_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AdminUserManagementUsersUserIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v1/admin/user-management/users/{userId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_audit_log_streams_get(self, **kwargs) -> ApiV1AuditLogStreamsGet200Response: # noqa: E501 - """api_v1_audit_log_streams_get # noqa: E501 - - List Audit Log Streams. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_audit_log_streams_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuditLogStreamsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_audit_log_streams_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_audit_log_streams_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_audit_log_streams_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_audit_log_streams_get # noqa: E501 - - List Audit Log Streams. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_audit_log_streams_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuditLogStreamsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_audit_log_streams_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuditLogStreamsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/audit-log-streams', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_audit_log_streams_id_delete(self, id : Annotated[StrictStr, Field(..., description="The ID of the audit log stream to delete.")], **kwargs) -> ApiV1AuditLogStreamsPost200Response: # noqa: E501 - """api_v1_audit_log_streams_id_delete # noqa: E501 - - Delete an Audit Log Stream by ID. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_audit_log_streams_id_delete(id, async_req=True) - >>> result = thread.get() - - :param id: The ID of the audit log stream to delete. (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuditLogStreamsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_audit_log_streams_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_audit_log_streams_id_delete_with_http_info(id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_audit_log_streams_id_delete_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The ID of the audit log stream to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_audit_log_streams_id_delete # noqa: E501 - - Delete an Audit Log Stream by ID. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_audit_log_streams_id_delete_with_http_info(id, async_req=True) - >>> result = thread.get() - - :param id: The ID of the audit log stream to delete. (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuditLogStreamsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_audit_log_streams_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuditLogStreamsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/audit-log-streams/{id}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_audit_log_streams_id_get(self, id : Annotated[StrictStr, Field(..., description="The ID of the audit log stream to get details.")], **kwargs) -> ApiV1AuditLogStreamsIdGet200Response: # noqa: E501 - """api_v1_audit_log_streams_id_get # noqa: E501 - - Get an Audit Log Stream by ID. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_audit_log_streams_id_get(id, async_req=True) - >>> result = thread.get() - - :param id: The ID of the audit log stream to get details. (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuditLogStreamsIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_audit_log_streams_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_audit_log_streams_id_get_with_http_info(id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_audit_log_streams_id_get_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The ID of the audit log stream to get details.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_audit_log_streams_id_get # noqa: E501 - - Get an Audit Log Stream by ID. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_audit_log_streams_id_get_with_http_info(id, async_req=True) - >>> result = thread.get() - - :param id: The ID of the audit log stream to get details. (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuditLogStreamsIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_audit_log_streams_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuditLogStreamsIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/audit-log-streams/{id}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_audit_log_streams_id_patch(self, id : Annotated[StrictStr, Field(..., description="The ID of the audit log stream to update.")], api_v1_audit_log_streams_id_patch_request : Optional[ApiV1AuditLogStreamsIdPatchRequest] = None, **kwargs) -> ApiV1AuditLogStreamsPost200Response: # noqa: E501 - """api_v1_audit_log_streams_id_patch # noqa: E501 - - Update an Audit Log Stream by ID. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_audit_log_streams_id_patch(id, api_v1_audit_log_streams_id_patch_request, async_req=True) - >>> result = thread.get() - - :param id: The ID of the audit log stream to update. (required) - :type id: str - :param api_v1_audit_log_streams_id_patch_request: - :type api_v1_audit_log_streams_id_patch_request: ApiV1AuditLogStreamsIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuditLogStreamsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_audit_log_streams_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_audit_log_streams_id_patch_with_http_info(id, api_v1_audit_log_streams_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_audit_log_streams_id_patch_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The ID of the audit log stream to update.")], api_v1_audit_log_streams_id_patch_request : Optional[ApiV1AuditLogStreamsIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_audit_log_streams_id_patch # noqa: E501 - - Update an Audit Log Stream by ID. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_audit_log_streams_id_patch_with_http_info(id, api_v1_audit_log_streams_id_patch_request, async_req=True) - >>> result = thread.get() - - :param id: The ID of the audit log stream to update. (required) - :type id: str - :param api_v1_audit_log_streams_id_patch_request: - :type api_v1_audit_log_streams_id_patch_request: ApiV1AuditLogStreamsIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuditLogStreamsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id', - 'api_v1_audit_log_streams_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_audit_log_streams_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_audit_log_streams_id_patch_request'] is not None: - _body_params = _params['api_v1_audit_log_streams_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuditLogStreamsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/audit-log-streams/{id}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_audit_log_streams_post(self, api_v1_audit_log_streams_post_request : ApiV1AuditLogStreamsPostRequest, **kwargs) -> ApiV1AuditLogStreamsPost200Response: # noqa: E501 - """api_v1_audit_log_streams_post # noqa: E501 - - Create an Audit Log Stream. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_audit_log_streams_post(api_v1_audit_log_streams_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_audit_log_streams_post_request: (required) - :type api_v1_audit_log_streams_post_request: ApiV1AuditLogStreamsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuditLogStreamsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_audit_log_streams_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_audit_log_streams_post_with_http_info(api_v1_audit_log_streams_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_audit_log_streams_post_with_http_info(self, api_v1_audit_log_streams_post_request : ApiV1AuditLogStreamsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_audit_log_streams_post # noqa: E501 - - Create an Audit Log Stream. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_audit_log_streams_post_with_http_info(api_v1_audit_log_streams_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_audit_log_streams_post_request: (required) - :type api_v1_audit_log_streams_post_request: ApiV1AuditLogStreamsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuditLogStreamsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_audit_log_streams_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_audit_log_streams_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_audit_log_streams_post_request'] is not None: - _body_params = _params['api_v1_audit_log_streams_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuditLogStreamsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/audit-log-streams', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_aws_auth_identities_identity_id_delete(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_aws_auth_identities_identity_id_delete # noqa: E501 - - Delete AWS Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_aws_auth_identities_identity_id_delete(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_aws_auth_identities_identity_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_aws_auth_identities_identity_id_delete_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_aws_auth_identities_identity_id_delete_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_aws_auth_identities_identity_id_delete # noqa: E501 - - Delete AWS Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_aws_auth_identities_identity_id_delete_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_aws_auth_identities_identity_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/aws-auth/identities/{identityId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_aws_auth_identities_identity_id_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_aws_auth_identities_identity_id_get # noqa: E501 - - Retrieve AWS Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_aws_auth_identities_identity_id_get(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_aws_auth_identities_identity_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_aws_auth_identities_identity_id_get_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_aws_auth_identities_identity_id_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_aws_auth_identities_identity_id_get # noqa: E501 - - Retrieve AWS Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_aws_auth_identities_identity_id_get_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_aws_auth_identities_identity_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/aws-auth/identities/{identityId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_aws_auth_identities_identity_id_patch(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_aws_auth_identities_identity_id_patch_request : Optional[ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_aws_auth_identities_identity_id_patch # noqa: E501 - - Update AWS Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_aws_auth_identities_identity_id_patch(identity_id, api_v1_auth_aws_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_aws_auth_identities_identity_id_patch_request: - :type api_v1_auth_aws_auth_identities_identity_id_patch_request: ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_aws_auth_identities_identity_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_aws_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_aws_auth_identities_identity_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_aws_auth_identities_identity_id_patch_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_aws_auth_identities_identity_id_patch_request : Optional[ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_aws_auth_identities_identity_id_patch # noqa: E501 - - Update AWS Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_aws_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_aws_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_aws_auth_identities_identity_id_patch_request: - :type api_v1_auth_aws_auth_identities_identity_id_patch_request: ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_aws_auth_identities_identity_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_aws_auth_identities_identity_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_aws_auth_identities_identity_id_patch_request'] is not None: - _body_params = _params['api_v1_auth_aws_auth_identities_identity_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/aws-auth/identities/{identityId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_aws_auth_identities_identity_id_post(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_aws_auth_identities_identity_id_post_request : Optional[ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest] = None, **kwargs) -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_aws_auth_identities_identity_id_post # noqa: E501 - - Attach AWS Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_aws_auth_identities_identity_id_post(identity_id, api_v1_auth_aws_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_aws_auth_identities_identity_id_post_request: - :type api_v1_auth_aws_auth_identities_identity_id_post_request: ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_aws_auth_identities_identity_id_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_aws_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_aws_auth_identities_identity_id_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_aws_auth_identities_identity_id_post_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_aws_auth_identities_identity_id_post_request : Optional[ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_aws_auth_identities_identity_id_post # noqa: E501 - - Attach AWS Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_aws_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_aws_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_aws_auth_identities_identity_id_post_request: - :type api_v1_auth_aws_auth_identities_identity_id_post_request: ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_aws_auth_identities_identity_id_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_aws_auth_identities_identity_id_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_aws_auth_identities_identity_id_post_request'] is not None: - _body_params = _params['api_v1_auth_aws_auth_identities_identity_id_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/aws-auth/identities/{identityId}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_aws_auth_login_post(self, api_v1_auth_aws_auth_login_post_request : ApiV1AuthAwsAuthLoginPostRequest, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: # noqa: E501 - """api_v1_auth_aws_auth_login_post # noqa: E501 - - Login with AWS Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_aws_auth_login_post(api_v1_auth_aws_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_aws_auth_login_post_request: (required) - :type api_v1_auth_aws_auth_login_post_request: ApiV1AuthAwsAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_aws_auth_login_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_aws_auth_login_post_with_http_info(api_v1_auth_aws_auth_login_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_aws_auth_login_post_with_http_info(self, api_v1_auth_aws_auth_login_post_request : ApiV1AuthAwsAuthLoginPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_aws_auth_login_post # noqa: E501 - - Login with AWS Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_aws_auth_login_post_with_http_info(api_v1_auth_aws_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_aws_auth_login_post_request: (required) - :type api_v1_auth_aws_auth_login_post_request: ApiV1AuthAwsAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_auth_aws_auth_login_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_aws_auth_login_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_aws_auth_login_post_request'] is not None: - _body_params = _params['api_v1_auth_aws_auth_login_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/aws-auth/login', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_azure_auth_identities_identity_id_delete(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_azure_auth_identities_identity_id_delete # noqa: E501 - - Delete Azure Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_azure_auth_identities_identity_id_delete(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_azure_auth_identities_identity_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_azure_auth_identities_identity_id_delete_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_azure_auth_identities_identity_id_delete_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_azure_auth_identities_identity_id_delete # noqa: E501 - - Delete Azure Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_azure_auth_identities_identity_id_delete_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_azure_auth_identities_identity_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/azure-auth/identities/{identityId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_azure_auth_identities_identity_id_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_azure_auth_identities_identity_id_get # noqa: E501 - - Retrieve Azure Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_azure_auth_identities_identity_id_get(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_azure_auth_identities_identity_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_azure_auth_identities_identity_id_get_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_azure_auth_identities_identity_id_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_azure_auth_identities_identity_id_get # noqa: E501 - - Retrieve Azure Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_azure_auth_identities_identity_id_get_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_azure_auth_identities_identity_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/azure-auth/identities/{identityId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_azure_auth_identities_identity_id_patch(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_azure_auth_identities_identity_id_patch_request : Optional[ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_azure_auth_identities_identity_id_patch # noqa: E501 - - Update Azure Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_azure_auth_identities_identity_id_patch(identity_id, api_v1_auth_azure_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_azure_auth_identities_identity_id_patch_request: - :type api_v1_auth_azure_auth_identities_identity_id_patch_request: ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_azure_auth_identities_identity_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_azure_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_azure_auth_identities_identity_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_azure_auth_identities_identity_id_patch_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_azure_auth_identities_identity_id_patch_request : Optional[ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_azure_auth_identities_identity_id_patch # noqa: E501 - - Update Azure Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_azure_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_azure_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_azure_auth_identities_identity_id_patch_request: - :type api_v1_auth_azure_auth_identities_identity_id_patch_request: ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_azure_auth_identities_identity_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_azure_auth_identities_identity_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_azure_auth_identities_identity_id_patch_request'] is not None: - _body_params = _params['api_v1_auth_azure_auth_identities_identity_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/azure-auth/identities/{identityId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_azure_auth_identities_identity_id_post(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to login.")], api_v1_auth_azure_auth_identities_identity_id_post_request : ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest, **kwargs) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_azure_auth_identities_identity_id_post # noqa: E501 - - Attach Azure Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_azure_auth_identities_identity_id_post(identity_id, api_v1_auth_azure_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to login. (required) - :type identity_id: str - :param api_v1_auth_azure_auth_identities_identity_id_post_request: (required) - :type api_v1_auth_azure_auth_identities_identity_id_post_request: ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_azure_auth_identities_identity_id_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_azure_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_azure_auth_identities_identity_id_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_azure_auth_identities_identity_id_post_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to login.")], api_v1_auth_azure_auth_identities_identity_id_post_request : ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_azure_auth_identities_identity_id_post # noqa: E501 - - Attach Azure Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_azure_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_azure_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to login. (required) - :type identity_id: str - :param api_v1_auth_azure_auth_identities_identity_id_post_request: (required) - :type api_v1_auth_azure_auth_identities_identity_id_post_request: ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_azure_auth_identities_identity_id_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_azure_auth_identities_identity_id_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_azure_auth_identities_identity_id_post_request'] is not None: - _body_params = _params['api_v1_auth_azure_auth_identities_identity_id_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/azure-auth/identities/{identityId}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_azure_auth_login_post(self, api_v1_auth_kubernetes_auth_login_post_request : ApiV1AuthKubernetesAuthLoginPostRequest, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: # noqa: E501 - """api_v1_auth_azure_auth_login_post # noqa: E501 - - Login with Azure Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_azure_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_kubernetes_auth_login_post_request: (required) - :type api_v1_auth_kubernetes_auth_login_post_request: ApiV1AuthKubernetesAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_azure_auth_login_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_azure_auth_login_post_with_http_info(api_v1_auth_kubernetes_auth_login_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_azure_auth_login_post_with_http_info(self, api_v1_auth_kubernetes_auth_login_post_request : ApiV1AuthKubernetesAuthLoginPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_azure_auth_login_post # noqa: E501 - - Login with Azure Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_azure_auth_login_post_with_http_info(api_v1_auth_kubernetes_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_kubernetes_auth_login_post_request: (required) - :type api_v1_auth_kubernetes_auth_login_post_request: ApiV1AuthKubernetesAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_auth_kubernetes_auth_login_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_azure_auth_login_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_kubernetes_auth_login_post_request'] is not None: - _body_params = _params['api_v1_auth_kubernetes_auth_login_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/azure-auth/login', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_check_auth_post(self, **kwargs) -> ApiV1AuthCheckAuthPost200Response: # noqa: E501 - """api_v1_auth_check_auth_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_check_auth_post(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthCheckAuthPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_check_auth_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_check_auth_post_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_check_auth_post_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_check_auth_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_check_auth_post_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthCheckAuthPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_check_auth_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthCheckAuthPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/checkAuth', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_gcp_auth_identities_identity_id_delete(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_gcp_auth_identities_identity_id_delete # noqa: E501 - - Delete GCP Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_gcp_auth_identities_identity_id_delete(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_gcp_auth_identities_identity_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_gcp_auth_identities_identity_id_delete_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_gcp_auth_identities_identity_id_delete_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_gcp_auth_identities_identity_id_delete # noqa: E501 - - Delete GCP Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_gcp_auth_identities_identity_id_delete_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_gcp_auth_identities_identity_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/gcp-auth/identities/{identityId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_gcp_auth_identities_identity_id_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_gcp_auth_identities_identity_id_get # noqa: E501 - - Retrieve GCP Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_gcp_auth_identities_identity_id_get(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_gcp_auth_identities_identity_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_gcp_auth_identities_identity_id_get_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_gcp_auth_identities_identity_id_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_gcp_auth_identities_identity_id_get # noqa: E501 - - Retrieve GCP Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_gcp_auth_identities_identity_id_get_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_gcp_auth_identities_identity_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/gcp-auth/identities/{identityId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_gcp_auth_identities_identity_id_patch(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_gcp_auth_identities_identity_id_patch_request : Optional[ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_gcp_auth_identities_identity_id_patch # noqa: E501 - - Update GCP Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_gcp_auth_identities_identity_id_patch(identity_id, api_v1_auth_gcp_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_gcp_auth_identities_identity_id_patch_request: - :type api_v1_auth_gcp_auth_identities_identity_id_patch_request: ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_gcp_auth_identities_identity_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_gcp_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_gcp_auth_identities_identity_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_gcp_auth_identities_identity_id_patch_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_gcp_auth_identities_identity_id_patch_request : Optional[ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_gcp_auth_identities_identity_id_patch # noqa: E501 - - Update GCP Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_gcp_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_gcp_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_gcp_auth_identities_identity_id_patch_request: - :type api_v1_auth_gcp_auth_identities_identity_id_patch_request: ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_gcp_auth_identities_identity_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_gcp_auth_identities_identity_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_gcp_auth_identities_identity_id_patch_request'] is not None: - _body_params = _params['api_v1_auth_gcp_auth_identities_identity_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/gcp-auth/identities/{identityId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_gcp_auth_identities_identity_id_post(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_gcp_auth_identities_identity_id_post_request : ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest, **kwargs) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_gcp_auth_identities_identity_id_post # noqa: E501 - - Attach GCP Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_gcp_auth_identities_identity_id_post(identity_id, api_v1_auth_gcp_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_gcp_auth_identities_identity_id_post_request: (required) - :type api_v1_auth_gcp_auth_identities_identity_id_post_request: ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_gcp_auth_identities_identity_id_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_gcp_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_gcp_auth_identities_identity_id_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_gcp_auth_identities_identity_id_post_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_gcp_auth_identities_identity_id_post_request : ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_gcp_auth_identities_identity_id_post # noqa: E501 - - Attach GCP Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_gcp_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_gcp_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_gcp_auth_identities_identity_id_post_request: (required) - :type api_v1_auth_gcp_auth_identities_identity_id_post_request: ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_gcp_auth_identities_identity_id_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_gcp_auth_identities_identity_id_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_gcp_auth_identities_identity_id_post_request'] is not None: - _body_params = _params['api_v1_auth_gcp_auth_identities_identity_id_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/gcp-auth/identities/{identityId}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_gcp_auth_login_post(self, api_v1_auth_kubernetes_auth_login_post_request : ApiV1AuthKubernetesAuthLoginPostRequest, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: # noqa: E501 - """api_v1_auth_gcp_auth_login_post # noqa: E501 - - Login with GCP Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_gcp_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_kubernetes_auth_login_post_request: (required) - :type api_v1_auth_kubernetes_auth_login_post_request: ApiV1AuthKubernetesAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_gcp_auth_login_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_gcp_auth_login_post_with_http_info(api_v1_auth_kubernetes_auth_login_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_gcp_auth_login_post_with_http_info(self, api_v1_auth_kubernetes_auth_login_post_request : ApiV1AuthKubernetesAuthLoginPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_gcp_auth_login_post # noqa: E501 - - Login with GCP Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_gcp_auth_login_post_with_http_info(api_v1_auth_kubernetes_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_kubernetes_auth_login_post_request: (required) - :type api_v1_auth_kubernetes_auth_login_post_request: ApiV1AuthKubernetesAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_auth_kubernetes_auth_login_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_gcp_auth_login_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_kubernetes_auth_login_post_request'] is not None: - _body_params = _params['api_v1_auth_kubernetes_auth_login_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/gcp-auth/login', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_kubernetes_auth_identities_identity_id_delete(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response: # noqa: E501 - """api_v1_auth_kubernetes_auth_identities_identity_id_delete # noqa: E501 - - Delete Kubernetes Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_kubernetes_auth_identities_identity_id_delete(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_kubernetes_auth_identities_identity_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_kubernetes_auth_identities_identity_id_delete_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_kubernetes_auth_identities_identity_id_delete_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_kubernetes_auth_identities_identity_id_delete # noqa: E501 - - Delete Kubernetes Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_kubernetes_auth_identities_identity_id_delete_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_kubernetes_auth_identities_identity_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/kubernetes-auth/identities/{identityId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_kubernetes_auth_identities_identity_id_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_kubernetes_auth_identities_identity_id_get # noqa: E501 - - Retrieve Kubernetes Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_kubernetes_auth_identities_identity_id_get(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_kubernetes_auth_identities_identity_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_kubernetes_auth_identities_identity_id_get_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_kubernetes_auth_identities_identity_id_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_kubernetes_auth_identities_identity_id_get # noqa: E501 - - Retrieve Kubernetes Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_kubernetes_auth_identities_identity_id_get_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_kubernetes_auth_identities_identity_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/kubernetes-auth/identities/{identityId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_kubernetes_auth_identities_identity_id_patch(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_kubernetes_auth_identities_identity_id_patch_request : Optional[ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_kubernetes_auth_identities_identity_id_patch # noqa: E501 - - Update Kubernetes Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_kubernetes_auth_identities_identity_id_patch(identity_id, api_v1_auth_kubernetes_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_kubernetes_auth_identities_identity_id_patch_request: - :type api_v1_auth_kubernetes_auth_identities_identity_id_patch_request: ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_kubernetes_auth_identities_identity_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_kubernetes_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_kubernetes_auth_identities_identity_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_kubernetes_auth_identities_identity_id_patch_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_kubernetes_auth_identities_identity_id_patch_request : Optional[ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_kubernetes_auth_identities_identity_id_patch # noqa: E501 - - Update Kubernetes Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_kubernetes_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_kubernetes_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_kubernetes_auth_identities_identity_id_patch_request: - :type api_v1_auth_kubernetes_auth_identities_identity_id_patch_request: ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_kubernetes_auth_identities_identity_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_kubernetes_auth_identities_identity_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_kubernetes_auth_identities_identity_id_patch_request'] is not None: - _body_params = _params['api_v1_auth_kubernetes_auth_identities_identity_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/kubernetes-auth/identities/{identityId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_kubernetes_auth_identities_identity_id_post(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_kubernetes_auth_identities_identity_id_post_request : ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest, **kwargs) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_kubernetes_auth_identities_identity_id_post # noqa: E501 - - Attach Kubernetes Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_kubernetes_auth_identities_identity_id_post(identity_id, api_v1_auth_kubernetes_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_kubernetes_auth_identities_identity_id_post_request: (required) - :type api_v1_auth_kubernetes_auth_identities_identity_id_post_request: ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_kubernetes_auth_identities_identity_id_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_kubernetes_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_kubernetes_auth_identities_identity_id_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_kubernetes_auth_identities_identity_id_post_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_kubernetes_auth_identities_identity_id_post_request : ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_kubernetes_auth_identities_identity_id_post # noqa: E501 - - Attach Kubernetes Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_kubernetes_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_kubernetes_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_kubernetes_auth_identities_identity_id_post_request: (required) - :type api_v1_auth_kubernetes_auth_identities_identity_id_post_request: ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_kubernetes_auth_identities_identity_id_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_kubernetes_auth_identities_identity_id_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_kubernetes_auth_identities_identity_id_post_request'] is not None: - _body_params = _params['api_v1_auth_kubernetes_auth_identities_identity_id_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/kubernetes-auth/identities/{identityId}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_kubernetes_auth_login_post(self, api_v1_auth_kubernetes_auth_login_post_request : ApiV1AuthKubernetesAuthLoginPostRequest, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: # noqa: E501 - """api_v1_auth_kubernetes_auth_login_post # noqa: E501 - - Login with Kubernetes Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_kubernetes_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_kubernetes_auth_login_post_request: (required) - :type api_v1_auth_kubernetes_auth_login_post_request: ApiV1AuthKubernetesAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_kubernetes_auth_login_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_kubernetes_auth_login_post_with_http_info(api_v1_auth_kubernetes_auth_login_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_kubernetes_auth_login_post_with_http_info(self, api_v1_auth_kubernetes_auth_login_post_request : ApiV1AuthKubernetesAuthLoginPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_kubernetes_auth_login_post # noqa: E501 - - Login with Kubernetes Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_kubernetes_auth_login_post_with_http_info(api_v1_auth_kubernetes_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_kubernetes_auth_login_post_request: (required) - :type api_v1_auth_kubernetes_auth_login_post_request: ApiV1AuthKubernetesAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_auth_kubernetes_auth_login_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_kubernetes_auth_login_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_kubernetes_auth_login_post_request'] is not None: - _body_params = _params['api_v1_auth_kubernetes_auth_login_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/kubernetes-auth/login', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_logout_post(self, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v1_auth_logout_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_logout_post(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_logout_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_logout_post_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_logout_post_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_logout_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_logout_post_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_logout_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/logout', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_oidc_auth_identities_identity_id_delete(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response: # noqa: E501 - """api_v1_auth_oidc_auth_identities_identity_id_delete # noqa: E501 - - Delete OIDC Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_oidc_auth_identities_identity_id_delete(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_oidc_auth_identities_identity_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_oidc_auth_identities_identity_id_delete_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_oidc_auth_identities_identity_id_delete_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_oidc_auth_identities_identity_id_delete # noqa: E501 - - Delete OIDC Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_oidc_auth_identities_identity_id_delete_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_oidc_auth_identities_identity_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/oidc-auth/identities/{identityId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_oidc_auth_identities_identity_id_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_oidc_auth_identities_identity_id_get # noqa: E501 - - Retrieve OIDC Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_oidc_auth_identities_identity_id_get(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_oidc_auth_identities_identity_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_oidc_auth_identities_identity_id_get_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_oidc_auth_identities_identity_id_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_oidc_auth_identities_identity_id_get # noqa: E501 - - Retrieve OIDC Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_oidc_auth_identities_identity_id_get_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_oidc_auth_identities_identity_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/oidc-auth/identities/{identityId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_oidc_auth_identities_identity_id_patch(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_oidc_auth_identities_identity_id_patch_request : Optional[ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_oidc_auth_identities_identity_id_patch # noqa: E501 - - Update OIDC Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_oidc_auth_identities_identity_id_patch(identity_id, api_v1_auth_oidc_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_oidc_auth_identities_identity_id_patch_request: - :type api_v1_auth_oidc_auth_identities_identity_id_patch_request: ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_oidc_auth_identities_identity_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_oidc_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_oidc_auth_identities_identity_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_oidc_auth_identities_identity_id_patch_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_oidc_auth_identities_identity_id_patch_request : Optional[ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_oidc_auth_identities_identity_id_patch # noqa: E501 - - Update OIDC Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_oidc_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_oidc_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_oidc_auth_identities_identity_id_patch_request: - :type api_v1_auth_oidc_auth_identities_identity_id_patch_request: ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_oidc_auth_identities_identity_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_oidc_auth_identities_identity_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_oidc_auth_identities_identity_id_patch_request'] is not None: - _body_params = _params['api_v1_auth_oidc_auth_identities_identity_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/oidc-auth/identities/{identityId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_oidc_auth_identities_identity_id_post(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_oidc_auth_identities_identity_id_post_request : ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest, **kwargs) -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_oidc_auth_identities_identity_id_post # noqa: E501 - - Attach OIDC Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_oidc_auth_identities_identity_id_post(identity_id, api_v1_auth_oidc_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_oidc_auth_identities_identity_id_post_request: (required) - :type api_v1_auth_oidc_auth_identities_identity_id_post_request: ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_oidc_auth_identities_identity_id_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_oidc_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_oidc_auth_identities_identity_id_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_oidc_auth_identities_identity_id_post_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_oidc_auth_identities_identity_id_post_request : ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_oidc_auth_identities_identity_id_post # noqa: E501 - - Attach OIDC Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_oidc_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_oidc_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_oidc_auth_identities_identity_id_post_request: (required) - :type api_v1_auth_oidc_auth_identities_identity_id_post_request: ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_oidc_auth_identities_identity_id_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_oidc_auth_identities_identity_id_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_oidc_auth_identities_identity_id_post_request'] is not None: - _body_params = _params['api_v1_auth_oidc_auth_identities_identity_id_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/oidc-auth/identities/{identityId}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_oidc_auth_login_post(self, api_v1_auth_kubernetes_auth_login_post_request : ApiV1AuthKubernetesAuthLoginPostRequest, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: # noqa: E501 - """api_v1_auth_oidc_auth_login_post # noqa: E501 - - Login with OIDC Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_oidc_auth_login_post(api_v1_auth_kubernetes_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_kubernetes_auth_login_post_request: (required) - :type api_v1_auth_kubernetes_auth_login_post_request: ApiV1AuthKubernetesAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_oidc_auth_login_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_oidc_auth_login_post_with_http_info(api_v1_auth_kubernetes_auth_login_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_oidc_auth_login_post_with_http_info(self, api_v1_auth_kubernetes_auth_login_post_request : ApiV1AuthKubernetesAuthLoginPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_oidc_auth_login_post # noqa: E501 - - Login with OIDC Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_oidc_auth_login_post_with_http_info(api_v1_auth_kubernetes_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_kubernetes_auth_login_post_request: (required) - :type api_v1_auth_kubernetes_auth_login_post_request: ApiV1AuthKubernetesAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_auth_kubernetes_auth_login_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_oidc_auth_login_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_kubernetes_auth_login_post_request'] is not None: - _body_params = _params['api_v1_auth_kubernetes_auth_login_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/oidc-auth/login', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_delete(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_delete # noqa: E501 - - Delete Token Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_delete(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_auth_identities_identity_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_auth_identities_identity_id_delete_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_delete_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_delete # noqa: E501 - - Delete Token Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_delete_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_auth_identities_identity_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token-auth/identities/{identityId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_get # noqa: E501 - - Retrieve Token Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_get(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_auth_identities_identity_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_auth_identities_identity_id_get_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_get # noqa: E501 - - Retrieve Token Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_get_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_auth_identities_identity_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token-auth/identities/{identityId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_patch(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_token_auth_identities_identity_id_patch_request : Optional[ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_patch # noqa: E501 - - Update Token Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_patch(identity_id, api_v1_auth_token_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_token_auth_identities_identity_id_patch_request: - :type api_v1_auth_token_auth_identities_identity_id_patch_request: ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_auth_identities_identity_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_token_auth_identities_identity_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_patch_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_token_auth_identities_identity_id_patch_request : Optional[ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_patch # noqa: E501 - - Update Token Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_token_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_token_auth_identities_identity_id_patch_request: - :type api_v1_auth_token_auth_identities_identity_id_patch_request: ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_token_auth_identities_identity_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_auth_identities_identity_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_token_auth_identities_identity_id_patch_request'] is not None: - _body_params = _params['api_v1_auth_token_auth_identities_identity_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token-auth/identities/{identityId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_post(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_token_auth_identities_identity_id_post_request : Optional[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest] = None, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_post # noqa: E501 - - Attach Token Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_post(identity_id, api_v1_auth_token_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_token_auth_identities_identity_id_post_request: - :type api_v1_auth_token_auth_identities_identity_id_post_request: ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_auth_identities_identity_id_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_token_auth_identities_identity_id_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_post_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_token_auth_identities_identity_id_post_request : Optional[ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_post # noqa: E501 - - Attach Token Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_token_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_token_auth_identities_identity_id_post_request: - :type api_v1_auth_token_auth_identities_identity_id_post_request: ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_token_auth_identities_identity_id_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_auth_identities_identity_id_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_token_auth_identities_identity_id_post_request'] is not None: - _body_params = _params['api_v1_auth_token_auth_identities_identity_id_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token-auth/identities/{identityId}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_tokens_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to list token metadata for.")], offset : Annotated[Optional[Union[confloat(le=100, ge=0, strict=True), conint(le=100.0, ge=0.0, strict=True)]], Field(description="The offset to start from. If you enter 10, it will start from the 10th token.")] = None, limit : Annotated[Optional[Union[confloat(le=100, ge=1, strict=True), conint(le=100.0, ge=1.0, strict=True)]], Field(description="The number of tokens to return")] = None, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_tokens_get # noqa: E501 - - Get tokens for identity with Token Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_tokens_get(identity_id, offset, limit, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to list token metadata for. (required) - :type identity_id: str - :param offset: The offset to start from. If you enter 10, it will start from the 10th token. - :type offset: float - :param limit: The number of tokens to return - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_auth_identities_identity_id_tokens_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_auth_identities_identity_id_tokens_get_with_http_info(identity_id, offset, limit, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_tokens_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to list token metadata for.")], offset : Annotated[Optional[Union[confloat(le=100, ge=0, strict=True), conint(le=100.0, ge=0.0, strict=True)]], Field(description="The offset to start from. If you enter 10, it will start from the 10th token.")] = None, limit : Annotated[Optional[Union[confloat(le=100, ge=1, strict=True), conint(le=100.0, ge=1.0, strict=True)]], Field(description="The number of tokens to return")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_tokens_get # noqa: E501 - - Get tokens for identity with Token Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_tokens_get_with_http_info(identity_id, offset, limit, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to list token metadata for. (required) - :type identity_id: str - :param offset: The offset to start from. If you enter 10, it will start from the 10th token. - :type offset: float - :param limit: The number of tokens to return - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'offset', - 'limit' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_auth_identities_identity_id_tokens_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token-auth/identities/{identityId}/tokens', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_tokens_post(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to create the token for.")], api_v1_auth_token_auth_identities_identity_id_tokens_post_request : Optional[ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest] = None, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_tokens_post # noqa: E501 - - Create token for identity with Token Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_tokens_post(identity_id, api_v1_auth_token_auth_identities_identity_id_tokens_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to create the token for. (required) - :type identity_id: str - :param api_v1_auth_token_auth_identities_identity_id_tokens_post_request: - :type api_v1_auth_token_auth_identities_identity_id_tokens_post_request: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_auth_identities_identity_id_tokens_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_auth_identities_identity_id_tokens_post_with_http_info(identity_id, api_v1_auth_token_auth_identities_identity_id_tokens_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_auth_identities_identity_id_tokens_post_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to create the token for.")], api_v1_auth_token_auth_identities_identity_id_tokens_post_request : Optional[ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_auth_identities_identity_id_tokens_post # noqa: E501 - - Create token for identity with Token Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_identities_identity_id_tokens_post_with_http_info(identity_id, api_v1_auth_token_auth_identities_identity_id_tokens_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to create the token for. (required) - :type identity_id: str - :param api_v1_auth_token_auth_identities_identity_id_tokens_post_request: - :type api_v1_auth_token_auth_identities_identity_id_tokens_post_request: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_token_auth_identities_identity_id_tokens_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_auth_identities_identity_id_tokens_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_token_auth_identities_identity_id_tokens_post_request'] is not None: - _body_params = _params['api_v1_auth_token_auth_identities_identity_id_tokens_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token-auth/identities/{identityId}/tokens', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_auth_tokens_token_id_patch(self, token_id : Annotated[StrictStr, Field(..., description="The ID of the token to update metadata for")], api_v1_auth_token_auth_tokens_token_id_patch_request : Optional[ApiV1AuthTokenAuthTokensTokenIdPatchRequest] = None, **kwargs) -> ApiV1AuthTokenAuthTokensTokenIdPatch200Response: # noqa: E501 - """api_v1_auth_token_auth_tokens_token_id_patch # noqa: E501 - - Update token for identity with Token Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_tokens_token_id_patch(token_id, api_v1_auth_token_auth_tokens_token_id_patch_request, async_req=True) - >>> result = thread.get() - - :param token_id: The ID of the token to update metadata for (required) - :type token_id: str - :param api_v1_auth_token_auth_tokens_token_id_patch_request: - :type api_v1_auth_token_auth_tokens_token_id_patch_request: ApiV1AuthTokenAuthTokensTokenIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthTokensTokenIdPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_auth_tokens_token_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_auth_tokens_token_id_patch_with_http_info(token_id, api_v1_auth_token_auth_tokens_token_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_auth_tokens_token_id_patch_with_http_info(self, token_id : Annotated[StrictStr, Field(..., description="The ID of the token to update metadata for")], api_v1_auth_token_auth_tokens_token_id_patch_request : Optional[ApiV1AuthTokenAuthTokensTokenIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_auth_tokens_token_id_patch # noqa: E501 - - Update token for identity with Token Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_tokens_token_id_patch_with_http_info(token_id, api_v1_auth_token_auth_tokens_token_id_patch_request, async_req=True) - >>> result = thread.get() - - :param token_id: The ID of the token to update metadata for (required) - :type token_id: str - :param api_v1_auth_token_auth_tokens_token_id_patch_request: - :type api_v1_auth_token_auth_tokens_token_id_patch_request: ApiV1AuthTokenAuthTokensTokenIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthTokensTokenIdPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'token_id', - 'api_v1_auth_token_auth_tokens_token_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_auth_tokens_token_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['token_id'] is not None: - _path_params['tokenId'] = _params['token_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_token_auth_tokens_token_id_patch_request'] is not None: - _body_params = _params['api_v1_auth_token_auth_tokens_token_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthTokensTokenIdPatch200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token-auth/tokens/{tokenId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_auth_tokens_token_id_revoke_post(self, token_id : Annotated[StrictStr, Field(..., description="The ID of the token to revoke")], **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v1_auth_token_auth_tokens_token_id_revoke_post # noqa: E501 - - Revoke token for identity with Token Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_tokens_token_id_revoke_post(token_id, async_req=True) - >>> result = thread.get() - - :param token_id: The ID of the token to revoke (required) - :type token_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_auth_tokens_token_id_revoke_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_auth_tokens_token_id_revoke_post_with_http_info(token_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_auth_tokens_token_id_revoke_post_with_http_info(self, token_id : Annotated[StrictStr, Field(..., description="The ID of the token to revoke")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_auth_tokens_token_id_revoke_post # noqa: E501 - - Revoke token for identity with Token Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_auth_tokens_token_id_revoke_post_with_http_info(token_id, async_req=True) - >>> result = thread.get() - - :param token_id: The ID of the token to revoke (required) - :type token_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'token_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_auth_tokens_token_id_revoke_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['token_id'] is not None: - _path_params['tokenId'] = _params['token_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token-auth/tokens/{tokenId}/revoke', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_post(self, **kwargs) -> ApiV1AuthTokenPost200Response: # noqa: E501 - """api_v1_auth_token_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_post(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_post_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_post_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_post_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_renew_post(self, api_v1_auth_token_renew_post_request : ApiV1AuthTokenRenewPostRequest, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: # noqa: E501 - """api_v1_auth_token_renew_post # noqa: E501 - - Renew access token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_renew_post(api_v1_auth_token_renew_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_token_renew_post_request: (required) - :type api_v1_auth_token_renew_post_request: ApiV1AuthTokenRenewPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_renew_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_renew_post_with_http_info(api_v1_auth_token_renew_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_renew_post_with_http_info(self, api_v1_auth_token_renew_post_request : ApiV1AuthTokenRenewPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_renew_post # noqa: E501 - - Renew access token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_renew_post_with_http_info(api_v1_auth_token_renew_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_token_renew_post_request: (required) - :type api_v1_auth_token_renew_post_request: ApiV1AuthTokenRenewPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_auth_token_renew_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_renew_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_token_renew_post_request'] is not None: - _body_params = _params['api_v1_auth_token_renew_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token/renew', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_token_revoke_post(self, api_v1_auth_token_revoke_post_request : ApiV1AuthTokenRevokePostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v1_auth_token_revoke_post # noqa: E501 - - Revoke access token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_revoke_post(api_v1_auth_token_revoke_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_token_revoke_post_request: (required) - :type api_v1_auth_token_revoke_post_request: ApiV1AuthTokenRevokePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_token_revoke_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_token_revoke_post_with_http_info(api_v1_auth_token_revoke_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_token_revoke_post_with_http_info(self, api_v1_auth_token_revoke_post_request : ApiV1AuthTokenRevokePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_token_revoke_post # noqa: E501 - - Revoke access token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_token_revoke_post_with_http_info(api_v1_auth_token_revoke_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_token_revoke_post_request: (required) - :type api_v1_auth_token_revoke_post_request: ApiV1AuthTokenRevokePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_auth_token_revoke_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_token_revoke_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_token_revoke_post_request'] is not None: - _body_params = _params['api_v1_auth_token_revoke_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/token/revoke', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to get the client secret from.")], client_secret_id : Annotated[StrictStr, Field(..., description="The ID of the client secret to get details.")], **kwargs) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get # noqa: E501 - - Get Universal Auth Client Secret for identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get(identity_id, client_secret_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to get the client secret from. (required) - :type identity_id: str - :param client_secret_id: The ID of the client secret to get details. (required) - :type client_secret_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get_with_http_info(identity_id, client_secret_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to get the client secret from.")], client_secret_id : Annotated[StrictStr, Field(..., description="The ID of the client secret to get details.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get # noqa: E501 - - Get Universal Auth Client Secret for identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get_with_http_info(identity_id, client_secret_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to get the client secret from. (required) - :type identity_id: str - :param client_secret_id: The ID of the client secret to get details. (required) - :type client_secret_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'client_secret_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - if _params['client_secret_id'] is not None: - _path_params['clientSecretId'] = _params['client_secret_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/universal-auth/identities/{identityId}/client-secrets/{clientSecretId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the client secret from.")], client_secret_id : Annotated[StrictStr, Field(..., description="The ID of the client secret to revoke.")], **kwargs) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post # noqa: E501 - - Revoke Universal Auth Client Secrets for identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post(identity_id, client_secret_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the client secret from. (required) - :type identity_id: str - :param client_secret_id: The ID of the client secret to revoke. (required) - :type client_secret_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post_with_http_info(identity_id, client_secret_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the client secret from.")], client_secret_id : Annotated[StrictStr, Field(..., description="The ID of the client secret to revoke.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post # noqa: E501 - - Revoke Universal Auth Client Secrets for identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post_with_http_info(identity_id, client_secret_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the client secret from. (required) - :type identity_id: str - :param client_secret_id: The ID of the client secret to revoke. (required) - :type client_secret_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'client_secret_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - if _params['client_secret_id'] is not None: - _path_params['clientSecretId'] = _params['client_secret_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/universal-auth/identities/{identityId}/client-secrets/{clientSecretId}/revoke', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_client_secrets_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to list client secrets for.")], **kwargs) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_client_secrets_get # noqa: E501 - - List Universal Auth Client Secrets for identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to list client secrets for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_universal_auth_identities_identity_id_client_secrets_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_client_secrets_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to list client secrets for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_client_secrets_get # noqa: E501 - - List Universal Auth Client Secrets for identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to list client secrets for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_universal_auth_identities_identity_id_client_secrets_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/universal-auth/identities/{identityId}/client-secrets', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_client_secrets_post(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to create a client secret for.")], api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request : Optional[ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest] = None, **kwargs) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_client_secrets_post # noqa: E501 - - Create Universal Auth Client Secret for identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post(identity_id, api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to create a client secret for. (required) - :type identity_id: str - :param api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request: - :type api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request: ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_with_http_info(identity_id, api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to create a client secret for.")], api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request : Optional[ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_client_secrets_post # noqa: E501 - - Create Universal Auth Client Secret for identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_with_http_info(identity_id, api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to create a client secret for. (required) - :type identity_id: str - :param api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request: - :type api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request: ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_universal_auth_identities_identity_id_client_secrets_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request'] is not None: - _body_params = _params['api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/universal-auth/identities/{identityId}/client-secrets', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_delete(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_delete # noqa: E501 - - Delete Universal Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_delete(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_universal_auth_identities_identity_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_universal_auth_identities_identity_id_delete_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_delete_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to revoke the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_delete # noqa: E501 - - Delete Universal Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_delete_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to revoke the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_universal_auth_identities_identity_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/universal-auth/identities/{identityId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_get # noqa: E501 - - Retrieve Universal Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_get(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_universal_auth_identities_identity_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_universal_auth_identities_identity_id_get_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to retrieve the auth method for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_get # noqa: E501 - - Retrieve Universal Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_get_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to retrieve the auth method for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_universal_auth_identities_identity_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/universal-auth/identities/{identityId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_patch(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_universal_auth_identities_identity_id_patch_request : Optional[ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_patch # noqa: E501 - - Update Universal Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_patch(identity_id, api_v1_auth_universal_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_universal_auth_identities_identity_id_patch_request: - :type api_v1_auth_universal_auth_identities_identity_id_patch_request: ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_universal_auth_identities_identity_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_universal_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_universal_auth_identities_identity_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_patch_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the auth method for.")], api_v1_auth_universal_auth_identities_identity_id_patch_request : Optional[ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_patch # noqa: E501 - - Update Universal Auth configuration on identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_patch_with_http_info(identity_id, api_v1_auth_universal_auth_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update the auth method for. (required) - :type identity_id: str - :param api_v1_auth_universal_auth_identities_identity_id_patch_request: - :type api_v1_auth_universal_auth_identities_identity_id_patch_request: ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_universal_auth_identities_identity_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_universal_auth_identities_identity_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_universal_auth_identities_identity_id_patch_request'] is not None: - _body_params = _params['api_v1_auth_universal_auth_identities_identity_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/universal-auth/identities/{identityId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_post(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_universal_auth_identities_identity_id_post_request : Optional[ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest] = None, **kwargs) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_post # noqa: E501 - - Attach Universal Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_post(identity_id, api_v1_auth_universal_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_universal_auth_identities_identity_id_post_request: - :type api_v1_auth_universal_auth_identities_identity_id_post_request: ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_universal_auth_identities_identity_id_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_universal_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_universal_auth_identities_identity_id_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_universal_auth_identities_identity_id_post_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to attach the configuration onto.")], api_v1_auth_universal_auth_identities_identity_id_post_request : Optional[ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_universal_auth_identities_identity_id_post # noqa: E501 - - Attach Universal Auth configuration onto identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_identities_identity_id_post_with_http_info(identity_id, api_v1_auth_universal_auth_identities_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to attach the configuration onto. (required) - :type identity_id: str - :param api_v1_auth_universal_auth_identities_identity_id_post_request: - :type api_v1_auth_universal_auth_identities_identity_id_post_request: ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_auth_universal_auth_identities_identity_id_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_universal_auth_identities_identity_id_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_universal_auth_identities_identity_id_post_request'] is not None: - _body_params = _params['api_v1_auth_universal_auth_identities_identity_id_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/universal-auth/identities/{identityId}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_auth_universal_auth_login_post(self, api_v1_auth_universal_auth_login_post_request : ApiV1AuthUniversalAuthLoginPostRequest, **kwargs) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: # noqa: E501 - """api_v1_auth_universal_auth_login_post # noqa: E501 - - Login with Universal Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_login_post(api_v1_auth_universal_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_universal_auth_login_post_request: (required) - :type api_v1_auth_universal_auth_login_post_request: ApiV1AuthUniversalAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_auth_universal_auth_login_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_auth_universal_auth_login_post_with_http_info(api_v1_auth_universal_auth_login_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_auth_universal_auth_login_post_with_http_info(self, api_v1_auth_universal_auth_login_post_request : ApiV1AuthUniversalAuthLoginPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_auth_universal_auth_login_post # noqa: E501 - - Login with Universal Auth # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_auth_universal_auth_login_post_with_http_info(api_v1_auth_universal_auth_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_auth_universal_auth_login_post_request: (required) - :type api_v1_auth_universal_auth_login_post_request: ApiV1AuthUniversalAuthLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_auth_universal_auth_login_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_auth_universal_auth_login_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_auth_universal_auth_login_post_request'] is not None: - _body_params = _params['api_v1_auth_universal_auth_login_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response", - } - - return self.api_client.call_api( - '/api/v1/auth/universal-auth/login', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_bot_bot_id_active_patch(self, bot_id : StrictStr, api_v1_bot_bot_id_active_patch_request : ApiV1BotBotIdActivePatchRequest, **kwargs) -> ApiV1BotProjectIdGet200Response: # noqa: E501 - """api_v1_bot_bot_id_active_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_bot_bot_id_active_patch(bot_id, api_v1_bot_bot_id_active_patch_request, async_req=True) - >>> result = thread.get() - - :param bot_id: (required) - :type bot_id: str - :param api_v1_bot_bot_id_active_patch_request: (required) - :type api_v1_bot_bot_id_active_patch_request: ApiV1BotBotIdActivePatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1BotProjectIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_bot_bot_id_active_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_bot_bot_id_active_patch_with_http_info(bot_id, api_v1_bot_bot_id_active_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_bot_bot_id_active_patch_with_http_info(self, bot_id : StrictStr, api_v1_bot_bot_id_active_patch_request : ApiV1BotBotIdActivePatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_bot_bot_id_active_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_bot_bot_id_active_patch_with_http_info(bot_id, api_v1_bot_bot_id_active_patch_request, async_req=True) - >>> result = thread.get() - - :param bot_id: (required) - :type bot_id: str - :param api_v1_bot_bot_id_active_patch_request: (required) - :type api_v1_bot_bot_id_active_patch_request: ApiV1BotBotIdActivePatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1BotProjectIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'bot_id', - 'api_v1_bot_bot_id_active_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_bot_bot_id_active_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['bot_id'] is not None: - _path_params['botId'] = _params['bot_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_bot_bot_id_active_patch_request'] is not None: - _body_params = _params['api_v1_bot_bot_id_active_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1BotProjectIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/bot/{botId}/active', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_bot_project_id_get(self, project_id : StrictStr, **kwargs) -> ApiV1BotProjectIdGet200Response: # noqa: E501 - """api_v1_bot_project_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_bot_project_id_get(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1BotProjectIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_bot_project_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_bot_project_id_get_with_http_info(project_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_bot_project_id_get_with_http_info(self, project_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_bot_project_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_bot_project_id_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1BotProjectIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_bot_project_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1BotProjectIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/bot/{projectId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_dynamic_secrets_get(self, project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project to create dynamic secret in.")], environment_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the environment to list folders from.")], path : Annotated[Optional[StrictStr], Field(description="The path to list folders from.")] = None, **kwargs) -> ApiV1DynamicSecretsGet200Response: # noqa: E501 - """api_v1_dynamic_secrets_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_get(project_slug, environment_slug, path, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to create dynamic secret in. (required) - :type project_slug: str - :param environment_slug: The slug of the environment to list folders from. (required) - :type environment_slug: str - :param path: The path to list folders from. - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1DynamicSecretsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_dynamic_secrets_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_dynamic_secrets_get_with_http_info(project_slug, environment_slug, path, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_dynamic_secrets_get_with_http_info(self, project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project to create dynamic secret in.")], environment_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the environment to list folders from.")], path : Annotated[Optional[StrictStr], Field(description="The path to list folders from.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_dynamic_secrets_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_get_with_http_info(project_slug, environment_slug, path, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to create dynamic secret in. (required) - :type project_slug: str - :param environment_slug: The slug of the environment to list folders from. (required) - :type environment_slug: str - :param path: The path to list folders from. - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1DynamicSecretsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'environment_slug', - 'path' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_dynamic_secrets_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - if _params.get('path') is not None: # noqa: E501 - _query_params.append(('path', _params['path'])) - - if _params.get('environment_slug') is not None: # noqa: E501 - _query_params.append(('environmentSlug', _params['environment_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1DynamicSecretsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/dynamic-secrets', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_dynamic_secrets_leases_lease_id_delete(self, lease_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the dynamic secret lease.")], api_v1_dynamic_secrets_leases_lease_id_delete_request : ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest, **kwargs) -> ApiV1DynamicSecretsLeasesLeaseIdDelete200Response: # noqa: E501 - """api_v1_dynamic_secrets_leases_lease_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_leases_lease_id_delete(lease_id, api_v1_dynamic_secrets_leases_lease_id_delete_request, async_req=True) - >>> result = thread.get() - - :param lease_id: The ID of the dynamic secret lease. (required) - :type lease_id: str - :param api_v1_dynamic_secrets_leases_lease_id_delete_request: (required) - :type api_v1_dynamic_secrets_leases_lease_id_delete_request: ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1DynamicSecretsLeasesLeaseIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_dynamic_secrets_leases_lease_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_dynamic_secrets_leases_lease_id_delete_with_http_info(lease_id, api_v1_dynamic_secrets_leases_lease_id_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_dynamic_secrets_leases_lease_id_delete_with_http_info(self, lease_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the dynamic secret lease.")], api_v1_dynamic_secrets_leases_lease_id_delete_request : ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_dynamic_secrets_leases_lease_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_leases_lease_id_delete_with_http_info(lease_id, api_v1_dynamic_secrets_leases_lease_id_delete_request, async_req=True) - >>> result = thread.get() - - :param lease_id: The ID of the dynamic secret lease. (required) - :type lease_id: str - :param api_v1_dynamic_secrets_leases_lease_id_delete_request: (required) - :type api_v1_dynamic_secrets_leases_lease_id_delete_request: ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1DynamicSecretsLeasesLeaseIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'lease_id', - 'api_v1_dynamic_secrets_leases_lease_id_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_dynamic_secrets_leases_lease_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['lease_id'] is not None: - _path_params['leaseId'] = _params['lease_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_dynamic_secrets_leases_lease_id_delete_request'] is not None: - _body_params = _params['api_v1_dynamic_secrets_leases_lease_id_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1DynamicSecretsLeasesLeaseIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v1/dynamic-secrets/leases/{leaseId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_dynamic_secrets_leases_lease_id_get(self, project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project to create dynamic secret in.")], environment_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the environment to list folders from.")], lease_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the dynamic secret lease.")], path : Annotated[Optional[StrictStr], Field(description="The path to list folders from.")] = None, **kwargs) -> ApiV1DynamicSecretsLeasesLeaseIdGet200Response: # noqa: E501 - """api_v1_dynamic_secrets_leases_lease_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_leases_lease_id_get(project_slug, environment_slug, lease_id, path, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to create dynamic secret in. (required) - :type project_slug: str - :param environment_slug: The slug of the environment to list folders from. (required) - :type environment_slug: str - :param lease_id: The ID of the dynamic secret lease. (required) - :type lease_id: str - :param path: The path to list folders from. - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1DynamicSecretsLeasesLeaseIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_dynamic_secrets_leases_lease_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_dynamic_secrets_leases_lease_id_get_with_http_info(project_slug, environment_slug, lease_id, path, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_dynamic_secrets_leases_lease_id_get_with_http_info(self, project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project to create dynamic secret in.")], environment_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the environment to list folders from.")], lease_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the dynamic secret lease.")], path : Annotated[Optional[StrictStr], Field(description="The path to list folders from.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_dynamic_secrets_leases_lease_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_leases_lease_id_get_with_http_info(project_slug, environment_slug, lease_id, path, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to create dynamic secret in. (required) - :type project_slug: str - :param environment_slug: The slug of the environment to list folders from. (required) - :type environment_slug: str - :param lease_id: The ID of the dynamic secret lease. (required) - :type lease_id: str - :param path: The path to list folders from. - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1DynamicSecretsLeasesLeaseIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'environment_slug', - 'lease_id', - 'path' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_dynamic_secrets_leases_lease_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['lease_id'] is not None: - _path_params['leaseId'] = _params['lease_id'] - - - # process the query parameters - _query_params = [] - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - if _params.get('path') is not None: # noqa: E501 - _query_params.append(('path', _params['path'])) - - if _params.get('environment_slug') is not None: # noqa: E501 - _query_params.append(('environmentSlug', _params['environment_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1DynamicSecretsLeasesLeaseIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/dynamic-secrets/leases/{leaseId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_dynamic_secrets_leases_lease_id_renew_post(self, lease_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the dynamic secret lease.")], api_v1_dynamic_secrets_leases_lease_id_renew_post_request : ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest, **kwargs) -> ApiV1DynamicSecretsLeasesLeaseIdDelete200Response: # noqa: E501 - """api_v1_dynamic_secrets_leases_lease_id_renew_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_leases_lease_id_renew_post(lease_id, api_v1_dynamic_secrets_leases_lease_id_renew_post_request, async_req=True) - >>> result = thread.get() - - :param lease_id: The ID of the dynamic secret lease. (required) - :type lease_id: str - :param api_v1_dynamic_secrets_leases_lease_id_renew_post_request: (required) - :type api_v1_dynamic_secrets_leases_lease_id_renew_post_request: ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1DynamicSecretsLeasesLeaseIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_dynamic_secrets_leases_lease_id_renew_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_dynamic_secrets_leases_lease_id_renew_post_with_http_info(lease_id, api_v1_dynamic_secrets_leases_lease_id_renew_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_dynamic_secrets_leases_lease_id_renew_post_with_http_info(self, lease_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the dynamic secret lease.")], api_v1_dynamic_secrets_leases_lease_id_renew_post_request : ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_dynamic_secrets_leases_lease_id_renew_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_leases_lease_id_renew_post_with_http_info(lease_id, api_v1_dynamic_secrets_leases_lease_id_renew_post_request, async_req=True) - >>> result = thread.get() - - :param lease_id: The ID of the dynamic secret lease. (required) - :type lease_id: str - :param api_v1_dynamic_secrets_leases_lease_id_renew_post_request: (required) - :type api_v1_dynamic_secrets_leases_lease_id_renew_post_request: ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1DynamicSecretsLeasesLeaseIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'lease_id', - 'api_v1_dynamic_secrets_leases_lease_id_renew_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_dynamic_secrets_leases_lease_id_renew_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['lease_id'] is not None: - _path_params['leaseId'] = _params['lease_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_dynamic_secrets_leases_lease_id_renew_post_request'] is not None: - _body_params = _params['api_v1_dynamic_secrets_leases_lease_id_renew_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1DynamicSecretsLeasesLeaseIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v1/dynamic-secrets/leases/{leaseId}/renew', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_dynamic_secrets_leases_post(self, api_v1_dynamic_secrets_leases_post_request : ApiV1DynamicSecretsLeasesPostRequest, **kwargs) -> ApiV1DynamicSecretsLeasesPost200Response: # noqa: E501 - """api_v1_dynamic_secrets_leases_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_leases_post(api_v1_dynamic_secrets_leases_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_dynamic_secrets_leases_post_request: (required) - :type api_v1_dynamic_secrets_leases_post_request: ApiV1DynamicSecretsLeasesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1DynamicSecretsLeasesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_dynamic_secrets_leases_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_dynamic_secrets_leases_post_with_http_info(api_v1_dynamic_secrets_leases_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_dynamic_secrets_leases_post_with_http_info(self, api_v1_dynamic_secrets_leases_post_request : ApiV1DynamicSecretsLeasesPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_dynamic_secrets_leases_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_leases_post_with_http_info(api_v1_dynamic_secrets_leases_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_dynamic_secrets_leases_post_request: (required) - :type api_v1_dynamic_secrets_leases_post_request: ApiV1DynamicSecretsLeasesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1DynamicSecretsLeasesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_dynamic_secrets_leases_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_dynamic_secrets_leases_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_dynamic_secrets_leases_post_request'] is not None: - _body_params = _params['api_v1_dynamic_secrets_leases_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1DynamicSecretsLeasesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/dynamic-secrets/leases', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_dynamic_secrets_name_delete(self, name : Annotated[StrictStr, Field(..., description="The name of the dynamic secret.")], api_v1_dynamic_secrets_name_delete_request : ApiV1DynamicSecretsNameDeleteRequest, **kwargs) -> ApiV1DynamicSecretsPost200Response: # noqa: E501 - """api_v1_dynamic_secrets_name_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_name_delete(name, api_v1_dynamic_secrets_name_delete_request, async_req=True) - >>> result = thread.get() - - :param name: The name of the dynamic secret. (required) - :type name: str - :param api_v1_dynamic_secrets_name_delete_request: (required) - :type api_v1_dynamic_secrets_name_delete_request: ApiV1DynamicSecretsNameDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1DynamicSecretsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_dynamic_secrets_name_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_dynamic_secrets_name_delete_with_http_info(name, api_v1_dynamic_secrets_name_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_dynamic_secrets_name_delete_with_http_info(self, name : Annotated[StrictStr, Field(..., description="The name of the dynamic secret.")], api_v1_dynamic_secrets_name_delete_request : ApiV1DynamicSecretsNameDeleteRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_dynamic_secrets_name_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_name_delete_with_http_info(name, api_v1_dynamic_secrets_name_delete_request, async_req=True) - >>> result = thread.get() - - :param name: The name of the dynamic secret. (required) - :type name: str - :param api_v1_dynamic_secrets_name_delete_request: (required) - :type api_v1_dynamic_secrets_name_delete_request: ApiV1DynamicSecretsNameDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1DynamicSecretsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'name', - 'api_v1_dynamic_secrets_name_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_dynamic_secrets_name_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['name'] is not None: - _path_params['name'] = _params['name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_dynamic_secrets_name_delete_request'] is not None: - _body_params = _params['api_v1_dynamic_secrets_name_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1DynamicSecretsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/dynamic-secrets/{name}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_dynamic_secrets_name_get(self, project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project to create dynamic secret in.")], environment_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the environment to list folders from.")], name : Annotated[constr(strict=True, min_length=1), Field(..., description="The name of the dynamic secret.")], path : Annotated[Optional[StrictStr], Field(description="The path to list folders from.")] = None, **kwargs) -> ApiV1DynamicSecretsNameGet200Response: # noqa: E501 - """api_v1_dynamic_secrets_name_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_name_get(project_slug, environment_slug, name, path, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to create dynamic secret in. (required) - :type project_slug: str - :param environment_slug: The slug of the environment to list folders from. (required) - :type environment_slug: str - :param name: The name of the dynamic secret. (required) - :type name: str - :param path: The path to list folders from. - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1DynamicSecretsNameGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_dynamic_secrets_name_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_dynamic_secrets_name_get_with_http_info(project_slug, environment_slug, name, path, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_dynamic_secrets_name_get_with_http_info(self, project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project to create dynamic secret in.")], environment_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the environment to list folders from.")], name : Annotated[constr(strict=True, min_length=1), Field(..., description="The name of the dynamic secret.")], path : Annotated[Optional[StrictStr], Field(description="The path to list folders from.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_dynamic_secrets_name_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_name_get_with_http_info(project_slug, environment_slug, name, path, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to create dynamic secret in. (required) - :type project_slug: str - :param environment_slug: The slug of the environment to list folders from. (required) - :type environment_slug: str - :param name: The name of the dynamic secret. (required) - :type name: str - :param path: The path to list folders from. - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1DynamicSecretsNameGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'environment_slug', - 'name', - 'path' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_dynamic_secrets_name_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['name'] is not None: - _path_params['name'] = _params['name'] - - - # process the query parameters - _query_params = [] - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - if _params.get('path') is not None: # noqa: E501 - _query_params.append(('path', _params['path'])) - - if _params.get('environment_slug') is not None: # noqa: E501 - _query_params.append(('environmentSlug', _params['environment_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1DynamicSecretsNameGet200Response", - } - - return self.api_client.call_api( - '/api/v1/dynamic-secrets/{name}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_dynamic_secrets_name_leases_get(self, project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project to create dynamic secret in.")], environment_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the environment to list folders from.")], name : Annotated[constr(strict=True, min_length=1), Field(..., description="The name of the dynamic secret.")], path : Annotated[Optional[StrictStr], Field(description="The path to list folders from.")] = None, **kwargs) -> ApiV1DynamicSecretsNameLeasesGet200Response: # noqa: E501 - """api_v1_dynamic_secrets_name_leases_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_name_leases_get(project_slug, environment_slug, name, path, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to create dynamic secret in. (required) - :type project_slug: str - :param environment_slug: The slug of the environment to list folders from. (required) - :type environment_slug: str - :param name: The name of the dynamic secret. (required) - :type name: str - :param path: The path to list folders from. - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1DynamicSecretsNameLeasesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_dynamic_secrets_name_leases_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_dynamic_secrets_name_leases_get_with_http_info(project_slug, environment_slug, name, path, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_dynamic_secrets_name_leases_get_with_http_info(self, project_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the project to create dynamic secret in.")], environment_slug : Annotated[constr(strict=True, min_length=1), Field(..., description="The slug of the environment to list folders from.")], name : Annotated[constr(strict=True, min_length=1), Field(..., description="The name of the dynamic secret.")], path : Annotated[Optional[StrictStr], Field(description="The path to list folders from.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_dynamic_secrets_name_leases_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_name_leases_get_with_http_info(project_slug, environment_slug, name, path, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to create dynamic secret in. (required) - :type project_slug: str - :param environment_slug: The slug of the environment to list folders from. (required) - :type environment_slug: str - :param name: The name of the dynamic secret. (required) - :type name: str - :param path: The path to list folders from. - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1DynamicSecretsNameLeasesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'environment_slug', - 'name', - 'path' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_dynamic_secrets_name_leases_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['name'] is not None: - _path_params['name'] = _params['name'] - - - # process the query parameters - _query_params = [] - if _params.get('project_slug') is not None: # noqa: E501 - _query_params.append(('projectSlug', _params['project_slug'])) - - if _params.get('path') is not None: # noqa: E501 - _query_params.append(('path', _params['path'])) - - if _params.get('environment_slug') is not None: # noqa: E501 - _query_params.append(('environmentSlug', _params['environment_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1DynamicSecretsNameLeasesGet200Response", - } - - return self.api_client.call_api( - '/api/v1/dynamic-secrets/{name}/leases', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_dynamic_secrets_name_patch(self, name : Annotated[StrictStr, Field(..., description="The name of the dynamic secret.")], api_v1_dynamic_secrets_name_patch_request : ApiV1DynamicSecretsNamePatchRequest, **kwargs) -> ApiV1DynamicSecretsPost200Response: # noqa: E501 - """api_v1_dynamic_secrets_name_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_name_patch(name, api_v1_dynamic_secrets_name_patch_request, async_req=True) - >>> result = thread.get() - - :param name: The name of the dynamic secret. (required) - :type name: str - :param api_v1_dynamic_secrets_name_patch_request: (required) - :type api_v1_dynamic_secrets_name_patch_request: ApiV1DynamicSecretsNamePatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1DynamicSecretsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_dynamic_secrets_name_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_dynamic_secrets_name_patch_with_http_info(name, api_v1_dynamic_secrets_name_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_dynamic_secrets_name_patch_with_http_info(self, name : Annotated[StrictStr, Field(..., description="The name of the dynamic secret.")], api_v1_dynamic_secrets_name_patch_request : ApiV1DynamicSecretsNamePatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_dynamic_secrets_name_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_name_patch_with_http_info(name, api_v1_dynamic_secrets_name_patch_request, async_req=True) - >>> result = thread.get() - - :param name: The name of the dynamic secret. (required) - :type name: str - :param api_v1_dynamic_secrets_name_patch_request: (required) - :type api_v1_dynamic_secrets_name_patch_request: ApiV1DynamicSecretsNamePatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1DynamicSecretsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'name', - 'api_v1_dynamic_secrets_name_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_dynamic_secrets_name_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['name'] is not None: - _path_params['name'] = _params['name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_dynamic_secrets_name_patch_request'] is not None: - _body_params = _params['api_v1_dynamic_secrets_name_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1DynamicSecretsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/dynamic-secrets/{name}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_dynamic_secrets_post(self, api_v1_dynamic_secrets_post_request : ApiV1DynamicSecretsPostRequest, **kwargs) -> ApiV1DynamicSecretsPost200Response: # noqa: E501 - """api_v1_dynamic_secrets_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_post(api_v1_dynamic_secrets_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_dynamic_secrets_post_request: (required) - :type api_v1_dynamic_secrets_post_request: ApiV1DynamicSecretsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1DynamicSecretsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_dynamic_secrets_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_dynamic_secrets_post_with_http_info(api_v1_dynamic_secrets_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_dynamic_secrets_post_with_http_info(self, api_v1_dynamic_secrets_post_request : ApiV1DynamicSecretsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_dynamic_secrets_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_dynamic_secrets_post_with_http_info(api_v1_dynamic_secrets_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_dynamic_secrets_post_request: (required) - :type api_v1_dynamic_secrets_post_request: ApiV1DynamicSecretsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1DynamicSecretsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_dynamic_secrets_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_dynamic_secrets_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_dynamic_secrets_post_request'] is not None: - _body_params = _params['api_v1_dynamic_secrets_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1DynamicSecretsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/dynamic-secrets', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_external_kms_get(self, **kwargs) -> ApiV1ExternalKmsGet200Response: # noqa: E501 - """api_v1_external_kms_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ExternalKmsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_external_kms_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_external_kms_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_external_kms_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_external_kms_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ExternalKmsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_external_kms_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ExternalKmsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/external-kms', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_external_kms_id_delete(self, id : constr(strict=True, min_length=1), **kwargs) -> ApiV1ExternalKmsPost200Response: # noqa: E501 - """api_v1_external_kms_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_id_delete(id, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ExternalKmsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_external_kms_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_external_kms_id_delete_with_http_info(id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_external_kms_id_delete_with_http_info(self, id : constr(strict=True, min_length=1), **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_external_kms_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_id_delete_with_http_info(id, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ExternalKmsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_external_kms_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ExternalKmsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/external-kms/{id}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_external_kms_id_get(self, id : constr(strict=True, min_length=1), **kwargs) -> ApiV1ExternalKmsIdGet200Response: # noqa: E501 - """api_v1_external_kms_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_id_get(id, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ExternalKmsIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_external_kms_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_external_kms_id_get_with_http_info(id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_external_kms_id_get_with_http_info(self, id : constr(strict=True, min_length=1), **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_external_kms_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_id_get_with_http_info(id, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ExternalKmsIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_external_kms_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ExternalKmsIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/external-kms/{id}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_external_kms_id_patch(self, id : constr(strict=True, min_length=1), api_v1_external_kms_id_patch_request : ApiV1ExternalKmsIdPatchRequest, **kwargs) -> ApiV1ExternalKmsPost200Response: # noqa: E501 - """api_v1_external_kms_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_id_patch(id, api_v1_external_kms_id_patch_request, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param api_v1_external_kms_id_patch_request: (required) - :type api_v1_external_kms_id_patch_request: ApiV1ExternalKmsIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ExternalKmsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_external_kms_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_external_kms_id_patch_with_http_info(id, api_v1_external_kms_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_external_kms_id_patch_with_http_info(self, id : constr(strict=True, min_length=1), api_v1_external_kms_id_patch_request : ApiV1ExternalKmsIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_external_kms_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_id_patch_with_http_info(id, api_v1_external_kms_id_patch_request, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param api_v1_external_kms_id_patch_request: (required) - :type api_v1_external_kms_id_patch_request: ApiV1ExternalKmsIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ExternalKmsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id', - 'api_v1_external_kms_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_external_kms_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_external_kms_id_patch_request'] is not None: - _body_params = _params['api_v1_external_kms_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ExternalKmsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/external-kms/{id}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_external_kms_post(self, api_v1_external_kms_post_request : ApiV1ExternalKmsPostRequest, **kwargs) -> ApiV1ExternalKmsPost200Response: # noqa: E501 - """api_v1_external_kms_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_post(api_v1_external_kms_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_external_kms_post_request: (required) - :type api_v1_external_kms_post_request: ApiV1ExternalKmsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ExternalKmsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_external_kms_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_external_kms_post_with_http_info(api_v1_external_kms_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_external_kms_post_with_http_info(self, api_v1_external_kms_post_request : ApiV1ExternalKmsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_external_kms_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_post_with_http_info(api_v1_external_kms_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_external_kms_post_request: (required) - :type api_v1_external_kms_post_request: ApiV1ExternalKmsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ExternalKmsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_external_kms_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_external_kms_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_external_kms_post_request'] is not None: - _body_params = _params['api_v1_external_kms_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ExternalKmsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/external-kms', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_external_kms_slug_slug_get(self, slug : constr(strict=True, min_length=1), **kwargs) -> ApiV1ExternalKmsIdGet200Response: # noqa: E501 - """api_v1_external_kms_slug_slug_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_slug_slug_get(slug, async_req=True) - >>> result = thread.get() - - :param slug: (required) - :type slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ExternalKmsIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_external_kms_slug_slug_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_external_kms_slug_slug_get_with_http_info(slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_external_kms_slug_slug_get_with_http_info(self, slug : constr(strict=True, min_length=1), **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_external_kms_slug_slug_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_external_kms_slug_slug_get_with_http_info(slug, async_req=True) - >>> result = thread.get() - - :param slug: (required) - :type slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ExternalKmsIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_external_kms_slug_slug_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ExternalKmsIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/external-kms/slug/{slug}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_folders_batch_patch(self, api_v1_folders_batch_patch_request : ApiV1FoldersBatchPatchRequest, **kwargs) -> ApiV1FoldersGet200Response: # noqa: E501 - """api_v1_folders_batch_patch # noqa: E501 - - Update folders by batch # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_batch_patch(api_v1_folders_batch_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_folders_batch_patch_request: (required) - :type api_v1_folders_batch_patch_request: ApiV1FoldersBatchPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1FoldersGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_folders_batch_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_folders_batch_patch_with_http_info(api_v1_folders_batch_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_folders_batch_patch_with_http_info(self, api_v1_folders_batch_patch_request : ApiV1FoldersBatchPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_folders_batch_patch # noqa: E501 - - Update folders by batch # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_batch_patch_with_http_info(api_v1_folders_batch_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_folders_batch_patch_request: (required) - :type api_v1_folders_batch_patch_request: ApiV1FoldersBatchPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1FoldersGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_folders_batch_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_folders_batch_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_folders_batch_patch_request'] is not None: - _body_params = _params['api_v1_folders_batch_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1FoldersGet200Response", - } - - return self.api_client.call_api( - '/api/v1/folders/batch', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_folders_folder_id_or_name_delete(self, folder_id_or_name : Annotated[StrictStr, Field(..., description="The ID or name of the folder to delete.")], api_v1_folders_folder_id_or_name_delete_request : ApiV1FoldersFolderIdOrNameDeleteRequest, **kwargs) -> ApiV1FoldersPost200Response: # noqa: E501 - """api_v1_folders_folder_id_or_name_delete # noqa: E501 - - Delete a folder # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_folder_id_or_name_delete(folder_id_or_name, api_v1_folders_folder_id_or_name_delete_request, async_req=True) - >>> result = thread.get() - - :param folder_id_or_name: The ID or name of the folder to delete. (required) - :type folder_id_or_name: str - :param api_v1_folders_folder_id_or_name_delete_request: (required) - :type api_v1_folders_folder_id_or_name_delete_request: ApiV1FoldersFolderIdOrNameDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1FoldersPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_folders_folder_id_or_name_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_folders_folder_id_or_name_delete_with_http_info(folder_id_or_name, api_v1_folders_folder_id_or_name_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_folders_folder_id_or_name_delete_with_http_info(self, folder_id_or_name : Annotated[StrictStr, Field(..., description="The ID or name of the folder to delete.")], api_v1_folders_folder_id_or_name_delete_request : ApiV1FoldersFolderIdOrNameDeleteRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_folders_folder_id_or_name_delete # noqa: E501 - - Delete a folder # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_folder_id_or_name_delete_with_http_info(folder_id_or_name, api_v1_folders_folder_id_or_name_delete_request, async_req=True) - >>> result = thread.get() - - :param folder_id_or_name: The ID or name of the folder to delete. (required) - :type folder_id_or_name: str - :param api_v1_folders_folder_id_or_name_delete_request: (required) - :type api_v1_folders_folder_id_or_name_delete_request: ApiV1FoldersFolderIdOrNameDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1FoldersPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'folder_id_or_name', - 'api_v1_folders_folder_id_or_name_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_folders_folder_id_or_name_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['folder_id_or_name'] is not None: - _path_params['folderIdOrName'] = _params['folder_id_or_name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_folders_folder_id_or_name_delete_request'] is not None: - _body_params = _params['api_v1_folders_folder_id_or_name_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1FoldersPost200Response", - } - - return self.api_client.call_api( - '/api/v1/folders/{folderIdOrName}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_folders_folder_id_patch(self, folder_id : Annotated[StrictStr, Field(..., description="The ID of the folder to update.")], api_v1_folders_folder_id_patch_request : ApiV1FoldersFolderIdPatchRequest, **kwargs) -> ApiV1FoldersPost200Response: # noqa: E501 - """api_v1_folders_folder_id_patch # noqa: E501 - - Update folder # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_folder_id_patch(folder_id, api_v1_folders_folder_id_patch_request, async_req=True) - >>> result = thread.get() - - :param folder_id: The ID of the folder to update. (required) - :type folder_id: str - :param api_v1_folders_folder_id_patch_request: (required) - :type api_v1_folders_folder_id_patch_request: ApiV1FoldersFolderIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1FoldersPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_folders_folder_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_folders_folder_id_patch_with_http_info(folder_id, api_v1_folders_folder_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_folders_folder_id_patch_with_http_info(self, folder_id : Annotated[StrictStr, Field(..., description="The ID of the folder to update.")], api_v1_folders_folder_id_patch_request : ApiV1FoldersFolderIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_folders_folder_id_patch # noqa: E501 - - Update folder # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_folder_id_patch_with_http_info(folder_id, api_v1_folders_folder_id_patch_request, async_req=True) - >>> result = thread.get() - - :param folder_id: The ID of the folder to update. (required) - :type folder_id: str - :param api_v1_folders_folder_id_patch_request: (required) - :type api_v1_folders_folder_id_patch_request: ApiV1FoldersFolderIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1FoldersPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'folder_id', - 'api_v1_folders_folder_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_folders_folder_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['folder_id'] is not None: - _path_params['folderId'] = _params['folder_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_folders_folder_id_patch_request'] is not None: - _body_params = _params['api_v1_folders_folder_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1FoldersPost200Response", - } - - return self.api_client.call_api( - '/api/v1/folders/{folderId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_folders_get(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to list folders from.")], environment : Annotated[StrictStr, Field(..., description="The slug of the environment to list folders from.")], path : Annotated[Optional[StrictStr], Field(description="The path to list folders from.")] = None, directory : Annotated[Optional[StrictStr], Field(description="The directory to list folders from. (Deprecated in favor of path)")] = None, **kwargs) -> ApiV1FoldersGet200Response: # noqa: E501 - """api_v1_folders_get # noqa: E501 - - Get folders # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_get(workspace_id, environment, path, directory, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to list folders from. (required) - :type workspace_id: str - :param environment: The slug of the environment to list folders from. (required) - :type environment: str - :param path: The path to list folders from. - :type path: str - :param directory: The directory to list folders from. (Deprecated in favor of path) - :type directory: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1FoldersGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_folders_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_folders_get_with_http_info(workspace_id, environment, path, directory, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_folders_get_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to list folders from.")], environment : Annotated[StrictStr, Field(..., description="The slug of the environment to list folders from.")], path : Annotated[Optional[StrictStr], Field(description="The path to list folders from.")] = None, directory : Annotated[Optional[StrictStr], Field(description="The directory to list folders from. (Deprecated in favor of path)")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_folders_get # noqa: E501 - - Get folders # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_get_with_http_info(workspace_id, environment, path, directory, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to list folders from. (required) - :type workspace_id: str - :param environment: The slug of the environment to list folders from. (required) - :type environment: str - :param path: The path to list folders from. - :type path: str - :param directory: The directory to list folders from. (Deprecated in favor of path) - :type directory: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1FoldersGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'environment', - 'path', - 'directory' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_folders_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('path') is not None: # noqa: E501 - _query_params.append(('path', _params['path'])) - - if _params.get('directory') is not None: # noqa: E501 - _query_params.append(('directory', _params['directory'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1FoldersGet200Response", - } - - return self.api_client.call_api( - '/api/v1/folders', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_folders_id_get(self, id : Annotated[StrictStr, Field(..., description="The id of the folder to get details.")], **kwargs) -> ApiV1FoldersPost200Response: # noqa: E501 - """api_v1_folders_id_get # noqa: E501 - - Get folder by id # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_id_get(id, async_req=True) - >>> result = thread.get() - - :param id: The id of the folder to get details. (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1FoldersPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_folders_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_folders_id_get_with_http_info(id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_folders_id_get_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The id of the folder to get details.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_folders_id_get # noqa: E501 - - Get folder by id # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_id_get_with_http_info(id, async_req=True) - >>> result = thread.get() - - :param id: The id of the folder to get details. (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1FoldersPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_folders_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1FoldersPost200Response", - } - - return self.api_client.call_api( - '/api/v1/folders/{id}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_folders_post(self, api_v1_folders_post_request : ApiV1FoldersPostRequest, **kwargs) -> ApiV1FoldersPost200Response: # noqa: E501 - """api_v1_folders_post # noqa: E501 - - Create folders # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_post(api_v1_folders_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_folders_post_request: (required) - :type api_v1_folders_post_request: ApiV1FoldersPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1FoldersPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_folders_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_folders_post_with_http_info(api_v1_folders_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_folders_post_with_http_info(self, api_v1_folders_post_request : ApiV1FoldersPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_folders_post # noqa: E501 - - Create folders # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_folders_post_with_http_info(api_v1_folders_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_folders_post_request: (required) - :type api_v1_folders_post_request: ApiV1FoldersPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1FoldersPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_folders_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_folders_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_folders_post_request'] is not None: - _body_params = _params['api_v1_folders_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1FoldersPost200Response", - } - - return self.api_client.call_api( - '/api/v1/folders', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_groups_current_slug_patch(self, current_slug : Annotated[StrictStr, Field(..., description="The current slug of the group to update.")], api_v1_groups_current_slug_patch_request : Optional[ApiV1GroupsCurrentSlugPatchRequest] = None, **kwargs) -> ApiV1GroupsPost200Response: # noqa: E501 - """api_v1_groups_current_slug_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_current_slug_patch(current_slug, api_v1_groups_current_slug_patch_request, async_req=True) - >>> result = thread.get() - - :param current_slug: The current slug of the group to update. (required) - :type current_slug: str - :param api_v1_groups_current_slug_patch_request: - :type api_v1_groups_current_slug_patch_request: ApiV1GroupsCurrentSlugPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1GroupsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_groups_current_slug_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_groups_current_slug_patch_with_http_info(current_slug, api_v1_groups_current_slug_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_groups_current_slug_patch_with_http_info(self, current_slug : Annotated[StrictStr, Field(..., description="The current slug of the group to update.")], api_v1_groups_current_slug_patch_request : Optional[ApiV1GroupsCurrentSlugPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_groups_current_slug_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_current_slug_patch_with_http_info(current_slug, api_v1_groups_current_slug_patch_request, async_req=True) - >>> result = thread.get() - - :param current_slug: The current slug of the group to update. (required) - :type current_slug: str - :param api_v1_groups_current_slug_patch_request: - :type api_v1_groups_current_slug_patch_request: ApiV1GroupsCurrentSlugPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1GroupsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'current_slug', - 'api_v1_groups_current_slug_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_groups_current_slug_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['current_slug'] is not None: - _path_params['currentSlug'] = _params['current_slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_groups_current_slug_patch_request'] is not None: - _body_params = _params['api_v1_groups_current_slug_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1GroupsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/groups/{currentSlug}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_groups_post(self, api_v1_groups_post_request : ApiV1GroupsPostRequest, **kwargs) -> ApiV1GroupsPost200Response: # noqa: E501 - """api_v1_groups_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_post(api_v1_groups_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_groups_post_request: (required) - :type api_v1_groups_post_request: ApiV1GroupsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1GroupsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_groups_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_groups_post_with_http_info(api_v1_groups_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_groups_post_with_http_info(self, api_v1_groups_post_request : ApiV1GroupsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_groups_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_post_with_http_info(api_v1_groups_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_groups_post_request: (required) - :type api_v1_groups_post_request: ApiV1GroupsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1GroupsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_groups_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_groups_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_groups_post_request'] is not None: - _body_params = _params['api_v1_groups_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1GroupsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/groups', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_groups_slug_delete(self, slug : Annotated[StrictStr, Field(..., description="The slug of the group to delete")], **kwargs) -> ApiV1GroupsPost200Response: # noqa: E501 - """api_v1_groups_slug_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_slug_delete(slug, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the group to delete (required) - :type slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1GroupsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_groups_slug_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_groups_slug_delete_with_http_info(slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_groups_slug_delete_with_http_info(self, slug : Annotated[StrictStr, Field(..., description="The slug of the group to delete")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_groups_slug_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_slug_delete_with_http_info(slug, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the group to delete (required) - :type slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1GroupsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_groups_slug_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1GroupsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/groups/{slug}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_groups_slug_users_get(self, slug : Annotated[StrictStr, Field(..., description="The slug of the group to list users for")], offset : Annotated[Optional[Union[confloat(le=100, ge=0, strict=True), conint(le=100.0, ge=0.0, strict=True)]], Field(description="The offset to start from. If you enter 10, it will start from the 10th user.")] = None, limit : Annotated[Optional[Union[confloat(le=100, ge=1, strict=True), conint(le=100.0, ge=1.0, strict=True)]], Field(description="The number of users to return.")] = None, username : Annotated[Optional[StrictStr], Field(description="The username to search for.")] = None, **kwargs) -> ApiV1GroupsSlugUsersGet200Response: # noqa: E501 - """api_v1_groups_slug_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_slug_users_get(slug, offset, limit, username, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the group to list users for (required) - :type slug: str - :param offset: The offset to start from. If you enter 10, it will start from the 10th user. - :type offset: float - :param limit: The number of users to return. - :type limit: float - :param username: The username to search for. - :type username: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1GroupsSlugUsersGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_groups_slug_users_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_groups_slug_users_get_with_http_info(slug, offset, limit, username, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_groups_slug_users_get_with_http_info(self, slug : Annotated[StrictStr, Field(..., description="The slug of the group to list users for")], offset : Annotated[Optional[Union[confloat(le=100, ge=0, strict=True), conint(le=100.0, ge=0.0, strict=True)]], Field(description="The offset to start from. If you enter 10, it will start from the 10th user.")] = None, limit : Annotated[Optional[Union[confloat(le=100, ge=1, strict=True), conint(le=100.0, ge=1.0, strict=True)]], Field(description="The number of users to return.")] = None, username : Annotated[Optional[StrictStr], Field(description="The username to search for.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_groups_slug_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_slug_users_get_with_http_info(slug, offset, limit, username, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the group to list users for (required) - :type slug: str - :param offset: The offset to start from. If you enter 10, it will start from the 10th user. - :type offset: float - :param limit: The number of users to return. - :type limit: float - :param username: The username to search for. - :type username: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1GroupsSlugUsersGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'slug', - 'offset', - 'limit', - 'username' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_groups_slug_users_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - - # process the query parameters - _query_params = [] - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - if _params.get('username') is not None: # noqa: E501 - _query_params.append(('username', _params['username'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1GroupsSlugUsersGet200Response", - } - - return self.api_client.call_api( - '/api/v1/groups/{slug}/users', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_groups_slug_users_username_delete(self, slug : Annotated[StrictStr, Field(..., description="The slug of the group to remove the user from.")], username : Annotated[StrictStr, Field(..., description="The username of the user to remove from the group.")], **kwargs) -> ApiV1GroupsSlugUsersUsernamePost200Response: # noqa: E501 - """api_v1_groups_slug_users_username_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_slug_users_username_delete(slug, username, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the group to remove the user from. (required) - :type slug: str - :param username: The username of the user to remove from the group. (required) - :type username: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1GroupsSlugUsersUsernamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_groups_slug_users_username_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_groups_slug_users_username_delete_with_http_info(slug, username, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_groups_slug_users_username_delete_with_http_info(self, slug : Annotated[StrictStr, Field(..., description="The slug of the group to remove the user from.")], username : Annotated[StrictStr, Field(..., description="The username of the user to remove from the group.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_groups_slug_users_username_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_slug_users_username_delete_with_http_info(slug, username, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the group to remove the user from. (required) - :type slug: str - :param username: The username of the user to remove from the group. (required) - :type username: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1GroupsSlugUsersUsernamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'slug', - 'username' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_groups_slug_users_username_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - if _params['username'] is not None: - _path_params['username'] = _params['username'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1GroupsSlugUsersUsernamePost200Response", - } - - return self.api_client.call_api( - '/api/v1/groups/{slug}/users/{username}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_groups_slug_users_username_post(self, slug : Annotated[StrictStr, Field(..., description="The slug of the group to add the user to.")], username : Annotated[StrictStr, Field(..., description="The username of the user to add to the group.")], **kwargs) -> ApiV1GroupsSlugUsersUsernamePost200Response: # noqa: E501 - """api_v1_groups_slug_users_username_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_slug_users_username_post(slug, username, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the group to add the user to. (required) - :type slug: str - :param username: The username of the user to add to the group. (required) - :type username: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1GroupsSlugUsersUsernamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_groups_slug_users_username_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_groups_slug_users_username_post_with_http_info(slug, username, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_groups_slug_users_username_post_with_http_info(self, slug : Annotated[StrictStr, Field(..., description="The slug of the group to add the user to.")], username : Annotated[StrictStr, Field(..., description="The username of the user to add to the group.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_groups_slug_users_username_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_groups_slug_users_username_post_with_http_info(slug, username, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the group to add the user to. (required) - :type slug: str - :param username: The username of the user to add to the group. (required) - :type username: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1GroupsSlugUsersUsernamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'slug', - 'username' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_groups_slug_users_username_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - if _params['username'] is not None: - _path_params['username'] = _params['username'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1GroupsSlugUsersUsernamePost200Response", - } - - return self.api_client.call_api( - '/api/v1/groups/{slug}/users/{username}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_identities_get(self, org_id : Annotated[StrictStr, Field(..., description="The ID of the organization to list identities.")], **kwargs) -> ApiV1IdentitiesGet200Response: # noqa: E501 - """api_v1_identities_get # noqa: E501 - - List identities # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_get(org_id, async_req=True) - >>> result = thread.get() - - :param org_id: The ID of the organization to list identities. (required) - :type org_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IdentitiesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_identities_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_identities_get_with_http_info(org_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_identities_get_with_http_info(self, org_id : Annotated[StrictStr, Field(..., description="The ID of the organization to list identities.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_identities_get # noqa: E501 - - List identities # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_get_with_http_info(org_id, async_req=True) - >>> result = thread.get() - - :param org_id: The ID of the organization to list identities. (required) - :type org_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IdentitiesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'org_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_identities_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('org_id') is not None: # noqa: E501 - _query_params.append(('orgId', _params['org_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IdentitiesGet200Response", - } - - return self.api_client.call_api( - '/api/v1/identities', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_identities_identity_id_delete(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to delete.")], **kwargs) -> ApiV1IdentitiesPost200Response: # noqa: E501 - """api_v1_identities_identity_id_delete # noqa: E501 - - Delete identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_identity_id_delete(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to delete. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IdentitiesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_identities_identity_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_identities_identity_id_delete_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_identities_identity_id_delete_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_identities_identity_id_delete # noqa: E501 - - Delete identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_identity_id_delete_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to delete. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IdentitiesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_identities_identity_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IdentitiesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/identities/{identityId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_identities_identity_id_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to get details.")], **kwargs) -> ApiV1IdentitiesIdentityIdGet200Response: # noqa: E501 - """api_v1_identities_identity_id_get # noqa: E501 - - Get an identity by id # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_identity_id_get(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to get details. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IdentitiesIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_identities_identity_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_identities_identity_id_get_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_identities_identity_id_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to get details.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_identities_identity_id_get # noqa: E501 - - Get an identity by id # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_identity_id_get_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to get details. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IdentitiesIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_identities_identity_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IdentitiesIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/identities/{identityId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_identities_identity_id_identity_memberships_get(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to get details.")], **kwargs) -> ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response: # noqa: E501 - """api_v1_identities_identity_id_identity_memberships_get # noqa: E501 - - List project memberships that identity with id is part of # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_identity_id_identity_memberships_get(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to get details. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_identities_identity_id_identity_memberships_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_identities_identity_id_identity_memberships_get_with_http_info(identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_identities_identity_id_identity_memberships_get_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to get details.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_identities_identity_id_identity_memberships_get # noqa: E501 - - List project memberships that identity with id is part of # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_identity_id_identity_memberships_get_with_http_info(identity_id, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to get details. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_identities_identity_id_identity_memberships_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/identities/{identityId}/identity-memberships', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_identities_identity_id_patch(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update.")], api_v1_identities_identity_id_patch_request : Optional[ApiV1IdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiV1IdentitiesPost200Response: # noqa: E501 - """api_v1_identities_identity_id_patch # noqa: E501 - - Update identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_identity_id_patch(identity_id, api_v1_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update. (required) - :type identity_id: str - :param api_v1_identities_identity_id_patch_request: - :type api_v1_identities_identity_id_patch_request: ApiV1IdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IdentitiesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_identities_identity_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_identities_identity_id_patch_with_http_info(identity_id, api_v1_identities_identity_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_identities_identity_id_patch_with_http_info(self, identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update.")], api_v1_identities_identity_id_patch_request : Optional[ApiV1IdentitiesIdentityIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_identities_identity_id_patch # noqa: E501 - - Update identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_identity_id_patch_with_http_info(identity_id, api_v1_identities_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param identity_id: The ID of the identity to update. (required) - :type identity_id: str - :param api_v1_identities_identity_id_patch_request: - :type api_v1_identities_identity_id_patch_request: ApiV1IdentitiesIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IdentitiesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'identity_id', - 'api_v1_identities_identity_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_identities_identity_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_identities_identity_id_patch_request'] is not None: - _body_params = _params['api_v1_identities_identity_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IdentitiesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/identities/{identityId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_identities_post(self, api_v1_identities_post_request : ApiV1IdentitiesPostRequest, **kwargs) -> ApiV1IdentitiesPost200Response: # noqa: E501 - """api_v1_identities_post # noqa: E501 - - Create identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_post(api_v1_identities_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_identities_post_request: (required) - :type api_v1_identities_post_request: ApiV1IdentitiesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IdentitiesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_identities_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_identities_post_with_http_info(api_v1_identities_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_identities_post_with_http_info(self, api_v1_identities_post_request : ApiV1IdentitiesPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_identities_post # noqa: E501 - - Create identity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_identities_post_with_http_info(api_v1_identities_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_identities_post_request: (required) - :type api_v1_identities_post_request: ApiV1IdentitiesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IdentitiesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_identities_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_identities_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_identities_post_request'] is not None: - _body_params = _params['api_v1_identities_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IdentitiesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/identities', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_access_token_post(self, api_v1_integration_auth_access_token_post_request : ApiV1IntegrationAuthAccessTokenPostRequest, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response: # noqa: E501 - """api_v1_integration_auth_access_token_post # noqa: E501 - - Create the integration authentication object required for syncing secrets. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_access_token_post(api_v1_integration_auth_access_token_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_integration_auth_access_token_post_request: (required) - :type api_v1_integration_auth_access_token_post_request: ApiV1IntegrationAuthAccessTokenPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_access_token_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_access_token_post_with_http_info(api_v1_integration_auth_access_token_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_access_token_post_with_http_info(self, api_v1_integration_auth_access_token_post_request : ApiV1IntegrationAuthAccessTokenPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_access_token_post # noqa: E501 - - Create the integration authentication object required for syncing secrets. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_access_token_post_with_http_info(api_v1_integration_auth_access_token_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_integration_auth_access_token_post_request: (required) - :type api_v1_integration_auth_access_token_post_request: ApiV1IntegrationAuthAccessTokenPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_integration_auth_access_token_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_access_token_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_integration_auth_access_token_post_request'] is not None: - _body_params = _params['api_v1_integration_auth_access_token_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/access-token', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_delete(self, integration : Annotated[StrictStr, Field(..., description="The slug of the integration to be unauthorized.")], project_id : Annotated[StrictStr, Field(..., description="The ID of the project to delete the integration auth from.")], **kwargs) -> ApiV1IntegrationAuthDelete200Response: # noqa: E501 - """api_v1_integration_auth_delete # noqa: E501 - - Remove all integration's auth object from the project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_delete(integration, project_id, async_req=True) - >>> result = thread.get() - - :param integration: The slug of the integration to be unauthorized. (required) - :type integration: str - :param project_id: The ID of the project to delete the integration auth from. (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_delete_with_http_info(integration, project_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_delete_with_http_info(self, integration : Annotated[StrictStr, Field(..., description="The slug of the integration to be unauthorized.")], project_id : Annotated[StrictStr, Field(..., description="The ID of the project to delete the integration auth from.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_delete # noqa: E501 - - Remove all integration's auth object from the project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_delete_with_http_info(integration, project_id, async_req=True) - >>> result = thread.get() - - :param integration: The slug of the integration to be unauthorized. (required) - :type integration: str - :param project_id: The ID of the project to delete the integration auth from. (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration', - 'project_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('integration') is not None: # noqa: E501 - _query_params.append(('integration', _params['integration'])) - - if _params.get('project_id') is not None: # noqa: E501 - _query_params.append(('projectId', _params['project_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthDelete200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_apps_get(self, integration_auth_id : StrictStr, team_id : Optional[StrictStr] = None, workspace_slug : Optional[StrictStr] = None, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_apps_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_apps_get(integration_auth_id, team_id, workspace_slug, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param team_id: - :type team_id: str - :param workspace_slug: - :type workspace_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_apps_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_apps_get_with_http_info(integration_auth_id, team_id, workspace_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_apps_get_with_http_info(self, integration_auth_id : StrictStr, team_id : Optional[StrictStr] = None, workspace_slug : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_apps_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_apps_get_with_http_info(integration_auth_id, team_id, workspace_slug, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param team_id: - :type team_id: str - :param workspace_slug: - :type workspace_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_auth_id', - 'team_id', - 'workspace_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_apps_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('team_id') is not None: # noqa: E501 - _query_params.append(('teamId', _params['team_id'])) - - if _params.get('workspace_slug') is not None: # noqa: E501 - _query_params.append(('workspaceSlug', _params['workspace_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/apps', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get(self, region : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get(region, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param region: (required) - :type region: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get_with_http_info(region, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get_with_http_info(self, region : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get_with_http_info(region, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param region: (required) - :type region: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'region', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('region') is not None: # noqa: E501 - _query_params.append(('region', _params['region'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/aws-secrets-manager/kms-keys', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get(self, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get_with_http_info(integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get_with_http_info(self, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get_with_http_info(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/bitbucket/workspaces', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_checkly_groups_get(self, account_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_checkly_groups_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_checkly_groups_get(account_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param account_id: (required) - :type account_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_checkly_groups_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_checkly_groups_get_with_http_info(account_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_checkly_groups_get_with_http_info(self, account_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_checkly_groups_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_checkly_groups_get_with_http_info(account_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param account_id: (required) - :type account_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'account_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_checkly_groups_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('account_id') is not None: # noqa: E501 - _query_params.append(('accountId', _params['account_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/checkly/groups', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_delete(self, integration_auth_id : Annotated[StrictStr, Field(..., description="The id of integration authentication object to delete.")], **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_delete # noqa: E501 - - Remove an integration auth object by object id. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_delete(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: The id of integration authentication object to delete. (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_delete_with_http_info(integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_delete_with_http_info(self, integration_auth_id : Annotated[StrictStr, Field(..., description="The id of integration authentication object to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_delete # noqa: E501 - - Remove an integration auth object by object id. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_delete_with_http_info(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: The id of integration authentication object to delete. (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_get(self, integration_auth_id : Annotated[StrictStr, Field(..., description="The id of integration authentication object.")], **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_get # noqa: E501 - - Get details of an integration authorization by auth object id. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_get(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: The id of integration authentication object. (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_get_with_http_info(integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_get_with_http_info(self, integration_auth_id : Annotated[StrictStr, Field(..., description="The id of integration authentication object.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_get # noqa: E501 - - Get details of an integration authorization by auth object id. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_get_with_http_info(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: The id of integration authentication object. (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_github_envs_get(self, repo_owner : StrictStr, repo_name : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_github_envs_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_github_envs_get(repo_owner, repo_name, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param repo_owner: (required) - :type repo_owner: str - :param repo_name: (required) - :type repo_name: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_github_envs_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_github_envs_get_with_http_info(repo_owner, repo_name, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_github_envs_get_with_http_info(self, repo_owner : StrictStr, repo_name : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_github_envs_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_github_envs_get_with_http_info(repo_owner, repo_name, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param repo_owner: (required) - :type repo_owner: str - :param repo_name: (required) - :type repo_name: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'repo_owner', - 'repo_name', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_github_envs_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('repo_owner') is not None: # noqa: E501 - _query_params.append(('repoOwner', _params['repo_owner'])) - - if _params.get('repo_name') is not None: # noqa: E501 - _query_params.append(('repoName', _params['repo_name'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/github/envs', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_github_orgs_get(self, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_github_orgs_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_github_orgs_get(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_github_orgs_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_github_orgs_get_with_http_info(integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_github_orgs_get_with_http_info(self, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_github_orgs_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_github_orgs_get_with_http_info(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_github_orgs_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/github/orgs', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_heroku_pipelines_get(self, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_heroku_pipelines_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_heroku_pipelines_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get_with_http_info(integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_heroku_pipelines_get_with_http_info(self, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_heroku_pipelines_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get_with_http_info(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_heroku_pipelines_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/heroku/pipelines', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get(self, app_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get(app_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param app_id: (required) - :type app_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get_with_http_info(app_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get_with_http_info(self, app_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get_with_http_info(app_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param app_id: (required) - :type app_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'app_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('app_id') is not None: # noqa: E501 - _query_params.append(('appId', _params['app_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/northflank/secret-groups', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_apps_get(self, environment_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_apps_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_apps_get(environment_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param environment_id: (required) - :type environment_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_qovery_apps_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_qovery_apps_get_with_http_info(environment_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_apps_get_with_http_info(self, environment_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_apps_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_apps_get_with_http_info(environment_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param environment_id: (required) - :type environment_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'environment_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_qovery_apps_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('environment_id') is not None: # noqa: E501 - _query_params.append(('environmentId', _params['environment_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/qovery/apps', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_containers_get(self, environment_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_containers_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_containers_get(environment_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param environment_id: (required) - :type environment_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_qovery_containers_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_qovery_containers_get_with_http_info(environment_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_containers_get_with_http_info(self, environment_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_containers_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_containers_get_with_http_info(environment_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param environment_id: (required) - :type environment_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'environment_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_qovery_containers_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('environment_id') is not None: # noqa: E501 - _query_params.append(('environmentId', _params['environment_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/qovery/containers', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_environments_get(self, project_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_environments_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_environments_get(project_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_qovery_environments_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_qovery_environments_get_with_http_info(project_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_environments_get_with_http_info(self, project_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_environments_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_environments_get_with_http_info(project_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_qovery_environments_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('project_id') is not None: # noqa: E501 - _query_params.append(('projectId', _params['project_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/qovery/environments', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_jobs_get(self, environment_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_jobs_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_jobs_get(environment_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param environment_id: (required) - :type environment_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_qovery_jobs_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_qovery_jobs_get_with_http_info(environment_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_jobs_get_with_http_info(self, environment_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_jobs_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_jobs_get_with_http_info(environment_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param environment_id: (required) - :type environment_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'environment_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_qovery_jobs_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('environment_id') is not None: # noqa: E501 - _query_params.append(('environmentId', _params['environment_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/qovery/jobs', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_orgs_get(self, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_orgs_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_orgs_get(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_qovery_orgs_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_qovery_orgs_get_with_http_info(integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_orgs_get_with_http_info(self, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_orgs_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_orgs_get_with_http_info(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_qovery_orgs_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/qovery/orgs', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_projects_get(self, org_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_projects_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_projects_get(org_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param org_id: (required) - :type org_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_qovery_projects_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_qovery_projects_get_with_http_info(org_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_qovery_projects_get_with_http_info(self, org_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_qovery_projects_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_qovery_projects_get_with_http_info(org_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param org_id: (required) - :type org_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'org_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_qovery_projects_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('org_id') is not None: # noqa: E501 - _query_params.append(('orgId', _params['org_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/qovery/projects', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_railway_environments_get(self, app_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_railway_environments_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_railway_environments_get(app_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param app_id: (required) - :type app_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_railway_environments_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_railway_environments_get_with_http_info(app_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_railway_environments_get_with_http_info(self, app_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_railway_environments_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_railway_environments_get_with_http_info(app_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param app_id: (required) - :type app_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'app_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_railway_environments_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('app_id') is not None: # noqa: E501 - _query_params.append(('appId', _params['app_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/railway/environments', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_railway_services_get(self, app_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_railway_services_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_railway_services_get(app_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param app_id: (required) - :type app_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_railway_services_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_railway_services_get_with_http_info(app_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_railway_services_get_with_http_info(self, app_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_railway_services_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_railway_services_get_with_http_info(app_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param app_id: (required) - :type app_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'app_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_railway_services_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('app_id') is not None: # noqa: E501 - _query_params.append(('appId', _params['app_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/railway/services', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get(self, app_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get(app_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param app_id: (required) - :type app_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get_with_http_info(app_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get_with_http_info(self, app_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get_with_http_info(app_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param app_id: (required) - :type app_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'app_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('app_id') is not None: # noqa: E501 - _query_params.append(('appId', _params['app_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/teamcity/build-configs', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_teams_get(self, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_teams_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_teams_get(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_teams_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_teams_get_with_http_info(integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_teams_get_with_http_info(self, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_teams_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_teams_get_with_http_info(integration_auth_id, async_req=True) - >>> result = thread.get() - - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_teams_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/teams', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_vercel_branches_get(self, app_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_vercel_branches_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_vercel_branches_get(app_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param app_id: (required) - :type app_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_auth_id_vercel_branches_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_auth_id_vercel_branches_get_with_http_info(app_id, integration_auth_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_auth_id_vercel_branches_get_with_http_info(self, app_id : StrictStr, integration_auth_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_auth_id_vercel_branches_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_auth_id_vercel_branches_get_with_http_info(app_id, integration_auth_id, async_req=True) - >>> result = thread.get() - - :param app_id: (required) - :type app_id: str - :param integration_auth_id: (required) - :type integration_auth_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'app_id', - 'integration_auth_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_auth_id_vercel_branches_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_auth_id'] is not None: - _path_params['integrationAuthId'] = _params['integration_auth_id'] - - - # process the query parameters - _query_params = [] - if _params.get('app_id') is not None: # noqa: E501 - _query_params.append(('appId', _params['app_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/{integrationAuthId}/vercel/branches', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_integration_options_get(self, **kwargs) -> ApiV1IntegrationAuthIntegrationOptionsGet200Response: # noqa: E501 - """api_v1_integration_auth_integration_options_get # noqa: E501 - - List of integrations available. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_options_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationOptionsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_integration_options_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_integration_options_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_integration_options_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_integration_options_get # noqa: E501 - - List of integrations available. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_integration_options_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationOptionsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_integration_options_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationOptionsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/integration-options', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_auth_oauth_token_post(self, api_v1_integration_auth_oauth_token_post_request : ApiV1IntegrationAuthOauthTokenPostRequest, **kwargs) -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response: # noqa: E501 - """api_v1_integration_auth_oauth_token_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_oauth_token_post(api_v1_integration_auth_oauth_token_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_integration_auth_oauth_token_post_request: (required) - :type api_v1_integration_auth_oauth_token_post_request: ApiV1IntegrationAuthOauthTokenPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationAuthIntegrationAuthIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_auth_oauth_token_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_auth_oauth_token_post_with_http_info(api_v1_integration_auth_oauth_token_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_auth_oauth_token_post_with_http_info(self, api_v1_integration_auth_oauth_token_post_request : ApiV1IntegrationAuthOauthTokenPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_auth_oauth_token_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_auth_oauth_token_post_with_http_info(api_v1_integration_auth_oauth_token_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_integration_auth_oauth_token_post_request: (required) - :type api_v1_integration_auth_oauth_token_post_request: ApiV1IntegrationAuthOauthTokenPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationAuthIntegrationAuthIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_integration_auth_oauth_token_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_auth_oauth_token_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_integration_auth_oauth_token_post_request'] is not None: - _body_params = _params['api_v1_integration_auth_oauth_token_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationAuthIntegrationAuthIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/integration-auth/oauth-token', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_integration_id_delete(self, integration_id : Annotated[StrictStr, Field(..., description="The ID of the integration object.")], should_delete_integration_secrets : Optional[StrictStr] = None, **kwargs) -> ApiV1IntegrationPost200Response: # noqa: E501 - """api_v1_integration_integration_id_delete # noqa: E501 - - Remove an integration using the integration object ID # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_integration_id_delete(integration_id, should_delete_integration_secrets, async_req=True) - >>> result = thread.get() - - :param integration_id: The ID of the integration object. (required) - :type integration_id: str - :param should_delete_integration_secrets: - :type should_delete_integration_secrets: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_integration_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_integration_id_delete_with_http_info(integration_id, should_delete_integration_secrets, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_integration_id_delete_with_http_info(self, integration_id : Annotated[StrictStr, Field(..., description="The ID of the integration object.")], should_delete_integration_secrets : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_integration_id_delete # noqa: E501 - - Remove an integration using the integration object ID # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_integration_id_delete_with_http_info(integration_id, should_delete_integration_secrets, async_req=True) - >>> result = thread.get() - - :param integration_id: The ID of the integration object. (required) - :type integration_id: str - :param should_delete_integration_secrets: - :type should_delete_integration_secrets: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_id', - 'should_delete_integration_secrets' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_integration_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_id'] is not None: - _path_params['integrationId'] = _params['integration_id'] - - - # process the query parameters - _query_params = [] - if _params.get('should_delete_integration_secrets') is not None: # noqa: E501 - _query_params.append(('shouldDeleteIntegrationSecrets', _params['should_delete_integration_secrets'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationPost200Response", - } - - return self.api_client.call_api( - '/api/v1/integration/{integrationId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_integration_id_patch(self, integration_id : Annotated[StrictStr, Field(..., description="The ID of the integration object.")], api_v1_integration_integration_id_patch_request : ApiV1IntegrationIntegrationIdPatchRequest, **kwargs) -> ApiV1IntegrationPost200Response: # noqa: E501 - """api_v1_integration_integration_id_patch # noqa: E501 - - Update an integration by integration id # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_integration_id_patch(integration_id, api_v1_integration_integration_id_patch_request, async_req=True) - >>> result = thread.get() - - :param integration_id: The ID of the integration object. (required) - :type integration_id: str - :param api_v1_integration_integration_id_patch_request: (required) - :type api_v1_integration_integration_id_patch_request: ApiV1IntegrationIntegrationIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_integration_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_integration_id_patch_with_http_info(integration_id, api_v1_integration_integration_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_integration_id_patch_with_http_info(self, integration_id : Annotated[StrictStr, Field(..., description="The ID of the integration object.")], api_v1_integration_integration_id_patch_request : ApiV1IntegrationIntegrationIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_integration_id_patch # noqa: E501 - - Update an integration by integration id # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_integration_id_patch_with_http_info(integration_id, api_v1_integration_integration_id_patch_request, async_req=True) - >>> result = thread.get() - - :param integration_id: The ID of the integration object. (required) - :type integration_id: str - :param api_v1_integration_integration_id_patch_request: (required) - :type api_v1_integration_integration_id_patch_request: ApiV1IntegrationIntegrationIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_id', - 'api_v1_integration_integration_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_integration_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_id'] is not None: - _path_params['integrationId'] = _params['integration_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_integration_integration_id_patch_request'] is not None: - _body_params = _params['api_v1_integration_integration_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationPost200Response", - } - - return self.api_client.call_api( - '/api/v1/integration/{integrationId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_integration_id_sync_post(self, integration_id : Annotated[StrictStr, Field(..., description="The ID of the integration object to manually sync")], **kwargs) -> ApiV1IntegrationPost200Response: # noqa: E501 - """api_v1_integration_integration_id_sync_post # noqa: E501 - - Manually trigger sync of an integration by integration id # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_integration_id_sync_post(integration_id, async_req=True) - >>> result = thread.get() - - :param integration_id: The ID of the integration object to manually sync (required) - :type integration_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_integration_id_sync_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_integration_id_sync_post_with_http_info(integration_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_integration_id_sync_post_with_http_info(self, integration_id : Annotated[StrictStr, Field(..., description="The ID of the integration object to manually sync")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_integration_id_sync_post # noqa: E501 - - Manually trigger sync of an integration by integration id # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_integration_id_sync_post_with_http_info(integration_id, async_req=True) - >>> result = thread.get() - - :param integration_id: The ID of the integration object to manually sync (required) - :type integration_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'integration_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_integration_id_sync_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['integration_id'] is not None: - _path_params['integrationId'] = _params['integration_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationPost200Response", - } - - return self.api_client.call_api( - '/api/v1/integration/{integrationId}/sync', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_integration_post(self, api_v1_integration_post_request : ApiV1IntegrationPostRequest, **kwargs) -> ApiV1IntegrationPost200Response: # noqa: E501 - """api_v1_integration_post # noqa: E501 - - Create an integration to sync secrets. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_post(api_v1_integration_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_integration_post_request: (required) - :type api_v1_integration_post_request: ApiV1IntegrationPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IntegrationPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_integration_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_integration_post_with_http_info(api_v1_integration_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_integration_post_with_http_info(self, api_v1_integration_post_request : ApiV1IntegrationPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_integration_post # noqa: E501 - - Create an integration to sync secrets. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_integration_post_with_http_info(api_v1_integration_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_integration_post_request: (required) - :type api_v1_integration_post_request: ApiV1IntegrationPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IntegrationPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_integration_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_integration_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_integration_post_request'] is not None: - _body_params = _params['api_v1_integration_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IntegrationPost200Response", - } - - return self.api_client.call_api( - '/api/v1/integration', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_invite_org_signup_post(self, api_v1_invite_org_signup_post_request : ApiV1InviteOrgSignupPostRequest, **kwargs) -> ApiV1InviteOrgSignupPost200Response: # noqa: E501 - """api_v1_invite_org_signup_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_invite_org_signup_post(api_v1_invite_org_signup_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_invite_org_signup_post_request: (required) - :type api_v1_invite_org_signup_post_request: ApiV1InviteOrgSignupPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1InviteOrgSignupPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_invite_org_signup_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_invite_org_signup_post_with_http_info(api_v1_invite_org_signup_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_invite_org_signup_post_with_http_info(self, api_v1_invite_org_signup_post_request : ApiV1InviteOrgSignupPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_invite_org_signup_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_invite_org_signup_post_with_http_info(api_v1_invite_org_signup_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_invite_org_signup_post_request: (required) - :type api_v1_invite_org_signup_post_request: ApiV1InviteOrgSignupPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1InviteOrgSignupPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_invite_org_signup_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_invite_org_signup_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_invite_org_signup_post_request'] is not None: - _body_params = _params['api_v1_invite_org_signup_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1InviteOrgSignupPost200Response", - } - - return self.api_client.call_api( - '/api/v1/invite-org/signup', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_invite_org_verify_post(self, api_v1_invite_org_verify_post_request : ApiV1InviteOrgVerifyPostRequest, **kwargs) -> ApiV1InviteOrgVerifyPost200Response: # noqa: E501 - """api_v1_invite_org_verify_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_invite_org_verify_post(api_v1_invite_org_verify_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_invite_org_verify_post_request: (required) - :type api_v1_invite_org_verify_post_request: ApiV1InviteOrgVerifyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1InviteOrgVerifyPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_invite_org_verify_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_invite_org_verify_post_with_http_info(api_v1_invite_org_verify_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_invite_org_verify_post_with_http_info(self, api_v1_invite_org_verify_post_request : ApiV1InviteOrgVerifyPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_invite_org_verify_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_invite_org_verify_post_with_http_info(api_v1_invite_org_verify_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_invite_org_verify_post_request: (required) - :type api_v1_invite_org_verify_post_request: ApiV1InviteOrgVerifyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1InviteOrgVerifyPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_invite_org_verify_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_invite_org_verify_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_invite_org_verify_post_request'] is not None: - _body_params = _params['api_v1_invite_org_verify_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1InviteOrgVerifyPost200Response", - } - - return self.api_client.call_api( - '/api/v1/invite-org/verify', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_ldap_config_config_id_group_maps_get(self, config_id : StrictStr, **kwargs) -> List[ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner]: # noqa: E501 - """api_v1_ldap_config_config_id_group_maps_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_config_id_group_maps_get(config_id, async_req=True) - >>> result = thread.get() - - :param config_id: (required) - :type config_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: List[ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner] - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_ldap_config_config_id_group_maps_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_ldap_config_config_id_group_maps_get_with_http_info(config_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_ldap_config_config_id_group_maps_get_with_http_info(self, config_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_ldap_config_config_id_group_maps_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_config_id_group_maps_get_with_http_info(config_id, async_req=True) - >>> result = thread.get() - - :param config_id: (required) - :type config_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(List[ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner], status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'config_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_ldap_config_config_id_group_maps_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['config_id'] is not None: - _path_params['configId'] = _params['config_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "List[ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner]", - } - - return self.api_client.call_api( - '/api/v1/ldap/config/{configId}/group-maps', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_ldap_config_config_id_group_maps_group_map_id_delete(self, config_id : StrictStr, group_map_id : StrictStr, **kwargs) -> ApiV1LdapConfigConfigIdGroupMapsPost200Response: # noqa: E501 - """api_v1_ldap_config_config_id_group_maps_group_map_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_config_id_group_maps_group_map_id_delete(config_id, group_map_id, async_req=True) - >>> result = thread.get() - - :param config_id: (required) - :type config_id: str - :param group_map_id: (required) - :type group_map_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1LdapConfigConfigIdGroupMapsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_ldap_config_config_id_group_maps_group_map_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_ldap_config_config_id_group_maps_group_map_id_delete_with_http_info(config_id, group_map_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_ldap_config_config_id_group_maps_group_map_id_delete_with_http_info(self, config_id : StrictStr, group_map_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_ldap_config_config_id_group_maps_group_map_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_config_id_group_maps_group_map_id_delete_with_http_info(config_id, group_map_id, async_req=True) - >>> result = thread.get() - - :param config_id: (required) - :type config_id: str - :param group_map_id: (required) - :type group_map_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1LdapConfigConfigIdGroupMapsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'config_id', - 'group_map_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_ldap_config_config_id_group_maps_group_map_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['config_id'] is not None: - _path_params['configId'] = _params['config_id'] - - if _params['group_map_id'] is not None: - _path_params['groupMapId'] = _params['group_map_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1LdapConfigConfigIdGroupMapsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/ldap/config/{configId}/group-maps/{groupMapId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_ldap_config_config_id_group_maps_post(self, config_id : StrictStr, api_v1_ldap_config_config_id_group_maps_post_request : ApiV1LdapConfigConfigIdGroupMapsPostRequest, **kwargs) -> ApiV1LdapConfigConfigIdGroupMapsPost200Response: # noqa: E501 - """api_v1_ldap_config_config_id_group_maps_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_config_id_group_maps_post(config_id, api_v1_ldap_config_config_id_group_maps_post_request, async_req=True) - >>> result = thread.get() - - :param config_id: (required) - :type config_id: str - :param api_v1_ldap_config_config_id_group_maps_post_request: (required) - :type api_v1_ldap_config_config_id_group_maps_post_request: ApiV1LdapConfigConfigIdGroupMapsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1LdapConfigConfigIdGroupMapsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_ldap_config_config_id_group_maps_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_ldap_config_config_id_group_maps_post_with_http_info(config_id, api_v1_ldap_config_config_id_group_maps_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_ldap_config_config_id_group_maps_post_with_http_info(self, config_id : StrictStr, api_v1_ldap_config_config_id_group_maps_post_request : ApiV1LdapConfigConfigIdGroupMapsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_ldap_config_config_id_group_maps_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_config_id_group_maps_post_with_http_info(config_id, api_v1_ldap_config_config_id_group_maps_post_request, async_req=True) - >>> result = thread.get() - - :param config_id: (required) - :type config_id: str - :param api_v1_ldap_config_config_id_group_maps_post_request: (required) - :type api_v1_ldap_config_config_id_group_maps_post_request: ApiV1LdapConfigConfigIdGroupMapsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1LdapConfigConfigIdGroupMapsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'config_id', - 'api_v1_ldap_config_config_id_group_maps_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_ldap_config_config_id_group_maps_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['config_id'] is not None: - _path_params['configId'] = _params['config_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_ldap_config_config_id_group_maps_post_request'] is not None: - _body_params = _params['api_v1_ldap_config_config_id_group_maps_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1LdapConfigConfigIdGroupMapsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/ldap/config/{configId}/group-maps', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_ldap_config_config_id_test_connection_post(self, config_id : StrictStr, **kwargs) -> bool: # noqa: E501 - """api_v1_ldap_config_config_id_test_connection_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_config_id_test_connection_post(config_id, async_req=True) - >>> result = thread.get() - - :param config_id: (required) - :type config_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: bool - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_ldap_config_config_id_test_connection_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_ldap_config_config_id_test_connection_post_with_http_info(config_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_ldap_config_config_id_test_connection_post_with_http_info(self, config_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_ldap_config_config_id_test_connection_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_config_id_test_connection_post_with_http_info(config_id, async_req=True) - >>> result = thread.get() - - :param config_id: (required) - :type config_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(bool, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'config_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_ldap_config_config_id_test_connection_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['config_id'] is not None: - _path_params['configId'] = _params['config_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "bool", - } - - return self.api_client.call_api( - '/api/v1/ldap/config/{configId}/test-connection', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_ldap_config_get(self, organization_id : StrictStr, **kwargs) -> ApiV1LdapConfigGet200Response: # noqa: E501 - """api_v1_ldap_config_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1LdapConfigGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_ldap_config_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_ldap_config_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_ldap_config_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_ldap_config_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1LdapConfigGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_ldap_config_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('organization_id') is not None: # noqa: E501 - _query_params.append(('organizationId', _params['organization_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1LdapConfigGet200Response", - } - - return self.api_client.call_api( - '/api/v1/ldap/config', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_ldap_config_patch(self, api_v1_ldap_config_patch_request : ApiV1LdapConfigPatchRequest, **kwargs) -> ApiV1LdapConfigPost200Response: # noqa: E501 - """api_v1_ldap_config_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_patch(api_v1_ldap_config_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_ldap_config_patch_request: (required) - :type api_v1_ldap_config_patch_request: ApiV1LdapConfigPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1LdapConfigPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_ldap_config_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_ldap_config_patch_with_http_info(api_v1_ldap_config_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_ldap_config_patch_with_http_info(self, api_v1_ldap_config_patch_request : ApiV1LdapConfigPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_ldap_config_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_patch_with_http_info(api_v1_ldap_config_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_ldap_config_patch_request: (required) - :type api_v1_ldap_config_patch_request: ApiV1LdapConfigPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1LdapConfigPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_ldap_config_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_ldap_config_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_ldap_config_patch_request'] is not None: - _body_params = _params['api_v1_ldap_config_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1LdapConfigPost200Response", - } - - return self.api_client.call_api( - '/api/v1/ldap/config', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_ldap_config_post(self, api_v1_ldap_config_post_request : ApiV1LdapConfigPostRequest, **kwargs) -> ApiV1LdapConfigPost200Response: # noqa: E501 - """api_v1_ldap_config_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_post(api_v1_ldap_config_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_ldap_config_post_request: (required) - :type api_v1_ldap_config_post_request: ApiV1LdapConfigPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1LdapConfigPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_ldap_config_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_ldap_config_post_with_http_info(api_v1_ldap_config_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_ldap_config_post_with_http_info(self, api_v1_ldap_config_post_request : ApiV1LdapConfigPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_ldap_config_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_config_post_with_http_info(api_v1_ldap_config_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_ldap_config_post_request: (required) - :type api_v1_ldap_config_post_request: ApiV1LdapConfigPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1LdapConfigPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_ldap_config_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_ldap_config_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_ldap_config_post_request'] is not None: - _body_params = _params['api_v1_ldap_config_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1LdapConfigPost200Response", - } - - return self.api_client.call_api( - '/api/v1/ldap/config', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_ldap_login_post(self, api_v1_ldap_login_post_request : ApiV1LdapLoginPostRequest, **kwargs) -> None: # noqa: E501 - """api_v1_ldap_login_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_login_post(api_v1_ldap_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_ldap_login_post_request: (required) - :type api_v1_ldap_login_post_request: ApiV1LdapLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_ldap_login_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_ldap_login_post_with_http_info(api_v1_ldap_login_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_ldap_login_post_with_http_info(self, api_v1_ldap_login_post_request : ApiV1LdapLoginPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_ldap_login_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_ldap_login_post_with_http_info(api_v1_ldap_login_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_ldap_login_post_request: (required) - :type api_v1_ldap_login_post_request: ApiV1LdapLoginPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'api_v1_ldap_login_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_ldap_login_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_ldap_login_post_request'] is not None: - _body_params = _params['api_v1_ldap_login_post_request'] - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/ldap/login', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_admin_projects_get(self, search : Optional[StrictStr] = None, offset : Optional[Union[StrictFloat, StrictInt]] = None, limit : Optional[Union[confloat(le=100, strict=True), conint(le=100.0, strict=True)]] = None, **kwargs) -> ApiV1OrganizationAdminProjectsGet200Response: # noqa: E501 - """api_v1_organization_admin_projects_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_admin_projects_get(search, offset, limit, async_req=True) - >>> result = thread.get() - - :param search: - :type search: str - :param offset: - :type offset: float - :param limit: - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationAdminProjectsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_admin_projects_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_admin_projects_get_with_http_info(search, offset, limit, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_admin_projects_get_with_http_info(self, search : Optional[StrictStr] = None, offset : Optional[Union[StrictFloat, StrictInt]] = None, limit : Optional[Union[confloat(le=100, strict=True), conint(le=100.0, strict=True)]] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_admin_projects_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_admin_projects_get_with_http_info(search, offset, limit, async_req=True) - >>> result = thread.get() - - :param search: - :type search: str - :param offset: - :type offset: float - :param limit: - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationAdminProjectsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'search', - 'offset', - 'limit' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_admin_projects_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('search') is not None: # noqa: E501 - _query_params.append(('search', _params['search'])) - - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationAdminProjectsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/organization-admin/projects', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_admin_projects_project_id_grant_admin_access_post(self, project_id : StrictStr, **kwargs) -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response: # noqa: E501 - """api_v1_organization_admin_projects_project_id_grant_admin_access_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_admin_projects_project_id_grant_admin_access_post(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_admin_projects_project_id_grant_admin_access_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_admin_projects_project_id_grant_admin_access_post_with_http_info(project_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_admin_projects_project_id_grant_admin_access_post_with_http_info(self, project_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_admin_projects_project_id_grant_admin_access_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_admin_projects_project_id_grant_admin_access_post_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_admin_projects_project_id_grant_admin_access_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response", - } - - return self.api_client.call_api( - '/api/v1/organization-admin/projects/{projectId}/grant-admin-access', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_get(self, **kwargs) -> ApiV1OrganizationGet200Response: # noqa: E501 - """api_v1_organization_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationGet200Response", - } - - return self.api_client.call_api( - '/api/v1/organization', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_get(self, organization_id : StrictStr, **kwargs) -> ApiV1OrganizationOrganizationIdGet200Response: # noqa: E501 - """api_v1_organization_organization_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_groups_get(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to list groups for.")], **kwargs) -> ApiV1OrganizationOrganizationIdGroupsGet200Response: # noqa: E501 - """api_v1_organization_organization_id_groups_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_groups_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to list groups for. (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdGroupsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_groups_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_groups_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_groups_get_with_http_info(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to list groups for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_groups_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_groups_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to list groups for. (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdGroupsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_groups_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdGroupsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/groups', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_incident_contact_org_get(self, organization_id : StrictStr, **kwargs) -> ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response: # noqa: E501 - """api_v1_organization_organization_id_incident_contact_org_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_incident_contact_org_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_incident_contact_org_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_incident_contact_org_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_incident_contact_org_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_incident_contact_org_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_incident_contact_org_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_incident_contact_org_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/incidentContactOrg', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete(self, organization_id : StrictStr, incident_contact_id : StrictStr, **kwargs) -> ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response: # noqa: E501 - """api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete(organization_id, incident_contact_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param incident_contact_id: (required) - :type incident_contact_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete_with_http_info(organization_id, incident_contact_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete_with_http_info(self, organization_id : StrictStr, incident_contact_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete_with_http_info(organization_id, incident_contact_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param incident_contact_id: (required) - :type incident_contact_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'incident_contact_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['incident_contact_id'] is not None: - _path_params['incidentContactId'] = _params['incident_contact_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/incidentContactOrg/{incidentContactId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_incident_contact_org_post(self, organization_id : StrictStr, api_v1_password_email_password_reset_post_request : ApiV1PasswordEmailPasswordResetPostRequest, **kwargs) -> ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response: # noqa: E501 - """api_v1_organization_organization_id_incident_contact_org_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_incident_contact_org_post(organization_id, api_v1_password_email_password_reset_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_password_email_password_reset_post_request: (required) - :type api_v1_password_email_password_reset_post_request: ApiV1PasswordEmailPasswordResetPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_incident_contact_org_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_incident_contact_org_post_with_http_info(organization_id, api_v1_password_email_password_reset_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_incident_contact_org_post_with_http_info(self, organization_id : StrictStr, api_v1_password_email_password_reset_post_request : ApiV1PasswordEmailPasswordResetPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_incident_contact_org_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_incident_contact_org_post_with_http_info(organization_id, api_v1_password_email_password_reset_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_password_email_password_reset_post_request: (required) - :type api_v1_password_email_password_reset_post_request: ApiV1PasswordEmailPasswordResetPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'api_v1_password_email_password_reset_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_incident_contact_org_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_password_email_password_reset_post_request'] is not None: - _body_params = _params['api_v1_password_email_password_reset_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/incidentContactOrg', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_patch(self, organization_id : StrictStr, api_v1_organization_organization_id_patch_request : Optional[ApiV1OrganizationOrganizationIdPatchRequest] = None, **kwargs) -> ApiV1OrganizationOrganizationIdPatch200Response: # noqa: E501 - """api_v1_organization_organization_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_patch(organization_id, api_v1_organization_organization_id_patch_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organization_organization_id_patch_request: - :type api_v1_organization_organization_id_patch_request: ApiV1OrganizationOrganizationIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_patch_with_http_info(organization_id, api_v1_organization_organization_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_patch_with_http_info(self, organization_id : StrictStr, api_v1_organization_organization_id_patch_request : Optional[ApiV1OrganizationOrganizationIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_patch_with_http_info(organization_id, api_v1_organization_organization_id_patch_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organization_organization_id_patch_request: - :type api_v1_organization_organization_id_patch_request: ApiV1OrganizationOrganizationIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'api_v1_organization_organization_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_organization_organization_id_patch_request'] is not None: - _body_params = _params['api_v1_organization_organization_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdPatch200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_permissions_get(self, organization_id : StrictStr, **kwargs) -> ApiV1OrganizationOrganizationIdPermissionsGet200Response: # noqa: E501 - """api_v1_organization_organization_id_permissions_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_permissions_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdPermissionsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_permissions_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_permissions_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_permissions_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_permissions_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_permissions_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdPermissionsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_permissions_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdPermissionsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/permissions', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_roles_get(self, organization_id : StrictStr, **kwargs) -> ApiV1OrganizationOrganizationIdRolesGet200Response: # noqa: E501 - """api_v1_organization_organization_id_roles_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_roles_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdRolesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_roles_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_roles_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_roles_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_roles_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_roles_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdRolesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_roles_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdRolesGet200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/roles', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_roles_post(self, organization_id : StrictStr, api_v1_organization_organization_id_roles_post_request : ApiV1OrganizationOrganizationIdRolesPostRequest, **kwargs) -> ApiV1OrganizationOrganizationIdRolesPost200Response: # noqa: E501 - """api_v1_organization_organization_id_roles_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_roles_post(organization_id, api_v1_organization_organization_id_roles_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organization_organization_id_roles_post_request: (required) - :type api_v1_organization_organization_id_roles_post_request: ApiV1OrganizationOrganizationIdRolesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdRolesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_roles_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_roles_post_with_http_info(organization_id, api_v1_organization_organization_id_roles_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_roles_post_with_http_info(self, organization_id : StrictStr, api_v1_organization_organization_id_roles_post_request : ApiV1OrganizationOrganizationIdRolesPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_roles_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_roles_post_with_http_info(organization_id, api_v1_organization_organization_id_roles_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organization_organization_id_roles_post_request: (required) - :type api_v1_organization_organization_id_roles_post_request: ApiV1OrganizationOrganizationIdRolesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdRolesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'api_v1_organization_organization_id_roles_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_roles_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_organization_organization_id_roles_post_request'] is not None: - _body_params = _params['api_v1_organization_organization_id_roles_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdRolesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/roles', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_roles_role_id_delete(self, organization_id : StrictStr, role_id : StrictStr, **kwargs) -> ApiV1OrganizationOrganizationIdRolesPost200Response: # noqa: E501 - """api_v1_organization_organization_id_roles_role_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_roles_role_id_delete(organization_id, role_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param role_id: (required) - :type role_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdRolesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_roles_role_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_roles_role_id_delete_with_http_info(organization_id, role_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_roles_role_id_delete_with_http_info(self, organization_id : StrictStr, role_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_roles_role_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_roles_role_id_delete_with_http_info(organization_id, role_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param role_id: (required) - :type role_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdRolesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'role_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_roles_role_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['role_id'] is not None: - _path_params['roleId'] = _params['role_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdRolesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/roles/{roleId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_roles_role_id_get(self, organization_id : StrictStr, role_id : StrictStr, **kwargs) -> ApiV1OrganizationOrganizationIdRolesPost200Response: # noqa: E501 - """api_v1_organization_organization_id_roles_role_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_roles_role_id_get(organization_id, role_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param role_id: (required) - :type role_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdRolesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_roles_role_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_roles_role_id_get_with_http_info(organization_id, role_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_roles_role_id_get_with_http_info(self, organization_id : StrictStr, role_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_roles_role_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_roles_role_id_get_with_http_info(organization_id, role_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param role_id: (required) - :type role_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdRolesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'role_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_roles_role_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['role_id'] is not None: - _path_params['roleId'] = _params['role_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdRolesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/roles/{roleId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_roles_role_id_patch(self, organization_id : StrictStr, role_id : StrictStr, api_v1_organization_organization_id_roles_role_id_patch_request : ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest, **kwargs) -> ApiV1OrganizationOrganizationIdRolesPost200Response: # noqa: E501 - """api_v1_organization_organization_id_roles_role_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_roles_role_id_patch(organization_id, role_id, api_v1_organization_organization_id_roles_role_id_patch_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param role_id: (required) - :type role_id: str - :param api_v1_organization_organization_id_roles_role_id_patch_request: (required) - :type api_v1_organization_organization_id_roles_role_id_patch_request: ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdRolesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_roles_role_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_roles_role_id_patch_with_http_info(organization_id, role_id, api_v1_organization_organization_id_roles_role_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_roles_role_id_patch_with_http_info(self, organization_id : StrictStr, role_id : StrictStr, api_v1_organization_organization_id_roles_role_id_patch_request : ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_roles_role_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_roles_role_id_patch_with_http_info(organization_id, role_id, api_v1_organization_organization_id_roles_role_id_patch_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param role_id: (required) - :type role_id: str - :param api_v1_organization_organization_id_roles_role_id_patch_request: (required) - :type api_v1_organization_organization_id_roles_role_id_patch_request: ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdRolesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'role_id', - 'api_v1_organization_organization_id_roles_role_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_roles_role_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['role_id'] is not None: - _path_params['roleId'] = _params['role_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_organization_organization_id_roles_role_id_patch_request'] is not None: - _body_params = _params['api_v1_organization_organization_id_roles_role_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdRolesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/roles/{roleId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organization_organization_id_users_get(self, organization_id : StrictStr, **kwargs) -> ApiV1OrganizationOrganizationIdUsersGet200Response: # noqa: E501 - """api_v1_organization_organization_id_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_users_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdUsersGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organization_organization_id_users_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organization_organization_id_users_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organization_organization_id_users_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organization_organization_id_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organization_organization_id_users_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdUsersGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organization_organization_id_users_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdUsersGet200Response", - } - - return self.api_client.call_api( - '/api/v1/organization/{organizationId}/users', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_get(self, organization_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_billing_details_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_billing_details_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_billing_details_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/billing-details', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_patch(self, organization_id : StrictStr, api_v1_organizations_organization_id_billing_details_patch_request : Optional[ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest] = None, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_patch(organization_id, api_v1_organizations_organization_id_billing_details_patch_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organizations_organization_id_billing_details_patch_request: - :type api_v1_organizations_organization_id_billing_details_patch_request: ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_billing_details_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_billing_details_patch_with_http_info(organization_id, api_v1_organizations_organization_id_billing_details_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_patch_with_http_info(self, organization_id : StrictStr, api_v1_organizations_organization_id_billing_details_patch_request : Optional[ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_patch_with_http_info(organization_id, api_v1_organizations_organization_id_billing_details_patch_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organizations_organization_id_billing_details_patch_request: - :type api_v1_organizations_organization_id_billing_details_patch_request: ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'api_v1_organizations_organization_id_billing_details_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_billing_details_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_organizations_organization_id_billing_details_patch_request'] is not None: - _body_params = _params['api_v1_organizations_organization_id_billing_details_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/billing-details', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_payment_methods_get(self, organization_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_payment_methods_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_payment_methods_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_billing_details_payment_methods_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_billing_details_payment_methods_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_payment_methods_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_payment_methods_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_payment_methods_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_billing_details_payment_methods_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/billing-details/payment-methods', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete(self, organization_id : StrictStr, pmt_method_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete(organization_id, pmt_method_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param pmt_method_id: (required) - :type pmt_method_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete_with_http_info(organization_id, pmt_method_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete_with_http_info(self, organization_id : StrictStr, pmt_method_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete_with_http_info(organization_id, pmt_method_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param pmt_method_id: (required) - :type pmt_method_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'pmt_method_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['pmt_method_id'] is not None: - _path_params['pmtMethodId'] = _params['pmt_method_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/billing-details/payment-methods/{pmtMethodId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_payment_methods_post(self, organization_id : StrictStr, api_v1_organizations_organization_id_billing_details_payment_methods_post_request : ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_payment_methods_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_payment_methods_post(organization_id, api_v1_organizations_organization_id_billing_details_payment_methods_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organizations_organization_id_billing_details_payment_methods_post_request: (required) - :type api_v1_organizations_organization_id_billing_details_payment_methods_post_request: ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_billing_details_payment_methods_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_billing_details_payment_methods_post_with_http_info(organization_id, api_v1_organizations_organization_id_billing_details_payment_methods_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_payment_methods_post_with_http_info(self, organization_id : StrictStr, api_v1_organizations_organization_id_billing_details_payment_methods_post_request : ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_payment_methods_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_payment_methods_post_with_http_info(organization_id, api_v1_organizations_organization_id_billing_details_payment_methods_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organizations_organization_id_billing_details_payment_methods_post_request: (required) - :type api_v1_organizations_organization_id_billing_details_payment_methods_post_request: ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'api_v1_organizations_organization_id_billing_details_payment_methods_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_billing_details_payment_methods_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_organizations_organization_id_billing_details_payment_methods_post_request'] is not None: - _body_params = _params['api_v1_organizations_organization_id_billing_details_payment_methods_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/billing-details/payment-methods', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_tax_ids_get(self, organization_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_tax_ids_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_tax_ids_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_billing_details_tax_ids_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_billing_details_tax_ids_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_tax_ids_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_tax_ids_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_tax_ids_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_billing_details_tax_ids_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/billing-details/tax-ids', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_tax_ids_post(self, organization_id : StrictStr, api_v1_organizations_organization_id_billing_details_tax_ids_post_request : ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_tax_ids_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_tax_ids_post(organization_id, api_v1_organizations_organization_id_billing_details_tax_ids_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organizations_organization_id_billing_details_tax_ids_post_request: (required) - :type api_v1_organizations_organization_id_billing_details_tax_ids_post_request: ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_billing_details_tax_ids_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_billing_details_tax_ids_post_with_http_info(organization_id, api_v1_organizations_organization_id_billing_details_tax_ids_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_tax_ids_post_with_http_info(self, organization_id : StrictStr, api_v1_organizations_organization_id_billing_details_tax_ids_post_request : ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_tax_ids_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_tax_ids_post_with_http_info(organization_id, api_v1_organizations_organization_id_billing_details_tax_ids_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organizations_organization_id_billing_details_tax_ids_post_request: (required) - :type api_v1_organizations_organization_id_billing_details_tax_ids_post_request: ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'api_v1_organizations_organization_id_billing_details_tax_ids_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_billing_details_tax_ids_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_organizations_organization_id_billing_details_tax_ids_post_request'] is not None: - _body_params = _params['api_v1_organizations_organization_id_billing_details_tax_ids_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/billing-details/tax-ids', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete(self, organization_id : StrictStr, tax_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete(organization_id, tax_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param tax_id: (required) - :type tax_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete_with_http_info(organization_id, tax_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete_with_http_info(self, organization_id : StrictStr, tax_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete_with_http_info(organization_id, tax_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param tax_id: (required) - :type tax_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'tax_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['tax_id'] is not None: - _path_params['taxId'] = _params['tax_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/billing-details/tax-ids/{taxId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_customer_portal_session_post(self, organization_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_customer_portal_session_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_customer_portal_session_post(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_customer_portal_session_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_customer_portal_session_post_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_customer_portal_session_post_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_customer_portal_session_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_customer_portal_session_post_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_customer_portal_session_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/customer-portal-session', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_invoices_get(self, organization_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_invoices_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_invoices_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_invoices_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_invoices_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_invoices_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_invoices_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_invoices_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_invoices_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/invoices', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_licenses_get(self, organization_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_licenses_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_licenses_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_licenses_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_licenses_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_licenses_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_licenses_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_licenses_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_licenses_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/licenses', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_plan_billing_get(self, organization_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_plan_billing_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_plan_billing_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_plan_billing_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_plan_billing_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_plan_billing_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_plan_billing_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_plan_billing_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_plan_billing_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/plan/billing', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_plan_get(self, organization_id : StrictStr, **kwargs) -> ApiV1OrganizationsOrganizationIdPlanGet200Response: # noqa: E501 - """api_v1_organizations_organization_id_plan_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_plan_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationsOrganizationIdPlanGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_plan_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_plan_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_plan_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_plan_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_plan_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationsOrganizationIdPlanGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_plan_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationsOrganizationIdPlanGet200Response", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/plan', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_plan_table_get(self, organization_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_plan_table_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_plan_table_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_plan_table_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_plan_table_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_plan_table_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_plan_table_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_plan_table_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_plan_table_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/plan/table', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_plans_get(self, organization_id : StrictStr, workspace_id : Optional[StrictStr] = None, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_plans_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_plans_get(organization_id, workspace_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param workspace_id: - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_plans_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_plans_get_with_http_info(organization_id, workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_plans_get_with_http_info(self, organization_id : StrictStr, workspace_id : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_plans_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_plans_get_with_http_info(organization_id, workspace_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param workspace_id: - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_plans_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/plans', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_plans_table_get(self, billing_cycle : StrictStr, organization_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_plans_table_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_plans_table_get(billing_cycle, organization_id, async_req=True) - >>> result = thread.get() - - :param billing_cycle: (required) - :type billing_cycle: str - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_plans_table_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_plans_table_get_with_http_info(billing_cycle, organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_plans_table_get_with_http_info(self, billing_cycle : StrictStr, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_plans_table_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_plans_table_get_with_http_info(billing_cycle, organization_id, async_req=True) - >>> result = thread.get() - - :param billing_cycle: (required) - :type billing_cycle: str - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'billing_cycle', - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_plans_table_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - if _params.get('billing_cycle') is not None: # noqa: E501 - _query_params.append(('billingCycle', _params['billing_cycle'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/plans/table', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_organizations_organization_id_session_trial_post(self, organization_id : StrictStr, api_v1_organizations_organization_id_session_trial_post_request : ApiV1OrganizationsOrganizationIdSessionTrialPostRequest, **kwargs) -> object: # noqa: E501 - """api_v1_organizations_organization_id_session_trial_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_session_trial_post(organization_id, api_v1_organizations_organization_id_session_trial_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organizations_organization_id_session_trial_post_request: (required) - :type api_v1_organizations_organization_id_session_trial_post_request: ApiV1OrganizationsOrganizationIdSessionTrialPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_organizations_organization_id_session_trial_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_organizations_organization_id_session_trial_post_with_http_info(organization_id, api_v1_organizations_organization_id_session_trial_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_organizations_organization_id_session_trial_post_with_http_info(self, organization_id : StrictStr, api_v1_organizations_organization_id_session_trial_post_request : ApiV1OrganizationsOrganizationIdSessionTrialPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_organizations_organization_id_session_trial_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_organizations_organization_id_session_trial_post_with_http_info(organization_id, api_v1_organizations_organization_id_session_trial_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param api_v1_organizations_organization_id_session_trial_post_request: (required) - :type api_v1_organizations_organization_id_session_trial_post_request: ApiV1OrganizationsOrganizationIdSessionTrialPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'api_v1_organizations_organization_id_session_trial_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_organizations_organization_id_session_trial_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_organizations_organization_id_session_trial_post_request'] is not None: - _body_params = _params['api_v1_organizations_organization_id_session_trial_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/organizations/{organizationId}/session/trial', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_password_backup_private_key_get(self, **kwargs) -> ApiV1PasswordBackupPrivateKeyGet200Response: # noqa: E501 - """api_v1_password_backup_private_key_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_backup_private_key_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PasswordBackupPrivateKeyGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_password_backup_private_key_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_password_backup_private_key_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_password_backup_private_key_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_password_backup_private_key_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_backup_private_key_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PasswordBackupPrivateKeyGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_password_backup_private_key_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PasswordBackupPrivateKeyGet200Response", - } - - return self.api_client.call_api( - '/api/v1/password/backup-private-key', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_password_backup_private_key_post(self, api_v1_password_backup_private_key_post_request : ApiV1PasswordBackupPrivateKeyPostRequest, **kwargs) -> ApiV1PasswordBackupPrivateKeyGet200Response: # noqa: E501 - """api_v1_password_backup_private_key_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_backup_private_key_post(api_v1_password_backup_private_key_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_backup_private_key_post_request: (required) - :type api_v1_password_backup_private_key_post_request: ApiV1PasswordBackupPrivateKeyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PasswordBackupPrivateKeyGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_password_backup_private_key_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_password_backup_private_key_post_with_http_info(api_v1_password_backup_private_key_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_password_backup_private_key_post_with_http_info(self, api_v1_password_backup_private_key_post_request : ApiV1PasswordBackupPrivateKeyPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_password_backup_private_key_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_backup_private_key_post_with_http_info(api_v1_password_backup_private_key_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_backup_private_key_post_request: (required) - :type api_v1_password_backup_private_key_post_request: ApiV1PasswordBackupPrivateKeyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PasswordBackupPrivateKeyGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_password_backup_private_key_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_password_backup_private_key_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_password_backup_private_key_post_request'] is not None: - _body_params = _params['api_v1_password_backup_private_key_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PasswordBackupPrivateKeyGet200Response", - } - - return self.api_client.call_api( - '/api/v1/password/backup-private-key', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_password_change_password_post(self, api_v1_password_change_password_post_request : ApiV1PasswordChangePasswordPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v1_password_change_password_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_change_password_post(api_v1_password_change_password_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_change_password_post_request: (required) - :type api_v1_password_change_password_post_request: ApiV1PasswordChangePasswordPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_password_change_password_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_password_change_password_post_with_http_info(api_v1_password_change_password_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_password_change_password_post_with_http_info(self, api_v1_password_change_password_post_request : ApiV1PasswordChangePasswordPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_password_change_password_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_change_password_post_with_http_info(api_v1_password_change_password_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_change_password_post_request: (required) - :type api_v1_password_change_password_post_request: ApiV1PasswordChangePasswordPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_password_change_password_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_password_change_password_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_password_change_password_post_request'] is not None: - _body_params = _params['api_v1_password_change_password_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v1/password/change-password', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_password_email_password_reset_post(self, api_v1_password_email_password_reset_post_request : ApiV1PasswordEmailPasswordResetPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v1_password_email_password_reset_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_email_password_reset_post(api_v1_password_email_password_reset_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_email_password_reset_post_request: (required) - :type api_v1_password_email_password_reset_post_request: ApiV1PasswordEmailPasswordResetPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_password_email_password_reset_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_password_email_password_reset_post_with_http_info(api_v1_password_email_password_reset_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_password_email_password_reset_post_with_http_info(self, api_v1_password_email_password_reset_post_request : ApiV1PasswordEmailPasswordResetPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_password_email_password_reset_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_email_password_reset_post_with_http_info(api_v1_password_email_password_reset_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_email_password_reset_post_request: (required) - :type api_v1_password_email_password_reset_post_request: ApiV1PasswordEmailPasswordResetPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_password_email_password_reset_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_password_email_password_reset_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_password_email_password_reset_post_request'] is not None: - _body_params = _params['api_v1_password_email_password_reset_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v1/password/email/password-reset', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_password_email_password_reset_verify_post(self, api_v1_password_email_password_reset_verify_post_request : ApiV1PasswordEmailPasswordResetVerifyPostRequest, **kwargs) -> ApiV1PasswordEmailPasswordResetVerifyPost200Response: # noqa: E501 - """api_v1_password_email_password_reset_verify_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_email_password_reset_verify_post(api_v1_password_email_password_reset_verify_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_email_password_reset_verify_post_request: (required) - :type api_v1_password_email_password_reset_verify_post_request: ApiV1PasswordEmailPasswordResetVerifyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PasswordEmailPasswordResetVerifyPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_password_email_password_reset_verify_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_password_email_password_reset_verify_post_with_http_info(api_v1_password_email_password_reset_verify_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_password_email_password_reset_verify_post_with_http_info(self, api_v1_password_email_password_reset_verify_post_request : ApiV1PasswordEmailPasswordResetVerifyPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_password_email_password_reset_verify_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_email_password_reset_verify_post_with_http_info(api_v1_password_email_password_reset_verify_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_email_password_reset_verify_post_request: (required) - :type api_v1_password_email_password_reset_verify_post_request: ApiV1PasswordEmailPasswordResetVerifyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PasswordEmailPasswordResetVerifyPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_password_email_password_reset_verify_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_password_email_password_reset_verify_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_password_email_password_reset_verify_post_request'] is not None: - _body_params = _params['api_v1_password_email_password_reset_verify_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PasswordEmailPasswordResetVerifyPost200Response", - } - - return self.api_client.call_api( - '/api/v1/password/email/password-reset-verify', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_password_password_reset_post(self, api_v1_password_password_reset_post_request : ApiV1PasswordPasswordResetPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v1_password_password_reset_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_password_reset_post(api_v1_password_password_reset_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_password_reset_post_request: (required) - :type api_v1_password_password_reset_post_request: ApiV1PasswordPasswordResetPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_password_password_reset_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_password_password_reset_post_with_http_info(api_v1_password_password_reset_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_password_password_reset_post_with_http_info(self, api_v1_password_password_reset_post_request : ApiV1PasswordPasswordResetPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_password_password_reset_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_password_reset_post_with_http_info(api_v1_password_password_reset_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_password_reset_post_request: (required) - :type api_v1_password_password_reset_post_request: ApiV1PasswordPasswordResetPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_password_password_reset_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_password_password_reset_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_password_password_reset_post_request'] is not None: - _body_params = _params['api_v1_password_password_reset_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v1/password/password-reset', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_password_srp1_post(self, api_v1_password_srp1_post_request : ApiV1PasswordSrp1PostRequest, **kwargs) -> ApiV1PasswordSrp1Post200Response: # noqa: E501 - """api_v1_password_srp1_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_srp1_post(api_v1_password_srp1_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_srp1_post_request: (required) - :type api_v1_password_srp1_post_request: ApiV1PasswordSrp1PostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PasswordSrp1Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_password_srp1_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_password_srp1_post_with_http_info(api_v1_password_srp1_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_password_srp1_post_with_http_info(self, api_v1_password_srp1_post_request : ApiV1PasswordSrp1PostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_password_srp1_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_password_srp1_post_with_http_info(api_v1_password_srp1_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_srp1_post_request: (required) - :type api_v1_password_srp1_post_request: ApiV1PasswordSrp1PostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PasswordSrp1Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_password_srp1_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_password_srp1_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_password_srp1_post_request'] is not None: - _body_params = _params['api_v1_password_srp1_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PasswordSrp1Post200Response", - } - - return self.api_client.call_api( - '/api/v1/password/srp1', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_ca_id_certificate_get(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to get the certificate body and certificate chain from")], **kwargs) -> ApiV1PkiCaCaIdCertificateGet200Response: # noqa: E501 - """api_v1_pki_ca_ca_id_certificate_get # noqa: E501 - - Get cert and cert chain of a CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_certificate_get(ca_id, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to get the certificate body and certificate chain from (required) - :type ca_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaCaIdCertificateGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_ca_id_certificate_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_ca_id_certificate_get_with_http_info(ca_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_ca_id_certificate_get_with_http_info(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to get the certificate body and certificate chain from")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_ca_id_certificate_get # noqa: E501 - - Get cert and cert chain of a CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_certificate_get_with_http_info(ca_id, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to get the certificate body and certificate chain from (required) - :type ca_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaCaIdCertificateGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'ca_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_ca_id_certificate_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['ca_id'] is not None: - _path_params['caId'] = _params['ca_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaCaIdCertificateGet200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca/{caId}/certificate', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_ca_id_crl_get(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to get the certificate revocation list (CRL) for")], **kwargs) -> ApiV1PkiCaCaIdCrlGet200Response: # noqa: E501 - """api_v1_pki_ca_ca_id_crl_get # noqa: E501 - - Get CRL of the CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_crl_get(ca_id, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to get the certificate revocation list (CRL) for (required) - :type ca_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaCaIdCrlGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_ca_id_crl_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_ca_id_crl_get_with_http_info(ca_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_ca_id_crl_get_with_http_info(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to get the certificate revocation list (CRL) for")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_ca_id_crl_get # noqa: E501 - - Get CRL of the CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_crl_get_with_http_info(ca_id, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to get the certificate revocation list (CRL) for (required) - :type ca_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaCaIdCrlGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'ca_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_ca_id_crl_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['ca_id'] is not None: - _path_params['caId'] = _params['ca_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaCaIdCrlGet200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca/{caId}/crl', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_ca_id_csr_get(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to generate CSR from")], **kwargs) -> ApiV1PkiCaCaIdCsrGet200Response: # noqa: E501 - """api_v1_pki_ca_ca_id_csr_get # noqa: E501 - - Get CA CSR # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_csr_get(ca_id, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to generate CSR from (required) - :type ca_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaCaIdCsrGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_ca_id_csr_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_ca_id_csr_get_with_http_info(ca_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_ca_id_csr_get_with_http_info(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to generate CSR from")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_ca_id_csr_get # noqa: E501 - - Get CA CSR # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_csr_get_with_http_info(ca_id, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to generate CSR from (required) - :type ca_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaCaIdCsrGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'ca_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_ca_id_csr_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['ca_id'] is not None: - _path_params['caId'] = _params['ca_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaCaIdCsrGet200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca/{caId}/csr', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_ca_id_delete(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to delete")], **kwargs) -> ApiV1PkiCaPost200Response: # noqa: E501 - """api_v1_pki_ca_ca_id_delete # noqa: E501 - - Delete CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_delete(ca_id, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to delete (required) - :type ca_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_ca_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_ca_id_delete_with_http_info(ca_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_ca_id_delete_with_http_info(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to delete")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_ca_id_delete # noqa: E501 - - Delete CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_delete_with_http_info(ca_id, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to delete (required) - :type ca_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'ca_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_ca_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['ca_id'] is not None: - _path_params['caId'] = _params['ca_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaPost200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca/{caId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_ca_id_get(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to get")], **kwargs) -> ApiV1PkiCaPost200Response: # noqa: E501 - """api_v1_pki_ca_ca_id_get # noqa: E501 - - Get CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_get(ca_id, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to get (required) - :type ca_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_ca_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_ca_id_get_with_http_info(ca_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_ca_id_get_with_http_info(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to get")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_ca_id_get # noqa: E501 - - Get CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_get_with_http_info(ca_id, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to get (required) - :type ca_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'ca_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_ca_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['ca_id'] is not None: - _path_params['caId'] = _params['ca_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaPost200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca/{caId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_ca_id_import_certificate_post(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to import the certificate for")], api_v1_pki_ca_ca_id_import_certificate_post_request : ApiV1PkiCaCaIdImportCertificatePostRequest, **kwargs) -> ApiV1PkiCaCaIdImportCertificatePost200Response: # noqa: E501 - """api_v1_pki_ca_ca_id_import_certificate_post # noqa: E501 - - Import certificate and chain to CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_import_certificate_post(ca_id, api_v1_pki_ca_ca_id_import_certificate_post_request, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to import the certificate for (required) - :type ca_id: str - :param api_v1_pki_ca_ca_id_import_certificate_post_request: (required) - :type api_v1_pki_ca_ca_id_import_certificate_post_request: ApiV1PkiCaCaIdImportCertificatePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaCaIdImportCertificatePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_ca_id_import_certificate_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_ca_id_import_certificate_post_with_http_info(ca_id, api_v1_pki_ca_ca_id_import_certificate_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_ca_id_import_certificate_post_with_http_info(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to import the certificate for")], api_v1_pki_ca_ca_id_import_certificate_post_request : ApiV1PkiCaCaIdImportCertificatePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_ca_id_import_certificate_post # noqa: E501 - - Import certificate and chain to CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_import_certificate_post_with_http_info(ca_id, api_v1_pki_ca_ca_id_import_certificate_post_request, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to import the certificate for (required) - :type ca_id: str - :param api_v1_pki_ca_ca_id_import_certificate_post_request: (required) - :type api_v1_pki_ca_ca_id_import_certificate_post_request: ApiV1PkiCaCaIdImportCertificatePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaCaIdImportCertificatePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'ca_id', - 'api_v1_pki_ca_ca_id_import_certificate_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_ca_id_import_certificate_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['ca_id'] is not None: - _path_params['caId'] = _params['ca_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_pki_ca_ca_id_import_certificate_post_request'] is not None: - _body_params = _params['api_v1_pki_ca_ca_id_import_certificate_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaCaIdImportCertificatePost200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca/{caId}/import-certificate', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_ca_id_issue_certificate_post(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to issue the certificate from")], api_v1_pki_ca_ca_id_issue_certificate_post_request : ApiV1PkiCaCaIdIssueCertificatePostRequest, **kwargs) -> ApiV1PkiCaCaIdIssueCertificatePost200Response: # noqa: E501 - """api_v1_pki_ca_ca_id_issue_certificate_post # noqa: E501 - - Issue certificate from CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_issue_certificate_post(ca_id, api_v1_pki_ca_ca_id_issue_certificate_post_request, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to issue the certificate from (required) - :type ca_id: str - :param api_v1_pki_ca_ca_id_issue_certificate_post_request: (required) - :type api_v1_pki_ca_ca_id_issue_certificate_post_request: ApiV1PkiCaCaIdIssueCertificatePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaCaIdIssueCertificatePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_ca_id_issue_certificate_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_ca_id_issue_certificate_post_with_http_info(ca_id, api_v1_pki_ca_ca_id_issue_certificate_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_ca_id_issue_certificate_post_with_http_info(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to issue the certificate from")], api_v1_pki_ca_ca_id_issue_certificate_post_request : ApiV1PkiCaCaIdIssueCertificatePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_ca_id_issue_certificate_post # noqa: E501 - - Issue certificate from CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_issue_certificate_post_with_http_info(ca_id, api_v1_pki_ca_ca_id_issue_certificate_post_request, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to issue the certificate from (required) - :type ca_id: str - :param api_v1_pki_ca_ca_id_issue_certificate_post_request: (required) - :type api_v1_pki_ca_ca_id_issue_certificate_post_request: ApiV1PkiCaCaIdIssueCertificatePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaCaIdIssueCertificatePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'ca_id', - 'api_v1_pki_ca_ca_id_issue_certificate_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_ca_id_issue_certificate_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['ca_id'] is not None: - _path_params['caId'] = _params['ca_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_pki_ca_ca_id_issue_certificate_post_request'] is not None: - _body_params = _params['api_v1_pki_ca_ca_id_issue_certificate_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaCaIdIssueCertificatePost200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca/{caId}/issue-certificate', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_ca_id_patch(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to update")], api_v1_pki_ca_ca_id_patch_request : Optional[ApiV1PkiCaCaIdPatchRequest] = None, **kwargs) -> ApiV1PkiCaPost200Response: # noqa: E501 - """api_v1_pki_ca_ca_id_patch # noqa: E501 - - Update CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_patch(ca_id, api_v1_pki_ca_ca_id_patch_request, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to update (required) - :type ca_id: str - :param api_v1_pki_ca_ca_id_patch_request: - :type api_v1_pki_ca_ca_id_patch_request: ApiV1PkiCaCaIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_ca_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_ca_id_patch_with_http_info(ca_id, api_v1_pki_ca_ca_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_ca_id_patch_with_http_info(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to update")], api_v1_pki_ca_ca_id_patch_request : Optional[ApiV1PkiCaCaIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_ca_id_patch # noqa: E501 - - Update CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_patch_with_http_info(ca_id, api_v1_pki_ca_ca_id_patch_request, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to update (required) - :type ca_id: str - :param api_v1_pki_ca_ca_id_patch_request: - :type api_v1_pki_ca_ca_id_patch_request: ApiV1PkiCaCaIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'ca_id', - 'api_v1_pki_ca_ca_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_ca_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['ca_id'] is not None: - _path_params['caId'] = _params['ca_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_pki_ca_ca_id_patch_request'] is not None: - _body_params = _params['api_v1_pki_ca_ca_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaPost200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca/{caId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_ca_id_sign_certificate_post(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to issue the certificate from")], api_v1_pki_ca_ca_id_sign_certificate_post_request : ApiV1PkiCaCaIdSignCertificatePostRequest, **kwargs) -> ApiV1PkiCaCaIdSignCertificatePost200Response: # noqa: E501 - """api_v1_pki_ca_ca_id_sign_certificate_post # noqa: E501 - - Sign certificate from CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_sign_certificate_post(ca_id, api_v1_pki_ca_ca_id_sign_certificate_post_request, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to issue the certificate from (required) - :type ca_id: str - :param api_v1_pki_ca_ca_id_sign_certificate_post_request: (required) - :type api_v1_pki_ca_ca_id_sign_certificate_post_request: ApiV1PkiCaCaIdSignCertificatePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaCaIdSignCertificatePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_ca_id_sign_certificate_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_ca_id_sign_certificate_post_with_http_info(ca_id, api_v1_pki_ca_ca_id_sign_certificate_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_ca_id_sign_certificate_post_with_http_info(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to issue the certificate from")], api_v1_pki_ca_ca_id_sign_certificate_post_request : ApiV1PkiCaCaIdSignCertificatePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_ca_id_sign_certificate_post # noqa: E501 - - Sign certificate from CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_sign_certificate_post_with_http_info(ca_id, api_v1_pki_ca_ca_id_sign_certificate_post_request, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to issue the certificate from (required) - :type ca_id: str - :param api_v1_pki_ca_ca_id_sign_certificate_post_request: (required) - :type api_v1_pki_ca_ca_id_sign_certificate_post_request: ApiV1PkiCaCaIdSignCertificatePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaCaIdSignCertificatePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'ca_id', - 'api_v1_pki_ca_ca_id_sign_certificate_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_ca_id_sign_certificate_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['ca_id'] is not None: - _path_params['caId'] = _params['ca_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_pki_ca_ca_id_sign_certificate_post_request'] is not None: - _body_params = _params['api_v1_pki_ca_ca_id_sign_certificate_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaCaIdSignCertificatePost200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca/{caId}/sign-certificate', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_ca_id_sign_intermediate_post(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to sign the intermediate certificate with")], api_v1_pki_ca_ca_id_sign_intermediate_post_request : ApiV1PkiCaCaIdSignIntermediatePostRequest, **kwargs) -> ApiV1PkiCaCaIdSignIntermediatePost200Response: # noqa: E501 - """api_v1_pki_ca_ca_id_sign_intermediate_post # noqa: E501 - - Create intermediate CA certificate from parent CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_sign_intermediate_post(ca_id, api_v1_pki_ca_ca_id_sign_intermediate_post_request, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to sign the intermediate certificate with (required) - :type ca_id: str - :param api_v1_pki_ca_ca_id_sign_intermediate_post_request: (required) - :type api_v1_pki_ca_ca_id_sign_intermediate_post_request: ApiV1PkiCaCaIdSignIntermediatePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaCaIdSignIntermediatePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_ca_id_sign_intermediate_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_ca_id_sign_intermediate_post_with_http_info(ca_id, api_v1_pki_ca_ca_id_sign_intermediate_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_ca_id_sign_intermediate_post_with_http_info(self, ca_id : Annotated[StrictStr, Field(..., description="The ID of the CA to sign the intermediate certificate with")], api_v1_pki_ca_ca_id_sign_intermediate_post_request : ApiV1PkiCaCaIdSignIntermediatePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_ca_id_sign_intermediate_post # noqa: E501 - - Create intermediate CA certificate from parent CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_ca_id_sign_intermediate_post_with_http_info(ca_id, api_v1_pki_ca_ca_id_sign_intermediate_post_request, async_req=True) - >>> result = thread.get() - - :param ca_id: The ID of the CA to sign the intermediate certificate with (required) - :type ca_id: str - :param api_v1_pki_ca_ca_id_sign_intermediate_post_request: (required) - :type api_v1_pki_ca_ca_id_sign_intermediate_post_request: ApiV1PkiCaCaIdSignIntermediatePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaCaIdSignIntermediatePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'ca_id', - 'api_v1_pki_ca_ca_id_sign_intermediate_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_ca_id_sign_intermediate_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['ca_id'] is not None: - _path_params['caId'] = _params['ca_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_pki_ca_ca_id_sign_intermediate_post_request'] is not None: - _body_params = _params['api_v1_pki_ca_ca_id_sign_intermediate_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaCaIdSignIntermediatePost200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca/{caId}/sign-intermediate', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_ca_post(self, api_v1_pki_ca_post_request : ApiV1PkiCaPostRequest, **kwargs) -> ApiV1PkiCaPost200Response: # noqa: E501 - """api_v1_pki_ca_post # noqa: E501 - - Create CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_post(api_v1_pki_ca_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_pki_ca_post_request: (required) - :type api_v1_pki_ca_post_request: ApiV1PkiCaPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCaPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_ca_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_ca_post_with_http_info(api_v1_pki_ca_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_ca_post_with_http_info(self, api_v1_pki_ca_post_request : ApiV1PkiCaPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_ca_post # noqa: E501 - - Create CA # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_ca_post_with_http_info(api_v1_pki_ca_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_pki_ca_post_request: (required) - :type api_v1_pki_ca_post_request: ApiV1PkiCaPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCaPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_pki_ca_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_ca_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_pki_ca_post_request'] is not None: - _body_params = _params['api_v1_pki_ca_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCaPost200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/ca', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_certificates_serial_number_certificate_get(self, serial_number : Annotated[StrictStr, Field(..., description="The serial number of the certificate to get the certificate body and certificate chain for")], **kwargs) -> ApiV1PkiCertificatesSerialNumberCertificateGet200Response: # noqa: E501 - """api_v1_pki_certificates_serial_number_certificate_get # noqa: E501 - - Get certificate body of certificate # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_certificates_serial_number_certificate_get(serial_number, async_req=True) - >>> result = thread.get() - - :param serial_number: The serial number of the certificate to get the certificate body and certificate chain for (required) - :type serial_number: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCertificatesSerialNumberCertificateGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_certificates_serial_number_certificate_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_certificates_serial_number_certificate_get_with_http_info(serial_number, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_certificates_serial_number_certificate_get_with_http_info(self, serial_number : Annotated[StrictStr, Field(..., description="The serial number of the certificate to get the certificate body and certificate chain for")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_certificates_serial_number_certificate_get # noqa: E501 - - Get certificate body of certificate # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_certificates_serial_number_certificate_get_with_http_info(serial_number, async_req=True) - >>> result = thread.get() - - :param serial_number: The serial number of the certificate to get the certificate body and certificate chain for (required) - :type serial_number: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCertificatesSerialNumberCertificateGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'serial_number' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_certificates_serial_number_certificate_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['serial_number'] is not None: - _path_params['serialNumber'] = _params['serial_number'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCertificatesSerialNumberCertificateGet200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/certificates/{serialNumber}/certificate', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_certificates_serial_number_delete(self, serial_number : Annotated[StrictStr, Field(..., description="The serial number of the certificate to delete")], **kwargs) -> ApiV1PkiCertificatesSerialNumberGet200Response: # noqa: E501 - """api_v1_pki_certificates_serial_number_delete # noqa: E501 - - Delete certificate # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_certificates_serial_number_delete(serial_number, async_req=True) - >>> result = thread.get() - - :param serial_number: The serial number of the certificate to delete (required) - :type serial_number: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCertificatesSerialNumberGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_certificates_serial_number_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_certificates_serial_number_delete_with_http_info(serial_number, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_certificates_serial_number_delete_with_http_info(self, serial_number : Annotated[StrictStr, Field(..., description="The serial number of the certificate to delete")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_certificates_serial_number_delete # noqa: E501 - - Delete certificate # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_certificates_serial_number_delete_with_http_info(serial_number, async_req=True) - >>> result = thread.get() - - :param serial_number: The serial number of the certificate to delete (required) - :type serial_number: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCertificatesSerialNumberGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'serial_number' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_certificates_serial_number_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['serial_number'] is not None: - _path_params['serialNumber'] = _params['serial_number'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCertificatesSerialNumberGet200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/certificates/{serialNumber}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_certificates_serial_number_get(self, serial_number : Annotated[StrictStr, Field(..., description="The serial number of the certificate to get")], **kwargs) -> ApiV1PkiCertificatesSerialNumberGet200Response: # noqa: E501 - """api_v1_pki_certificates_serial_number_get # noqa: E501 - - Get certificate # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_certificates_serial_number_get(serial_number, async_req=True) - >>> result = thread.get() - - :param serial_number: The serial number of the certificate to get (required) - :type serial_number: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCertificatesSerialNumberGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_certificates_serial_number_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_certificates_serial_number_get_with_http_info(serial_number, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_certificates_serial_number_get_with_http_info(self, serial_number : Annotated[StrictStr, Field(..., description="The serial number of the certificate to get")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_certificates_serial_number_get # noqa: E501 - - Get certificate # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_certificates_serial_number_get_with_http_info(serial_number, async_req=True) - >>> result = thread.get() - - :param serial_number: The serial number of the certificate to get (required) - :type serial_number: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCertificatesSerialNumberGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'serial_number' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_certificates_serial_number_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['serial_number'] is not None: - _path_params['serialNumber'] = _params['serial_number'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCertificatesSerialNumberGet200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/certificates/{serialNumber}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_pki_certificates_serial_number_revoke_post(self, serial_number : Annotated[StrictStr, Field(..., description="The serial number of the certificate to revoke. The revoked certificate will be added to the certificate revocation list (CRL) of the CA.")], api_v1_pki_certificates_serial_number_revoke_post_request : ApiV1PkiCertificatesSerialNumberRevokePostRequest, **kwargs) -> ApiV1PkiCertificatesSerialNumberRevokePost200Response: # noqa: E501 - """api_v1_pki_certificates_serial_number_revoke_post # noqa: E501 - - Revoke # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_certificates_serial_number_revoke_post(serial_number, api_v1_pki_certificates_serial_number_revoke_post_request, async_req=True) - >>> result = thread.get() - - :param serial_number: The serial number of the certificate to revoke. The revoked certificate will be added to the certificate revocation list (CRL) of the CA. (required) - :type serial_number: str - :param api_v1_pki_certificates_serial_number_revoke_post_request: (required) - :type api_v1_pki_certificates_serial_number_revoke_post_request: ApiV1PkiCertificatesSerialNumberRevokePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PkiCertificatesSerialNumberRevokePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_pki_certificates_serial_number_revoke_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_pki_certificates_serial_number_revoke_post_with_http_info(serial_number, api_v1_pki_certificates_serial_number_revoke_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_pki_certificates_serial_number_revoke_post_with_http_info(self, serial_number : Annotated[StrictStr, Field(..., description="The serial number of the certificate to revoke. The revoked certificate will be added to the certificate revocation list (CRL) of the CA.")], api_v1_pki_certificates_serial_number_revoke_post_request : ApiV1PkiCertificatesSerialNumberRevokePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_pki_certificates_serial_number_revoke_post # noqa: E501 - - Revoke # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_pki_certificates_serial_number_revoke_post_with_http_info(serial_number, api_v1_pki_certificates_serial_number_revoke_post_request, async_req=True) - >>> result = thread.get() - - :param serial_number: The serial number of the certificate to revoke. The revoked certificate will be added to the certificate revocation list (CRL) of the CA. (required) - :type serial_number: str - :param api_v1_pki_certificates_serial_number_revoke_post_request: (required) - :type api_v1_pki_certificates_serial_number_revoke_post_request: ApiV1PkiCertificatesSerialNumberRevokePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PkiCertificatesSerialNumberRevokePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'serial_number', - 'api_v1_pki_certificates_serial_number_revoke_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_pki_certificates_serial_number_revoke_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['serial_number'] is not None: - _path_params['serialNumber'] = _params['serial_number'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_pki_certificates_serial_number_revoke_post_request'] is not None: - _body_params = _params['api_v1_pki_certificates_serial_number_revoke_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PkiCertificatesSerialNumberRevokePost200Response", - } - - return self.api_client.call_api( - '/api/v1/pki/certificates/{serialNumber}/revoke', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_rate_limit_get(self, **kwargs) -> ApiV1RateLimitGet200Response: # noqa: E501 - """api_v1_rate_limit_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_rate_limit_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1RateLimitGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_rate_limit_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_rate_limit_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_rate_limit_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_rate_limit_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_rate_limit_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1RateLimitGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_rate_limit_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1RateLimitGet200Response", - } - - return self.api_client.call_api( - '/api/v1/rate-limit', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_rate_limit_put(self, api_v1_rate_limit_put_request : ApiV1RateLimitPutRequest, **kwargs) -> ApiV1RateLimitGet200Response: # noqa: E501 - """api_v1_rate_limit_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_rate_limit_put(api_v1_rate_limit_put_request, async_req=True) - >>> result = thread.get() - - :param api_v1_rate_limit_put_request: (required) - :type api_v1_rate_limit_put_request: ApiV1RateLimitPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1RateLimitGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_rate_limit_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_rate_limit_put_with_http_info(api_v1_rate_limit_put_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_rate_limit_put_with_http_info(self, api_v1_rate_limit_put_request : ApiV1RateLimitPutRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_rate_limit_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_rate_limit_put_with_http_info(api_v1_rate_limit_put_request, async_req=True) - >>> result = thread.get() - - :param api_v1_rate_limit_put_request: (required) - :type api_v1_rate_limit_put_request: ApiV1RateLimitPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1RateLimitGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_rate_limit_put_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_rate_limit_put" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_rate_limit_put_request'] is not None: - _body_params = _params['api_v1_rate_limit_put_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1RateLimitGet200Response", - } - - return self.api_client.call_api( - '/api/v1/rate-limit', 'PUT', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_groups_get(self, start_index : Optional[Union[StrictFloat, StrictInt]] = None, count : Optional[Union[StrictFloat, StrictInt]] = None, filter : Optional[StrictStr] = None, **kwargs) -> ApiV1ScimGroupsGet200Response: # noqa: E501 - """api_v1_scim_groups_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_get(start_index, count, filter, async_req=True) - >>> result = thread.get() - - :param start_index: - :type start_index: float - :param count: - :type count: float - :param filter: - :type filter: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimGroupsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_groups_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_groups_get_with_http_info(start_index, count, filter, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_groups_get_with_http_info(self, start_index : Optional[Union[StrictFloat, StrictInt]] = None, count : Optional[Union[StrictFloat, StrictInt]] = None, filter : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_groups_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_get_with_http_info(start_index, count, filter, async_req=True) - >>> result = thread.get() - - :param start_index: - :type start_index: float - :param count: - :type count: float - :param filter: - :type filter: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimGroupsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'start_index', - 'count', - 'filter' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_groups_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('start_index') is not None: # noqa: E501 - _query_params.append(('startIndex', _params['start_index'])) - - if _params.get('count') is not None: # noqa: E501 - _query_params.append(('count', _params['count'])) - - if _params.get('filter') is not None: # noqa: E501 - _query_params.append(('filter', _params['filter'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimGroupsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/scim/Groups', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_groups_group_id_delete(self, group_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_scim_groups_group_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_group_id_delete(group_id, async_req=True) - >>> result = thread.get() - - :param group_id: (required) - :type group_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_groups_group_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_groups_group_id_delete_with_http_info(group_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_groups_group_id_delete_with_http_info(self, group_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_groups_group_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_group_id_delete_with_http_info(group_id, async_req=True) - >>> result = thread.get() - - :param group_id: (required) - :type group_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'group_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_groups_group_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['group_id'] is not None: - _path_params['groupId'] = _params['group_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/scim/Groups/{groupId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_groups_group_id_get(self, group_id : StrictStr, **kwargs) -> ApiV1ScimGroupsGet200ResponseResourcesInner: # noqa: E501 - """api_v1_scim_groups_group_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_group_id_get(group_id, async_req=True) - >>> result = thread.get() - - :param group_id: (required) - :type group_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimGroupsGet200ResponseResourcesInner - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_groups_group_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_groups_group_id_get_with_http_info(group_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_groups_group_id_get_with_http_info(self, group_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_groups_group_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_group_id_get_with_http_info(group_id, async_req=True) - >>> result = thread.get() - - :param group_id: (required) - :type group_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimGroupsGet200ResponseResourcesInner, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'group_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_groups_group_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['group_id'] is not None: - _path_params['groupId'] = _params['group_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimGroupsGet200ResponseResourcesInner", - } - - return self.api_client.call_api( - '/api/v1/scim/Groups/{groupId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_groups_group_id_patch(self, group_id : StrictStr, api_v1_scim_groups_group_id_patch_request : ApiV1ScimGroupsGroupIdPatchRequest, **kwargs) -> ApiV1ScimGroupsGet200ResponseResourcesInner: # noqa: E501 - """api_v1_scim_groups_group_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_group_id_patch(group_id, api_v1_scim_groups_group_id_patch_request, async_req=True) - >>> result = thread.get() - - :param group_id: (required) - :type group_id: str - :param api_v1_scim_groups_group_id_patch_request: (required) - :type api_v1_scim_groups_group_id_patch_request: ApiV1ScimGroupsGroupIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimGroupsGet200ResponseResourcesInner - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_groups_group_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_groups_group_id_patch_with_http_info(group_id, api_v1_scim_groups_group_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_groups_group_id_patch_with_http_info(self, group_id : StrictStr, api_v1_scim_groups_group_id_patch_request : ApiV1ScimGroupsGroupIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_groups_group_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_group_id_patch_with_http_info(group_id, api_v1_scim_groups_group_id_patch_request, async_req=True) - >>> result = thread.get() - - :param group_id: (required) - :type group_id: str - :param api_v1_scim_groups_group_id_patch_request: (required) - :type api_v1_scim_groups_group_id_patch_request: ApiV1ScimGroupsGroupIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimGroupsGet200ResponseResourcesInner, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'group_id', - 'api_v1_scim_groups_group_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_groups_group_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['group_id'] is not None: - _path_params['groupId'] = _params['group_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_scim_groups_group_id_patch_request'] is not None: - _body_params = _params['api_v1_scim_groups_group_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimGroupsGet200ResponseResourcesInner", - } - - return self.api_client.call_api( - '/api/v1/scim/Groups/{groupId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_groups_group_id_put(self, group_id : StrictStr, api_v1_scim_groups_group_id_put_request : ApiV1ScimGroupsGroupIdPutRequest, **kwargs) -> ApiV1ScimGroupsGet200ResponseResourcesInner: # noqa: E501 - """api_v1_scim_groups_group_id_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_group_id_put(group_id, api_v1_scim_groups_group_id_put_request, async_req=True) - >>> result = thread.get() - - :param group_id: (required) - :type group_id: str - :param api_v1_scim_groups_group_id_put_request: (required) - :type api_v1_scim_groups_group_id_put_request: ApiV1ScimGroupsGroupIdPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimGroupsGet200ResponseResourcesInner - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_groups_group_id_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_groups_group_id_put_with_http_info(group_id, api_v1_scim_groups_group_id_put_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_groups_group_id_put_with_http_info(self, group_id : StrictStr, api_v1_scim_groups_group_id_put_request : ApiV1ScimGroupsGroupIdPutRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_groups_group_id_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_group_id_put_with_http_info(group_id, api_v1_scim_groups_group_id_put_request, async_req=True) - >>> result = thread.get() - - :param group_id: (required) - :type group_id: str - :param api_v1_scim_groups_group_id_put_request: (required) - :type api_v1_scim_groups_group_id_put_request: ApiV1ScimGroupsGroupIdPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimGroupsGet200ResponseResourcesInner, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'group_id', - 'api_v1_scim_groups_group_id_put_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_groups_group_id_put" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['group_id'] is not None: - _path_params['groupId'] = _params['group_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_scim_groups_group_id_put_request'] is not None: - _body_params = _params['api_v1_scim_groups_group_id_put_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimGroupsGet200ResponseResourcesInner", - } - - return self.api_client.call_api( - '/api/v1/scim/Groups/{groupId}', 'PUT', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_groups_post(self, api_v1_scim_groups_post_request : ApiV1ScimGroupsPostRequest, **kwargs) -> ApiV1ScimGroupsPost200Response: # noqa: E501 - """api_v1_scim_groups_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_post(api_v1_scim_groups_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_scim_groups_post_request: (required) - :type api_v1_scim_groups_post_request: ApiV1ScimGroupsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimGroupsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_groups_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_groups_post_with_http_info(api_v1_scim_groups_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_groups_post_with_http_info(self, api_v1_scim_groups_post_request : ApiV1ScimGroupsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_groups_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_groups_post_with_http_info(api_v1_scim_groups_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_scim_groups_post_request: (required) - :type api_v1_scim_groups_post_request: ApiV1ScimGroupsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimGroupsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_scim_groups_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_groups_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_scim_groups_post_request'] is not None: - _body_params = _params['api_v1_scim_groups_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimGroupsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/scim/Groups', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_scim_tokens_get(self, organization_id : StrictStr, **kwargs) -> ApiV1ScimScimTokensGet200Response: # noqa: E501 - """api_v1_scim_scim_tokens_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_scim_tokens_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimScimTokensGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_scim_tokens_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_scim_tokens_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_scim_tokens_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_scim_tokens_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_scim_tokens_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimScimTokensGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_scim_tokens_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('organization_id') is not None: # noqa: E501 - _query_params.append(('organizationId', _params['organization_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimScimTokensGet200Response", - } - - return self.api_client.call_api( - '/api/v1/scim/scim-tokens', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_scim_tokens_post(self, api_v1_scim_scim_tokens_post_request : ApiV1ScimScimTokensPostRequest, **kwargs) -> ApiV1ScimScimTokensPost200Response: # noqa: E501 - """api_v1_scim_scim_tokens_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_scim_tokens_post(api_v1_scim_scim_tokens_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_scim_scim_tokens_post_request: (required) - :type api_v1_scim_scim_tokens_post_request: ApiV1ScimScimTokensPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimScimTokensPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_scim_tokens_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_scim_tokens_post_with_http_info(api_v1_scim_scim_tokens_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_scim_tokens_post_with_http_info(self, api_v1_scim_scim_tokens_post_request : ApiV1ScimScimTokensPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_scim_tokens_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_scim_tokens_post_with_http_info(api_v1_scim_scim_tokens_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_scim_scim_tokens_post_request: (required) - :type api_v1_scim_scim_tokens_post_request: ApiV1ScimScimTokensPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimScimTokensPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_scim_scim_tokens_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_scim_tokens_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_scim_scim_tokens_post_request'] is not None: - _body_params = _params['api_v1_scim_scim_tokens_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimScimTokensPost200Response", - } - - return self.api_client.call_api( - '/api/v1/scim/scim-tokens', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_scim_tokens_scim_token_id_delete(self, scim_token_id : StrictStr, **kwargs) -> ApiV1ScimScimTokensScimTokenIdDelete200Response: # noqa: E501 - """api_v1_scim_scim_tokens_scim_token_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_scim_tokens_scim_token_id_delete(scim_token_id, async_req=True) - >>> result = thread.get() - - :param scim_token_id: (required) - :type scim_token_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimScimTokensScimTokenIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_scim_tokens_scim_token_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_scim_tokens_scim_token_id_delete_with_http_info(scim_token_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_scim_tokens_scim_token_id_delete_with_http_info(self, scim_token_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_scim_tokens_scim_token_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_scim_tokens_scim_token_id_delete_with_http_info(scim_token_id, async_req=True) - >>> result = thread.get() - - :param scim_token_id: (required) - :type scim_token_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimScimTokensScimTokenIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'scim_token_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_scim_tokens_scim_token_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['scim_token_id'] is not None: - _path_params['scimTokenId'] = _params['scim_token_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimScimTokensScimTokenIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v1/scim/scim-tokens/{scimTokenId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_users_get(self, start_index : Optional[Union[StrictFloat, StrictInt]] = None, count : Optional[Union[StrictFloat, StrictInt]] = None, filter : Optional[StrictStr] = None, **kwargs) -> ApiV1ScimUsersGet200Response: # noqa: E501 - """api_v1_scim_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_users_get(start_index, count, filter, async_req=True) - >>> result = thread.get() - - :param start_index: - :type start_index: float - :param count: - :type count: float - :param filter: - :type filter: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimUsersGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_users_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_users_get_with_http_info(start_index, count, filter, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_users_get_with_http_info(self, start_index : Optional[Union[StrictFloat, StrictInt]] = None, count : Optional[Union[StrictFloat, StrictInt]] = None, filter : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_users_get_with_http_info(start_index, count, filter, async_req=True) - >>> result = thread.get() - - :param start_index: - :type start_index: float - :param count: - :type count: float - :param filter: - :type filter: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimUsersGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'start_index', - 'count', - 'filter' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_users_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('start_index') is not None: # noqa: E501 - _query_params.append(('startIndex', _params['start_index'])) - - if _params.get('count') is not None: # noqa: E501 - _query_params.append(('count', _params['count'])) - - if _params.get('filter') is not None: # noqa: E501 - _query_params.append(('filter', _params['filter'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimUsersGet200Response", - } - - return self.api_client.call_api( - '/api/v1/scim/Users', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_users_org_membership_id_delete(self, org_membership_id : StrictStr, **kwargs) -> object: # noqa: E501 - """api_v1_scim_users_org_membership_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_users_org_membership_id_delete(org_membership_id, async_req=True) - >>> result = thread.get() - - :param org_membership_id: (required) - :type org_membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_users_org_membership_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_users_org_membership_id_delete_with_http_info(org_membership_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_users_org_membership_id_delete_with_http_info(self, org_membership_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_users_org_membership_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_users_org_membership_id_delete_with_http_info(org_membership_id, async_req=True) - >>> result = thread.get() - - :param org_membership_id: (required) - :type org_membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'org_membership_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_users_org_membership_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['org_membership_id'] is not None: - _path_params['orgMembershipId'] = _params['org_membership_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/scim/Users/{orgMembershipId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_users_org_membership_id_get(self, org_membership_id : StrictStr, **kwargs) -> ApiV1ScimUsersOrgMembershipIdGet201Response: # noqa: E501 - """api_v1_scim_users_org_membership_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_users_org_membership_id_get(org_membership_id, async_req=True) - >>> result = thread.get() - - :param org_membership_id: (required) - :type org_membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimUsersOrgMembershipIdGet201Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_users_org_membership_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_users_org_membership_id_get_with_http_info(org_membership_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_users_org_membership_id_get_with_http_info(self, org_membership_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_users_org_membership_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_users_org_membership_id_get_with_http_info(org_membership_id, async_req=True) - >>> result = thread.get() - - :param org_membership_id: (required) - :type org_membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimUsersOrgMembershipIdGet201Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'org_membership_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_users_org_membership_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['org_membership_id'] is not None: - _path_params['orgMembershipId'] = _params['org_membership_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '201': "ApiV1ScimUsersOrgMembershipIdGet201Response", - } - - return self.api_client.call_api( - '/api/v1/scim/Users/{orgMembershipId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_users_org_membership_id_put(self, org_membership_id : StrictStr, api_v1_scim_users_org_membership_id_put_request : ApiV1ScimUsersOrgMembershipIdPutRequest, **kwargs) -> ApiV1ScimUsersOrgMembershipIdPut200Response: # noqa: E501 - """api_v1_scim_users_org_membership_id_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_users_org_membership_id_put(org_membership_id, api_v1_scim_users_org_membership_id_put_request, async_req=True) - >>> result = thread.get() - - :param org_membership_id: (required) - :type org_membership_id: str - :param api_v1_scim_users_org_membership_id_put_request: (required) - :type api_v1_scim_users_org_membership_id_put_request: ApiV1ScimUsersOrgMembershipIdPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimUsersOrgMembershipIdPut200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_users_org_membership_id_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_users_org_membership_id_put_with_http_info(org_membership_id, api_v1_scim_users_org_membership_id_put_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_users_org_membership_id_put_with_http_info(self, org_membership_id : StrictStr, api_v1_scim_users_org_membership_id_put_request : ApiV1ScimUsersOrgMembershipIdPutRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_users_org_membership_id_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_users_org_membership_id_put_with_http_info(org_membership_id, api_v1_scim_users_org_membership_id_put_request, async_req=True) - >>> result = thread.get() - - :param org_membership_id: (required) - :type org_membership_id: str - :param api_v1_scim_users_org_membership_id_put_request: (required) - :type api_v1_scim_users_org_membership_id_put_request: ApiV1ScimUsersOrgMembershipIdPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimUsersOrgMembershipIdPut200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'org_membership_id', - 'api_v1_scim_users_org_membership_id_put_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_users_org_membership_id_put" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['org_membership_id'] is not None: - _path_params['orgMembershipId'] = _params['org_membership_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_scim_users_org_membership_id_put_request'] is not None: - _body_params = _params['api_v1_scim_users_org_membership_id_put_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimUsersOrgMembershipIdPut200Response", - } - - return self.api_client.call_api( - '/api/v1/scim/Users/{orgMembershipId}', 'PUT', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_scim_users_post(self, api_v1_scim_users_post_request : ApiV1ScimUsersPostRequest, **kwargs) -> ApiV1ScimUsersPost200Response: # noqa: E501 - """api_v1_scim_users_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_users_post(api_v1_scim_users_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_scim_users_post_request: (required) - :type api_v1_scim_users_post_request: ApiV1ScimUsersPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1ScimUsersPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_scim_users_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_scim_users_post_with_http_info(api_v1_scim_users_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_scim_users_post_with_http_info(self, api_v1_scim_users_post_request : ApiV1ScimUsersPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_scim_users_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_scim_users_post_with_http_info(api_v1_scim_users_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_scim_users_post_request: (required) - :type api_v1_scim_users_post_request: ApiV1ScimUsersPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1ScimUsersPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_scim_users_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_scim_users_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_scim_users_post_request'] is not None: - _body_params = _params['api_v1_scim_users_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1ScimUsersPost200Response", - } - - return self.api_client.call_api( - '/api/v1/scim/Users', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approval_requests_count_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1SecretApprovalRequestsCountGet200Response: # noqa: E501 - """api_v1_secret_approval_requests_count_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_count_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalRequestsCountGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approval_requests_count_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approval_requests_count_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approval_requests_count_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approval_requests_count_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_count_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalRequestsCountGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approval_requests_count_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalRequestsCountGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approval-requests/count', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approval_requests_get(self, workspace_id : StrictStr, environment : Optional[StrictStr] = None, committer : Optional[StrictStr] = None, status : Optional[StrictStr] = None, limit : Optional[Union[StrictFloat, StrictInt]] = None, offset : Optional[Union[StrictFloat, StrictInt]] = None, **kwargs) -> ApiV1SecretApprovalRequestsGet200Response: # noqa: E501 - """api_v1_secret_approval_requests_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_get(workspace_id, environment, committer, status, limit, offset, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: - :type environment: str - :param committer: - :type committer: str - :param status: - :type status: str - :param limit: - :type limit: float - :param offset: - :type offset: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalRequestsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approval_requests_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approval_requests_get_with_http_info(workspace_id, environment, committer, status, limit, offset, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approval_requests_get_with_http_info(self, workspace_id : StrictStr, environment : Optional[StrictStr] = None, committer : Optional[StrictStr] = None, status : Optional[StrictStr] = None, limit : Optional[Union[StrictFloat, StrictInt]] = None, offset : Optional[Union[StrictFloat, StrictInt]] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approval_requests_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_get_with_http_info(workspace_id, environment, committer, status, limit, offset, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: - :type environment: str - :param committer: - :type committer: str - :param status: - :type status: str - :param limit: - :type limit: float - :param offset: - :type offset: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalRequestsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'environment', - 'committer', - 'status', - 'limit', - 'offset' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approval_requests_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('committer') is not None: # noqa: E501 - _query_params.append(('committer', _params['committer'])) - - if _params.get('status') is not None: # noqa: E501 - _query_params.append(('status', _params['status'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalRequestsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approval-requests', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approval_requests_id_get(self, id : StrictStr, **kwargs) -> ApiV1SecretApprovalRequestsIdGet200Response: # noqa: E501 - """api_v1_secret_approval_requests_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_id_get(id, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalRequestsIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approval_requests_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approval_requests_id_get_with_http_info(id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approval_requests_id_get_with_http_info(self, id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approval_requests_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_id_get_with_http_info(id, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalRequestsIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approval_requests_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalRequestsIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approval-requests/{id}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approval_requests_id_merge_post(self, id : StrictStr, api_v1_secret_approval_requests_id_merge_post_request : Optional[ApiV1SecretApprovalRequestsIdMergePostRequest] = None, **kwargs) -> ApiV1SecretApprovalRequestsIdMergePost200Response: # noqa: E501 - """api_v1_secret_approval_requests_id_merge_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_id_merge_post(id, api_v1_secret_approval_requests_id_merge_post_request, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param api_v1_secret_approval_requests_id_merge_post_request: - :type api_v1_secret_approval_requests_id_merge_post_request: ApiV1SecretApprovalRequestsIdMergePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalRequestsIdMergePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approval_requests_id_merge_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approval_requests_id_merge_post_with_http_info(id, api_v1_secret_approval_requests_id_merge_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approval_requests_id_merge_post_with_http_info(self, id : StrictStr, api_v1_secret_approval_requests_id_merge_post_request : Optional[ApiV1SecretApprovalRequestsIdMergePostRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approval_requests_id_merge_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_id_merge_post_with_http_info(id, api_v1_secret_approval_requests_id_merge_post_request, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param api_v1_secret_approval_requests_id_merge_post_request: - :type api_v1_secret_approval_requests_id_merge_post_request: ApiV1SecretApprovalRequestsIdMergePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalRequestsIdMergePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id', - 'api_v1_secret_approval_requests_id_merge_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approval_requests_id_merge_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_approval_requests_id_merge_post_request'] is not None: - _body_params = _params['api_v1_secret_approval_requests_id_merge_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalRequestsIdMergePost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approval-requests/{id}/merge', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approval_requests_id_review_post(self, id : StrictStr, api_v1_secret_approval_requests_id_review_post_request : ApiV1SecretApprovalRequestsIdReviewPostRequest, **kwargs) -> ApiV1SecretApprovalRequestsIdReviewPost200Response: # noqa: E501 - """api_v1_secret_approval_requests_id_review_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_id_review_post(id, api_v1_secret_approval_requests_id_review_post_request, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param api_v1_secret_approval_requests_id_review_post_request: (required) - :type api_v1_secret_approval_requests_id_review_post_request: ApiV1SecretApprovalRequestsIdReviewPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalRequestsIdReviewPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approval_requests_id_review_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approval_requests_id_review_post_with_http_info(id, api_v1_secret_approval_requests_id_review_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approval_requests_id_review_post_with_http_info(self, id : StrictStr, api_v1_secret_approval_requests_id_review_post_request : ApiV1SecretApprovalRequestsIdReviewPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approval_requests_id_review_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_id_review_post_with_http_info(id, api_v1_secret_approval_requests_id_review_post_request, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param api_v1_secret_approval_requests_id_review_post_request: (required) - :type api_v1_secret_approval_requests_id_review_post_request: ApiV1SecretApprovalRequestsIdReviewPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalRequestsIdReviewPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id', - 'api_v1_secret_approval_requests_id_review_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approval_requests_id_review_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_approval_requests_id_review_post_request'] is not None: - _body_params = _params['api_v1_secret_approval_requests_id_review_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalRequestsIdReviewPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approval-requests/{id}/review', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approval_requests_id_status_post(self, id : StrictStr, api_v1_secret_approval_requests_id_status_post_request : ApiV1SecretApprovalRequestsIdStatusPostRequest, **kwargs) -> ApiV1SecretApprovalRequestsIdMergePost200Response: # noqa: E501 - """api_v1_secret_approval_requests_id_status_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_id_status_post(id, api_v1_secret_approval_requests_id_status_post_request, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param api_v1_secret_approval_requests_id_status_post_request: (required) - :type api_v1_secret_approval_requests_id_status_post_request: ApiV1SecretApprovalRequestsIdStatusPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalRequestsIdMergePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approval_requests_id_status_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approval_requests_id_status_post_with_http_info(id, api_v1_secret_approval_requests_id_status_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approval_requests_id_status_post_with_http_info(self, id : StrictStr, api_v1_secret_approval_requests_id_status_post_request : ApiV1SecretApprovalRequestsIdStatusPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approval_requests_id_status_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approval_requests_id_status_post_with_http_info(id, api_v1_secret_approval_requests_id_status_post_request, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param api_v1_secret_approval_requests_id_status_post_request: (required) - :type api_v1_secret_approval_requests_id_status_post_request: ApiV1SecretApprovalRequestsIdStatusPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalRequestsIdMergePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id', - 'api_v1_secret_approval_requests_id_status_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approval_requests_id_status_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_approval_requests_id_status_post_request'] is not None: - _body_params = _params['api_v1_secret_approval_requests_id_status_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalRequestsIdMergePost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approval-requests/{id}/status', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approvals_board_get(self, workspace_id : StrictStr, environment : StrictStr, secret_path : StrictStr, **kwargs) -> ApiV1SecretApprovalsBoardGet200Response: # noqa: E501 - """api_v1_secret_approvals_board_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approvals_board_get(workspace_id, environment, secret_path, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: (required) - :type environment: str - :param secret_path: (required) - :type secret_path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalsBoardGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approvals_board_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approvals_board_get_with_http_info(workspace_id, environment, secret_path, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approvals_board_get_with_http_info(self, workspace_id : StrictStr, environment : StrictStr, secret_path : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approvals_board_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approvals_board_get_with_http_info(workspace_id, environment, secret_path, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: (required) - :type environment: str - :param secret_path: (required) - :type secret_path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalsBoardGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'environment', - 'secret_path' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approvals_board_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('secret_path') is not None: # noqa: E501 - _query_params.append(('secretPath', _params['secret_path'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalsBoardGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approvals/board', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approvals_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1SecretApprovalsGet200Response: # noqa: E501 - """api_v1_secret_approvals_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approvals_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approvals_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approvals_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approvals_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approvals_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approvals_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approvals_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approvals', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approvals_post(self, api_v1_secret_approvals_post_request : ApiV1SecretApprovalsPostRequest, **kwargs) -> ApiV1SecretApprovalsPost200Response: # noqa: E501 - """api_v1_secret_approvals_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approvals_post(api_v1_secret_approvals_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_approvals_post_request: (required) - :type api_v1_secret_approvals_post_request: ApiV1SecretApprovalsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approvals_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approvals_post_with_http_info(api_v1_secret_approvals_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approvals_post_with_http_info(self, api_v1_secret_approvals_post_request : ApiV1SecretApprovalsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approvals_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approvals_post_with_http_info(api_v1_secret_approvals_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_approvals_post_request: (required) - :type api_v1_secret_approvals_post_request: ApiV1SecretApprovalsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_secret_approvals_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approvals_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_approvals_post_request'] is not None: - _body_params = _params['api_v1_secret_approvals_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approvals', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approvals_sap_id_delete(self, sap_id : StrictStr, **kwargs) -> ApiV1SecretApprovalsPost200Response: # noqa: E501 - """api_v1_secret_approvals_sap_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approvals_sap_id_delete(sap_id, async_req=True) - >>> result = thread.get() - - :param sap_id: (required) - :type sap_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approvals_sap_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approvals_sap_id_delete_with_http_info(sap_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approvals_sap_id_delete_with_http_info(self, sap_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approvals_sap_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approvals_sap_id_delete_with_http_info(sap_id, async_req=True) - >>> result = thread.get() - - :param sap_id: (required) - :type sap_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'sap_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approvals_sap_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['sap_id'] is not None: - _path_params['sapId'] = _params['sap_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approvals/{sapId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_approvals_sap_id_patch(self, sap_id : StrictStr, api_v1_secret_approvals_sap_id_patch_request : ApiV1SecretApprovalsSapIdPatchRequest, **kwargs) -> ApiV1SecretApprovalsPost200Response: # noqa: E501 - """api_v1_secret_approvals_sap_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approvals_sap_id_patch(sap_id, api_v1_secret_approvals_sap_id_patch_request, async_req=True) - >>> result = thread.get() - - :param sap_id: (required) - :type sap_id: str - :param api_v1_secret_approvals_sap_id_patch_request: (required) - :type api_v1_secret_approvals_sap_id_patch_request: ApiV1SecretApprovalsSapIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretApprovalsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_approvals_sap_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_approvals_sap_id_patch_with_http_info(sap_id, api_v1_secret_approvals_sap_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_approvals_sap_id_patch_with_http_info(self, sap_id : StrictStr, api_v1_secret_approvals_sap_id_patch_request : ApiV1SecretApprovalsSapIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_approvals_sap_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_approvals_sap_id_patch_with_http_info(sap_id, api_v1_secret_approvals_sap_id_patch_request, async_req=True) - >>> result = thread.get() - - :param sap_id: (required) - :type sap_id: str - :param api_v1_secret_approvals_sap_id_patch_request: (required) - :type api_v1_secret_approvals_sap_id_patch_request: ApiV1SecretApprovalsSapIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretApprovalsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'sap_id', - 'api_v1_secret_approvals_sap_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_approvals_sap_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['sap_id'] is not None: - _path_params['sapId'] = _params['sap_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_approvals_sap_id_patch_request'] is not None: - _body_params = _params['api_v1_secret_approvals_sap_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretApprovalsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-approvals/{sapId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_imports_get(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to list secret imports from.")], environment : Annotated[StrictStr, Field(..., description="The slug of the environment to list secret imports from.")], path : Annotated[Optional[StrictStr], Field(description="The path to list secret imports from.")] = None, **kwargs) -> ApiV1SecretImportsGet200Response: # noqa: E501 - """api_v1_secret_imports_get # noqa: E501 - - Get secret imports # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_get(workspace_id, environment, path, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to list secret imports from. (required) - :type workspace_id: str - :param environment: The slug of the environment to list secret imports from. (required) - :type environment: str - :param path: The path to list secret imports from. - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretImportsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_imports_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_imports_get_with_http_info(workspace_id, environment, path, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_imports_get_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to list secret imports from.")], environment : Annotated[StrictStr, Field(..., description="The slug of the environment to list secret imports from.")], path : Annotated[Optional[StrictStr], Field(description="The path to list secret imports from.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_imports_get # noqa: E501 - - Get secret imports # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_get_with_http_info(workspace_id, environment, path, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to list secret imports from. (required) - :type workspace_id: str - :param environment: The slug of the environment to list secret imports from. (required) - :type environment: str - :param path: The path to list secret imports from. - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretImportsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'environment', - 'path' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_imports_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('path') is not None: # noqa: E501 - _query_params.append(('path', _params['path'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretImportsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-imports', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_imports_post(self, api_v1_secret_imports_post_request : ApiV1SecretImportsPostRequest, **kwargs) -> ApiV1SecretImportsPost200Response: # noqa: E501 - """api_v1_secret_imports_post # noqa: E501 - - Create secret imports # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_post(api_v1_secret_imports_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_imports_post_request: (required) - :type api_v1_secret_imports_post_request: ApiV1SecretImportsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretImportsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_imports_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_imports_post_with_http_info(api_v1_secret_imports_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_imports_post_with_http_info(self, api_v1_secret_imports_post_request : ApiV1SecretImportsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_imports_post # noqa: E501 - - Create secret imports # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_post_with_http_info(api_v1_secret_imports_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_imports_post_request: (required) - :type api_v1_secret_imports_post_request: ApiV1SecretImportsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretImportsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_secret_imports_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_imports_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_imports_post_request'] is not None: - _body_params = _params['api_v1_secret_imports_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretImportsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-imports', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_imports_secret_import_id_delete(self, secret_import_id : Annotated[StrictStr, Field(..., description="The ID of the secret import to delete.")], api_v1_secret_imports_secret_import_id_delete_request : ApiV1SecretImportsSecretImportIdDeleteRequest, **kwargs) -> ApiV1SecretImportsPost200Response: # noqa: E501 - """api_v1_secret_imports_secret_import_id_delete # noqa: E501 - - Delete secret imports # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_secret_import_id_delete(secret_import_id, api_v1_secret_imports_secret_import_id_delete_request, async_req=True) - >>> result = thread.get() - - :param secret_import_id: The ID of the secret import to delete. (required) - :type secret_import_id: str - :param api_v1_secret_imports_secret_import_id_delete_request: (required) - :type api_v1_secret_imports_secret_import_id_delete_request: ApiV1SecretImportsSecretImportIdDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretImportsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_imports_secret_import_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_imports_secret_import_id_delete_with_http_info(secret_import_id, api_v1_secret_imports_secret_import_id_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_imports_secret_import_id_delete_with_http_info(self, secret_import_id : Annotated[StrictStr, Field(..., description="The ID of the secret import to delete.")], api_v1_secret_imports_secret_import_id_delete_request : ApiV1SecretImportsSecretImportIdDeleteRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_imports_secret_import_id_delete # noqa: E501 - - Delete secret imports # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_secret_import_id_delete_with_http_info(secret_import_id, api_v1_secret_imports_secret_import_id_delete_request, async_req=True) - >>> result = thread.get() - - :param secret_import_id: The ID of the secret import to delete. (required) - :type secret_import_id: str - :param api_v1_secret_imports_secret_import_id_delete_request: (required) - :type api_v1_secret_imports_secret_import_id_delete_request: ApiV1SecretImportsSecretImportIdDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretImportsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_import_id', - 'api_v1_secret_imports_secret_import_id_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_imports_secret_import_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_import_id'] is not None: - _path_params['secretImportId'] = _params['secret_import_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_imports_secret_import_id_delete_request'] is not None: - _body_params = _params['api_v1_secret_imports_secret_import_id_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretImportsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-imports/{secretImportId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_imports_secret_import_id_patch(self, secret_import_id : Annotated[StrictStr, Field(..., description="The ID of the secret import to update.")], api_v1_secret_imports_secret_import_id_patch_request : ApiV1SecretImportsSecretImportIdPatchRequest, **kwargs) -> ApiV1SecretImportsPost200Response: # noqa: E501 - """api_v1_secret_imports_secret_import_id_patch # noqa: E501 - - Update secret imports # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_secret_import_id_patch(secret_import_id, api_v1_secret_imports_secret_import_id_patch_request, async_req=True) - >>> result = thread.get() - - :param secret_import_id: The ID of the secret import to update. (required) - :type secret_import_id: str - :param api_v1_secret_imports_secret_import_id_patch_request: (required) - :type api_v1_secret_imports_secret_import_id_patch_request: ApiV1SecretImportsSecretImportIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretImportsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_imports_secret_import_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_imports_secret_import_id_patch_with_http_info(secret_import_id, api_v1_secret_imports_secret_import_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_imports_secret_import_id_patch_with_http_info(self, secret_import_id : Annotated[StrictStr, Field(..., description="The ID of the secret import to update.")], api_v1_secret_imports_secret_import_id_patch_request : ApiV1SecretImportsSecretImportIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_imports_secret_import_id_patch # noqa: E501 - - Update secret imports # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_secret_import_id_patch_with_http_info(secret_import_id, api_v1_secret_imports_secret_import_id_patch_request, async_req=True) - >>> result = thread.get() - - :param secret_import_id: The ID of the secret import to update. (required) - :type secret_import_id: str - :param api_v1_secret_imports_secret_import_id_patch_request: (required) - :type api_v1_secret_imports_secret_import_id_patch_request: ApiV1SecretImportsSecretImportIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretImportsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_import_id', - 'api_v1_secret_imports_secret_import_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_imports_secret_import_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_import_id'] is not None: - _path_params['secretImportId'] = _params['secret_import_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_imports_secret_import_id_patch_request'] is not None: - _body_params = _params['api_v1_secret_imports_secret_import_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretImportsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-imports/{secretImportId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_imports_secret_import_id_replication_resync_post(self, secret_import_id : Annotated[StrictStr, Field(..., description="The ID of the secret import to update.")], api_v1_secret_imports_secret_import_id_replication_resync_post_request : ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v1_secret_imports_secret_import_id_replication_resync_post # noqa: E501 - - Resync secret replication of secret imports # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_secret_import_id_replication_resync_post(secret_import_id, api_v1_secret_imports_secret_import_id_replication_resync_post_request, async_req=True) - >>> result = thread.get() - - :param secret_import_id: The ID of the secret import to update. (required) - :type secret_import_id: str - :param api_v1_secret_imports_secret_import_id_replication_resync_post_request: (required) - :type api_v1_secret_imports_secret_import_id_replication_resync_post_request: ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_imports_secret_import_id_replication_resync_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_imports_secret_import_id_replication_resync_post_with_http_info(secret_import_id, api_v1_secret_imports_secret_import_id_replication_resync_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_imports_secret_import_id_replication_resync_post_with_http_info(self, secret_import_id : Annotated[StrictStr, Field(..., description="The ID of the secret import to update.")], api_v1_secret_imports_secret_import_id_replication_resync_post_request : ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_imports_secret_import_id_replication_resync_post # noqa: E501 - - Resync secret replication of secret imports # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_secret_import_id_replication_resync_post_with_http_info(secret_import_id, api_v1_secret_imports_secret_import_id_replication_resync_post_request, async_req=True) - >>> result = thread.get() - - :param secret_import_id: The ID of the secret import to update. (required) - :type secret_import_id: str - :param api_v1_secret_imports_secret_import_id_replication_resync_post_request: (required) - :type api_v1_secret_imports_secret_import_id_replication_resync_post_request: ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_import_id', - 'api_v1_secret_imports_secret_import_id_replication_resync_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_imports_secret_import_id_replication_resync_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_import_id'] is not None: - _path_params['secretImportId'] = _params['secret_import_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_imports_secret_import_id_replication_resync_post_request'] is not None: - _body_params = _params['api_v1_secret_imports_secret_import_id_replication_resync_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-imports/{secretImportId}/replication-resync', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_imports_secrets_get(self, workspace_id : StrictStr, environment : StrictStr, path : Optional[StrictStr] = None, **kwargs) -> ApiV1SecretImportsSecretsGet200Response: # noqa: E501 - """api_v1_secret_imports_secrets_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_secrets_get(workspace_id, environment, path, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: (required) - :type environment: str - :param path: - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretImportsSecretsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_imports_secrets_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_imports_secrets_get_with_http_info(workspace_id, environment, path, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_imports_secrets_get_with_http_info(self, workspace_id : StrictStr, environment : StrictStr, path : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_imports_secrets_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_secrets_get_with_http_info(workspace_id, environment, path, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: (required) - :type environment: str - :param path: - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretImportsSecretsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'environment', - 'path' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_imports_secrets_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('path') is not None: # noqa: E501 - _query_params.append(('path', _params['path'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretImportsSecretsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-imports/secrets', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_imports_secrets_raw_get(self, workspace_id : StrictStr, environment : StrictStr, path : Optional[StrictStr] = None, **kwargs) -> ApiV1SecretImportsSecretsRawGet200Response: # noqa: E501 - """api_v1_secret_imports_secrets_raw_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_secrets_raw_get(workspace_id, environment, path, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: (required) - :type environment: str - :param path: - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretImportsSecretsRawGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_imports_secrets_raw_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_imports_secrets_raw_get_with_http_info(workspace_id, environment, path, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_imports_secrets_raw_get_with_http_info(self, workspace_id : StrictStr, environment : StrictStr, path : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_imports_secrets_raw_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_imports_secrets_raw_get_with_http_info(workspace_id, environment, path, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: (required) - :type environment: str - :param path: - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretImportsSecretsRawGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'environment', - 'path' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_imports_secrets_raw_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('path') is not None: # noqa: E501 - _query_params.append(('path', _params['path'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretImportsSecretsRawGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-imports/secrets/raw', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_rotation_providers_workspace_id_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1SecretRotationProvidersWorkspaceIdGet200Response: # noqa: E501 - """api_v1_secret_rotation_providers_workspace_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_rotation_providers_workspace_id_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretRotationProvidersWorkspaceIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_rotation_providers_workspace_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_rotation_providers_workspace_id_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_rotation_providers_workspace_id_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_rotation_providers_workspace_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_rotation_providers_workspace_id_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretRotationProvidersWorkspaceIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_rotation_providers_workspace_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretRotationProvidersWorkspaceIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-rotation-providers/{workspaceId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_rotations_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1SecretRotationsGet200Response: # noqa: E501 - """api_v1_secret_rotations_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_rotations_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretRotationsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_rotations_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_rotations_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_rotations_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_rotations_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_rotations_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretRotationsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_rotations_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretRotationsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-rotations', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_rotations_id_delete(self, id : StrictStr, **kwargs) -> ApiV1SecretRotationsRestartPost200Response: # noqa: E501 - """api_v1_secret_rotations_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_rotations_id_delete(id, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretRotationsRestartPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_rotations_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_rotations_id_delete_with_http_info(id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_rotations_id_delete_with_http_info(self, id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_rotations_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_rotations_id_delete_with_http_info(id, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretRotationsRestartPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_rotations_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretRotationsRestartPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-rotations/{id}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_rotations_post(self, api_v1_secret_rotations_post_request : ApiV1SecretRotationsPostRequest, **kwargs) -> ApiV1SecretRotationsPost200Response: # noqa: E501 - """api_v1_secret_rotations_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_rotations_post(api_v1_secret_rotations_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_rotations_post_request: (required) - :type api_v1_secret_rotations_post_request: ApiV1SecretRotationsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretRotationsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_rotations_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_rotations_post_with_http_info(api_v1_secret_rotations_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_rotations_post_with_http_info(self, api_v1_secret_rotations_post_request : ApiV1SecretRotationsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_rotations_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_rotations_post_with_http_info(api_v1_secret_rotations_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_rotations_post_request: (required) - :type api_v1_secret_rotations_post_request: ApiV1SecretRotationsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretRotationsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_secret_rotations_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_rotations_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_rotations_post_request'] is not None: - _body_params = _params['api_v1_secret_rotations_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretRotationsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-rotations', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_rotations_restart_post(self, api_v1_secret_rotations_restart_post_request : ApiV1SecretRotationsRestartPostRequest, **kwargs) -> ApiV1SecretRotationsRestartPost200Response: # noqa: E501 - """api_v1_secret_rotations_restart_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_rotations_restart_post(api_v1_secret_rotations_restart_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_rotations_restart_post_request: (required) - :type api_v1_secret_rotations_restart_post_request: ApiV1SecretRotationsRestartPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretRotationsRestartPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_rotations_restart_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_rotations_restart_post_with_http_info(api_v1_secret_rotations_restart_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_rotations_restart_post_with_http_info(self, api_v1_secret_rotations_restart_post_request : ApiV1SecretRotationsRestartPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_rotations_restart_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_rotations_restart_post_with_http_info(api_v1_secret_rotations_restart_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_rotations_restart_post_request: (required) - :type api_v1_secret_rotations_restart_post_request: ApiV1SecretRotationsRestartPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretRotationsRestartPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_secret_rotations_restart_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_rotations_restart_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_rotations_restart_post_request'] is not None: - _body_params = _params['api_v1_secret_rotations_restart_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretRotationsRestartPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-rotations/restart', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_scanning_create_installation_session_organization_post(self, api_v1_secret_scanning_create_installation_session_organization_post_request : ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest, **kwargs) -> ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response: # noqa: E501 - """api_v1_secret_scanning_create_installation_session_organization_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_scanning_create_installation_session_organization_post(api_v1_secret_scanning_create_installation_session_organization_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_scanning_create_installation_session_organization_post_request: (required) - :type api_v1_secret_scanning_create_installation_session_organization_post_request: ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_scanning_create_installation_session_organization_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_scanning_create_installation_session_organization_post_with_http_info(api_v1_secret_scanning_create_installation_session_organization_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_scanning_create_installation_session_organization_post_with_http_info(self, api_v1_secret_scanning_create_installation_session_organization_post_request : ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_scanning_create_installation_session_organization_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_scanning_create_installation_session_organization_post_with_http_info(api_v1_secret_scanning_create_installation_session_organization_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_scanning_create_installation_session_organization_post_request: (required) - :type api_v1_secret_scanning_create_installation_session_organization_post_request: ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_secret_scanning_create_installation_session_organization_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_scanning_create_installation_session_organization_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_scanning_create_installation_session_organization_post_request'] is not None: - _body_params = _params['api_v1_secret_scanning_create_installation_session_organization_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-scanning/create-installation-session/organization', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_scanning_installation_status_organization_organization_id_get(self, organization_id : StrictStr, **kwargs) -> ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response: # noqa: E501 - """api_v1_secret_scanning_installation_status_organization_organization_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_scanning_installation_status_organization_organization_id_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_scanning_installation_status_organization_organization_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_scanning_installation_status_organization_organization_id_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_scanning_installation_status_organization_organization_id_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_scanning_installation_status_organization_organization_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_scanning_installation_status_organization_organization_id_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_scanning_installation_status_organization_organization_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-scanning/installation-status/organization/{organizationId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_scanning_link_installation_post(self, api_v1_secret_scanning_link_installation_post_request : ApiV1SecretScanningLinkInstallationPostRequest, **kwargs) -> ApiV1SecretScanningLinkInstallationPost200Response: # noqa: E501 - """api_v1_secret_scanning_link_installation_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_scanning_link_installation_post(api_v1_secret_scanning_link_installation_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_scanning_link_installation_post_request: (required) - :type api_v1_secret_scanning_link_installation_post_request: ApiV1SecretScanningLinkInstallationPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretScanningLinkInstallationPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_scanning_link_installation_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_scanning_link_installation_post_with_http_info(api_v1_secret_scanning_link_installation_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_scanning_link_installation_post_with_http_info(self, api_v1_secret_scanning_link_installation_post_request : ApiV1SecretScanningLinkInstallationPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_scanning_link_installation_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_scanning_link_installation_post_with_http_info(api_v1_secret_scanning_link_installation_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_scanning_link_installation_post_request: (required) - :type api_v1_secret_scanning_link_installation_post_request: ApiV1SecretScanningLinkInstallationPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretScanningLinkInstallationPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_secret_scanning_link_installation_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_scanning_link_installation_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_scanning_link_installation_post_request'] is not None: - _body_params = _params['api_v1_secret_scanning_link_installation_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretScanningLinkInstallationPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-scanning/link-installation', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_scanning_organization_organization_id_risks_get(self, organization_id : StrictStr, **kwargs) -> ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response: # noqa: E501 - """api_v1_secret_scanning_organization_organization_id_risks_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_scanning_organization_organization_id_risks_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_scanning_organization_organization_id_risks_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_scanning_organization_organization_id_risks_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_scanning_organization_organization_id_risks_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_scanning_organization_organization_id_risks_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_scanning_organization_organization_id_risks_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_scanning_organization_organization_id_risks_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-scanning/organization/{organizationId}/risks', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post(self, organization_id : StrictStr, risk_id : StrictStr, api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request : ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest, **kwargs) -> ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner: # noqa: E501 - """api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post(organization_id, risk_id, api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param risk_id: (required) - :type risk_id: str - :param api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request: (required) - :type api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request: ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_with_http_info(organization_id, risk_id, api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_with_http_info(self, organization_id : StrictStr, risk_id : StrictStr, api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request : ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_with_http_info(organization_id, risk_id, api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param risk_id: (required) - :type risk_id: str - :param api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request: (required) - :type api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request: ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'risk_id', - 'api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['risk_id'] is not None: - _path_params['riskId'] = _params['risk_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request'] is not None: - _body_params = _params['api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner", - } - - return self.api_client.call_api( - '/api/v1/secret-scanning/organization/{organizationId}/risks/{riskId}/status', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_secret_id_secret_versions_get(self, offset : Union[StrictFloat, StrictInt], limit : Union[StrictFloat, StrictInt], secret_id : StrictStr, **kwargs) -> ApiV1SecretSecretIdSecretVersionsGet200Response: # noqa: E501 - """api_v1_secret_secret_id_secret_versions_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_secret_id_secret_versions_get(offset, limit, secret_id, async_req=True) - >>> result = thread.get() - - :param offset: (required) - :type offset: float - :param limit: (required) - :type limit: float - :param secret_id: (required) - :type secret_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretSecretIdSecretVersionsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_secret_id_secret_versions_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_secret_id_secret_versions_get_with_http_info(offset, limit, secret_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_secret_id_secret_versions_get_with_http_info(self, offset : Union[StrictFloat, StrictInt], limit : Union[StrictFloat, StrictInt], secret_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_secret_id_secret_versions_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_secret_id_secret_versions_get_with_http_info(offset, limit, secret_id, async_req=True) - >>> result = thread.get() - - :param offset: (required) - :type offset: float - :param limit: (required) - :type limit: float - :param secret_id: (required) - :type secret_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretSecretIdSecretVersionsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'offset', - 'limit', - 'secret_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_secret_id_secret_versions_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_id'] is not None: - _path_params['secretId'] = _params['secret_id'] - - - # process the query parameters - _query_params = [] - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretSecretIdSecretVersionsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret/{secretId}/secret-versions', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_sharing_get(self, offset : Optional[Union[confloat(le=100, ge=0, strict=True), conint(le=100.0, ge=0.0, strict=True)]] = None, limit : Optional[Union[confloat(le=100, ge=1, strict=True), conint(le=100.0, ge=1.0, strict=True)]] = None, **kwargs) -> ApiV1SecretSharingGet200Response: # noqa: E501 - """api_v1_secret_sharing_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_sharing_get(offset, limit, async_req=True) - >>> result = thread.get() - - :param offset: - :type offset: float - :param limit: - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretSharingGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_sharing_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_sharing_get_with_http_info(offset, limit, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_sharing_get_with_http_info(self, offset : Optional[Union[confloat(le=100, ge=0, strict=True), conint(le=100.0, ge=0.0, strict=True)]] = None, limit : Optional[Union[confloat(le=100, ge=1, strict=True), conint(le=100.0, ge=1.0, strict=True)]] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_sharing_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_sharing_get_with_http_info(offset, limit, async_req=True) - >>> result = thread.get() - - :param offset: - :type offset: float - :param limit: - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretSharingGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'offset', - 'limit' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_sharing_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretSharingGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-sharing', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_sharing_post(self, api_v1_secret_sharing_post_request : ApiV1SecretSharingPostRequest, **kwargs) -> ApiV1SecretSharingPost200Response: # noqa: E501 - """api_v1_secret_sharing_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_sharing_post(api_v1_secret_sharing_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_sharing_post_request: (required) - :type api_v1_secret_sharing_post_request: ApiV1SecretSharingPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretSharingPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_sharing_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_sharing_post_with_http_info(api_v1_secret_sharing_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_sharing_post_with_http_info(self, api_v1_secret_sharing_post_request : ApiV1SecretSharingPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_sharing_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_sharing_post_with_http_info(api_v1_secret_sharing_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_sharing_post_request: (required) - :type api_v1_secret_sharing_post_request: ApiV1SecretSharingPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretSharingPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_secret_sharing_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_sharing_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_sharing_post_request'] is not None: - _body_params = _params['api_v1_secret_sharing_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretSharingPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-sharing', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_sharing_public_id_get(self, hashed_hex : constr(strict=True, min_length=1), id : StrictStr, **kwargs) -> ApiV1SecretSharingPublicIdGet200Response: # noqa: E501 - """api_v1_secret_sharing_public_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_sharing_public_id_get(hashed_hex, id, async_req=True) - >>> result = thread.get() - - :param hashed_hex: (required) - :type hashed_hex: str - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretSharingPublicIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_sharing_public_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_sharing_public_id_get_with_http_info(hashed_hex, id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_sharing_public_id_get_with_http_info(self, hashed_hex : constr(strict=True, min_length=1), id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_sharing_public_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_sharing_public_id_get_with_http_info(hashed_hex, id, async_req=True) - >>> result = thread.get() - - :param hashed_hex: (required) - :type hashed_hex: str - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretSharingPublicIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'hashed_hex', - 'id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_sharing_public_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - if _params.get('hashed_hex') is not None: # noqa: E501 - _query_params.append(('hashedHex', _params['hashed_hex'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretSharingPublicIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-sharing/public/{id}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_sharing_public_post(self, api_v1_secret_sharing_public_post_request : ApiV1SecretSharingPublicPostRequest, **kwargs) -> ApiV1SecretSharingPost200Response: # noqa: E501 - """api_v1_secret_sharing_public_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_sharing_public_post(api_v1_secret_sharing_public_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_sharing_public_post_request: (required) - :type api_v1_secret_sharing_public_post_request: ApiV1SecretSharingPublicPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretSharingPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_sharing_public_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_sharing_public_post_with_http_info(api_v1_secret_sharing_public_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_sharing_public_post_with_http_info(self, api_v1_secret_sharing_public_post_request : ApiV1SecretSharingPublicPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_sharing_public_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_sharing_public_post_with_http_info(api_v1_secret_sharing_public_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_sharing_public_post_request: (required) - :type api_v1_secret_sharing_public_post_request: ApiV1SecretSharingPublicPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretSharingPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_secret_sharing_public_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_sharing_public_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_sharing_public_post_request'] is not None: - _body_params = _params['api_v1_secret_sharing_public_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretSharingPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-sharing/public', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_sharing_shared_secret_id_delete(self, shared_secret_id : StrictStr, **kwargs) -> ApiV1SecretSharingGet200ResponseSecretsInner: # noqa: E501 - """api_v1_secret_sharing_shared_secret_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_sharing_shared_secret_id_delete(shared_secret_id, async_req=True) - >>> result = thread.get() - - :param shared_secret_id: (required) - :type shared_secret_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretSharingGet200ResponseSecretsInner - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_sharing_shared_secret_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_sharing_shared_secret_id_delete_with_http_info(shared_secret_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_sharing_shared_secret_id_delete_with_http_info(self, shared_secret_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_sharing_shared_secret_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_sharing_shared_secret_id_delete_with_http_info(shared_secret_id, async_req=True) - >>> result = thread.get() - - :param shared_secret_id: (required) - :type shared_secret_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretSharingGet200ResponseSecretsInner, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'shared_secret_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_sharing_shared_secret_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['shared_secret_id'] is not None: - _path_params['sharedSecretId'] = _params['shared_secret_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretSharingGet200ResponseSecretsInner", - } - - return self.api_client.call_api( - '/api/v1/secret-sharing/{sharedSecretId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_snapshot_secret_snapshot_id_get(self, secret_snapshot_id : StrictStr, **kwargs) -> ApiV1SecretSnapshotSecretSnapshotIdGet200Response: # noqa: E501 - """api_v1_secret_snapshot_secret_snapshot_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_snapshot_secret_snapshot_id_get(secret_snapshot_id, async_req=True) - >>> result = thread.get() - - :param secret_snapshot_id: (required) - :type secret_snapshot_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretSnapshotSecretSnapshotIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_snapshot_secret_snapshot_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_snapshot_secret_snapshot_id_get_with_http_info(secret_snapshot_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_snapshot_secret_snapshot_id_get_with_http_info(self, secret_snapshot_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_snapshot_secret_snapshot_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_snapshot_secret_snapshot_id_get_with_http_info(secret_snapshot_id, async_req=True) - >>> result = thread.get() - - :param secret_snapshot_id: (required) - :type secret_snapshot_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretSnapshotSecretSnapshotIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_snapshot_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_snapshot_secret_snapshot_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_snapshot_id'] is not None: - _path_params['secretSnapshotId'] = _params['secret_snapshot_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretSnapshotSecretSnapshotIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-snapshot/{secretSnapshotId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_secret_snapshot_secret_snapshot_id_rollback_post(self, secret_snapshot_id : Annotated[StrictStr, Field(..., description="The ID of the snapshot to rollback to.")], **kwargs) -> ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response: # noqa: E501 - """api_v1_secret_snapshot_secret_snapshot_id_rollback_post # noqa: E501 - - Roll back project secrets to those captured in a secret snapshot version. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_snapshot_secret_snapshot_id_rollback_post(secret_snapshot_id, async_req=True) - >>> result = thread.get() - - :param secret_snapshot_id: The ID of the snapshot to rollback to. (required) - :type secret_snapshot_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_secret_snapshot_secret_snapshot_id_rollback_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_secret_snapshot_secret_snapshot_id_rollback_post_with_http_info(secret_snapshot_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_secret_snapshot_secret_snapshot_id_rollback_post_with_http_info(self, secret_snapshot_id : Annotated[StrictStr, Field(..., description="The ID of the snapshot to rollback to.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_secret_snapshot_secret_snapshot_id_rollback_post # noqa: E501 - - Roll back project secrets to those captured in a secret snapshot version. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_secret_snapshot_secret_snapshot_id_rollback_post_with_http_info(secret_snapshot_id, async_req=True) - >>> result = thread.get() - - :param secret_snapshot_id: The ID of the snapshot to rollback to. (required) - :type secret_snapshot_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_snapshot_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_secret_snapshot_secret_snapshot_id_rollback_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_snapshot_id'] is not None: - _path_params['secretSnapshotId'] = _params['secret_snapshot_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response", - } - - return self.api_client.call_api( - '/api/v1/secret-snapshot/{secretSnapshotId}/rollback', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_config_get(self, organization_id : StrictStr, **kwargs) -> ApiV1SsoConfigGet200Response: # noqa: E501 - """api_v1_sso_config_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_config_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SsoConfigGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_config_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_config_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_config_get_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_config_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_config_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SsoConfigGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_config_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('organization_id') is not None: # noqa: E501 - _query_params.append(('organizationId', _params['organization_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SsoConfigGet200Response", - } - - return self.api_client.call_api( - '/api/v1/sso/config', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_config_patch(self, api_v1_sso_config_patch_request : ApiV1SsoConfigPatchRequest, **kwargs) -> ApiV1SsoConfigPost200Response: # noqa: E501 - """api_v1_sso_config_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_config_patch(api_v1_sso_config_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_sso_config_patch_request: (required) - :type api_v1_sso_config_patch_request: ApiV1SsoConfigPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SsoConfigPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_config_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_config_patch_with_http_info(api_v1_sso_config_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_config_patch_with_http_info(self, api_v1_sso_config_patch_request : ApiV1SsoConfigPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_config_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_config_patch_with_http_info(api_v1_sso_config_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_sso_config_patch_request: (required) - :type api_v1_sso_config_patch_request: ApiV1SsoConfigPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SsoConfigPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_sso_config_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_config_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_sso_config_patch_request'] is not None: - _body_params = _params['api_v1_sso_config_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SsoConfigPost200Response", - } - - return self.api_client.call_api( - '/api/v1/sso/config', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_config_post(self, api_v1_sso_config_post_request : ApiV1SsoConfigPostRequest, **kwargs) -> ApiV1SsoConfigPost200Response: # noqa: E501 - """api_v1_sso_config_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_config_post(api_v1_sso_config_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_sso_config_post_request: (required) - :type api_v1_sso_config_post_request: ApiV1SsoConfigPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SsoConfigPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_config_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_config_post_with_http_info(api_v1_sso_config_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_config_post_with_http_info(self, api_v1_sso_config_post_request : ApiV1SsoConfigPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_config_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_config_post_with_http_info(api_v1_sso_config_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_sso_config_post_request: (required) - :type api_v1_sso_config_post_request: ApiV1SsoConfigPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SsoConfigPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_sso_config_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_config_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_sso_config_post_request'] is not None: - _body_params = _params['api_v1_sso_config_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SsoConfigPost200Response", - } - - return self.api_client.call_api( - '/api/v1/sso/config', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_github_get(self, **kwargs) -> None: # noqa: E501 - """api_v1_sso_github_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_github_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_github_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_github_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_github_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_github_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_github_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_github_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/github', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_gitlab_get(self, **kwargs) -> None: # noqa: E501 - """api_v1_sso_gitlab_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_gitlab_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_gitlab_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_gitlab_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_gitlab_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_gitlab_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_gitlab_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_gitlab_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/gitlab', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_google_get(self, **kwargs) -> None: # noqa: E501 - """api_v1_sso_google_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_google_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_google_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_google_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_google_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_google_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_google_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_google_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/google', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_oidc_callback_get(self, **kwargs) -> None: # noqa: E501 - """api_v1_sso_oidc_callback_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_callback_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_oidc_callback_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_oidc_callback_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_oidc_callback_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_oidc_callback_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_callback_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_oidc_callback_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/oidc/callback', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_oidc_config_get(self, org_slug : StrictStr, **kwargs) -> ApiV1SsoOidcConfigGet200Response: # noqa: E501 - """api_v1_sso_oidc_config_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_config_get(org_slug, async_req=True) - >>> result = thread.get() - - :param org_slug: (required) - :type org_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SsoOidcConfigGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_oidc_config_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_oidc_config_get_with_http_info(org_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_oidc_config_get_with_http_info(self, org_slug : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_oidc_config_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_config_get_with_http_info(org_slug, async_req=True) - >>> result = thread.get() - - :param org_slug: (required) - :type org_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SsoOidcConfigGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'org_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_oidc_config_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('org_slug') is not None: # noqa: E501 - _query_params.append(('orgSlug', _params['org_slug'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SsoOidcConfigGet200Response", - } - - return self.api_client.call_api( - '/api/v1/sso/oidc/config', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_oidc_config_patch(self, api_v1_sso_oidc_config_patch_request : ApiV1SsoOidcConfigPatchRequest, **kwargs) -> ApiV1SsoOidcConfigPatch200Response: # noqa: E501 - """api_v1_sso_oidc_config_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_config_patch(api_v1_sso_oidc_config_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_sso_oidc_config_patch_request: (required) - :type api_v1_sso_oidc_config_patch_request: ApiV1SsoOidcConfigPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SsoOidcConfigPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_oidc_config_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_oidc_config_patch_with_http_info(api_v1_sso_oidc_config_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_oidc_config_patch_with_http_info(self, api_v1_sso_oidc_config_patch_request : ApiV1SsoOidcConfigPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_oidc_config_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_config_patch_with_http_info(api_v1_sso_oidc_config_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v1_sso_oidc_config_patch_request: (required) - :type api_v1_sso_oidc_config_patch_request: ApiV1SsoOidcConfigPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SsoOidcConfigPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_sso_oidc_config_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_oidc_config_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_sso_oidc_config_patch_request'] is not None: - _body_params = _params['api_v1_sso_oidc_config_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SsoOidcConfigPatch200Response", - } - - return self.api_client.call_api( - '/api/v1/sso/oidc/config', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_oidc_config_post(self, api_v1_sso_oidc_config_post_request : ApiV1SsoOidcConfigPostRequest, **kwargs) -> ApiV1SsoOidcConfigPost200Response: # noqa: E501 - """api_v1_sso_oidc_config_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_config_post(api_v1_sso_oidc_config_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_sso_oidc_config_post_request: (required) - :type api_v1_sso_oidc_config_post_request: ApiV1SsoOidcConfigPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1SsoOidcConfigPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_oidc_config_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_oidc_config_post_with_http_info(api_v1_sso_oidc_config_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_oidc_config_post_with_http_info(self, api_v1_sso_oidc_config_post_request : ApiV1SsoOidcConfigPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_oidc_config_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_config_post_with_http_info(api_v1_sso_oidc_config_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_sso_oidc_config_post_request: (required) - :type api_v1_sso_oidc_config_post_request: ApiV1SsoOidcConfigPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1SsoOidcConfigPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_sso_oidc_config_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_oidc_config_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_sso_oidc_config_post_request'] is not None: - _body_params = _params['api_v1_sso_oidc_config_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1SsoOidcConfigPost200Response", - } - - return self.api_client.call_api( - '/api/v1/sso/oidc/config', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_oidc_login_error_get(self, **kwargs) -> None: # noqa: E501 - """api_v1_sso_oidc_login_error_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_login_error_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_oidc_login_error_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_oidc_login_error_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_oidc_login_error_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_oidc_login_error_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_login_error_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_oidc_login_error_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/oidc/login/error', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_oidc_login_get(self, org_slug : StrictStr, callback_port : Optional[StrictStr] = None, **kwargs) -> None: # noqa: E501 - """api_v1_sso_oidc_login_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_login_get(org_slug, callback_port, async_req=True) - >>> result = thread.get() - - :param org_slug: (required) - :type org_slug: str - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_oidc_login_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_oidc_login_get_with_http_info(org_slug, callback_port, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_oidc_login_get_with_http_info(self, org_slug : StrictStr, callback_port : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_oidc_login_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_oidc_login_get_with_http_info(org_slug, callback_port, async_req=True) - >>> result = thread.get() - - :param org_slug: (required) - :type org_slug: str - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'org_slug', - 'callback_port' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_oidc_login_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('org_slug') is not None: # noqa: E501 - _query_params.append(('orgSlug', _params['org_slug'])) - - if _params.get('callback_port') is not None: # noqa: E501 - _query_params.append(('callbackPort', _params['callback_port'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/oidc/login', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_redirect_github_get(self, callback_port : Optional[StrictStr] = None, **kwargs) -> None: # noqa: E501 - """api_v1_sso_redirect_github_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_redirect_github_get(callback_port, async_req=True) - >>> result = thread.get() - - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_redirect_github_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_redirect_github_get_with_http_info(callback_port, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_redirect_github_get_with_http_info(self, callback_port : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_redirect_github_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_redirect_github_get_with_http_info(callback_port, async_req=True) - >>> result = thread.get() - - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'callback_port' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_redirect_github_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('callback_port') is not None: # noqa: E501 - _query_params.append(('callback_port', _params['callback_port'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/redirect/github', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_redirect_gitlab_get(self, callback_port : Optional[StrictStr] = None, **kwargs) -> None: # noqa: E501 - """api_v1_sso_redirect_gitlab_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_redirect_gitlab_get(callback_port, async_req=True) - >>> result = thread.get() - - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_redirect_gitlab_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_redirect_gitlab_get_with_http_info(callback_port, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_redirect_gitlab_get_with_http_info(self, callback_port : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_redirect_gitlab_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_redirect_gitlab_get_with_http_info(callback_port, async_req=True) - >>> result = thread.get() - - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'callback_port' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_redirect_gitlab_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('callback_port') is not None: # noqa: E501 - _query_params.append(('callback_port', _params['callback_port'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/redirect/gitlab', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_redirect_google_get(self, callback_port : Optional[StrictStr] = None, **kwargs) -> None: # noqa: E501 - """api_v1_sso_redirect_google_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_redirect_google_get(callback_port, async_req=True) - >>> result = thread.get() - - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_redirect_google_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_redirect_google_get_with_http_info(callback_port, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_redirect_google_get_with_http_info(self, callback_port : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_redirect_google_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_redirect_google_get_with_http_info(callback_port, async_req=True) - >>> result = thread.get() - - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'callback_port' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_redirect_google_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('callback_port') is not None: # noqa: E501 - _query_params.append(('callback_port', _params['callback_port'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/redirect/google', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_redirect_saml2_organizations_org_slug_get(self, org_slug : StrictStr, callback_port : Optional[StrictStr] = None, **kwargs) -> None: # noqa: E501 - """api_v1_sso_redirect_saml2_organizations_org_slug_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_redirect_saml2_organizations_org_slug_get(org_slug, callback_port, async_req=True) - >>> result = thread.get() - - :param org_slug: (required) - :type org_slug: str - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_redirect_saml2_organizations_org_slug_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_redirect_saml2_organizations_org_slug_get_with_http_info(org_slug, callback_port, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_redirect_saml2_organizations_org_slug_get_with_http_info(self, org_slug : StrictStr, callback_port : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_redirect_saml2_organizations_org_slug_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_redirect_saml2_organizations_org_slug_get_with_http_info(org_slug, callback_port, async_req=True) - >>> result = thread.get() - - :param org_slug: (required) - :type org_slug: str - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'org_slug', - 'callback_port' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_redirect_saml2_organizations_org_slug_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['org_slug'] is not None: - _path_params['orgSlug'] = _params['org_slug'] - - - # process the query parameters - _query_params = [] - if _params.get('callback_port') is not None: # noqa: E501 - _query_params.append(('callback_port', _params['callback_port'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/redirect/saml2/organizations/{orgSlug}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_redirect_saml2_saml_config_id_get(self, saml_config_id : StrictStr, callback_port : Optional[StrictStr] = None, **kwargs) -> None: # noqa: E501 - """api_v1_sso_redirect_saml2_saml_config_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_redirect_saml2_saml_config_id_get(saml_config_id, callback_port, async_req=True) - >>> result = thread.get() - - :param saml_config_id: (required) - :type saml_config_id: str - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_redirect_saml2_saml_config_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_redirect_saml2_saml_config_id_get_with_http_info(saml_config_id, callback_port, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_redirect_saml2_saml_config_id_get_with_http_info(self, saml_config_id : StrictStr, callback_port : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_redirect_saml2_saml_config_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_redirect_saml2_saml_config_id_get_with_http_info(saml_config_id, callback_port, async_req=True) - >>> result = thread.get() - - :param saml_config_id: (required) - :type saml_config_id: str - :param callback_port: - :type callback_port: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'saml_config_id', - 'callback_port' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_redirect_saml2_saml_config_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['saml_config_id'] is not None: - _path_params['samlConfigId'] = _params['saml_config_id'] - - - # process the query parameters - _query_params = [] - if _params.get('callback_port') is not None: # noqa: E501 - _query_params.append(('callback_port', _params['callback_port'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/redirect/saml2/{samlConfigId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_saml2_saml_config_id_post(self, saml_config_id : StrictStr, **kwargs) -> None: # noqa: E501 - """api_v1_sso_saml2_saml_config_id_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_saml2_saml_config_id_post(saml_config_id, async_req=True) - >>> result = thread.get() - - :param saml_config_id: (required) - :type saml_config_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_saml2_saml_config_id_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_saml2_saml_config_id_post_with_http_info(saml_config_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_saml2_saml_config_id_post_with_http_info(self, saml_config_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_saml2_saml_config_id_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_saml2_saml_config_id_post_with_http_info(saml_config_id, async_req=True) - >>> result = thread.get() - - :param saml_config_id: (required) - :type saml_config_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'saml_config_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_saml2_saml_config_id_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['saml_config_id'] is not None: - _path_params['samlConfigId'] = _params['saml_config_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/saml2/{samlConfigId}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_sso_token_exchange_post(self, api_v1_sso_token_exchange_post_request : ApiV1SsoTokenExchangePostRequest, **kwargs) -> None: # noqa: E501 - """api_v1_sso_token_exchange_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_token_exchange_post(api_v1_sso_token_exchange_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_sso_token_exchange_post_request: (required) - :type api_v1_sso_token_exchange_post_request: ApiV1SsoTokenExchangePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_sso_token_exchange_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_sso_token_exchange_post_with_http_info(api_v1_sso_token_exchange_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_sso_token_exchange_post_with_http_info(self, api_v1_sso_token_exchange_post_request : ApiV1SsoTokenExchangePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_sso_token_exchange_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_sso_token_exchange_post_with_http_info(api_v1_sso_token_exchange_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_sso_token_exchange_post_request: (required) - :type api_v1_sso_token_exchange_post_request: ApiV1SsoTokenExchangePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'api_v1_sso_token_exchange_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_sso_token_exchange_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_sso_token_exchange_post_request'] is not None: - _body_params = _params['api_v1_sso_token_exchange_post_request'] - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/sso/token-exchange', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_user_action_get(self, action : StrictStr, **kwargs) -> ApiV1UserActionGet200Response: # noqa: E501 - """api_v1_user_action_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_action_get(action, async_req=True) - >>> result = thread.get() - - :param action: (required) - :type action: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1UserActionGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_user_action_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_user_action_get_with_http_info(action, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_user_action_get_with_http_info(self, action : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_user_action_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_action_get_with_http_info(action, async_req=True) - >>> result = thread.get() - - :param action: (required) - :type action: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1UserActionGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'action' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_user_action_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('action') is not None: # noqa: E501 - _query_params.append(('action', _params['action'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1UserActionGet200Response", - } - - return self.api_client.call_api( - '/api/v1/user-action', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_user_action_post(self, api_v1_user_action_post_request : ApiV1UserActionPostRequest, **kwargs) -> ApiV1UserActionPost200Response: # noqa: E501 - """api_v1_user_action_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_action_post(api_v1_user_action_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_user_action_post_request: (required) - :type api_v1_user_action_post_request: ApiV1UserActionPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1UserActionPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_user_action_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_user_action_post_with_http_info(api_v1_user_action_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_user_action_post_with_http_info(self, api_v1_user_action_post_request : ApiV1UserActionPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_user_action_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_action_post_with_http_info(api_v1_user_action_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_user_action_post_request: (required) - :type api_v1_user_action_post_request: ApiV1UserActionPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1UserActionPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_user_action_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_user_action_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_user_action_post_request'] is not None: - _body_params = _params['api_v1_user_action_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1UserActionPost200Response", - } - - return self.api_client.call_api( - '/api/v1/user-action', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_user_engagement_me_wish_post(self, api_v1_user_engagement_me_wish_post_request : ApiV1UserEngagementMeWishPostRequest, **kwargs) -> object: # noqa: E501 - """api_v1_user_engagement_me_wish_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_engagement_me_wish_post(api_v1_user_engagement_me_wish_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_user_engagement_me_wish_post_request: (required) - :type api_v1_user_engagement_me_wish_post_request: ApiV1UserEngagementMeWishPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_user_engagement_me_wish_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_user_engagement_me_wish_post_with_http_info(api_v1_user_engagement_me_wish_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_user_engagement_me_wish_post_with_http_info(self, api_v1_user_engagement_me_wish_post_request : ApiV1UserEngagementMeWishPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_user_engagement_me_wish_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_engagement_me_wish_post_with_http_info(api_v1_user_engagement_me_wish_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_user_engagement_me_wish_post_request: (required) - :type api_v1_user_engagement_me_wish_post_request: ApiV1UserEngagementMeWishPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_user_engagement_me_wish_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_user_engagement_me_wish_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_user_engagement_me_wish_post_request'] is not None: - _body_params = _params['api_v1_user_engagement_me_wish_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v1/user-engagement/me/wish', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_user_get(self, **kwargs) -> ApiV1UserGet200Response: # noqa: E501 - """api_v1_user_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1UserGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_user_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_user_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_user_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_user_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1UserGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_user_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1UserGet200Response", - } - - return self.api_client.call_api( - '/api/v1/user', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_user_me_project_favorites_get(self, org_id : StrictStr, **kwargs) -> ApiV1UserMeProjectFavoritesGet200Response: # noqa: E501 - """api_v1_user_me_project_favorites_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_me_project_favorites_get(org_id, async_req=True) - >>> result = thread.get() - - :param org_id: (required) - :type org_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1UserMeProjectFavoritesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_user_me_project_favorites_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_user_me_project_favorites_get_with_http_info(org_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_user_me_project_favorites_get_with_http_info(self, org_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_user_me_project_favorites_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_me_project_favorites_get_with_http_info(org_id, async_req=True) - >>> result = thread.get() - - :param org_id: (required) - :type org_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1UserMeProjectFavoritesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'org_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_user_me_project_favorites_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('org_id') is not None: # noqa: E501 - _query_params.append(('orgId', _params['org_id'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1UserMeProjectFavoritesGet200Response", - } - - return self.api_client.call_api( - '/api/v1/user/me/project-favorites', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_user_me_project_favorites_put(self, api_v1_user_me_project_favorites_put_request : ApiV1UserMeProjectFavoritesPutRequest, **kwargs) -> None: # noqa: E501 - """api_v1_user_me_project_favorites_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_me_project_favorites_put(api_v1_user_me_project_favorites_put_request, async_req=True) - >>> result = thread.get() - - :param api_v1_user_me_project_favorites_put_request: (required) - :type api_v1_user_me_project_favorites_put_request: ApiV1UserMeProjectFavoritesPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_user_me_project_favorites_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_user_me_project_favorites_put_with_http_info(api_v1_user_me_project_favorites_put_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_user_me_project_favorites_put_with_http_info(self, api_v1_user_me_project_favorites_put_request : ApiV1UserMeProjectFavoritesPutRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_user_me_project_favorites_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_me_project_favorites_put_with_http_info(api_v1_user_me_project_favorites_put_request, async_req=True) - >>> result = thread.get() - - :param api_v1_user_me_project_favorites_put_request: (required) - :type api_v1_user_me_project_favorites_put_request: ApiV1UserMeProjectFavoritesPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'api_v1_user_me_project_favorites_put_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_user_me_project_favorites_put" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_user_me_project_favorites_put_request'] is not None: - _body_params = _params['api_v1_user_me_project_favorites_put_request'] - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/user/me/project-favorites', 'PUT', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_user_private_key_get(self, **kwargs) -> ApiV1UserPrivateKeyGet200Response: # noqa: E501 - """api_v1_user_private_key_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_private_key_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1UserPrivateKeyGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_user_private_key_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_user_private_key_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_user_private_key_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_user_private_key_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_private_key_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1UserPrivateKeyGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_user_private_key_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1UserPrivateKeyGet200Response", - } - - return self.api_client.call_api( - '/api/v1/user/private-key', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_user_user_id_unlock_get(self, token : StrictStr, user_id : StrictStr, **kwargs) -> None: # noqa: E501 - """api_v1_user_user_id_unlock_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_user_id_unlock_get(token, user_id, async_req=True) - >>> result = thread.get() - - :param token: (required) - :type token: str - :param user_id: (required) - :type user_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_user_user_id_unlock_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_user_user_id_unlock_get_with_http_info(token, user_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_user_user_id_unlock_get_with_http_info(self, token : StrictStr, user_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_user_user_id_unlock_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_user_user_id_unlock_get_with_http_info(token, user_id, async_req=True) - >>> result = thread.get() - - :param token: (required) - :type token: str - :param user_id: (required) - :type user_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'token', - 'user_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_user_user_id_unlock_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['user_id'] is not None: - _path_params['userId'] = _params['user_id'] - - - # process the query parameters - _query_params = [] - if _params.get('token') is not None: # noqa: E501 - _query_params.append(('token', _params['token'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/user/{userId}/unlock', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_webhooks_get(self, workspace_id : StrictStr, environment : Optional[StrictStr] = None, secret_path : Optional[StrictStr] = None, **kwargs) -> ApiV1WebhooksGet200Response: # noqa: E501 - """api_v1_webhooks_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_webhooks_get(workspace_id, environment, secret_path, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: - :type environment: str - :param secret_path: - :type secret_path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WebhooksGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_webhooks_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_webhooks_get_with_http_info(workspace_id, environment, secret_path, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_webhooks_get_with_http_info(self, workspace_id : StrictStr, environment : Optional[StrictStr] = None, secret_path : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_webhooks_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_webhooks_get_with_http_info(workspace_id, environment, secret_path, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: - :type environment: str - :param secret_path: - :type secret_path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WebhooksGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'environment', - 'secret_path' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_webhooks_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('secret_path') is not None: # noqa: E501 - _query_params.append(('secretPath', _params['secret_path'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WebhooksGet200Response", - } - - return self.api_client.call_api( - '/api/v1/webhooks', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_webhooks_post(self, api_v1_webhooks_post_request : ApiV1WebhooksPostRequest, **kwargs) -> ApiV1WebhooksPost200Response: # noqa: E501 - """api_v1_webhooks_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_webhooks_post(api_v1_webhooks_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_webhooks_post_request: (required) - :type api_v1_webhooks_post_request: ApiV1WebhooksPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WebhooksPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_webhooks_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_webhooks_post_with_http_info(api_v1_webhooks_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_webhooks_post_with_http_info(self, api_v1_webhooks_post_request : ApiV1WebhooksPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_webhooks_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_webhooks_post_with_http_info(api_v1_webhooks_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_webhooks_post_request: (required) - :type api_v1_webhooks_post_request: ApiV1WebhooksPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WebhooksPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_webhooks_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_webhooks_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_webhooks_post_request'] is not None: - _body_params = _params['api_v1_webhooks_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WebhooksPost200Response", - } - - return self.api_client.call_api( - '/api/v1/webhooks', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_webhooks_webhook_id_delete(self, webhook_id : StrictStr, **kwargs) -> None: # noqa: E501 - """api_v1_webhooks_webhook_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_webhooks_webhook_id_delete(webhook_id, async_req=True) - >>> result = thread.get() - - :param webhook_id: (required) - :type webhook_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_webhooks_webhook_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_webhooks_webhook_id_delete_with_http_info(webhook_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_webhooks_webhook_id_delete_with_http_info(self, webhook_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_webhooks_webhook_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_webhooks_webhook_id_delete_with_http_info(webhook_id, async_req=True) - >>> result = thread.get() - - :param webhook_id: (required) - :type webhook_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'webhook_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_webhooks_webhook_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['webhook_id'] is not None: - _path_params['webhookId'] = _params['webhook_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/api/v1/webhooks/{webhookId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_webhooks_webhook_id_patch(self, webhook_id : StrictStr, api_v1_webhooks_webhook_id_patch_request : Optional[ApiV1WebhooksWebhookIdPatchRequest] = None, **kwargs) -> ApiV1WebhooksPost200Response: # noqa: E501 - """api_v1_webhooks_webhook_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_webhooks_webhook_id_patch(webhook_id, api_v1_webhooks_webhook_id_patch_request, async_req=True) - >>> result = thread.get() - - :param webhook_id: (required) - :type webhook_id: str - :param api_v1_webhooks_webhook_id_patch_request: - :type api_v1_webhooks_webhook_id_patch_request: ApiV1WebhooksWebhookIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WebhooksPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_webhooks_webhook_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_webhooks_webhook_id_patch_with_http_info(webhook_id, api_v1_webhooks_webhook_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_webhooks_webhook_id_patch_with_http_info(self, webhook_id : StrictStr, api_v1_webhooks_webhook_id_patch_request : Optional[ApiV1WebhooksWebhookIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_webhooks_webhook_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_webhooks_webhook_id_patch_with_http_info(webhook_id, api_v1_webhooks_webhook_id_patch_request, async_req=True) - >>> result = thread.get() - - :param webhook_id: (required) - :type webhook_id: str - :param api_v1_webhooks_webhook_id_patch_request: - :type api_v1_webhooks_webhook_id_patch_request: ApiV1WebhooksWebhookIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WebhooksPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'webhook_id', - 'api_v1_webhooks_webhook_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_webhooks_webhook_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['webhook_id'] is not None: - _path_params['webhookId'] = _params['webhook_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_webhooks_webhook_id_patch_request'] is not None: - _body_params = _params['api_v1_webhooks_webhook_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WebhooksPost200Response", - } - - return self.api_client.call_api( - '/api/v1/webhooks/{webhookId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_webhooks_webhook_id_test_post(self, webhook_id : StrictStr, **kwargs) -> ApiV1WebhooksPost200Response: # noqa: E501 - """api_v1_webhooks_webhook_id_test_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_webhooks_webhook_id_test_post(webhook_id, async_req=True) - >>> result = thread.get() - - :param webhook_id: (required) - :type webhook_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WebhooksPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_webhooks_webhook_id_test_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_webhooks_webhook_id_test_post_with_http_info(webhook_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_webhooks_webhook_id_test_post_with_http_info(self, webhook_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_webhooks_webhook_id_test_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_webhooks_webhook_id_test_post_with_http_info(webhook_id, async_req=True) - >>> result = thread.get() - - :param webhook_id: (required) - :type webhook_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WebhooksPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'webhook_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_webhooks_webhook_id_test_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['webhook_id'] is not None: - _path_params['webhookId'] = _params['webhook_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WebhooksPost200Response", - } - - return self.api_client.call_api( - '/api/v1/webhooks/{webhookId}/test', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_get(self, **kwargs) -> ApiV1WorkspaceGet200Response: # noqa: E501 - """api_v1_workspace_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_id_permissions_get(self, project_id : StrictStr, **kwargs) -> ApiV1WorkspaceProjectIdPermissionsGet200Response: # noqa: E501 - """api_v1_workspace_project_id_permissions_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_permissions_get(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectIdPermissionsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_id_permissions_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_id_permissions_get_with_http_info(project_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_id_permissions_get_with_http_info(self, project_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_id_permissions_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_permissions_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectIdPermissionsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_id_permissions_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectIdPermissionsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectId}/permissions', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_id_tags_get(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to list tags from.")], **kwargs) -> ApiV1WorkspaceProjectIdTagsGet200Response: # noqa: E501 - """api_v1_workspace_project_id_tags_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_get(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to list tags from. (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectIdTagsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_id_tags_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_id_tags_get_with_http_info(project_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_id_tags_get_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to list tags from.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_id_tags_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to list tags from. (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectIdTagsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_id_tags_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectIdTagsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectId}/tags', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_id_tags_post(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to create the tag in.")], api_v1_workspace_project_id_tags_post_request : ApiV1WorkspaceProjectIdTagsPostRequest, **kwargs) -> ApiV1WorkspaceProjectIdTagsPost200Response: # noqa: E501 - """api_v1_workspace_project_id_tags_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_post(project_id, api_v1_workspace_project_id_tags_post_request, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to create the tag in. (required) - :type project_id: str - :param api_v1_workspace_project_id_tags_post_request: (required) - :type api_v1_workspace_project_id_tags_post_request: ApiV1WorkspaceProjectIdTagsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectIdTagsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_id_tags_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_id_tags_post_with_http_info(project_id, api_v1_workspace_project_id_tags_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_id_tags_post_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to create the tag in.")], api_v1_workspace_project_id_tags_post_request : ApiV1WorkspaceProjectIdTagsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_id_tags_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_post_with_http_info(project_id, api_v1_workspace_project_id_tags_post_request, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to create the tag in. (required) - :type project_id: str - :param api_v1_workspace_project_id_tags_post_request: (required) - :type api_v1_workspace_project_id_tags_post_request: ApiV1WorkspaceProjectIdTagsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectIdTagsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'api_v1_workspace_project_id_tags_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_id_tags_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_project_id_tags_post_request'] is not None: - _body_params = _params['api_v1_workspace_project_id_tags_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectIdTagsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectId}/tags', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_id_tags_slug_tag_slug_get(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to get tags from.")], tag_slug : Annotated[StrictStr, Field(..., description="The slug of the tag to get details")], **kwargs) -> ApiV1WorkspaceProjectIdTagsTagIdGet200Response: # noqa: E501 - """api_v1_workspace_project_id_tags_slug_tag_slug_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_slug_tag_slug_get(project_id, tag_slug, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to get tags from. (required) - :type project_id: str - :param tag_slug: The slug of the tag to get details (required) - :type tag_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectIdTagsTagIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_id_tags_slug_tag_slug_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_id_tags_slug_tag_slug_get_with_http_info(project_id, tag_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_id_tags_slug_tag_slug_get_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to get tags from.")], tag_slug : Annotated[StrictStr, Field(..., description="The slug of the tag to get details")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_id_tags_slug_tag_slug_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_slug_tag_slug_get_with_http_info(project_id, tag_slug, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to get tags from. (required) - :type project_id: str - :param tag_slug: The slug of the tag to get details (required) - :type tag_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectIdTagsTagIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'tag_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_id_tags_slug_tag_slug_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - if _params['tag_slug'] is not None: - _path_params['tagSlug'] = _params['tag_slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectIdTagsTagIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectId}/tags/slug/{tagSlug}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_id_tags_tag_id_delete(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to delete the tag from.")], tag_id : Annotated[StrictStr, Field(..., description="The ID of the tag to delete.")], **kwargs) -> ApiV1WorkspaceProjectIdTagsPost200Response: # noqa: E501 - """api_v1_workspace_project_id_tags_tag_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_tag_id_delete(project_id, tag_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to delete the tag from. (required) - :type project_id: str - :param tag_id: The ID of the tag to delete. (required) - :type tag_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectIdTagsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_id_tags_tag_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_id_tags_tag_id_delete_with_http_info(project_id, tag_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_id_tags_tag_id_delete_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to delete the tag from.")], tag_id : Annotated[StrictStr, Field(..., description="The ID of the tag to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_id_tags_tag_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_tag_id_delete_with_http_info(project_id, tag_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to delete the tag from. (required) - :type project_id: str - :param tag_id: The ID of the tag to delete. (required) - :type tag_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectIdTagsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'tag_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_id_tags_tag_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - if _params['tag_id'] is not None: - _path_params['tagId'] = _params['tag_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectIdTagsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectId}/tags/{tagId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_id_tags_tag_id_get(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to get tags from.")], tag_id : Annotated[StrictStr, Field(..., description="The ID of the tag to get details")], **kwargs) -> ApiV1WorkspaceProjectIdTagsTagIdGet200Response: # noqa: E501 - """api_v1_workspace_project_id_tags_tag_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_tag_id_get(project_id, tag_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to get tags from. (required) - :type project_id: str - :param tag_id: The ID of the tag to get details (required) - :type tag_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectIdTagsTagIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_id_tags_tag_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_id_tags_tag_id_get_with_http_info(project_id, tag_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_id_tags_tag_id_get_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to get tags from.")], tag_id : Annotated[StrictStr, Field(..., description="The ID of the tag to get details")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_id_tags_tag_id_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_tag_id_get_with_http_info(project_id, tag_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to get tags from. (required) - :type project_id: str - :param tag_id: The ID of the tag to get details (required) - :type tag_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectIdTagsTagIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'tag_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_id_tags_tag_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - if _params['tag_id'] is not None: - _path_params['tagId'] = _params['tag_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectIdTagsTagIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectId}/tags/{tagId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_id_tags_tag_id_patch(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to update the tag in.")], tag_id : Annotated[StrictStr, Field(..., description="The ID of the tag to get details")], api_v1_workspace_project_id_tags_tag_id_patch_request : ApiV1WorkspaceProjectIdTagsTagIdPatchRequest, **kwargs) -> ApiV1WorkspaceProjectIdTagsPost200Response: # noqa: E501 - """api_v1_workspace_project_id_tags_tag_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_tag_id_patch(project_id, tag_id, api_v1_workspace_project_id_tags_tag_id_patch_request, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to update the tag in. (required) - :type project_id: str - :param tag_id: The ID of the tag to get details (required) - :type tag_id: str - :param api_v1_workspace_project_id_tags_tag_id_patch_request: (required) - :type api_v1_workspace_project_id_tags_tag_id_patch_request: ApiV1WorkspaceProjectIdTagsTagIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectIdTagsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_id_tags_tag_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_id_tags_tag_id_patch_with_http_info(project_id, tag_id, api_v1_workspace_project_id_tags_tag_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_id_tags_tag_id_patch_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to update the tag in.")], tag_id : Annotated[StrictStr, Field(..., description="The ID of the tag to get details")], api_v1_workspace_project_id_tags_tag_id_patch_request : ApiV1WorkspaceProjectIdTagsTagIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_id_tags_tag_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_id_tags_tag_id_patch_with_http_info(project_id, tag_id, api_v1_workspace_project_id_tags_tag_id_patch_request, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to update the tag in. (required) - :type project_id: str - :param tag_id: The ID of the tag to get details (required) - :type tag_id: str - :param api_v1_workspace_project_id_tags_tag_id_patch_request: (required) - :type api_v1_workspace_project_id_tags_tag_id_patch_request: ApiV1WorkspaceProjectIdTagsTagIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectIdTagsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'tag_id', - 'api_v1_workspace_project_id_tags_tag_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_id_tags_tag_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - if _params['tag_id'] is not None: - _path_params['tagId'] = _params['tag_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_project_id_tags_tag_id_patch_request'] is not None: - _body_params = _params['api_v1_workspace_project_id_tags_tag_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectIdTagsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectId}/tags/{tagId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_slug_roles_get(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project to list the roles of.")], **kwargs) -> ApiV1WorkspaceProjectSlugRolesGet200Response: # noqa: E501 - """api_v1_workspace_project_slug_roles_get # noqa: E501 - - List project role # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_slug_roles_get(project_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to list the roles of. (required) - :type project_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectSlugRolesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_slug_roles_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_slug_roles_get_with_http_info(project_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_slug_roles_get_with_http_info(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project to list the roles of.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_slug_roles_get # noqa: E501 - - List project role # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_slug_roles_get_with_http_info(project_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to list the roles of. (required) - :type project_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectSlugRolesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_slug_roles_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_slug'] is not None: - _path_params['projectSlug'] = _params['project_slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectSlugRolesGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectSlug}/roles', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_slug_roles_post(self, project_slug : Annotated[StrictStr, Field(..., description="Slug of the project to create the role for.")], api_v1_workspace_project_slug_roles_post_request : ApiV1WorkspaceProjectSlugRolesPostRequest, **kwargs) -> ApiV1WorkspaceProjectSlugRolesPost200Response: # noqa: E501 - """api_v1_workspace_project_slug_roles_post # noqa: E501 - - Create a project role # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_slug_roles_post(project_slug, api_v1_workspace_project_slug_roles_post_request, async_req=True) - >>> result = thread.get() - - :param project_slug: Slug of the project to create the role for. (required) - :type project_slug: str - :param api_v1_workspace_project_slug_roles_post_request: (required) - :type api_v1_workspace_project_slug_roles_post_request: ApiV1WorkspaceProjectSlugRolesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectSlugRolesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_slug_roles_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_slug_roles_post_with_http_info(project_slug, api_v1_workspace_project_slug_roles_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_slug_roles_post_with_http_info(self, project_slug : Annotated[StrictStr, Field(..., description="Slug of the project to create the role for.")], api_v1_workspace_project_slug_roles_post_request : ApiV1WorkspaceProjectSlugRolesPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_slug_roles_post # noqa: E501 - - Create a project role # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_slug_roles_post_with_http_info(project_slug, api_v1_workspace_project_slug_roles_post_request, async_req=True) - >>> result = thread.get() - - :param project_slug: Slug of the project to create the role for. (required) - :type project_slug: str - :param api_v1_workspace_project_slug_roles_post_request: (required) - :type api_v1_workspace_project_slug_roles_post_request: ApiV1WorkspaceProjectSlugRolesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectSlugRolesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'api_v1_workspace_project_slug_roles_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_slug_roles_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_slug'] is not None: - _path_params['projectSlug'] = _params['project_slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_project_slug_roles_post_request'] is not None: - _body_params = _params['api_v1_workspace_project_slug_roles_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectSlugRolesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectSlug}/roles', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_slug_roles_role_id_delete(self, project_slug : Annotated[StrictStr, Field(..., description="Slug of the project to delete this role for.")], role_id : Annotated[StrictStr, Field(..., description="The ID of the role to update")], **kwargs) -> ApiV1WorkspaceProjectSlugRolesPost200Response: # noqa: E501 - """api_v1_workspace_project_slug_roles_role_id_delete # noqa: E501 - - Delete a project role # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_slug_roles_role_id_delete(project_slug, role_id, async_req=True) - >>> result = thread.get() - - :param project_slug: Slug of the project to delete this role for. (required) - :type project_slug: str - :param role_id: The ID of the role to update (required) - :type role_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectSlugRolesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_slug_roles_role_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_slug_roles_role_id_delete_with_http_info(project_slug, role_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_slug_roles_role_id_delete_with_http_info(self, project_slug : Annotated[StrictStr, Field(..., description="Slug of the project to delete this role for.")], role_id : Annotated[StrictStr, Field(..., description="The ID of the role to update")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_slug_roles_role_id_delete # noqa: E501 - - Delete a project role # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_slug_roles_role_id_delete_with_http_info(project_slug, role_id, async_req=True) - >>> result = thread.get() - - :param project_slug: Slug of the project to delete this role for. (required) - :type project_slug: str - :param role_id: The ID of the role to update (required) - :type role_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectSlugRolesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'role_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_slug_roles_role_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_slug'] is not None: - _path_params['projectSlug'] = _params['project_slug'] - - if _params['role_id'] is not None: - _path_params['roleId'] = _params['role_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectSlugRolesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectSlug}/roles/{roleId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_slug_roles_role_id_patch(self, project_slug : Annotated[StrictStr, Field(..., description="Slug of the project to update the role for.")], role_id : Annotated[StrictStr, Field(..., description="The ID of the role to update")], api_v1_workspace_project_slug_roles_role_id_patch_request : Optional[ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest] = None, **kwargs) -> ApiV1WorkspaceProjectSlugRolesPost200Response: # noqa: E501 - """api_v1_workspace_project_slug_roles_role_id_patch # noqa: E501 - - Update a project role # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_slug_roles_role_id_patch(project_slug, role_id, api_v1_workspace_project_slug_roles_role_id_patch_request, async_req=True) - >>> result = thread.get() - - :param project_slug: Slug of the project to update the role for. (required) - :type project_slug: str - :param role_id: The ID of the role to update (required) - :type role_id: str - :param api_v1_workspace_project_slug_roles_role_id_patch_request: - :type api_v1_workspace_project_slug_roles_role_id_patch_request: ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectSlugRolesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_slug_roles_role_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_slug_roles_role_id_patch_with_http_info(project_slug, role_id, api_v1_workspace_project_slug_roles_role_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_slug_roles_role_id_patch_with_http_info(self, project_slug : Annotated[StrictStr, Field(..., description="Slug of the project to update the role for.")], role_id : Annotated[StrictStr, Field(..., description="The ID of the role to update")], api_v1_workspace_project_slug_roles_role_id_patch_request : Optional[ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_slug_roles_role_id_patch # noqa: E501 - - Update a project role # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_slug_roles_role_id_patch_with_http_info(project_slug, role_id, api_v1_workspace_project_slug_roles_role_id_patch_request, async_req=True) - >>> result = thread.get() - - :param project_slug: Slug of the project to update the role for. (required) - :type project_slug: str - :param role_id: The ID of the role to update (required) - :type role_id: str - :param api_v1_workspace_project_slug_roles_role_id_patch_request: - :type api_v1_workspace_project_slug_roles_role_id_patch_request: ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectSlugRolesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'role_id', - 'api_v1_workspace_project_slug_roles_role_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_slug_roles_role_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_slug'] is not None: - _path_params['projectSlug'] = _params['project_slug'] - - if _params['role_id'] is not None: - _path_params['roleId'] = _params['role_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_project_slug_roles_role_id_patch_request'] is not None: - _body_params = _params['api_v1_workspace_project_slug_roles_role_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectSlugRolesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectSlug}/roles/{roleId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_project_slug_roles_slug_slug_get(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project.")], slug : Annotated[StrictStr, Field(..., description="The slug of the role to get details")], **kwargs) -> ApiV1WorkspaceProjectSlugRolesPost200Response: # noqa: E501 - """api_v1_workspace_project_slug_roles_slug_slug_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_slug_roles_slug_slug_get(project_slug, slug, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project. (required) - :type project_slug: str - :param slug: The slug of the role to get details (required) - :type slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceProjectSlugRolesPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_project_slug_roles_slug_slug_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_project_slug_roles_slug_slug_get_with_http_info(project_slug, slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_project_slug_roles_slug_slug_get_with_http_info(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project.")], slug : Annotated[StrictStr, Field(..., description="The slug of the role to get details")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_project_slug_roles_slug_slug_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_project_slug_roles_slug_slug_get_with_http_info(project_slug, slug, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project. (required) - :type project_slug: str - :param slug: The slug of the role to get details (required) - :type slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceProjectSlugRolesPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_project_slug_roles_slug_slug_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_slug'] is not None: - _path_params['projectSlug'] = _params['project_slug'] - - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceProjectSlugRolesPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{projectSlug}/roles/slug/{slug}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_audit_logs_filters_actors_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_audit_logs_filters_actors_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_audit_logs_filters_actors_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_audit_logs_filters_actors_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_audit_logs_filters_actors_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_audit_logs_filters_actors_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_audit_logs_filters_actors_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_audit_logs_filters_actors_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_audit_logs_filters_actors_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/audit-logs/filters/actors', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_audit_logs_get(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to export audit logs from.")], event_type : Annotated[Optional[StrictStr], Field(description="The type of the event to export.")] = None, user_agent_type : Annotated[Optional[StrictStr], Field(description="Choose which consuming application to export audit logs for.")] = None, start_date : Annotated[Optional[datetime], Field(description="The date to start the export from.")] = None, end_date : Annotated[Optional[datetime], Field(description="The date to end the export at.")] = None, offset : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The offset to start from. If you enter 10, it will start from the 10th audit log.")] = None, limit : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The number of audit logs to return.")] = None, actor : Annotated[Optional[StrictStr], Field(description="The actor to filter the audit logs by.")] = None, **kwargs) -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_audit_logs_get # noqa: E501 - - Return audit logs # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_audit_logs_get(workspace_id, event_type, user_agent_type, start_date, end_date, offset, limit, actor, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to export audit logs from. (required) - :type workspace_id: str - :param event_type: The type of the event to export. - :type event_type: str - :param user_agent_type: Choose which consuming application to export audit logs for. - :type user_agent_type: str - :param start_date: The date to start the export from. - :type start_date: datetime - :param end_date: The date to end the export at. - :type end_date: datetime - :param offset: The offset to start from. If you enter 10, it will start from the 10th audit log. - :type offset: float - :param limit: The number of audit logs to return. - :type limit: float - :param actor: The actor to filter the audit logs by. - :type actor: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_audit_logs_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_audit_logs_get_with_http_info(workspace_id, event_type, user_agent_type, start_date, end_date, offset, limit, actor, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_audit_logs_get_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to export audit logs from.")], event_type : Annotated[Optional[StrictStr], Field(description="The type of the event to export.")] = None, user_agent_type : Annotated[Optional[StrictStr], Field(description="Choose which consuming application to export audit logs for.")] = None, start_date : Annotated[Optional[datetime], Field(description="The date to start the export from.")] = None, end_date : Annotated[Optional[datetime], Field(description="The date to end the export at.")] = None, offset : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The offset to start from. If you enter 10, it will start from the 10th audit log.")] = None, limit : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The number of audit logs to return.")] = None, actor : Annotated[Optional[StrictStr], Field(description="The actor to filter the audit logs by.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_audit_logs_get # noqa: E501 - - Return audit logs # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_audit_logs_get_with_http_info(workspace_id, event_type, user_agent_type, start_date, end_date, offset, limit, actor, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to export audit logs from. (required) - :type workspace_id: str - :param event_type: The type of the event to export. - :type event_type: str - :param user_agent_type: Choose which consuming application to export audit logs for. - :type user_agent_type: str - :param start_date: The date to start the export from. - :type start_date: datetime - :param end_date: The date to end the export at. - :type end_date: datetime - :param offset: The offset to start from. If you enter 10, it will start from the 10th audit log. - :type offset: float - :param limit: The number of audit logs to return. - :type limit: float - :param actor: The actor to filter the audit logs by. - :type actor: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'event_type', - 'user_agent_type', - 'start_date', - 'end_date', - 'offset', - 'limit', - 'actor' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_audit_logs_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - if _params.get('event_type') is not None: # noqa: E501 - _query_params.append(('eventType', _params['event_type'])) - - if _params.get('user_agent_type') is not None: # noqa: E501 - _query_params.append(('userAgentType', _params['user_agent_type'])) - - if _params.get('start_date') is not None: # noqa: E501 - if isinstance(_params['start_date'], datetime): - _query_params.append(('startDate', _params['start_date'].strftime(self.api_client.configuration.datetime_format))) - else: - _query_params.append(('startDate', _params['start_date'])) - - if _params.get('end_date') is not None: # noqa: E501 - if isinstance(_params['end_date'], datetime): - _query_params.append(('endDate', _params['end_date'].strftime(self.api_client.configuration.datetime_format))) - else: - _query_params.append(('endDate', _params['end_date'])) - - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - if _params.get('actor') is not None: # noqa: E501 - _query_params.append(('actor', _params['actor'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/audit-logs', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_authorizations_get(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to list integration auths for.")], **kwargs) -> ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_authorizations_get # noqa: E501 - - List integration auth objects for a workspace. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_authorizations_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to list integration auths for. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_authorizations_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_authorizations_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_authorizations_get_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to list integration auths for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_authorizations_get # noqa: E501 - - List integration auth objects for a workspace. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_authorizations_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to list integration auths for. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_authorizations_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/authorizations', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_auto_capitalization_post(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_auto_capitalization_post_request : ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdNamePost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_auto_capitalization_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_auto_capitalization_post(workspace_id, api_v1_workspace_workspace_id_auto_capitalization_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_auto_capitalization_post_request: (required) - :type api_v1_workspace_workspace_id_auto_capitalization_post_request: ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_auto_capitalization_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_auto_capitalization_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_auto_capitalization_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_auto_capitalization_post_with_http_info(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_auto_capitalization_post_request : ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_auto_capitalization_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_auto_capitalization_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_auto_capitalization_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_auto_capitalization_post_request: (required) - :type api_v1_workspace_workspace_id_auto_capitalization_post_request: ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'api_v1_workspace_workspace_id_auto_capitalization_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_auto_capitalization_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_auto_capitalization_post_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_auto_capitalization_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdNamePost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/auto-capitalization', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_delete(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to delete.")], **kwargs) -> ApiV1WorkspaceWorkspaceIdDelete200Response: # noqa: E501 - """api_v1_workspace_workspace_id_delete # noqa: E501 - - Delete project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_delete(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to delete. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_delete_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_delete_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_delete # noqa: E501 - - Delete project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_delete_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to delete. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_environments_env_id_get(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project the environment belongs to.")], env_id : Annotated[StrictStr, Field(..., description="The ID of the environment to fetch.")], **kwargs) -> ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_environments_env_id_get # noqa: E501 - - Get Environment # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_environments_env_id_get(workspace_id, env_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project the environment belongs to. (required) - :type workspace_id: str - :param env_id: The ID of the environment to fetch. (required) - :type env_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_environments_env_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_environments_env_id_get_with_http_info(workspace_id, env_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_environments_env_id_get_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project the environment belongs to.")], env_id : Annotated[StrictStr, Field(..., description="The ID of the environment to fetch.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_environments_env_id_get # noqa: E501 - - Get Environment # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_environments_env_id_get_with_http_info(workspace_id, env_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project the environment belongs to. (required) - :type workspace_id: str - :param env_id: The ID of the environment to fetch. (required) - :type env_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'env_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_environments_env_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - if _params['env_id'] is not None: - _path_params['envId'] = _params['env_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/environments/{envId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_environments_id_delete(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to delete the environment from.")], id : Annotated[StrictStr, Field(..., description="The ID of the environment to delete.")], **kwargs) -> ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_environments_id_delete # noqa: E501 - - Delete environment # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_environments_id_delete(workspace_id, id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to delete the environment from. (required) - :type workspace_id: str - :param id: The ID of the environment to delete. (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_environments_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_environments_id_delete_with_http_info(workspace_id, id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_environments_id_delete_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to delete the environment from.")], id : Annotated[StrictStr, Field(..., description="The ID of the environment to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_environments_id_delete # noqa: E501 - - Delete environment # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_environments_id_delete_with_http_info(workspace_id, id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to delete the environment from. (required) - :type workspace_id: str - :param id: The ID of the environment to delete. (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_environments_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/environments/{id}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_environments_id_patch(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to update the environment in.")], id : Annotated[StrictStr, Field(..., description="The ID of the environment to update.")], api_v1_workspace_workspace_id_environments_id_patch_request : Optional[ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest] = None, **kwargs) -> ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_environments_id_patch # noqa: E501 - - Update environment # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_environments_id_patch(workspace_id, id, api_v1_workspace_workspace_id_environments_id_patch_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to update the environment in. (required) - :type workspace_id: str - :param id: The ID of the environment to update. (required) - :type id: str - :param api_v1_workspace_workspace_id_environments_id_patch_request: - :type api_v1_workspace_workspace_id_environments_id_patch_request: ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_environments_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_environments_id_patch_with_http_info(workspace_id, id, api_v1_workspace_workspace_id_environments_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_environments_id_patch_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to update the environment in.")], id : Annotated[StrictStr, Field(..., description="The ID of the environment to update.")], api_v1_workspace_workspace_id_environments_id_patch_request : Optional[ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_environments_id_patch # noqa: E501 - - Update environment # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_environments_id_patch_with_http_info(workspace_id, id, api_v1_workspace_workspace_id_environments_id_patch_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to update the environment in. (required) - :type workspace_id: str - :param id: The ID of the environment to update. (required) - :type id: str - :param api_v1_workspace_workspace_id_environments_id_patch_request: - :type api_v1_workspace_workspace_id_environments_id_patch_request: ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'id', - 'api_v1_workspace_workspace_id_environments_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_environments_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - if _params['id'] is not None: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_environments_id_patch_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_environments_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/environments/{id}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_environments_post(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to create the environment in.")], api_v1_workspace_workspace_id_environments_post_request : ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_environments_post # noqa: E501 - - Create environment # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_environments_post(workspace_id, api_v1_workspace_workspace_id_environments_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to create the environment in. (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_environments_post_request: (required) - :type api_v1_workspace_workspace_id_environments_post_request: ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_environments_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_environments_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_environments_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_environments_post_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to create the environment in.")], api_v1_workspace_workspace_id_environments_post_request : ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_environments_post # noqa: E501 - - Create environment # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_environments_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_environments_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to create the environment in. (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_environments_post_request: (required) - :type api_v1_workspace_workspace_id_environments_post_request: ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'api_v1_workspace_workspace_id_environments_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_environments_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_environments_post_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_environments_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/environments', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_get(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project.")], **kwargs) -> ApiV1WorkspaceWorkspaceIdGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_get # noqa: E501 - - Get project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_get_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_get # noqa: E501 - - Get project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_integrations_get(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to list integrations for.")], **kwargs) -> ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_integrations_get # noqa: E501 - - List integrations for a project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_integrations_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to list integrations for. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_integrations_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_integrations_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_integrations_get_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to list integrations for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_integrations_get # noqa: E501 - - List integrations for a project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_integrations_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to list integrations for. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_integrations_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/integrations', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_key_post(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_key_post_request : ApiV1WorkspaceWorkspaceIdKeyPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v1_workspace_workspace_id_key_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_key_post(workspace_id, api_v1_workspace_workspace_id_key_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_key_post_request: (required) - :type api_v1_workspace_workspace_id_key_post_request: ApiV1WorkspaceWorkspaceIdKeyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_key_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_key_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_key_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_key_post_with_http_info(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_key_post_request : ApiV1WorkspaceWorkspaceIdKeyPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_key_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_key_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_key_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_key_post_request: (required) - :type api_v1_workspace_workspace_id_key_post_request: ApiV1WorkspaceWorkspaceIdKeyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'api_v1_workspace_workspace_id_key_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_key_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_key_post_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_key_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/key', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_keys_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1WorkspaceWorkspaceIdKeysGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_keys_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_keys_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdKeysGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_keys_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_keys_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_keys_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_keys_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_keys_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdKeysGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_keys_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdKeysGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/keys', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_kms_backup_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_kms_backup_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_kms_backup_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_kms_backup_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_kms_backup_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_kms_backup_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_kms_backup_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_kms_backup_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_kms_backup_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/kms/backup', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_kms_backup_post(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_kms_backup_post_request : ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdKmsGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_kms_backup_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_kms_backup_post(workspace_id, api_v1_workspace_workspace_id_kms_backup_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_kms_backup_post_request: (required) - :type api_v1_workspace_workspace_id_kms_backup_post_request: ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdKmsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_kms_backup_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_kms_backup_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_kms_backup_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_kms_backup_post_with_http_info(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_kms_backup_post_request : ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_kms_backup_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_kms_backup_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_kms_backup_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_kms_backup_post_request: (required) - :type api_v1_workspace_workspace_id_kms_backup_post_request: ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdKmsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'api_v1_workspace_workspace_id_kms_backup_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_kms_backup_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_kms_backup_post_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_kms_backup_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdKmsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/kms/backup', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_kms_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1WorkspaceWorkspaceIdKmsGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_kms_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_kms_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdKmsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_kms_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_kms_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_kms_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_kms_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_kms_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdKmsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_kms_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdKmsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/kms', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_kms_patch(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_kms_patch_request : ApiV1WorkspaceWorkspaceIdKmsPatchRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdKmsGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_kms_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_kms_patch(workspace_id, api_v1_workspace_workspace_id_kms_patch_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_kms_patch_request: (required) - :type api_v1_workspace_workspace_id_kms_patch_request: ApiV1WorkspaceWorkspaceIdKmsPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdKmsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_kms_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_kms_patch_with_http_info(workspace_id, api_v1_workspace_workspace_id_kms_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_kms_patch_with_http_info(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_kms_patch_request : ApiV1WorkspaceWorkspaceIdKmsPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_kms_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_kms_patch_with_http_info(workspace_id, api_v1_workspace_workspace_id_kms_patch_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_kms_patch_request: (required) - :type api_v1_workspace_workspace_id_kms_patch_request: ApiV1WorkspaceWorkspaceIdKmsPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdKmsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'api_v1_workspace_workspace_id_kms_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_kms_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_kms_patch_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_kms_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdKmsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/kms', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_leave_delete(self, workspace_id : StrictStr, **kwargs) -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_leave_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_leave_delete(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_leave_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_leave_delete_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_leave_delete_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_leave_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_leave_delete_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_leave_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/leave', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_memberships_details_post(self, workspace_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the project to get memberships from.")], api_v1_workspace_workspace_id_memberships_details_post_request : ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_memberships_details_post # noqa: E501 - - Return project user memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_memberships_details_post(workspace_id, api_v1_workspace_workspace_id_memberships_details_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to get memberships from. (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_memberships_details_post_request: (required) - :type api_v1_workspace_workspace_id_memberships_details_post_request: ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_memberships_details_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_memberships_details_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_memberships_details_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_memberships_details_post_with_http_info(self, workspace_id : Annotated[constr(strict=True, min_length=1), Field(..., description="The ID of the project to get memberships from.")], api_v1_workspace_workspace_id_memberships_details_post_request : ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_memberships_details_post # noqa: E501 - - Return project user memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_memberships_details_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_memberships_details_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to get memberships from. (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_memberships_details_post_request: (required) - :type api_v1_workspace_workspace_id_memberships_details_post_request: ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'api_v1_workspace_workspace_id_memberships_details_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_memberships_details_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_memberships_details_post_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_memberships_details_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/memberships/details', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_memberships_get(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to get memberships from.")], **kwargs) -> ApiV1WorkspaceWorkspaceIdMembershipsGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_memberships_get # noqa: E501 - - Return project user memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_memberships_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to get memberships from. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMembershipsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_memberships_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_memberships_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_memberships_get_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to get memberships from.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_memberships_get # noqa: E501 - - Return project user memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_memberships_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to get memberships from. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMembershipsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_memberships_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMembershipsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/memberships', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_memberships_membership_id_delete(self, workspace_id : StrictStr, membership_id : StrictStr, **kwargs) -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_memberships_membership_id_delete # noqa: E501 - - Delete project user membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_memberships_membership_id_delete(workspace_id, membership_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param membership_id: (required) - :type membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_memberships_membership_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_memberships_membership_id_delete_with_http_info(workspace_id, membership_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_memberships_membership_id_delete_with_http_info(self, workspace_id : StrictStr, membership_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_memberships_membership_id_delete # noqa: E501 - - Delete project user membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_memberships_membership_id_delete_with_http_info(workspace_id, membership_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param membership_id: (required) - :type membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'membership_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_memberships_membership_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - if _params['membership_id'] is not None: - _path_params['membershipId'] = _params['membership_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/memberships/{membershipId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_memberships_membership_id_patch(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to update the membership for.")], membership_id : Annotated[StrictStr, Field(..., description="The ID of the membership to update.")], api_v1_workspace_workspace_id_memberships_membership_id_patch_request : ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response: # noqa: E501 - """api_v1_workspace_workspace_id_memberships_membership_id_patch # noqa: E501 - - Update project user membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_memberships_membership_id_patch(workspace_id, membership_id, api_v1_workspace_workspace_id_memberships_membership_id_patch_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to update the membership for. (required) - :type workspace_id: str - :param membership_id: The ID of the membership to update. (required) - :type membership_id: str - :param api_v1_workspace_workspace_id_memberships_membership_id_patch_request: (required) - :type api_v1_workspace_workspace_id_memberships_membership_id_patch_request: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_memberships_membership_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_memberships_membership_id_patch_with_http_info(workspace_id, membership_id, api_v1_workspace_workspace_id_memberships_membership_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_memberships_membership_id_patch_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to update the membership for.")], membership_id : Annotated[StrictStr, Field(..., description="The ID of the membership to update.")], api_v1_workspace_workspace_id_memberships_membership_id_patch_request : ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_memberships_membership_id_patch # noqa: E501 - - Update project user membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_memberships_membership_id_patch_with_http_info(workspace_id, membership_id, api_v1_workspace_workspace_id_memberships_membership_id_patch_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to update the membership for. (required) - :type workspace_id: str - :param membership_id: The ID of the membership to update. (required) - :type membership_id: str - :param api_v1_workspace_workspace_id_memberships_membership_id_patch_request: (required) - :type api_v1_workspace_workspace_id_memberships_membership_id_patch_request: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'membership_id', - 'api_v1_workspace_workspace_id_memberships_membership_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_memberships_membership_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - if _params['membership_id'] is not None: - _path_params['membershipId'] = _params['membership_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_memberships_membership_id_patch_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_memberships_membership_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/memberships/{membershipId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_memberships_post(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_memberships_post_request : ApiV1WorkspaceWorkspaceIdMembershipsPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMembershipsPost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_memberships_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_memberships_post(workspace_id, api_v1_workspace_workspace_id_memberships_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_memberships_post_request: (required) - :type api_v1_workspace_workspace_id_memberships_post_request: ApiV1WorkspaceWorkspaceIdMembershipsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMembershipsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_memberships_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_memberships_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_memberships_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_memberships_post_with_http_info(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_memberships_post_request : ApiV1WorkspaceWorkspaceIdMembershipsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_memberships_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_memberships_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_memberships_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_memberships_post_request: (required) - :type api_v1_workspace_workspace_id_memberships_post_request: ApiV1WorkspaceWorkspaceIdMembershipsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMembershipsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'api_v1_workspace_workspace_id_memberships_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_memberships_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_memberships_post_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_memberships_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMembershipsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/memberships', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_migrate_v3_post(self, workspace_id : StrictStr, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v1_workspace_workspace_id_migrate_v3_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_migrate_v3_post(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_migrate_v3_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_migrate_v3_post_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_migrate_v3_post_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_migrate_v3_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_migrate_v3_post_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_migrate_v3_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/migrate-v3', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_name_post(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_name_post_request : ApiV1WorkspaceWorkspaceIdNamePostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdNamePost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_name_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_name_post(workspace_id, api_v1_workspace_workspace_id_name_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_name_post_request: (required) - :type api_v1_workspace_workspace_id_name_post_request: ApiV1WorkspaceWorkspaceIdNamePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_name_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_name_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_name_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_name_post_with_http_info(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_name_post_request : ApiV1WorkspaceWorkspaceIdNamePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_name_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_name_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_name_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_name_post_request: (required) - :type api_v1_workspace_workspace_id_name_post_request: ApiV1WorkspaceWorkspaceIdNamePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'api_v1_workspace_workspace_id_name_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_name_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_name_post_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_name_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdNamePost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/name', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_patch(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to update.")], api_v1_workspace_workspace_id_patch_request : Optional[ApiV1WorkspaceWorkspaceIdPatchRequest] = None, **kwargs) -> ApiV1WorkspaceWorkspaceIdPatch200Response: # noqa: E501 - """api_v1_workspace_workspace_id_patch # noqa: E501 - - Update project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_patch(workspace_id, api_v1_workspace_workspace_id_patch_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to update. (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_patch_request: - :type api_v1_workspace_workspace_id_patch_request: ApiV1WorkspaceWorkspaceIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_patch_with_http_info(workspace_id, api_v1_workspace_workspace_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_patch_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to update.")], api_v1_workspace_workspace_id_patch_request : Optional[ApiV1WorkspaceWorkspaceIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_patch # noqa: E501 - - Update project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_patch_with_http_info(workspace_id, api_v1_workspace_workspace_id_patch_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to update. (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_patch_request: - :type api_v1_workspace_workspace_id_patch_request: ApiV1WorkspaceWorkspaceIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'api_v1_workspace_workspace_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_patch_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdPatch200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_secret_snapshots_count_get(self, environment : StrictStr, workspace_id : StrictStr, path : Optional[StrictStr] = None, **kwargs) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_secret_snapshots_count_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_secret_snapshots_count_get(environment, workspace_id, path, async_req=True) - >>> result = thread.get() - - :param environment: (required) - :type environment: str - :param workspace_id: (required) - :type workspace_id: str - :param path: - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_secret_snapshots_count_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_secret_snapshots_count_get_with_http_info(environment, workspace_id, path, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_secret_snapshots_count_get_with_http_info(self, environment : StrictStr, workspace_id : StrictStr, path : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_secret_snapshots_count_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_secret_snapshots_count_get_with_http_info(environment, workspace_id, path, async_req=True) - >>> result = thread.get() - - :param environment: (required) - :type environment: str - :param workspace_id: (required) - :type workspace_id: str - :param path: - :type path: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'environment', - 'workspace_id', - 'path' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_secret_snapshots_count_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('path') is not None: # noqa: E501 - _query_params.append(('path', _params['path'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/secret-snapshots/count', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_secret_snapshots_get(self, environment : Annotated[StrictStr, Field(..., description="The environment to get snapshots from.")], workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to get snapshots from.")], path : Annotated[Optional[StrictStr], Field(description="The secret path to get snapshots from.")] = None, offset : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The offset to start from. If you enter 10, it will start from the 10th snapshot.")] = None, limit : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The number of snapshots to return.")] = None, **kwargs) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_secret_snapshots_get # noqa: E501 - - Return project secret snapshots ids # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_secret_snapshots_get(environment, workspace_id, path, offset, limit, async_req=True) - >>> result = thread.get() - - :param environment: The environment to get snapshots from. (required) - :type environment: str - :param workspace_id: The ID of the project to get snapshots from. (required) - :type workspace_id: str - :param path: The secret path to get snapshots from. - :type path: str - :param offset: The offset to start from. If you enter 10, it will start from the 10th snapshot. - :type offset: float - :param limit: The number of snapshots to return. - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_secret_snapshots_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_secret_snapshots_get_with_http_info(environment, workspace_id, path, offset, limit, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_secret_snapshots_get_with_http_info(self, environment : Annotated[StrictStr, Field(..., description="The environment to get snapshots from.")], workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to get snapshots from.")], path : Annotated[Optional[StrictStr], Field(description="The secret path to get snapshots from.")] = None, offset : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The offset to start from. If you enter 10, it will start from the 10th snapshot.")] = None, limit : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The number of snapshots to return.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_secret_snapshots_get # noqa: E501 - - Return project secret snapshots ids # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_secret_snapshots_get_with_http_info(environment, workspace_id, path, offset, limit, async_req=True) - >>> result = thread.get() - - :param environment: The environment to get snapshots from. (required) - :type environment: str - :param workspace_id: The ID of the project to get snapshots from. (required) - :type workspace_id: str - :param path: The secret path to get snapshots from. - :type path: str - :param offset: The offset to start from. If you enter 10, it will start from the 10th snapshot. - :type offset: float - :param limit: The number of snapshots to return. - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'environment', - 'workspace_id', - 'path', - 'offset', - 'limit' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_secret_snapshots_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('path') is not None: # noqa: E501 - _query_params.append(('path', _params['path'])) - - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/secret-snapshots', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_service_token_data_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_service_token_data_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_service_token_data_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_service_token_data_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_service_token_data_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_service_token_data_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_service_token_data_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_service_token_data_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_service_token_data_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/service-token-data', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_trusted_ips_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_trusted_ips_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_trusted_ips_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_trusted_ips_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_trusted_ips_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_trusted_ips_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_trusted_ips_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_trusted_ips_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_trusted_ips_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/trusted-ips', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_trusted_ips_post(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_trusted_ips_post_request : ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_trusted_ips_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_trusted_ips_post(workspace_id, api_v1_workspace_workspace_id_trusted_ips_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_trusted_ips_post_request: (required) - :type api_v1_workspace_workspace_id_trusted_ips_post_request: ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_trusted_ips_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_trusted_ips_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_trusted_ips_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_trusted_ips_post_with_http_info(self, workspace_id : StrictStr, api_v1_workspace_workspace_id_trusted_ips_post_request : ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_trusted_ips_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_trusted_ips_post_with_http_info(workspace_id, api_v1_workspace_workspace_id_trusted_ips_post_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param api_v1_workspace_workspace_id_trusted_ips_post_request: (required) - :type api_v1_workspace_workspace_id_trusted_ips_post_request: ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'api_v1_workspace_workspace_id_trusted_ips_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_trusted_ips_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_trusted_ips_post_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_trusted_ips_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/trusted-ips', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete(self, workspace_id : StrictStr, trusted_ip_id : StrictStr, **kwargs) -> ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete(workspace_id, trusted_ip_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param trusted_ip_id: (required) - :type trusted_ip_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete_with_http_info(workspace_id, trusted_ip_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete_with_http_info(self, workspace_id : StrictStr, trusted_ip_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete_with_http_info(workspace_id, trusted_ip_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param trusted_ip_id: (required) - :type trusted_ip_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'trusted_ip_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - if _params['trusted_ip_id'] is not None: - _path_params['trustedIpId'] = _params['trusted_ip_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/trusted-ips/{trustedIpId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch(self, workspace_id : StrictStr, trusted_ip_id : StrictStr, api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request : ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response: # noqa: E501 - """api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch(workspace_id, trusted_ip_id, api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param trusted_ip_id: (required) - :type trusted_ip_id: str - :param api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request: (required) - :type api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request: ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_with_http_info(workspace_id, trusted_ip_id, api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_with_http_info(self, workspace_id : StrictStr, trusted_ip_id : StrictStr, api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request : ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_with_http_info(workspace_id, trusted_ip_id, api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param trusted_ip_id: (required) - :type trusted_ip_id: str - :param api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request: (required) - :type api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request: ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'trusted_ip_id', - 'api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - if _params['trusted_ip_id'] is not None: - _path_params['trustedIpId'] = _params['trusted_ip_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/trusted-ips/{trustedIpId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_id_users_get(self, workspace_id : StrictStr, **kwargs) -> ApiV1WorkspaceWorkspaceIdUsersGet200Response: # noqa: E501 - """api_v1_workspace_workspace_id_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_users_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdUsersGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_id_users_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_id_users_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_id_users_get_with_http_info(self, workspace_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_id_users_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_id_users_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdUsersGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_id_users_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdUsersGet200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceId}/users', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_slug_audit_logs_retention_put(self, workspace_slug : StrictStr, api_v1_workspace_workspace_slug_audit_logs_retention_put_request : ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdNamePost200Response: # noqa: E501 - """api_v1_workspace_workspace_slug_audit_logs_retention_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_slug_audit_logs_retention_put(workspace_slug, api_v1_workspace_workspace_slug_audit_logs_retention_put_request, async_req=True) - >>> result = thread.get() - - :param workspace_slug: (required) - :type workspace_slug: str - :param api_v1_workspace_workspace_slug_audit_logs_retention_put_request: (required) - :type api_v1_workspace_workspace_slug_audit_logs_retention_put_request: ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_slug_audit_logs_retention_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_slug_audit_logs_retention_put_with_http_info(workspace_slug, api_v1_workspace_workspace_slug_audit_logs_retention_put_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_slug_audit_logs_retention_put_with_http_info(self, workspace_slug : StrictStr, api_v1_workspace_workspace_slug_audit_logs_retention_put_request : ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_slug_audit_logs_retention_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_slug_audit_logs_retention_put_with_http_info(workspace_slug, api_v1_workspace_workspace_slug_audit_logs_retention_put_request, async_req=True) - >>> result = thread.get() - - :param workspace_slug: (required) - :type workspace_slug: str - :param api_v1_workspace_workspace_slug_audit_logs_retention_put_request: (required) - :type api_v1_workspace_workspace_slug_audit_logs_retention_put_request: ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_slug', - 'api_v1_workspace_workspace_slug_audit_logs_retention_put_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_slug_audit_logs_retention_put" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_slug'] is not None: - _path_params['workspaceSlug'] = _params['workspace_slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_slug_audit_logs_retention_put_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_slug_audit_logs_retention_put_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdNamePost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceSlug}/audit-logs-retention', 'PUT', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v1_workspace_workspace_slug_version_limit_put(self, workspace_slug : StrictStr, api_v1_workspace_workspace_slug_version_limit_put_request : ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdNamePost200Response: # noqa: E501 - """api_v1_workspace_workspace_slug_version_limit_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_slug_version_limit_put(workspace_slug, api_v1_workspace_workspace_slug_version_limit_put_request, async_req=True) - >>> result = thread.get() - - :param workspace_slug: (required) - :type workspace_slug: str - :param api_v1_workspace_workspace_slug_version_limit_put_request: (required) - :type api_v1_workspace_workspace_slug_version_limit_put_request: ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v1_workspace_workspace_slug_version_limit_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v1_workspace_workspace_slug_version_limit_put_with_http_info(workspace_slug, api_v1_workspace_workspace_slug_version_limit_put_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v1_workspace_workspace_slug_version_limit_put_with_http_info(self, workspace_slug : StrictStr, api_v1_workspace_workspace_slug_version_limit_put_request : ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v1_workspace_workspace_slug_version_limit_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_workspace_workspace_slug_version_limit_put_with_http_info(workspace_slug, api_v1_workspace_workspace_slug_version_limit_put_request, async_req=True) - >>> result = thread.get() - - :param workspace_slug: (required) - :type workspace_slug: str - :param api_v1_workspace_workspace_slug_version_limit_put_request: (required) - :type api_v1_workspace_workspace_slug_version_limit_put_request: ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_slug', - 'api_v1_workspace_workspace_slug_version_limit_put_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_workspace_workspace_slug_version_limit_put" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_slug'] is not None: - _path_params['workspaceSlug'] = _params['workspace_slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_slug_version_limit_put_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_slug_version_limit_put_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdNamePost200Response", - } - - return self.api_client.call_api( - '/api/v1/workspace/{workspaceSlug}/version-limit', 'PUT', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_auth_mfa_send_post(self, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v2_auth_mfa_send_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_auth_mfa_send_post(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_auth_mfa_send_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_auth_mfa_send_post_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v2_auth_mfa_send_post_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_auth_mfa_send_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_auth_mfa_send_post_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_auth_mfa_send_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v2/auth/mfa/send', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_auth_mfa_verify_post(self, api_v2_auth_mfa_verify_post_request : ApiV2AuthMfaVerifyPostRequest, **kwargs) -> ApiV2AuthMfaVerifyPost200Response: # noqa: E501 - """api_v2_auth_mfa_verify_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_auth_mfa_verify_post(api_v2_auth_mfa_verify_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_auth_mfa_verify_post_request: (required) - :type api_v2_auth_mfa_verify_post_request: ApiV2AuthMfaVerifyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2AuthMfaVerifyPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_auth_mfa_verify_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_auth_mfa_verify_post_with_http_info(api_v2_auth_mfa_verify_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_auth_mfa_verify_post_with_http_info(self, api_v2_auth_mfa_verify_post_request : ApiV2AuthMfaVerifyPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_auth_mfa_verify_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_auth_mfa_verify_post_with_http_info(api_v2_auth_mfa_verify_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_auth_mfa_verify_post_request: (required) - :type api_v2_auth_mfa_verify_post_request: ApiV2AuthMfaVerifyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2AuthMfaVerifyPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v2_auth_mfa_verify_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_auth_mfa_verify_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_auth_mfa_verify_post_request'] is not None: - _body_params = _params['api_v2_auth_mfa_verify_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2AuthMfaVerifyPost200Response", - } - - return self.api_client.call_api( - '/api/v2/auth/mfa/verify', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_organizations_org_id_identity_memberships_get(self, org_id : Annotated[StrictStr, Field(..., description="The ID of the organization to get identity memberships from.")], **kwargs) -> ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response: # noqa: E501 - """api_v2_organizations_org_id_identity_memberships_get # noqa: E501 - - Return organization identity memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_org_id_identity_memberships_get(org_id, async_req=True) - >>> result = thread.get() - - :param org_id: The ID of the organization to get identity memberships from. (required) - :type org_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_organizations_org_id_identity_memberships_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_organizations_org_id_identity_memberships_get_with_http_info(org_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_organizations_org_id_identity_memberships_get_with_http_info(self, org_id : Annotated[StrictStr, Field(..., description="The ID of the organization to get identity memberships from.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_organizations_org_id_identity_memberships_get # noqa: E501 - - Return organization identity memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_org_id_identity_memberships_get_with_http_info(org_id, async_req=True) - >>> result = thread.get() - - :param org_id: The ID of the organization to get identity memberships from. (required) - :type org_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'org_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_organizations_org_id_identity_memberships_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['org_id'] is not None: - _path_params['orgId'] = _params['org_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response", - } - - return self.api_client.call_api( - '/api/v2/organizations/{orgId}/identity-memberships', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_organizations_organization_id_delete(self, organization_id : StrictStr, **kwargs) -> ApiV1OrganizationOrganizationIdGet200Response: # noqa: E501 - """api_v2_organizations_organization_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_delete(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_organizations_organization_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_organizations_organization_id_delete_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_organizations_organization_id_delete_with_http_info(self, organization_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_organizations_organization_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_delete_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_organizations_organization_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdGet200Response", - } - - return self.api_client.call_api( - '/api/v2/organizations/{organizationId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_organizations_organization_id_memberships_get(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to get memberships from.")], **kwargs) -> ApiV2OrganizationsOrganizationIdMembershipsGet200Response: # noqa: E501 - """api_v2_organizations_organization_id_memberships_get # noqa: E501 - - Return organization user memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_memberships_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to get memberships from. (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2OrganizationsOrganizationIdMembershipsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_organizations_organization_id_memberships_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_organizations_organization_id_memberships_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_organizations_organization_id_memberships_get_with_http_info(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to get memberships from.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_organizations_organization_id_memberships_get # noqa: E501 - - Return organization user memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_memberships_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to get memberships from. (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2OrganizationsOrganizationIdMembershipsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_organizations_organization_id_memberships_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2OrganizationsOrganizationIdMembershipsGet200Response", - } - - return self.api_client.call_api( - '/api/v2/organizations/{organizationId}/memberships', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_organizations_organization_id_memberships_membership_id_delete(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to delete the membership from.")], membership_id : Annotated[StrictStr, Field(..., description="The ID of the membership to delete.")], **kwargs) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response: # noqa: E501 - """api_v2_organizations_organization_id_memberships_membership_id_delete # noqa: E501 - - Delete organization user memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_memberships_membership_id_delete(organization_id, membership_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to delete the membership from. (required) - :type organization_id: str - :param membership_id: The ID of the membership to delete. (required) - :type membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_organizations_organization_id_memberships_membership_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_organizations_organization_id_memberships_membership_id_delete_with_http_info(organization_id, membership_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_organizations_organization_id_memberships_membership_id_delete_with_http_info(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to delete the membership from.")], membership_id : Annotated[StrictStr, Field(..., description="The ID of the membership to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_organizations_organization_id_memberships_membership_id_delete # noqa: E501 - - Delete organization user memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_memberships_membership_id_delete_with_http_info(organization_id, membership_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to delete the membership from. (required) - :type organization_id: str - :param membership_id: The ID of the membership to delete. (required) - :type membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'membership_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_organizations_organization_id_memberships_membership_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['membership_id'] is not None: - _path_params['membershipId'] = _params['membership_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v2/organizations/{organizationId}/memberships/{membershipId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_organizations_organization_id_memberships_membership_id_get(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to get the membership for.")], membership_id : Annotated[StrictStr, Field(..., description="The ID of the membership to get.")], **kwargs) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response: # noqa: E501 - """api_v2_organizations_organization_id_memberships_membership_id_get # noqa: E501 - - Get organization user membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_memberships_membership_id_get(organization_id, membership_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to get the membership for. (required) - :type organization_id: str - :param membership_id: The ID of the membership to get. (required) - :type membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_organizations_organization_id_memberships_membership_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_organizations_organization_id_memberships_membership_id_get_with_http_info(organization_id, membership_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_organizations_organization_id_memberships_membership_id_get_with_http_info(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to get the membership for.")], membership_id : Annotated[StrictStr, Field(..., description="The ID of the membership to get.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_organizations_organization_id_memberships_membership_id_get # noqa: E501 - - Get organization user membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_memberships_membership_id_get_with_http_info(organization_id, membership_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to get the membership for. (required) - :type organization_id: str - :param membership_id: The ID of the membership to get. (required) - :type membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'membership_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_organizations_organization_id_memberships_membership_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['membership_id'] is not None: - _path_params['membershipId'] = _params['membership_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response", - } - - return self.api_client.call_api( - '/api/v2/organizations/{organizationId}/memberships/{membershipId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_organizations_organization_id_memberships_membership_id_patch(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to update the membership for.")], membership_id : Annotated[StrictStr, Field(..., description="The ID of the membership to update.")], api_v2_organizations_organization_id_memberships_membership_id_patch_request : Optional[ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest] = None, **kwargs) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response: # noqa: E501 - """api_v2_organizations_organization_id_memberships_membership_id_patch # noqa: E501 - - Update organization user memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_memberships_membership_id_patch(organization_id, membership_id, api_v2_organizations_organization_id_memberships_membership_id_patch_request, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to update the membership for. (required) - :type organization_id: str - :param membership_id: The ID of the membership to update. (required) - :type membership_id: str - :param api_v2_organizations_organization_id_memberships_membership_id_patch_request: - :type api_v2_organizations_organization_id_memberships_membership_id_patch_request: ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_organizations_organization_id_memberships_membership_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_organizations_organization_id_memberships_membership_id_patch_with_http_info(organization_id, membership_id, api_v2_organizations_organization_id_memberships_membership_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_organizations_organization_id_memberships_membership_id_patch_with_http_info(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to update the membership for.")], membership_id : Annotated[StrictStr, Field(..., description="The ID of the membership to update.")], api_v2_organizations_organization_id_memberships_membership_id_patch_request : Optional[ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_organizations_organization_id_memberships_membership_id_patch # noqa: E501 - - Update organization user memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_memberships_membership_id_patch_with_http_info(organization_id, membership_id, api_v2_organizations_organization_id_memberships_membership_id_patch_request, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to update the membership for. (required) - :type organization_id: str - :param membership_id: The ID of the membership to update. (required) - :type membership_id: str - :param api_v2_organizations_organization_id_memberships_membership_id_patch_request: - :type api_v2_organizations_organization_id_memberships_membership_id_patch_request: ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'membership_id', - 'api_v2_organizations_organization_id_memberships_membership_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_organizations_organization_id_memberships_membership_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['membership_id'] is not None: - _path_params['membershipId'] = _params['membership_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_organizations_organization_id_memberships_membership_id_patch_request'] is not None: - _body_params = _params['api_v2_organizations_organization_id_memberships_membership_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v2/organizations/{organizationId}/memberships/{membershipId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to delete the membership from.")], membership_id : Annotated[StrictStr, Field(..., description="The ID of the membership to delete.")], **kwargs) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response: # noqa: E501 - """api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get # noqa: E501 - - Get project memberships given organization membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get(organization_id, membership_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to delete the membership from. (required) - :type organization_id: str - :param membership_id: The ID of the membership to delete. (required) - :type membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get_with_http_info(organization_id, membership_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get_with_http_info(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to delete the membership from.")], membership_id : Annotated[StrictStr, Field(..., description="The ID of the membership to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get # noqa: E501 - - Get project memberships given organization membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get_with_http_info(organization_id, membership_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to delete the membership from. (required) - :type organization_id: str - :param membership_id: The ID of the membership to delete. (required) - :type membership_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id', - 'membership_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - if _params['membership_id'] is not None: - _path_params['membershipId'] = _params['membership_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response", - } - - return self.api_client.call_api( - '/api/v2/organizations/{organizationId}/memberships/{membershipId}/project-memberships', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_organizations_organization_id_workspaces_get(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to get projects from.")], **kwargs) -> ApiV2OrganizationsOrganizationIdWorkspacesGet200Response: # noqa: E501 - """api_v2_organizations_organization_id_workspaces_get # noqa: E501 - - Return projects in organization that user is part of # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_workspaces_get(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to get projects from. (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2OrganizationsOrganizationIdWorkspacesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_organizations_organization_id_workspaces_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_organizations_organization_id_workspaces_get_with_http_info(organization_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_organizations_organization_id_workspaces_get_with_http_info(self, organization_id : Annotated[StrictStr, Field(..., description="The ID of the organization to get projects from.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_organizations_organization_id_workspaces_get # noqa: E501 - - Return projects in organization that user is part of # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_organization_id_workspaces_get_with_http_info(organization_id, async_req=True) - >>> result = thread.get() - - :param organization_id: The ID of the organization to get projects from. (required) - :type organization_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2OrganizationsOrganizationIdWorkspacesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'organization_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_organizations_organization_id_workspaces_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['organization_id'] is not None: - _path_params['organizationId'] = _params['organization_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2OrganizationsOrganizationIdWorkspacesGet200Response", - } - - return self.api_client.call_api( - '/api/v2/organizations/{organizationId}/workspaces', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_organizations_post(self, api_v1_workspace_workspace_id_name_post_request : ApiV1WorkspaceWorkspaceIdNamePostRequest, **kwargs) -> ApiV1OrganizationOrganizationIdGet200Response: # noqa: E501 - """api_v2_organizations_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_post(api_v1_workspace_workspace_id_name_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_workspace_workspace_id_name_post_request: (required) - :type api_v1_workspace_workspace_id_name_post_request: ApiV1WorkspaceWorkspaceIdNamePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationOrganizationIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_organizations_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_organizations_post_with_http_info(api_v1_workspace_workspace_id_name_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_organizations_post_with_http_info(self, api_v1_workspace_workspace_id_name_post_request : ApiV1WorkspaceWorkspaceIdNamePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_organizations_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_organizations_post_with_http_info(api_v1_workspace_workspace_id_name_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_workspace_workspace_id_name_post_request: (required) - :type api_v1_workspace_workspace_id_name_post_request: ApiV1WorkspaceWorkspaceIdNamePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationOrganizationIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_workspace_workspace_id_name_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_organizations_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_workspace_workspace_id_name_post_request'] is not None: - _body_params = _params['api_v1_workspace_workspace_id_name_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationOrganizationIdGet200Response", - } - - return self.api_client.call_api( - '/api/v2/organizations', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_service_token_get(self, **kwargs) -> ApiV2ServiceTokenGet200Response: # noqa: E501 - """api_v2_service_token_get # noqa: E501 - - Return Infisical Token data # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_service_token_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2ServiceTokenGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_service_token_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_service_token_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v2_service_token_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_service_token_get # noqa: E501 - - Return Infisical Token data # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_service_token_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2ServiceTokenGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_service_token_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2ServiceTokenGet200Response", - } - - return self.api_client.call_api( - '/api/v2/service-token', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_service_token_post(self, api_v2_service_token_post_request : ApiV2ServiceTokenPostRequest, **kwargs) -> ApiV2ServiceTokenPost200Response: # noqa: E501 - """api_v2_service_token_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_service_token_post(api_v2_service_token_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_service_token_post_request: (required) - :type api_v2_service_token_post_request: ApiV2ServiceTokenPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2ServiceTokenPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_service_token_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_service_token_post_with_http_info(api_v2_service_token_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_service_token_post_with_http_info(self, api_v2_service_token_post_request : ApiV2ServiceTokenPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_service_token_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_service_token_post_with_http_info(api_v2_service_token_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_service_token_post_request: (required) - :type api_v2_service_token_post_request: ApiV2ServiceTokenPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2ServiceTokenPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v2_service_token_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_service_token_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_service_token_post_request'] is not None: - _body_params = _params['api_v2_service_token_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2ServiceTokenPost200Response", - } - - return self.api_client.call_api( - '/api/v2/service-token', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_service_token_service_token_id_delete(self, service_token_id : StrictStr, **kwargs) -> ApiV2ServiceTokenServiceTokenIdDelete200Response: # noqa: E501 - """api_v2_service_token_service_token_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_service_token_service_token_id_delete(service_token_id, async_req=True) - >>> result = thread.get() - - :param service_token_id: (required) - :type service_token_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2ServiceTokenServiceTokenIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_service_token_service_token_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_service_token_service_token_id_delete_with_http_info(service_token_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_service_token_service_token_id_delete_with_http_info(self, service_token_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_service_token_service_token_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_service_token_service_token_id_delete_with_http_info(service_token_id, async_req=True) - >>> result = thread.get() - - :param service_token_id: (required) - :type service_token_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2ServiceTokenServiceTokenIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'service_token_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_service_token_service_token_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['service_token_id'] is not None: - _path_params['serviceTokenId'] = _params['service_token_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2ServiceTokenServiceTokenIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v2/service-token/{serviceTokenId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_api_keys_api_key_data_id_delete(self, api_key_data_id : StrictStr, **kwargs) -> ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response: # noqa: E501 - """api_v2_users_me_api_keys_api_key_data_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_api_keys_api_key_data_id_delete(api_key_data_id, async_req=True) - >>> result = thread.get() - - :param api_key_data_id: (required) - :type api_key_data_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_api_keys_api_key_data_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_api_keys_api_key_data_id_delete_with_http_info(api_key_data_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_api_keys_api_key_data_id_delete_with_http_info(self, api_key_data_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_api_keys_api_key_data_id_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_api_keys_api_key_data_id_delete_with_http_info(api_key_data_id, async_req=True) - >>> result = thread.get() - - :param api_key_data_id: (required) - :type api_key_data_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_key_data_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_api_keys_api_key_data_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['api_key_data_id'] is not None: - _path_params['apiKeyDataId'] = _params['api_key_data_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response", - } - - return self.api_client.call_api( - '/api/v2/users/me/api-keys/{apiKeyDataId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_api_keys_get(self, **kwargs) -> List[ApiV2UsersMeApiKeysGet200ResponseInner]: # noqa: E501 - """api_v2_users_me_api_keys_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_api_keys_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: List[ApiV2UsersMeApiKeysGet200ResponseInner] - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_api_keys_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_api_keys_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_api_keys_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_api_keys_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_api_keys_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(List[ApiV2UsersMeApiKeysGet200ResponseInner], status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_api_keys_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "List[ApiV2UsersMeApiKeysGet200ResponseInner]", - } - - return self.api_client.call_api( - '/api/v2/users/me/api-keys', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_api_keys_post(self, api_v2_users_me_api_keys_post_request : ApiV2UsersMeApiKeysPostRequest, **kwargs) -> ApiV2UsersMeApiKeysPost200Response: # noqa: E501 - """api_v2_users_me_api_keys_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_api_keys_post(api_v2_users_me_api_keys_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_api_keys_post_request: (required) - :type api_v2_users_me_api_keys_post_request: ApiV2UsersMeApiKeysPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2UsersMeApiKeysPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_api_keys_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_api_keys_post_with_http_info(api_v2_users_me_api_keys_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_api_keys_post_with_http_info(self, api_v2_users_me_api_keys_post_request : ApiV2UsersMeApiKeysPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_api_keys_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_api_keys_post_with_http_info(api_v2_users_me_api_keys_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_api_keys_post_request: (required) - :type api_v2_users_me_api_keys_post_request: ApiV2UsersMeApiKeysPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2UsersMeApiKeysPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v2_users_me_api_keys_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_api_keys_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_users_me_api_keys_post_request'] is not None: - _body_params = _params['api_v2_users_me_api_keys_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2UsersMeApiKeysPost200Response", - } - - return self.api_client.call_api( - '/api/v2/users/me/api-keys', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_auth_methods_put(self, api_v2_users_me_auth_methods_put_request : ApiV2UsersMeAuthMethodsPutRequest, **kwargs) -> ApiV2UsersMeMfaPatch200Response: # noqa: E501 - """api_v2_users_me_auth_methods_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_auth_methods_put(api_v2_users_me_auth_methods_put_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_auth_methods_put_request: (required) - :type api_v2_users_me_auth_methods_put_request: ApiV2UsersMeAuthMethodsPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2UsersMeMfaPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_auth_methods_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_auth_methods_put_with_http_info(api_v2_users_me_auth_methods_put_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_auth_methods_put_with_http_info(self, api_v2_users_me_auth_methods_put_request : ApiV2UsersMeAuthMethodsPutRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_auth_methods_put # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_auth_methods_put_with_http_info(api_v2_users_me_auth_methods_put_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_auth_methods_put_request: (required) - :type api_v2_users_me_auth_methods_put_request: ApiV2UsersMeAuthMethodsPutRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2UsersMeMfaPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v2_users_me_auth_methods_put_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_auth_methods_put" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_users_me_auth_methods_put_request'] is not None: - _body_params = _params['api_v2_users_me_auth_methods_put_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2UsersMeMfaPatch200Response", - } - - return self.api_client.call_api( - '/api/v2/users/me/auth-methods', 'PUT', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_delete(self, **kwargs) -> ApiV2UsersMeMfaPatch200Response: # noqa: E501 - """api_v2_users_me_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_delete(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2UsersMeMfaPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_delete_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_delete_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_delete_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2UsersMeMfaPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2UsersMeMfaPatch200Response", - } - - return self.api_client.call_api( - '/api/v2/users/me', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_emails_code_post(self, api_v2_users_me_emails_code_post_request : ApiV2UsersMeEmailsCodePostRequest, **kwargs) -> object: # noqa: E501 - """api_v2_users_me_emails_code_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_emails_code_post(api_v2_users_me_emails_code_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_emails_code_post_request: (required) - :type api_v2_users_me_emails_code_post_request: ApiV2UsersMeEmailsCodePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_emails_code_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_emails_code_post_with_http_info(api_v2_users_me_emails_code_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_emails_code_post_with_http_info(self, api_v2_users_me_emails_code_post_request : ApiV2UsersMeEmailsCodePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_emails_code_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_emails_code_post_with_http_info(api_v2_users_me_emails_code_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_emails_code_post_request: (required) - :type api_v2_users_me_emails_code_post_request: ApiV2UsersMeEmailsCodePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v2_users_me_emails_code_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_emails_code_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_users_me_emails_code_post_request'] is not None: - _body_params = _params['api_v2_users_me_emails_code_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v2/users/me/emails/code', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_emails_verify_post(self, api_v2_users_me_emails_verify_post_request : ApiV2UsersMeEmailsVerifyPostRequest, **kwargs) -> object: # noqa: E501 - """api_v2_users_me_emails_verify_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_emails_verify_post(api_v2_users_me_emails_verify_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_emails_verify_post_request: (required) - :type api_v2_users_me_emails_verify_post_request: ApiV2UsersMeEmailsVerifyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_emails_verify_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_emails_verify_post_with_http_info(api_v2_users_me_emails_verify_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_emails_verify_post_with_http_info(self, api_v2_users_me_emails_verify_post_request : ApiV2UsersMeEmailsVerifyPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_emails_verify_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_emails_verify_post_with_http_info(api_v2_users_me_emails_verify_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_emails_verify_post_request: (required) - :type api_v2_users_me_emails_verify_post_request: ApiV2UsersMeEmailsVerifyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v2_users_me_emails_verify_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_emails_verify_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_users_me_emails_verify_post_request'] is not None: - _body_params = _params['api_v2_users_me_emails_verify_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v2/users/me/emails/verify', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_get(self, **kwargs) -> ApiV1UserGet200Response: # noqa: E501 - """api_v2_users_me_get # noqa: E501 - - Retrieve the current user on the request # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1UserGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_get # noqa: E501 - - Retrieve the current user on the request # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1UserGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1UserGet200Response", - } - - return self.api_client.call_api( - '/api/v2/users/me', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_mfa_patch(self, api_v2_users_me_mfa_patch_request : ApiV2UsersMeMfaPatchRequest, **kwargs) -> ApiV2UsersMeMfaPatch200Response: # noqa: E501 - """api_v2_users_me_mfa_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_mfa_patch(api_v2_users_me_mfa_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_mfa_patch_request: (required) - :type api_v2_users_me_mfa_patch_request: ApiV2UsersMeMfaPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2UsersMeMfaPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_mfa_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_mfa_patch_with_http_info(api_v2_users_me_mfa_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_mfa_patch_with_http_info(self, api_v2_users_me_mfa_patch_request : ApiV2UsersMeMfaPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_mfa_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_mfa_patch_with_http_info(api_v2_users_me_mfa_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_mfa_patch_request: (required) - :type api_v2_users_me_mfa_patch_request: ApiV2UsersMeMfaPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2UsersMeMfaPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v2_users_me_mfa_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_mfa_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_users_me_mfa_patch_request'] is not None: - _body_params = _params['api_v2_users_me_mfa_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2UsersMeMfaPatch200Response", - } - - return self.api_client.call_api( - '/api/v2/users/me/mfa', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_name_patch(self, api_v2_users_me_name_patch_request : ApiV2UsersMeNamePatchRequest, **kwargs) -> ApiV2UsersMeMfaPatch200Response: # noqa: E501 - """api_v2_users_me_name_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_name_patch(api_v2_users_me_name_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_name_patch_request: (required) - :type api_v2_users_me_name_patch_request: ApiV2UsersMeNamePatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2UsersMeMfaPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_name_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_name_patch_with_http_info(api_v2_users_me_name_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_name_patch_with_http_info(self, api_v2_users_me_name_patch_request : ApiV2UsersMeNamePatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_name_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_name_patch_with_http_info(api_v2_users_me_name_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v2_users_me_name_patch_request: (required) - :type api_v2_users_me_name_patch_request: ApiV2UsersMeNamePatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2UsersMeMfaPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v2_users_me_name_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_name_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_users_me_name_patch_request'] is not None: - _body_params = _params['api_v2_users_me_name_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2UsersMeMfaPatch200Response", - } - - return self.api_client.call_api( - '/api/v2/users/me/name', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_organizations_get(self, **kwargs) -> ApiV1OrganizationGet200Response: # noqa: E501 - """api_v2_users_me_organizations_get # noqa: E501 - - Return organizations that current user is part of # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_organizations_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_organizations_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_organizations_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_organizations_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_organizations_get # noqa: E501 - - Return organizations that current user is part of # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_organizations_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_organizations_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationGet200Response", - } - - return self.api_client.call_api( - '/api/v2/users/me/organizations', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_sessions_delete(self, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v2_users_me_sessions_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_sessions_delete(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_sessions_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_sessions_delete_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_sessions_delete_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_sessions_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_sessions_delete_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_sessions_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v2/users/me/sessions', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_users_me_sessions_get(self, **kwargs) -> List[ApiV2UsersMeSessionsGet200ResponseInner]: # noqa: E501 - """api_v2_users_me_sessions_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_sessions_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: List[ApiV2UsersMeSessionsGet200ResponseInner] - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_users_me_sessions_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_users_me_sessions_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v2_users_me_sessions_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_users_me_sessions_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_users_me_sessions_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(List[ApiV2UsersMeSessionsGet200ResponseInner], status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_users_me_sessions_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "List[ApiV2UsersMeSessionsGet200ResponseInner]", - } - - return self.api_client.call_api( - '/api/v2/users/me/sessions', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_post(self, api_v2_workspace_post_request : ApiV2WorkspacePostRequest, **kwargs) -> ApiV2WorkspacePost200Response: # noqa: E501 - """api_v2_workspace_post # noqa: E501 - - Create a new project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_post(api_v2_workspace_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_workspace_post_request: (required) - :type api_v2_workspace_post_request: ApiV2WorkspacePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspacePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_post_with_http_info(api_v2_workspace_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_post_with_http_info(self, api_v2_workspace_post_request : ApiV2WorkspacePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_post # noqa: E501 - - Create a new project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_post_with_http_info(api_v2_workspace_post_request, async_req=True) - >>> result = thread.get() - - :param api_v2_workspace_post_request: (required) - :type api_v2_workspace_post_request: ApiV2WorkspacePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspacePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v2_workspace_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_workspace_post_request'] is not None: - _body_params = _params['api_v2_workspace_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspacePost200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_id_identity_memberships_get(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to get identity memberships from.")], **kwargs) -> ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response: # noqa: E501 - """api_v2_workspace_project_id_identity_memberships_get # noqa: E501 - - Return project identity memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_identity_memberships_get(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to get identity memberships from. (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_id_identity_memberships_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_id_identity_memberships_get_with_http_info(project_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_id_identity_memberships_get_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to get identity memberships from.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_id_identity_memberships_get # noqa: E501 - - Return project identity memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_identity_memberships_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to get identity memberships from. (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_id_identity_memberships_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectId}/identity-memberships', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_id_identity_memberships_identity_id_delete(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to delete the identity membership from.")], identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to delete the membership from.")], **kwargs) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response: # noqa: E501 - """api_v2_workspace_project_id_identity_memberships_identity_id_delete # noqa: E501 - - Delete project identity memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_identity_memberships_identity_id_delete(project_id, identity_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to delete the identity membership from. (required) - :type project_id: str - :param identity_id: The ID of the identity to delete the membership from. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_id_identity_memberships_identity_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_id_identity_memberships_identity_id_delete_with_http_info(project_id, identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_id_identity_memberships_identity_id_delete_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to delete the identity membership from.")], identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to delete the membership from.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_id_identity_memberships_identity_id_delete # noqa: E501 - - Delete project identity memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_identity_memberships_identity_id_delete_with_http_info(project_id, identity_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to delete the identity membership from. (required) - :type project_id: str - :param identity_id: The ID of the identity to delete the membership from. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_id_identity_memberships_identity_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectId}/identity-memberships/{identityId}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_id_identity_memberships_identity_id_get(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to get the identity membership for.")], identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to get the membership for.")], **kwargs) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response: # noqa: E501 - """api_v2_workspace_project_id_identity_memberships_identity_id_get # noqa: E501 - - Return project identity membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_identity_memberships_identity_id_get(project_id, identity_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to get the identity membership for. (required) - :type project_id: str - :param identity_id: The ID of the identity to get the membership for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_id_identity_memberships_identity_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_id_identity_memberships_identity_id_get_with_http_info(project_id, identity_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_id_identity_memberships_identity_id_get_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to get the identity membership for.")], identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to get the membership for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_id_identity_memberships_identity_id_get # noqa: E501 - - Return project identity membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_identity_memberships_identity_id_get_with_http_info(project_id, identity_id, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to get the identity membership for. (required) - :type project_id: str - :param identity_id: The ID of the identity to get the membership for. (required) - :type identity_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'identity_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_id_identity_memberships_identity_id_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectId}/identity-memberships/{identityId}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_id_identity_memberships_identity_id_patch(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to update the identity membership for.")], identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the membership for.")], api_v2_workspace_project_id_identity_memberships_identity_id_patch_request : ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response: # noqa: E501 - """api_v2_workspace_project_id_identity_memberships_identity_id_patch # noqa: E501 - - Update project identity memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_identity_memberships_identity_id_patch(project_id, identity_id, api_v2_workspace_project_id_identity_memberships_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to update the identity membership for. (required) - :type project_id: str - :param identity_id: The ID of the identity to update the membership for. (required) - :type identity_id: str - :param api_v2_workspace_project_id_identity_memberships_identity_id_patch_request: (required) - :type api_v2_workspace_project_id_identity_memberships_identity_id_patch_request: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_id_identity_memberships_identity_id_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_id_identity_memberships_identity_id_patch_with_http_info(project_id, identity_id, api_v2_workspace_project_id_identity_memberships_identity_id_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_id_identity_memberships_identity_id_patch_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to update the identity membership for.")], identity_id : Annotated[StrictStr, Field(..., description="The ID of the identity to update the membership for.")], api_v2_workspace_project_id_identity_memberships_identity_id_patch_request : ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_id_identity_memberships_identity_id_patch # noqa: E501 - - Update project identity memberships # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_identity_memberships_identity_id_patch_with_http_info(project_id, identity_id, api_v2_workspace_project_id_identity_memberships_identity_id_patch_request, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to update the identity membership for. (required) - :type project_id: str - :param identity_id: The ID of the identity to update the membership for. (required) - :type identity_id: str - :param api_v2_workspace_project_id_identity_memberships_identity_id_patch_request: (required) - :type api_v2_workspace_project_id_identity_memberships_identity_id_patch_request: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'identity_id', - 'api_v2_workspace_project_id_identity_memberships_identity_id_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_id_identity_memberships_identity_id_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_workspace_project_id_identity_memberships_identity_id_patch_request'] is not None: - _body_params = _params['api_v2_workspace_project_id_identity_memberships_identity_id_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectId}/identity-memberships/{identityId}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_id_identity_memberships_identity_id_post(self, project_id : StrictStr, identity_id : StrictStr, api_v2_workspace_project_id_identity_memberships_identity_id_post_request : Optional[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest] = None, **kwargs) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response: # noqa: E501 - """api_v2_workspace_project_id_identity_memberships_identity_id_post # noqa: E501 - - Create project identity membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_identity_memberships_identity_id_post(project_id, identity_id, api_v2_workspace_project_id_identity_memberships_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param identity_id: (required) - :type identity_id: str - :param api_v2_workspace_project_id_identity_memberships_identity_id_post_request: - :type api_v2_workspace_project_id_identity_memberships_identity_id_post_request: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_id_identity_memberships_identity_id_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_id_identity_memberships_identity_id_post_with_http_info(project_id, identity_id, api_v2_workspace_project_id_identity_memberships_identity_id_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_id_identity_memberships_identity_id_post_with_http_info(self, project_id : StrictStr, identity_id : StrictStr, api_v2_workspace_project_id_identity_memberships_identity_id_post_request : Optional[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_id_identity_memberships_identity_id_post # noqa: E501 - - Create project identity membership # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_identity_memberships_identity_id_post_with_http_info(project_id, identity_id, api_v2_workspace_project_id_identity_memberships_identity_id_post_request, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param identity_id: (required) - :type identity_id: str - :param api_v2_workspace_project_id_identity_memberships_identity_id_post_request: - :type api_v2_workspace_project_id_identity_memberships_identity_id_post_request: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'identity_id', - 'api_v2_workspace_project_id_identity_memberships_identity_id_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_id_identity_memberships_identity_id_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - if _params['identity_id'] is not None: - _path_params['identityId'] = _params['identity_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_workspace_project_id_identity_memberships_identity_id_post_request'] is not None: - _body_params = _params['api_v2_workspace_project_id_identity_memberships_identity_id_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectId}/identity-memberships/{identityId}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_id_memberships_delete(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to remove the member from.")], api_v2_workspace_project_id_memberships_delete_request : Optional[ApiV2WorkspaceProjectIdMembershipsDeleteRequest] = None, **kwargs) -> ApiV2WorkspaceProjectIdMembershipsPost200Response: # noqa: E501 - """api_v2_workspace_project_id_memberships_delete # noqa: E501 - - Remove members from project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_memberships_delete(project_id, api_v2_workspace_project_id_memberships_delete_request, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to remove the member from. (required) - :type project_id: str - :param api_v2_workspace_project_id_memberships_delete_request: - :type api_v2_workspace_project_id_memberships_delete_request: ApiV2WorkspaceProjectIdMembershipsDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceProjectIdMembershipsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_id_memberships_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_id_memberships_delete_with_http_info(project_id, api_v2_workspace_project_id_memberships_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_id_memberships_delete_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to remove the member from.")], api_v2_workspace_project_id_memberships_delete_request : Optional[ApiV2WorkspaceProjectIdMembershipsDeleteRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_id_memberships_delete # noqa: E501 - - Remove members from project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_memberships_delete_with_http_info(project_id, api_v2_workspace_project_id_memberships_delete_request, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to remove the member from. (required) - :type project_id: str - :param api_v2_workspace_project_id_memberships_delete_request: - :type api_v2_workspace_project_id_memberships_delete_request: ApiV2WorkspaceProjectIdMembershipsDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceProjectIdMembershipsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'api_v2_workspace_project_id_memberships_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_id_memberships_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_workspace_project_id_memberships_delete_request'] is not None: - _body_params = _params['api_v2_workspace_project_id_memberships_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceProjectIdMembershipsPost200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectId}/memberships', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_id_memberships_post(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to invite the member to.")], api_v2_workspace_project_id_memberships_post_request : Optional[ApiV2WorkspaceProjectIdMembershipsPostRequest] = None, **kwargs) -> ApiV2WorkspaceProjectIdMembershipsPost200Response: # noqa: E501 - """api_v2_workspace_project_id_memberships_post # noqa: E501 - - Invite members to project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_memberships_post(project_id, api_v2_workspace_project_id_memberships_post_request, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to invite the member to. (required) - :type project_id: str - :param api_v2_workspace_project_id_memberships_post_request: - :type api_v2_workspace_project_id_memberships_post_request: ApiV2WorkspaceProjectIdMembershipsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceProjectIdMembershipsPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_id_memberships_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_id_memberships_post_with_http_info(project_id, api_v2_workspace_project_id_memberships_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_id_memberships_post_with_http_info(self, project_id : Annotated[StrictStr, Field(..., description="The ID of the project to invite the member to.")], api_v2_workspace_project_id_memberships_post_request : Optional[ApiV2WorkspaceProjectIdMembershipsPostRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_id_memberships_post # noqa: E501 - - Invite members to project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_memberships_post_with_http_info(project_id, api_v2_workspace_project_id_memberships_post_request, async_req=True) - >>> result = thread.get() - - :param project_id: The ID of the project to invite the member to. (required) - :type project_id: str - :param api_v2_workspace_project_id_memberships_post_request: - :type api_v2_workspace_project_id_memberships_post_request: ApiV2WorkspaceProjectIdMembershipsPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceProjectIdMembershipsPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'api_v2_workspace_project_id_memberships_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_id_memberships_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_workspace_project_id_memberships_post_request'] is not None: - _body_params = _params['api_v2_workspace_project_id_memberships_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceProjectIdMembershipsPost200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectId}/memberships', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_id_upgrade_post(self, project_id : StrictStr, api_v2_workspace_project_id_upgrade_post_request : ApiV2WorkspaceProjectIdUpgradePostRequest, **kwargs) -> object: # noqa: E501 - """api_v2_workspace_project_id_upgrade_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_upgrade_post(project_id, api_v2_workspace_project_id_upgrade_post_request, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param api_v2_workspace_project_id_upgrade_post_request: (required) - :type api_v2_workspace_project_id_upgrade_post_request: ApiV2WorkspaceProjectIdUpgradePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: object - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_id_upgrade_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_id_upgrade_post_with_http_info(project_id, api_v2_workspace_project_id_upgrade_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_id_upgrade_post_with_http_info(self, project_id : StrictStr, api_v2_workspace_project_id_upgrade_post_request : ApiV2WorkspaceProjectIdUpgradePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_id_upgrade_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_upgrade_post_with_http_info(project_id, api_v2_workspace_project_id_upgrade_post_request, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param api_v2_workspace_project_id_upgrade_post_request: (required) - :type api_v2_workspace_project_id_upgrade_post_request: ApiV2WorkspaceProjectIdUpgradePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'api_v2_workspace_project_id_upgrade_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_id_upgrade_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_workspace_project_id_upgrade_post_request'] is not None: - _body_params = _params['api_v2_workspace_project_id_upgrade_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "object", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectId}/upgrade', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_id_upgrade_status_get(self, project_id : StrictStr, **kwargs) -> ApiV2WorkspaceProjectIdUpgradeStatusGet200Response: # noqa: E501 - """api_v2_workspace_project_id_upgrade_status_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_upgrade_status_get(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceProjectIdUpgradeStatusGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_id_upgrade_status_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_id_upgrade_status_get_with_http_info(project_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_id_upgrade_status_get_with_http_info(self, project_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_id_upgrade_status_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_id_upgrade_status_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceProjectIdUpgradeStatusGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_id_upgrade_status_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceProjectIdUpgradeStatusGet200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectId}/upgrade/status', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_slug_groups_get(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project to list groups for.")], **kwargs) -> ApiV2WorkspaceProjectSlugGroupsGet200Response: # noqa: E501 - """api_v2_workspace_project_slug_groups_get # noqa: E501 - - Return list of groups in project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_slug_groups_get(project_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to list groups for. (required) - :type project_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceProjectSlugGroupsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_slug_groups_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_slug_groups_get_with_http_info(project_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_slug_groups_get_with_http_info(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project to list groups for.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_slug_groups_get # noqa: E501 - - Return list of groups in project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_slug_groups_get_with_http_info(project_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to list groups for. (required) - :type project_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceProjectSlugGroupsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_slug_groups_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_slug'] is not None: - _path_params['projectSlug'] = _params['project_slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceProjectSlugGroupsGet200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectSlug}/groups', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_slug_groups_group_slug_delete(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project to delete the group from.")], group_slug : Annotated[StrictStr, Field(..., description="The slug of the group to delete from the project.")], **kwargs) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response: # noqa: E501 - """api_v2_workspace_project_slug_groups_group_slug_delete # noqa: E501 - - Remove group from project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_slug_groups_group_slug_delete(project_slug, group_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to delete the group from. (required) - :type project_slug: str - :param group_slug: The slug of the group to delete from the project. (required) - :type group_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_slug_groups_group_slug_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_slug_groups_group_slug_delete_with_http_info(project_slug, group_slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_slug_groups_group_slug_delete_with_http_info(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project to delete the group from.")], group_slug : Annotated[StrictStr, Field(..., description="The slug of the group to delete from the project.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_slug_groups_group_slug_delete # noqa: E501 - - Remove group from project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_slug_groups_group_slug_delete_with_http_info(project_slug, group_slug, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to delete the group from. (required) - :type project_slug: str - :param group_slug: The slug of the group to delete from the project. (required) - :type group_slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'group_slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_slug_groups_group_slug_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_slug'] is not None: - _path_params['projectSlug'] = _params['project_slug'] - - if _params['group_slug'] is not None: - _path_params['groupSlug'] = _params['group_slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectSlug}/groups/{groupSlug}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_slug_groups_group_slug_patch(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project to update the group in.")], group_slug : Annotated[StrictStr, Field(..., description="The slug of the group to update in the project.")], api_v2_workspace_project_slug_groups_group_slug_patch_request : ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response: # noqa: E501 - """api_v2_workspace_project_slug_groups_group_slug_patch # noqa: E501 - - Update group in project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_slug_groups_group_slug_patch(project_slug, group_slug, api_v2_workspace_project_slug_groups_group_slug_patch_request, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to update the group in. (required) - :type project_slug: str - :param group_slug: The slug of the group to update in the project. (required) - :type group_slug: str - :param api_v2_workspace_project_slug_groups_group_slug_patch_request: (required) - :type api_v2_workspace_project_slug_groups_group_slug_patch_request: ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_slug_groups_group_slug_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_slug_groups_group_slug_patch_with_http_info(project_slug, group_slug, api_v2_workspace_project_slug_groups_group_slug_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_slug_groups_group_slug_patch_with_http_info(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project to update the group in.")], group_slug : Annotated[StrictStr, Field(..., description="The slug of the group to update in the project.")], api_v2_workspace_project_slug_groups_group_slug_patch_request : ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_slug_groups_group_slug_patch # noqa: E501 - - Update group in project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_slug_groups_group_slug_patch_with_http_info(project_slug, group_slug, api_v2_workspace_project_slug_groups_group_slug_patch_request, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to update the group in. (required) - :type project_slug: str - :param group_slug: The slug of the group to update in the project. (required) - :type group_slug: str - :param api_v2_workspace_project_slug_groups_group_slug_patch_request: (required) - :type api_v2_workspace_project_slug_groups_group_slug_patch_request: ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'group_slug', - 'api_v2_workspace_project_slug_groups_group_slug_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_slug_groups_group_slug_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_slug'] is not None: - _path_params['projectSlug'] = _params['project_slug'] - - if _params['group_slug'] is not None: - _path_params['groupSlug'] = _params['group_slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_workspace_project_slug_groups_group_slug_patch_request'] is not None: - _body_params = _params['api_v2_workspace_project_slug_groups_group_slug_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectSlug}/groups/{groupSlug}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_project_slug_groups_group_slug_post(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project to add the group to.")], group_slug : Annotated[StrictStr, Field(..., description="The slug of the group to add to the project.")], api_v2_workspace_project_slug_groups_group_slug_post_request : Optional[ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest] = None, **kwargs) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response: # noqa: E501 - """api_v2_workspace_project_slug_groups_group_slug_post # noqa: E501 - - Add group to project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_slug_groups_group_slug_post(project_slug, group_slug, api_v2_workspace_project_slug_groups_group_slug_post_request, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to add the group to. (required) - :type project_slug: str - :param group_slug: The slug of the group to add to the project. (required) - :type group_slug: str - :param api_v2_workspace_project_slug_groups_group_slug_post_request: - :type api_v2_workspace_project_slug_groups_group_slug_post_request: ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_project_slug_groups_group_slug_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_project_slug_groups_group_slug_post_with_http_info(project_slug, group_slug, api_v2_workspace_project_slug_groups_group_slug_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_project_slug_groups_group_slug_post_with_http_info(self, project_slug : Annotated[StrictStr, Field(..., description="The slug of the project to add the group to.")], group_slug : Annotated[StrictStr, Field(..., description="The slug of the group to add to the project.")], api_v2_workspace_project_slug_groups_group_slug_post_request : Optional[ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_project_slug_groups_group_slug_post # noqa: E501 - - Add group to project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_project_slug_groups_group_slug_post_with_http_info(project_slug, group_slug, api_v2_workspace_project_slug_groups_group_slug_post_request, async_req=True) - >>> result = thread.get() - - :param project_slug: The slug of the project to add the group to. (required) - :type project_slug: str - :param group_slug: The slug of the group to add to the project. (required) - :type group_slug: str - :param api_v2_workspace_project_slug_groups_group_slug_post_request: - :type api_v2_workspace_project_slug_groups_group_slug_post_request: ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_slug', - 'group_slug', - 'api_v2_workspace_project_slug_groups_group_slug_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_project_slug_groups_group_slug_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_slug'] is not None: - _path_params['projectSlug'] = _params['project_slug'] - - if _params['group_slug'] is not None: - _path_params['groupSlug'] = _params['group_slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_workspace_project_slug_groups_group_slug_post_request'] is not None: - _body_params = _params['api_v2_workspace_project_slug_groups_group_slug_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{projectSlug}/groups/{groupSlug}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_slug_cas_get(self, slug : Annotated[constr(strict=True, max_length=36, min_length=5), Field(..., description="The slug of the project to list CAs for.")], status : Annotated[Optional[StrictStr], Field(description="The status of the CA to filter by.")] = None, friendly_name : Annotated[Optional[StrictStr], Field(description="The friendly name of the CA to filter by.")] = None, common_name : Annotated[Optional[StrictStr], Field(description="The common name of the CA to filter by.")] = None, offset : Annotated[Optional[Union[confloat(le=100, ge=0, strict=True), conint(le=100.0, ge=0.0, strict=True)]], Field(description="The offset to start from. If you enter 10, it will start from the 10th CA.")] = None, limit : Annotated[Optional[Union[confloat(le=100, ge=1, strict=True), conint(le=100.0, ge=1.0, strict=True)]], Field(description="The number of CAs to return.")] = None, **kwargs) -> ApiV2WorkspaceSlugCasGet200Response: # noqa: E501 - """api_v2_workspace_slug_cas_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_slug_cas_get(slug, status, friendly_name, common_name, offset, limit, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the project to list CAs for. (required) - :type slug: str - :param status: The status of the CA to filter by. - :type status: str - :param friendly_name: The friendly name of the CA to filter by. - :type friendly_name: str - :param common_name: The common name of the CA to filter by. - :type common_name: str - :param offset: The offset to start from. If you enter 10, it will start from the 10th CA. - :type offset: float - :param limit: The number of CAs to return. - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceSlugCasGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_slug_cas_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_slug_cas_get_with_http_info(slug, status, friendly_name, common_name, offset, limit, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_slug_cas_get_with_http_info(self, slug : Annotated[constr(strict=True, max_length=36, min_length=5), Field(..., description="The slug of the project to list CAs for.")], status : Annotated[Optional[StrictStr], Field(description="The status of the CA to filter by.")] = None, friendly_name : Annotated[Optional[StrictStr], Field(description="The friendly name of the CA to filter by.")] = None, common_name : Annotated[Optional[StrictStr], Field(description="The common name of the CA to filter by.")] = None, offset : Annotated[Optional[Union[confloat(le=100, ge=0, strict=True), conint(le=100.0, ge=0.0, strict=True)]], Field(description="The offset to start from. If you enter 10, it will start from the 10th CA.")] = None, limit : Annotated[Optional[Union[confloat(le=100, ge=1, strict=True), conint(le=100.0, ge=1.0, strict=True)]], Field(description="The number of CAs to return.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_slug_cas_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_slug_cas_get_with_http_info(slug, status, friendly_name, common_name, offset, limit, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the project to list CAs for. (required) - :type slug: str - :param status: The status of the CA to filter by. - :type status: str - :param friendly_name: The friendly name of the CA to filter by. - :type friendly_name: str - :param common_name: The common name of the CA to filter by. - :type common_name: str - :param offset: The offset to start from. If you enter 10, it will start from the 10th CA. - :type offset: float - :param limit: The number of CAs to return. - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceSlugCasGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'slug', - 'status', - 'friendly_name', - 'common_name', - 'offset', - 'limit' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_slug_cas_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - - # process the query parameters - _query_params = [] - if _params.get('status') is not None: # noqa: E501 - _query_params.append(('status', _params['status'])) - - if _params.get('friendly_name') is not None: # noqa: E501 - _query_params.append(('friendlyName', _params['friendly_name'])) - - if _params.get('common_name') is not None: # noqa: E501 - _query_params.append(('commonName', _params['common_name'])) - - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceSlugCasGet200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{slug}/cas', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_slug_certificates_get(self, slug : Annotated[constr(strict=True, max_length=36, min_length=5), Field(..., description="The slug of the project to list certificates for.")], friendly_name : Annotated[Optional[StrictStr], Field(description="The friendly name of the certificate to filter by.")] = None, common_name : Annotated[Optional[StrictStr], Field(description="The common name of the certificate to filter by.")] = None, offset : Annotated[Optional[Union[confloat(le=100, ge=0, strict=True), conint(le=100.0, ge=0.0, strict=True)]], Field(description="The offset to start from. If you enter 10, it will start from the 10th certificate.")] = None, limit : Annotated[Optional[Union[confloat(le=100, ge=1, strict=True), conint(le=100.0, ge=1.0, strict=True)]], Field(description="The number of certificates to return.")] = None, **kwargs) -> ApiV2WorkspaceSlugCertificatesGet200Response: # noqa: E501 - """api_v2_workspace_slug_certificates_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_slug_certificates_get(slug, friendly_name, common_name, offset, limit, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the project to list certificates for. (required) - :type slug: str - :param friendly_name: The friendly name of the certificate to filter by. - :type friendly_name: str - :param common_name: The common name of the certificate to filter by. - :type common_name: str - :param offset: The offset to start from. If you enter 10, it will start from the 10th certificate. - :type offset: float - :param limit: The number of certificates to return. - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceSlugCertificatesGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_slug_certificates_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_slug_certificates_get_with_http_info(slug, friendly_name, common_name, offset, limit, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_slug_certificates_get_with_http_info(self, slug : Annotated[constr(strict=True, max_length=36, min_length=5), Field(..., description="The slug of the project to list certificates for.")], friendly_name : Annotated[Optional[StrictStr], Field(description="The friendly name of the certificate to filter by.")] = None, common_name : Annotated[Optional[StrictStr], Field(description="The common name of the certificate to filter by.")] = None, offset : Annotated[Optional[Union[confloat(le=100, ge=0, strict=True), conint(le=100.0, ge=0.0, strict=True)]], Field(description="The offset to start from. If you enter 10, it will start from the 10th certificate.")] = None, limit : Annotated[Optional[Union[confloat(le=100, ge=1, strict=True), conint(le=100.0, ge=1.0, strict=True)]], Field(description="The number of certificates to return.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_slug_certificates_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_slug_certificates_get_with_http_info(slug, friendly_name, common_name, offset, limit, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the project to list certificates for. (required) - :type slug: str - :param friendly_name: The friendly name of the certificate to filter by. - :type friendly_name: str - :param common_name: The common name of the certificate to filter by. - :type common_name: str - :param offset: The offset to start from. If you enter 10, it will start from the 10th certificate. - :type offset: float - :param limit: The number of certificates to return. - :type limit: float - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceSlugCertificatesGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'slug', - 'friendly_name', - 'common_name', - 'offset', - 'limit' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_slug_certificates_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - - # process the query parameters - _query_params = [] - if _params.get('friendly_name') is not None: # noqa: E501 - _query_params.append(('friendlyName', _params['friendly_name'])) - - if _params.get('common_name') is not None: # noqa: E501 - _query_params.append(('commonName', _params['common_name'])) - - if _params.get('offset') is not None: # noqa: E501 - _query_params.append(('offset', _params['offset'])) - - if _params.get('limit') is not None: # noqa: E501 - _query_params.append(('limit', _params['limit'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceSlugCertificatesGet200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{slug}/certificates', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_slug_delete(self, slug : Annotated[constr(strict=True, max_length=36, min_length=5), Field(..., description="The slug of the project to delete.")], **kwargs) -> ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner: # noqa: E501 - """api_v2_workspace_slug_delete # noqa: E501 - - Delete project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_slug_delete(slug, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the project to delete. (required) - :type slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_slug_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_slug_delete_with_http_info(slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_slug_delete_with_http_info(self, slug : Annotated[constr(strict=True, max_length=36, min_length=5), Field(..., description="The slug of the project to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_slug_delete # noqa: E501 - - Delete project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_slug_delete_with_http_info(slug, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the project to delete. (required) - :type slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_slug_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner", - } - - return self.api_client.call_api( - '/api/v2/workspace/{slug}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_slug_get(self, slug : Annotated[constr(strict=True, max_length=36, min_length=5), Field(..., description="The slug of the project to get.")], **kwargs) -> ApiV1WorkspaceGet200ResponseWorkspacesInner: # noqa: E501 - """api_v2_workspace_slug_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_slug_get(slug, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the project to get. (required) - :type slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceGet200ResponseWorkspacesInner - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_slug_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_slug_get_with_http_info(slug, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_slug_get_with_http_info(self, slug : Annotated[constr(strict=True, max_length=36, min_length=5), Field(..., description="The slug of the project to get.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_slug_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_slug_get_with_http_info(slug, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the project to get. (required) - :type slug: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceGet200ResponseWorkspacesInner, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'slug' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_slug_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceGet200ResponseWorkspacesInner", - } - - return self.api_client.call_api( - '/api/v2/workspace/{slug}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_slug_patch(self, slug : Annotated[constr(strict=True, max_length=36, min_length=5), Field(..., description="The slug of the project to update.")], api_v2_workspace_slug_patch_request : Optional[ApiV2WorkspaceSlugPatchRequest] = None, **kwargs) -> ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner: # noqa: E501 - """api_v2_workspace_slug_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_slug_patch(slug, api_v2_workspace_slug_patch_request, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the project to update. (required) - :type slug: str - :param api_v2_workspace_slug_patch_request: - :type api_v2_workspace_slug_patch_request: ApiV2WorkspaceSlugPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_slug_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_slug_patch_with_http_info(slug, api_v2_workspace_slug_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_slug_patch_with_http_info(self, slug : Annotated[constr(strict=True, max_length=36, min_length=5), Field(..., description="The slug of the project to update.")], api_v2_workspace_slug_patch_request : Optional[ApiV2WorkspaceSlugPatchRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_slug_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_slug_patch_with_http_info(slug, api_v2_workspace_slug_patch_request, async_req=True) - >>> result = thread.get() - - :param slug: The slug of the project to update. (required) - :type slug: str - :param api_v2_workspace_slug_patch_request: - :type api_v2_workspace_slug_patch_request: ApiV2WorkspaceSlugPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'slug', - 'api_v2_workspace_slug_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_slug_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['slug'] is not None: - _path_params['slug'] = _params['slug'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v2_workspace_slug_patch_request'] is not None: - _body_params = _params['api_v2_workspace_slug_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner", - } - - return self.api_client.call_api( - '/api/v2/workspace/{slug}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v2_workspace_workspace_id_encrypted_key_get(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to get the key from.")], **kwargs) -> ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response: # noqa: E501 - """api_v2_workspace_workspace_id_encrypted_key_get # noqa: E501 - - Return encrypted project key # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_workspace_id_encrypted_key_get(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to get the key from. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v2_workspace_workspace_id_encrypted_key_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v2_workspace_workspace_id_encrypted_key_get_with_http_info(workspace_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v2_workspace_workspace_id_encrypted_key_get_with_http_info(self, workspace_id : Annotated[StrictStr, Field(..., description="The ID of the project to get the key from.")], **kwargs) -> ApiResponse: # noqa: E501 - """api_v2_workspace_workspace_id_encrypted_key_get # noqa: E501 - - Return encrypted project key # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_workspace_workspace_id_encrypted_key_get_with_http_info(workspace_id, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to get the key from. (required) - :type workspace_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v2_workspace_workspace_id_encrypted_key_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['workspace_id'] is not None: - _path_params['workspaceId'] = _params['workspace_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response", - } - - return self.api_client.call_api( - '/api/v2/workspace/{workspaceId}/encrypted-key', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_auth_login1_post(self, api_v3_auth_login1_post_request : ApiV3AuthLogin1PostRequest, **kwargs) -> ApiV1PasswordSrp1Post200Response: # noqa: E501 - """api_v3_auth_login1_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_auth_login1_post(api_v3_auth_login1_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_auth_login1_post_request: (required) - :type api_v3_auth_login1_post_request: ApiV3AuthLogin1PostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PasswordSrp1Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_auth_login1_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_auth_login1_post_with_http_info(api_v3_auth_login1_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_auth_login1_post_with_http_info(self, api_v3_auth_login1_post_request : ApiV3AuthLogin1PostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_auth_login1_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_auth_login1_post_with_http_info(api_v3_auth_login1_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_auth_login1_post_request: (required) - :type api_v3_auth_login1_post_request: ApiV3AuthLogin1PostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PasswordSrp1Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_auth_login1_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_auth_login1_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_auth_login1_post_request'] is not None: - _body_params = _params['api_v3_auth_login1_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PasswordSrp1Post200Response", - } - - return self.api_client.call_api( - '/api/v3/auth/login1', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_auth_login2_post(self, api_v3_auth_login2_post_request : ApiV3AuthLogin2PostRequest, **kwargs) -> ApiV3AuthLogin2Post200Response: # noqa: E501 - """api_v3_auth_login2_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_auth_login2_post(api_v3_auth_login2_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_auth_login2_post_request: (required) - :type api_v3_auth_login2_post_request: ApiV3AuthLogin2PostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3AuthLogin2Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_auth_login2_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_auth_login2_post_with_http_info(api_v3_auth_login2_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_auth_login2_post_with_http_info(self, api_v3_auth_login2_post_request : ApiV3AuthLogin2PostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_auth_login2_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_auth_login2_post_with_http_info(api_v3_auth_login2_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_auth_login2_post_request: (required) - :type api_v3_auth_login2_post_request: ApiV3AuthLogin2PostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3AuthLogin2Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_auth_login2_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_auth_login2_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_auth_login2_post_request'] is not None: - _body_params = _params['api_v3_auth_login2_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3AuthLogin2Post200Response", - } - - return self.api_client.call_api( - '/api/v3/auth/login2', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_auth_select_organization_post(self, api_v1_secret_scanning_create_installation_session_organization_post_request : ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest, **kwargs) -> ApiV1AuthTokenPost200Response: # noqa: E501 - """api_v3_auth_select_organization_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_auth_select_organization_post(api_v1_secret_scanning_create_installation_session_organization_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_scanning_create_installation_session_organization_post_request: (required) - :type api_v1_secret_scanning_create_installation_session_organization_post_request: ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1AuthTokenPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_auth_select_organization_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_auth_select_organization_post_with_http_info(api_v1_secret_scanning_create_installation_session_organization_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_auth_select_organization_post_with_http_info(self, api_v1_secret_scanning_create_installation_session_organization_post_request : ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_auth_select_organization_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_auth_select_organization_post_with_http_info(api_v1_secret_scanning_create_installation_session_organization_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_secret_scanning_create_installation_session_organization_post_request: (required) - :type api_v1_secret_scanning_create_installation_session_organization_post_request: ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1AuthTokenPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_secret_scanning_create_installation_session_organization_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_auth_select_organization_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_secret_scanning_create_installation_session_organization_post_request'] is not None: - _body_params = _params['api_v1_secret_scanning_create_installation_session_organization_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1AuthTokenPost200Response", - } - - return self.api_client.call_api( - '/api/v3/auth/select-organization', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_backfill_secret_references_post(self, api_v3_secrets_backfill_secret_references_post_request : ApiV3SecretsBackfillSecretReferencesPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v3_secrets_backfill_secret_references_post # noqa: E501 - - Backfill secret references # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_backfill_secret_references_post(api_v3_secrets_backfill_secret_references_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_backfill_secret_references_post_request: (required) - :type api_v3_secrets_backfill_secret_references_post_request: ApiV3SecretsBackfillSecretReferencesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_backfill_secret_references_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_backfill_secret_references_post_with_http_info(api_v3_secrets_backfill_secret_references_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_backfill_secret_references_post_with_http_info(self, api_v3_secrets_backfill_secret_references_post_request : ApiV3SecretsBackfillSecretReferencesPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_backfill_secret_references_post # noqa: E501 - - Backfill secret references # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_backfill_secret_references_post_with_http_info(api_v3_secrets_backfill_secret_references_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_backfill_secret_references_post_request: (required) - :type api_v3_secrets_backfill_secret_references_post_request: ApiV3SecretsBackfillSecretReferencesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_secrets_backfill_secret_references_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_backfill_secret_references_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_backfill_secret_references_post_request'] is not None: - _body_params = _params['api_v3_secrets_backfill_secret_references_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/backfill-secret-references', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_batch_delete(self, api_v3_secrets_batch_delete_request : ApiV3SecretsBatchDeleteRequest, **kwargs) -> ApiV3SecretsBatchPost200Response: # noqa: E501 - """api_v3_secrets_batch_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_delete(api_v3_secrets_batch_delete_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_delete_request: (required) - :type api_v3_secrets_batch_delete_request: ApiV3SecretsBatchDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsBatchPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_batch_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_batch_delete_with_http_info(api_v3_secrets_batch_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_batch_delete_with_http_info(self, api_v3_secrets_batch_delete_request : ApiV3SecretsBatchDeleteRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_batch_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_delete_with_http_info(api_v3_secrets_batch_delete_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_delete_request: (required) - :type api_v3_secrets_batch_delete_request: ApiV3SecretsBatchDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsBatchPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_secrets_batch_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_batch_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_batch_delete_request'] is not None: - _body_params = _params['api_v3_secrets_batch_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsBatchPost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/batch', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_batch_patch(self, api_v3_secrets_batch_patch_request : ApiV3SecretsBatchPatchRequest, **kwargs) -> ApiV3SecretsBatchPost200Response: # noqa: E501 - """api_v3_secrets_batch_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_patch(api_v3_secrets_batch_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_patch_request: (required) - :type api_v3_secrets_batch_patch_request: ApiV3SecretsBatchPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsBatchPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_batch_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_batch_patch_with_http_info(api_v3_secrets_batch_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_batch_patch_with_http_info(self, api_v3_secrets_batch_patch_request : ApiV3SecretsBatchPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_batch_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_patch_with_http_info(api_v3_secrets_batch_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_patch_request: (required) - :type api_v3_secrets_batch_patch_request: ApiV3SecretsBatchPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsBatchPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_secrets_batch_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_batch_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_batch_patch_request'] is not None: - _body_params = _params['api_v3_secrets_batch_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsBatchPost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/batch', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_batch_post(self, api_v3_secrets_batch_post_request : ApiV3SecretsBatchPostRequest, **kwargs) -> ApiV3SecretsBatchPost200Response: # noqa: E501 - """api_v3_secrets_batch_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_post(api_v3_secrets_batch_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_post_request: (required) - :type api_v3_secrets_batch_post_request: ApiV3SecretsBatchPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsBatchPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_batch_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_batch_post_with_http_info(api_v3_secrets_batch_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_batch_post_with_http_info(self, api_v3_secrets_batch_post_request : ApiV3SecretsBatchPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_batch_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_post_with_http_info(api_v3_secrets_batch_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_post_request: (required) - :type api_v3_secrets_batch_post_request: ApiV3SecretsBatchPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsBatchPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_secrets_batch_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_batch_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_batch_post_request'] is not None: - _body_params = _params['api_v3_secrets_batch_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsBatchPost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/batch', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_batch_raw_delete(self, api_v3_secrets_batch_raw_delete_request : ApiV3SecretsBatchRawDeleteRequest, **kwargs) -> ApiV3SecretsBatchRawPost200Response: # noqa: E501 - """api_v3_secrets_batch_raw_delete # noqa: E501 - - Delete many secrets # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_raw_delete(api_v3_secrets_batch_raw_delete_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_raw_delete_request: (required) - :type api_v3_secrets_batch_raw_delete_request: ApiV3SecretsBatchRawDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsBatchRawPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_batch_raw_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_batch_raw_delete_with_http_info(api_v3_secrets_batch_raw_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_batch_raw_delete_with_http_info(self, api_v3_secrets_batch_raw_delete_request : ApiV3SecretsBatchRawDeleteRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_batch_raw_delete # noqa: E501 - - Delete many secrets # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_raw_delete_with_http_info(api_v3_secrets_batch_raw_delete_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_raw_delete_request: (required) - :type api_v3_secrets_batch_raw_delete_request: ApiV3SecretsBatchRawDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsBatchRawPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_secrets_batch_raw_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_batch_raw_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_batch_raw_delete_request'] is not None: - _body_params = _params['api_v3_secrets_batch_raw_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsBatchRawPost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/batch/raw', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_batch_raw_patch(self, api_v3_secrets_batch_raw_patch_request : ApiV3SecretsBatchRawPatchRequest, **kwargs) -> ApiV3SecretsBatchRawPost200Response: # noqa: E501 - """api_v3_secrets_batch_raw_patch # noqa: E501 - - Update many secrets # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_raw_patch(api_v3_secrets_batch_raw_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_raw_patch_request: (required) - :type api_v3_secrets_batch_raw_patch_request: ApiV3SecretsBatchRawPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsBatchRawPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_batch_raw_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_batch_raw_patch_with_http_info(api_v3_secrets_batch_raw_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_batch_raw_patch_with_http_info(self, api_v3_secrets_batch_raw_patch_request : ApiV3SecretsBatchRawPatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_batch_raw_patch # noqa: E501 - - Update many secrets # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_raw_patch_with_http_info(api_v3_secrets_batch_raw_patch_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_raw_patch_request: (required) - :type api_v3_secrets_batch_raw_patch_request: ApiV3SecretsBatchRawPatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsBatchRawPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_secrets_batch_raw_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_batch_raw_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_batch_raw_patch_request'] is not None: - _body_params = _params['api_v3_secrets_batch_raw_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsBatchRawPost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/batch/raw', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_batch_raw_post(self, api_v3_secrets_batch_raw_post_request : ApiV3SecretsBatchRawPostRequest, **kwargs) -> ApiV3SecretsBatchRawPost200Response: # noqa: E501 - """api_v3_secrets_batch_raw_post # noqa: E501 - - Create many secrets # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_raw_post(api_v3_secrets_batch_raw_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_raw_post_request: (required) - :type api_v3_secrets_batch_raw_post_request: ApiV3SecretsBatchRawPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsBatchRawPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_batch_raw_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_batch_raw_post_with_http_info(api_v3_secrets_batch_raw_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_batch_raw_post_with_http_info(self, api_v3_secrets_batch_raw_post_request : ApiV3SecretsBatchRawPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_batch_raw_post # noqa: E501 - - Create many secrets # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_batch_raw_post_with_http_info(api_v3_secrets_batch_raw_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_batch_raw_post_request: (required) - :type api_v3_secrets_batch_raw_post_request: ApiV3SecretsBatchRawPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsBatchRawPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_secrets_batch_raw_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_batch_raw_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_batch_raw_post_request'] is not None: - _body_params = _params['api_v3_secrets_batch_raw_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsBatchRawPost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/batch/raw', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_get(self, workspace_id : StrictStr, environment : StrictStr, secret_path : Optional[StrictStr] = None, recursive : Optional[StrictStr] = None, include_imports : Optional[StrictStr] = None, **kwargs) -> ApiV3SecretsGet200Response: # noqa: E501 - """api_v3_secrets_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_get(workspace_id, environment, secret_path, recursive, include_imports, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: (required) - :type environment: str - :param secret_path: - :type secret_path: str - :param recursive: - :type recursive: str - :param include_imports: - :type include_imports: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_get_with_http_info(workspace_id, environment, secret_path, recursive, include_imports, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_get_with_http_info(self, workspace_id : StrictStr, environment : StrictStr, secret_path : Optional[StrictStr] = None, recursive : Optional[StrictStr] = None, include_imports : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_get_with_http_info(workspace_id, environment, secret_path, recursive, include_imports, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: (required) - :type environment: str - :param secret_path: - :type secret_path: str - :param recursive: - :type recursive: str - :param include_imports: - :type include_imports: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'environment', - 'secret_path', - 'recursive', - 'include_imports' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('secret_path') is not None: # noqa: E501 - _query_params.append(('secretPath', _params['secret_path'])) - - if _params.get('recursive') is not None: # noqa: E501 - _query_params.append(('recursive', _params['recursive'])) - - if _params.get('include_imports') is not None: # noqa: E501 - _query_params.append(('include_imports', _params['include_imports'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsGet200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_move_post(self, api_v3_secrets_move_post_request : ApiV3SecretsMovePostRequest, **kwargs) -> ApiV3SecretsMovePost200Response: # noqa: E501 - """api_v3_secrets_move_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_move_post(api_v3_secrets_move_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_move_post_request: (required) - :type api_v3_secrets_move_post_request: ApiV3SecretsMovePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsMovePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_move_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_move_post_with_http_info(api_v3_secrets_move_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_move_post_with_http_info(self, api_v3_secrets_move_post_request : ApiV3SecretsMovePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_move_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_move_post_with_http_info(api_v3_secrets_move_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_secrets_move_post_request: (required) - :type api_v3_secrets_move_post_request: ApiV3SecretsMovePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsMovePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_secrets_move_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_move_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_move_post_request'] is not None: - _body_params = _params['api_v3_secrets_move_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsMovePost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/move', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_raw_get(self, workspace_id : Annotated[Optional[StrictStr], Field(description="The ID of the project to list secrets from.")] = None, workspace_slug : Annotated[Optional[StrictStr], Field(description="The slug of the project to list secrets from. This parameter is only applicable by machine identities.")] = None, environment : Annotated[Optional[StrictStr], Field(description="The slug of the environment to list secrets from.")] = None, secret_path : Annotated[Optional[StrictStr], Field(description="The secret path to list secrets from.")] = None, expand_secret_references : Annotated[Optional[StrictStr], Field(description="Whether or not to expand secret references")] = None, recursive : Annotated[Optional[StrictStr], Field(description="Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep.")] = None, include_imports : Annotated[Optional[StrictStr], Field(description="Weather to include imported secrets or not.")] = None, tag_slugs : Annotated[Optional[StrictStr], Field(description="The comma separated tag slugs to filter secrets")] = None, **kwargs) -> ApiV3SecretsRawGet200Response: # noqa: E501 - """api_v3_secrets_raw_get # noqa: E501 - - List secrets # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_raw_get(workspace_id, workspace_slug, environment, secret_path, expand_secret_references, recursive, include_imports, tag_slugs, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to list secrets from. - :type workspace_id: str - :param workspace_slug: The slug of the project to list secrets from. This parameter is only applicable by machine identities. - :type workspace_slug: str - :param environment: The slug of the environment to list secrets from. - :type environment: str - :param secret_path: The secret path to list secrets from. - :type secret_path: str - :param expand_secret_references: Whether or not to expand secret references - :type expand_secret_references: str - :param recursive: Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep. - :type recursive: str - :param include_imports: Weather to include imported secrets or not. - :type include_imports: str - :param tag_slugs: The comma separated tag slugs to filter secrets - :type tag_slugs: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsRawGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_raw_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_raw_get_with_http_info(workspace_id, workspace_slug, environment, secret_path, expand_secret_references, recursive, include_imports, tag_slugs, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_raw_get_with_http_info(self, workspace_id : Annotated[Optional[StrictStr], Field(description="The ID of the project to list secrets from.")] = None, workspace_slug : Annotated[Optional[StrictStr], Field(description="The slug of the project to list secrets from. This parameter is only applicable by machine identities.")] = None, environment : Annotated[Optional[StrictStr], Field(description="The slug of the environment to list secrets from.")] = None, secret_path : Annotated[Optional[StrictStr], Field(description="The secret path to list secrets from.")] = None, expand_secret_references : Annotated[Optional[StrictStr], Field(description="Whether or not to expand secret references")] = None, recursive : Annotated[Optional[StrictStr], Field(description="Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep.")] = None, include_imports : Annotated[Optional[StrictStr], Field(description="Weather to include imported secrets or not.")] = None, tag_slugs : Annotated[Optional[StrictStr], Field(description="The comma separated tag slugs to filter secrets")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_raw_get # noqa: E501 - - List secrets # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_raw_get_with_http_info(workspace_id, workspace_slug, environment, secret_path, expand_secret_references, recursive, include_imports, tag_slugs, async_req=True) - >>> result = thread.get() - - :param workspace_id: The ID of the project to list secrets from. - :type workspace_id: str - :param workspace_slug: The slug of the project to list secrets from. This parameter is only applicable by machine identities. - :type workspace_slug: str - :param environment: The slug of the environment to list secrets from. - :type environment: str - :param secret_path: The secret path to list secrets from. - :type secret_path: str - :param expand_secret_references: Whether or not to expand secret references - :type expand_secret_references: str - :param recursive: Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep. - :type recursive: str - :param include_imports: Weather to include imported secrets or not. - :type include_imports: str - :param tag_slugs: The comma separated tag slugs to filter secrets - :type tag_slugs: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsRawGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'workspace_slug', - 'environment', - 'secret_path', - 'expand_secret_references', - 'recursive', - 'include_imports', - 'tag_slugs' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_raw_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('workspace_slug') is not None: # noqa: E501 - _query_params.append(('workspaceSlug', _params['workspace_slug'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('secret_path') is not None: # noqa: E501 - _query_params.append(('secretPath', _params['secret_path'])) - - if _params.get('expand_secret_references') is not None: # noqa: E501 - _query_params.append(('expandSecretReferences', _params['expand_secret_references'])) - - if _params.get('recursive') is not None: # noqa: E501 - _query_params.append(('recursive', _params['recursive'])) - - if _params.get('include_imports') is not None: # noqa: E501 - _query_params.append(('include_imports', _params['include_imports'])) - - if _params.get('tag_slugs') is not None: # noqa: E501 - _query_params.append(('tagSlugs', _params['tag_slugs'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsRawGet200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/raw', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_raw_secret_name_delete(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to delete.")], api_v3_secrets_raw_secret_name_delete_request : ApiV3SecretsRawSecretNameDeleteRequest, **kwargs) -> ApiV3SecretsRawSecretNamePost200Response: # noqa: E501 - """api_v3_secrets_raw_secret_name_delete # noqa: E501 - - Delete secret # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_raw_secret_name_delete(secret_name, api_v3_secrets_raw_secret_name_delete_request, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to delete. (required) - :type secret_name: str - :param api_v3_secrets_raw_secret_name_delete_request: (required) - :type api_v3_secrets_raw_secret_name_delete_request: ApiV3SecretsRawSecretNameDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsRawSecretNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_raw_secret_name_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_raw_secret_name_delete_with_http_info(secret_name, api_v3_secrets_raw_secret_name_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_raw_secret_name_delete_with_http_info(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to delete.")], api_v3_secrets_raw_secret_name_delete_request : ApiV3SecretsRawSecretNameDeleteRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_raw_secret_name_delete # noqa: E501 - - Delete secret # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_raw_secret_name_delete_with_http_info(secret_name, api_v3_secrets_raw_secret_name_delete_request, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to delete. (required) - :type secret_name: str - :param api_v3_secrets_raw_secret_name_delete_request: (required) - :type api_v3_secrets_raw_secret_name_delete_request: ApiV3SecretsRawSecretNameDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsRawSecretNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_name', - 'api_v3_secrets_raw_secret_name_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_raw_secret_name_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_name'] is not None: - _path_params['secretName'] = _params['secret_name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_raw_secret_name_delete_request'] is not None: - _body_params = _params['api_v3_secrets_raw_secret_name_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsRawSecretNamePost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/raw/{secretName}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_raw_secret_name_get(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to get.")], workspace_id : Annotated[Optional[StrictStr], Field(description="The ID of the project to get the secret from.")] = None, workspace_slug : Annotated[Optional[StrictStr], Field(description="The slug of the project to get the secret from.")] = None, environment : Annotated[Optional[StrictStr], Field(description="The slug of the environment to get the secret from.")] = None, secret_path : Annotated[Optional[StrictStr], Field(description="The path of the secret to get.")] = None, version : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The version of the secret to get.")] = None, type : Annotated[Optional[StrictStr], Field(description="The type of the secret to get.")] = None, expand_secret_references : Annotated[Optional[StrictStr], Field(description="Whether or not to expand secret references")] = None, include_imports : Annotated[Optional[StrictStr], Field(description="Weather to include imported secrets or not.")] = None, **kwargs) -> ApiV3SecretsRawSecretNameGet200Response: # noqa: E501 - """api_v3_secrets_raw_secret_name_get # noqa: E501 - - Get a secret by name # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_raw_secret_name_get(secret_name, workspace_id, workspace_slug, environment, secret_path, version, type, expand_secret_references, include_imports, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to get. (required) - :type secret_name: str - :param workspace_id: The ID of the project to get the secret from. - :type workspace_id: str - :param workspace_slug: The slug of the project to get the secret from. - :type workspace_slug: str - :param environment: The slug of the environment to get the secret from. - :type environment: str - :param secret_path: The path of the secret to get. - :type secret_path: str - :param version: The version of the secret to get. - :type version: float - :param type: The type of the secret to get. - :type type: str - :param expand_secret_references: Whether or not to expand secret references - :type expand_secret_references: str - :param include_imports: Weather to include imported secrets or not. - :type include_imports: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsRawSecretNameGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_raw_secret_name_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_raw_secret_name_get_with_http_info(secret_name, workspace_id, workspace_slug, environment, secret_path, version, type, expand_secret_references, include_imports, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_raw_secret_name_get_with_http_info(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to get.")], workspace_id : Annotated[Optional[StrictStr], Field(description="The ID of the project to get the secret from.")] = None, workspace_slug : Annotated[Optional[StrictStr], Field(description="The slug of the project to get the secret from.")] = None, environment : Annotated[Optional[StrictStr], Field(description="The slug of the environment to get the secret from.")] = None, secret_path : Annotated[Optional[StrictStr], Field(description="The path of the secret to get.")] = None, version : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The version of the secret to get.")] = None, type : Annotated[Optional[StrictStr], Field(description="The type of the secret to get.")] = None, expand_secret_references : Annotated[Optional[StrictStr], Field(description="Whether or not to expand secret references")] = None, include_imports : Annotated[Optional[StrictStr], Field(description="Weather to include imported secrets or not.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_raw_secret_name_get # noqa: E501 - - Get a secret by name # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_raw_secret_name_get_with_http_info(secret_name, workspace_id, workspace_slug, environment, secret_path, version, type, expand_secret_references, include_imports, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to get. (required) - :type secret_name: str - :param workspace_id: The ID of the project to get the secret from. - :type workspace_id: str - :param workspace_slug: The slug of the project to get the secret from. - :type workspace_slug: str - :param environment: The slug of the environment to get the secret from. - :type environment: str - :param secret_path: The path of the secret to get. - :type secret_path: str - :param version: The version of the secret to get. - :type version: float - :param type: The type of the secret to get. - :type type: str - :param expand_secret_references: Whether or not to expand secret references - :type expand_secret_references: str - :param include_imports: Weather to include imported secrets or not. - :type include_imports: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsRawSecretNameGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_name', - 'workspace_id', - 'workspace_slug', - 'environment', - 'secret_path', - 'version', - 'type', - 'expand_secret_references', - 'include_imports' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_raw_secret_name_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_name'] is not None: - _path_params['secretName'] = _params['secret_name'] - - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('workspace_slug') is not None: # noqa: E501 - _query_params.append(('workspaceSlug', _params['workspace_slug'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('secret_path') is not None: # noqa: E501 - _query_params.append(('secretPath', _params['secret_path'])) - - if _params.get('version') is not None: # noqa: E501 - _query_params.append(('version', _params['version'])) - - if _params.get('type') is not None: # noqa: E501 - _query_params.append(('type', _params['type'])) - - if _params.get('expand_secret_references') is not None: # noqa: E501 - _query_params.append(('expandSecretReferences', _params['expand_secret_references'])) - - if _params.get('include_imports') is not None: # noqa: E501 - _query_params.append(('include_imports', _params['include_imports'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsRawSecretNameGet200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/raw/{secretName}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_raw_secret_name_patch(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to update.")], api_v3_secrets_raw_secret_name_patch_request : ApiV3SecretsRawSecretNamePatchRequest, **kwargs) -> ApiV3SecretsRawSecretNamePost200Response: # noqa: E501 - """api_v3_secrets_raw_secret_name_patch # noqa: E501 - - Update secret # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_raw_secret_name_patch(secret_name, api_v3_secrets_raw_secret_name_patch_request, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to update. (required) - :type secret_name: str - :param api_v3_secrets_raw_secret_name_patch_request: (required) - :type api_v3_secrets_raw_secret_name_patch_request: ApiV3SecretsRawSecretNamePatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsRawSecretNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_raw_secret_name_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_raw_secret_name_patch_with_http_info(secret_name, api_v3_secrets_raw_secret_name_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_raw_secret_name_patch_with_http_info(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to update.")], api_v3_secrets_raw_secret_name_patch_request : ApiV3SecretsRawSecretNamePatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_raw_secret_name_patch # noqa: E501 - - Update secret # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_raw_secret_name_patch_with_http_info(secret_name, api_v3_secrets_raw_secret_name_patch_request, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to update. (required) - :type secret_name: str - :param api_v3_secrets_raw_secret_name_patch_request: (required) - :type api_v3_secrets_raw_secret_name_patch_request: ApiV3SecretsRawSecretNamePatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsRawSecretNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_name', - 'api_v3_secrets_raw_secret_name_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_raw_secret_name_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_name'] is not None: - _path_params['secretName'] = _params['secret_name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_raw_secret_name_patch_request'] is not None: - _body_params = _params['api_v3_secrets_raw_secret_name_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsRawSecretNamePost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/raw/{secretName}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_raw_secret_name_post(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to create.")], api_v3_secrets_raw_secret_name_post_request : ApiV3SecretsRawSecretNamePostRequest, **kwargs) -> ApiV3SecretsRawSecretNamePost200Response: # noqa: E501 - """api_v3_secrets_raw_secret_name_post # noqa: E501 - - Create secret # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_raw_secret_name_post(secret_name, api_v3_secrets_raw_secret_name_post_request, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to create. (required) - :type secret_name: str - :param api_v3_secrets_raw_secret_name_post_request: (required) - :type api_v3_secrets_raw_secret_name_post_request: ApiV3SecretsRawSecretNamePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsRawSecretNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_raw_secret_name_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_raw_secret_name_post_with_http_info(secret_name, api_v3_secrets_raw_secret_name_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_raw_secret_name_post_with_http_info(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to create.")], api_v3_secrets_raw_secret_name_post_request : ApiV3SecretsRawSecretNamePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_raw_secret_name_post # noqa: E501 - - Create secret # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_raw_secret_name_post_with_http_info(secret_name, api_v3_secrets_raw_secret_name_post_request, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to create. (required) - :type secret_name: str - :param api_v3_secrets_raw_secret_name_post_request: (required) - :type api_v3_secrets_raw_secret_name_post_request: ApiV3SecretsRawSecretNamePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsRawSecretNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_name', - 'api_v3_secrets_raw_secret_name_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_raw_secret_name_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_name'] is not None: - _path_params['secretName'] = _params['secret_name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_raw_secret_name_post_request'] is not None: - _body_params = _params['api_v3_secrets_raw_secret_name_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsRawSecretNamePost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/raw/{secretName}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_secret_name_delete(self, secret_name : StrictStr, api_v3_secrets_secret_name_delete_request : ApiV3SecretsSecretNameDeleteRequest, **kwargs) -> ApiV3SecretsSecretNamePost200Response: # noqa: E501 - """api_v3_secrets_secret_name_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_secret_name_delete(secret_name, api_v3_secrets_secret_name_delete_request, async_req=True) - >>> result = thread.get() - - :param secret_name: (required) - :type secret_name: str - :param api_v3_secrets_secret_name_delete_request: (required) - :type api_v3_secrets_secret_name_delete_request: ApiV3SecretsSecretNameDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsSecretNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_secret_name_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_secret_name_delete_with_http_info(secret_name, api_v3_secrets_secret_name_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_secret_name_delete_with_http_info(self, secret_name : StrictStr, api_v3_secrets_secret_name_delete_request : ApiV3SecretsSecretNameDeleteRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_secret_name_delete # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_secret_name_delete_with_http_info(secret_name, api_v3_secrets_secret_name_delete_request, async_req=True) - >>> result = thread.get() - - :param secret_name: (required) - :type secret_name: str - :param api_v3_secrets_secret_name_delete_request: (required) - :type api_v3_secrets_secret_name_delete_request: ApiV3SecretsSecretNameDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsSecretNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_name', - 'api_v3_secrets_secret_name_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_secret_name_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_name'] is not None: - _path_params['secretName'] = _params['secret_name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_secret_name_delete_request'] is not None: - _body_params = _params['api_v3_secrets_secret_name_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsSecretNamePost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/{secretName}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_secret_name_get(self, workspace_id : StrictStr, environment : StrictStr, secret_name : StrictStr, secret_path : Optional[StrictStr] = None, type : Optional[StrictStr] = None, version : Optional[Union[StrictFloat, StrictInt]] = None, include_imports : Optional[StrictStr] = None, **kwargs) -> ApiV3SecretsSecretNameGet200Response: # noqa: E501 - """api_v3_secrets_secret_name_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_secret_name_get(workspace_id, environment, secret_name, secret_path, type, version, include_imports, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: (required) - :type environment: str - :param secret_name: (required) - :type secret_name: str - :param secret_path: - :type secret_path: str - :param type: - :type type: str - :param version: - :type version: float - :param include_imports: - :type include_imports: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsSecretNameGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_secret_name_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_secret_name_get_with_http_info(workspace_id, environment, secret_name, secret_path, type, version, include_imports, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_secret_name_get_with_http_info(self, workspace_id : StrictStr, environment : StrictStr, secret_name : StrictStr, secret_path : Optional[StrictStr] = None, type : Optional[StrictStr] = None, version : Optional[Union[StrictFloat, StrictInt]] = None, include_imports : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_secret_name_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_secret_name_get_with_http_info(workspace_id, environment, secret_name, secret_path, type, version, include_imports, async_req=True) - >>> result = thread.get() - - :param workspace_id: (required) - :type workspace_id: str - :param environment: (required) - :type environment: str - :param secret_name: (required) - :type secret_name: str - :param secret_path: - :type secret_path: str - :param type: - :type type: str - :param version: - :type version: float - :param include_imports: - :type include_imports: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsSecretNameGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'workspace_id', - 'environment', - 'secret_name', - 'secret_path', - 'type', - 'version', - 'include_imports' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_secret_name_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_name'] is not None: - _path_params['secretName'] = _params['secret_name'] - - - # process the query parameters - _query_params = [] - if _params.get('workspace_id') is not None: # noqa: E501 - _query_params.append(('workspaceId', _params['workspace_id'])) - - if _params.get('environment') is not None: # noqa: E501 - _query_params.append(('environment', _params['environment'])) - - if _params.get('secret_path') is not None: # noqa: E501 - _query_params.append(('secretPath', _params['secret_path'])) - - if _params.get('type') is not None: # noqa: E501 - _query_params.append(('type', _params['type'])) - - if _params.get('version') is not None: # noqa: E501 - _query_params.append(('version', _params['version'])) - - if _params.get('include_imports') is not None: # noqa: E501 - _query_params.append(('include_imports', _params['include_imports'])) - - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsSecretNameGet200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/{secretName}', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_secret_name_patch(self, secret_name : StrictStr, api_v3_secrets_secret_name_patch_request : ApiV3SecretsSecretNamePatchRequest, **kwargs) -> ApiV3SecretsSecretNamePost200Response: # noqa: E501 - """api_v3_secrets_secret_name_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_secret_name_patch(secret_name, api_v3_secrets_secret_name_patch_request, async_req=True) - >>> result = thread.get() - - :param secret_name: (required) - :type secret_name: str - :param api_v3_secrets_secret_name_patch_request: (required) - :type api_v3_secrets_secret_name_patch_request: ApiV3SecretsSecretNamePatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsSecretNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_secret_name_patch_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_secret_name_patch_with_http_info(secret_name, api_v3_secrets_secret_name_patch_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_secret_name_patch_with_http_info(self, secret_name : StrictStr, api_v3_secrets_secret_name_patch_request : ApiV3SecretsSecretNamePatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_secret_name_patch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_secret_name_patch_with_http_info(secret_name, api_v3_secrets_secret_name_patch_request, async_req=True) - >>> result = thread.get() - - :param secret_name: (required) - :type secret_name: str - :param api_v3_secrets_secret_name_patch_request: (required) - :type api_v3_secrets_secret_name_patch_request: ApiV3SecretsSecretNamePatchRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsSecretNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_name', - 'api_v3_secrets_secret_name_patch_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_secret_name_patch" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_name'] is not None: - _path_params['secretName'] = _params['secret_name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_secret_name_patch_request'] is not None: - _body_params = _params['api_v3_secrets_secret_name_patch_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsSecretNamePost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/{secretName}', 'PATCH', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_secret_name_post(self, secret_name : StrictStr, api_v3_secrets_secret_name_post_request : ApiV3SecretsSecretNamePostRequest, **kwargs) -> ApiV3SecretsSecretNamePost200Response: # noqa: E501 - """api_v3_secrets_secret_name_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_secret_name_post(secret_name, api_v3_secrets_secret_name_post_request, async_req=True) - >>> result = thread.get() - - :param secret_name: (required) - :type secret_name: str - :param api_v3_secrets_secret_name_post_request: (required) - :type api_v3_secrets_secret_name_post_request: ApiV3SecretsSecretNamePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsSecretNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_secret_name_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_secret_name_post_with_http_info(secret_name, api_v3_secrets_secret_name_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_secret_name_post_with_http_info(self, secret_name : StrictStr, api_v3_secrets_secret_name_post_request : ApiV3SecretsSecretNamePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_secret_name_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_secret_name_post_with_http_info(secret_name, api_v3_secrets_secret_name_post_request, async_req=True) - >>> result = thread.get() - - :param secret_name: (required) - :type secret_name: str - :param api_v3_secrets_secret_name_post_request: (required) - :type api_v3_secrets_secret_name_post_request: ApiV3SecretsSecretNamePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsSecretNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_name', - 'api_v3_secrets_secret_name_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_secret_name_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_name'] is not None: - _path_params['secretName'] = _params['secret_name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_secret_name_post_request'] is not None: - _body_params = _params['api_v3_secrets_secret_name_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsSecretNamePost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/{secretName}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_tags_secret_name_delete(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to detach tags from.")], api_v3_secrets_tags_secret_name_delete_request : ApiV3SecretsTagsSecretNameDeleteRequest, **kwargs) -> ApiV3SecretsTagsSecretNamePost200Response: # noqa: E501 - """api_v3_secrets_tags_secret_name_delete # noqa: E501 - - Detach tags from a secret # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_tags_secret_name_delete(secret_name, api_v3_secrets_tags_secret_name_delete_request, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to detach tags from. (required) - :type secret_name: str - :param api_v3_secrets_tags_secret_name_delete_request: (required) - :type api_v3_secrets_tags_secret_name_delete_request: ApiV3SecretsTagsSecretNameDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsTagsSecretNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_tags_secret_name_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_tags_secret_name_delete_with_http_info(secret_name, api_v3_secrets_tags_secret_name_delete_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_tags_secret_name_delete_with_http_info(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to detach tags from.")], api_v3_secrets_tags_secret_name_delete_request : ApiV3SecretsTagsSecretNameDeleteRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_tags_secret_name_delete # noqa: E501 - - Detach tags from a secret # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_tags_secret_name_delete_with_http_info(secret_name, api_v3_secrets_tags_secret_name_delete_request, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to detach tags from. (required) - :type secret_name: str - :param api_v3_secrets_tags_secret_name_delete_request: (required) - :type api_v3_secrets_tags_secret_name_delete_request: ApiV3SecretsTagsSecretNameDeleteRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsTagsSecretNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_name', - 'api_v3_secrets_tags_secret_name_delete_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_tags_secret_name_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_name'] is not None: - _path_params['secretName'] = _params['secret_name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_tags_secret_name_delete_request'] is not None: - _body_params = _params['api_v3_secrets_tags_secret_name_delete_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsTagsSecretNamePost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/tags/{secretName}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_secrets_tags_secret_name_post(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to attach tags to.")], api_v3_secrets_tags_secret_name_post_request : ApiV3SecretsTagsSecretNamePostRequest, **kwargs) -> ApiV3SecretsTagsSecretNamePost200Response: # noqa: E501 - """api_v3_secrets_tags_secret_name_post # noqa: E501 - - Attach tags to a secret # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_tags_secret_name_post(secret_name, api_v3_secrets_tags_secret_name_post_request, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to attach tags to. (required) - :type secret_name: str - :param api_v3_secrets_tags_secret_name_post_request: (required) - :type api_v3_secrets_tags_secret_name_post_request: ApiV3SecretsTagsSecretNamePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SecretsTagsSecretNamePost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_secrets_tags_secret_name_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_secrets_tags_secret_name_post_with_http_info(secret_name, api_v3_secrets_tags_secret_name_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_secrets_tags_secret_name_post_with_http_info(self, secret_name : Annotated[StrictStr, Field(..., description="The name of the secret to attach tags to.")], api_v3_secrets_tags_secret_name_post_request : ApiV3SecretsTagsSecretNamePostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_secrets_tags_secret_name_post # noqa: E501 - - Attach tags to a secret # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_secrets_tags_secret_name_post_with_http_info(secret_name, api_v3_secrets_tags_secret_name_post_request, async_req=True) - >>> result = thread.get() - - :param secret_name: The name of the secret to attach tags to. (required) - :type secret_name: str - :param api_v3_secrets_tags_secret_name_post_request: (required) - :type api_v3_secrets_tags_secret_name_post_request: ApiV3SecretsTagsSecretNamePostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SecretsTagsSecretNamePost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'secret_name', - 'api_v3_secrets_tags_secret_name_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_secrets_tags_secret_name_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['secret_name'] is not None: - _path_params['secretName'] = _params['secret_name'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_secrets_tags_secret_name_post_request'] is not None: - _body_params = _params['api_v3_secrets_tags_secret_name_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = ['bearerAuth'] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SecretsTagsSecretNamePost200Response", - } - - return self.api_client.call_api( - '/api/v3/secrets/tags/{secretName}', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_signup_complete_account_invite_post(self, api_v1_admin_signup_post_request : ApiV1AdminSignupPostRequest, **kwargs) -> ApiV1PasswordEmailPasswordResetVerifyPost200Response: # noqa: E501 - """api_v3_signup_complete_account_invite_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_signup_complete_account_invite_post(api_v1_admin_signup_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_admin_signup_post_request: (required) - :type api_v1_admin_signup_post_request: ApiV1AdminSignupPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1PasswordEmailPasswordResetVerifyPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_signup_complete_account_invite_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_signup_complete_account_invite_post_with_http_info(api_v1_admin_signup_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_signup_complete_account_invite_post_with_http_info(self, api_v1_admin_signup_post_request : ApiV1AdminSignupPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_signup_complete_account_invite_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_signup_complete_account_invite_post_with_http_info(api_v1_admin_signup_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_admin_signup_post_request: (required) - :type api_v1_admin_signup_post_request: ApiV1AdminSignupPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1PasswordEmailPasswordResetVerifyPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_admin_signup_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_signup_complete_account_invite_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_admin_signup_post_request'] is not None: - _body_params = _params['api_v1_admin_signup_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1PasswordEmailPasswordResetVerifyPost200Response", - } - - return self.api_client.call_api( - '/api/v3/signup/complete-account/invite', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_signup_complete_account_signup_post(self, api_v3_signup_complete_account_signup_post_request : ApiV3SignupCompleteAccountSignupPostRequest, **kwargs) -> ApiV3SignupCompleteAccountSignupPost200Response: # noqa: E501 - """api_v3_signup_complete_account_signup_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_signup_complete_account_signup_post(api_v3_signup_complete_account_signup_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_signup_complete_account_signup_post_request: (required) - :type api_v3_signup_complete_account_signup_post_request: ApiV3SignupCompleteAccountSignupPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SignupCompleteAccountSignupPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_signup_complete_account_signup_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_signup_complete_account_signup_post_with_http_info(api_v3_signup_complete_account_signup_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_signup_complete_account_signup_post_with_http_info(self, api_v3_signup_complete_account_signup_post_request : ApiV3SignupCompleteAccountSignupPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_signup_complete_account_signup_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_signup_complete_account_signup_post_with_http_info(api_v3_signup_complete_account_signup_post_request, async_req=True) - >>> result = thread.get() - - :param api_v3_signup_complete_account_signup_post_request: (required) - :type api_v3_signup_complete_account_signup_post_request: ApiV3SignupCompleteAccountSignupPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SignupCompleteAccountSignupPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v3_signup_complete_account_signup_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_signup_complete_account_signup_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_signup_complete_account_signup_post_request'] is not None: - _body_params = _params['api_v3_signup_complete_account_signup_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SignupCompleteAccountSignupPost200Response", - } - - return self.api_client.call_api( - '/api/v3/signup/complete-account/signup', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_signup_email_signup_post(self, api_v1_password_email_password_reset_post_request : ApiV1PasswordEmailPasswordResetPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v3_signup_email_signup_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_signup_email_signup_post(api_v1_password_email_password_reset_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_email_password_reset_post_request: (required) - :type api_v1_password_email_password_reset_post_request: ApiV1PasswordEmailPasswordResetPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_signup_email_signup_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_signup_email_signup_post_with_http_info(api_v1_password_email_password_reset_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_signup_email_signup_post_with_http_info(self, api_v1_password_email_password_reset_post_request : ApiV1PasswordEmailPasswordResetPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_signup_email_signup_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_signup_email_signup_post_with_http_info(api_v1_password_email_password_reset_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_email_password_reset_post_request: (required) - :type api_v1_password_email_password_reset_post_request: ApiV1PasswordEmailPasswordResetPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_password_email_password_reset_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_signup_email_signup_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_password_email_password_reset_post_request'] is not None: - _body_params = _params['api_v1_password_email_password_reset_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v3/signup/email/signup', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_signup_email_verify_post(self, api_v1_password_email_password_reset_verify_post_request : ApiV1PasswordEmailPasswordResetVerifyPostRequest, **kwargs) -> ApiV3SignupEmailVerifyPost200Response: # noqa: E501 - """api_v3_signup_email_verify_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_signup_email_verify_post(api_v1_password_email_password_reset_verify_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_email_password_reset_verify_post_request: (required) - :type api_v1_password_email_password_reset_verify_post_request: ApiV1PasswordEmailPasswordResetVerifyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3SignupEmailVerifyPost200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_signup_email_verify_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_signup_email_verify_post_with_http_info(api_v1_password_email_password_reset_verify_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_signup_email_verify_post_with_http_info(self, api_v1_password_email_password_reset_verify_post_request : ApiV1PasswordEmailPasswordResetVerifyPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_signup_email_verify_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_signup_email_verify_post_with_http_info(api_v1_password_email_password_reset_verify_post_request, async_req=True) - >>> result = thread.get() - - :param api_v1_password_email_password_reset_verify_post_request: (required) - :type api_v1_password_email_password_reset_verify_post_request: ApiV1PasswordEmailPasswordResetVerifyPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3SignupEmailVerifyPost200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'api_v1_password_email_password_reset_verify_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_signup_email_verify_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v1_password_email_password_reset_verify_post_request'] is not None: - _body_params = _params['api_v1_password_email_password_reset_verify_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3SignupEmailVerifyPost200Response", - } - - return self.api_client.call_api( - '/api/v3/signup/email/verify', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_users_me_api_keys_get(self, **kwargs) -> ApiV3UsersMeApiKeysGet200Response: # noqa: E501 - """api_v3_users_me_api_keys_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_users_me_api_keys_get(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3UsersMeApiKeysGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_users_me_api_keys_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_users_me_api_keys_get_with_http_info(**kwargs) # noqa: E501 - - @validate_arguments - def api_v3_users_me_api_keys_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_users_me_api_keys_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_users_me_api_keys_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3UsersMeApiKeysGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_users_me_api_keys_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3UsersMeApiKeysGet200Response", - } - - return self.api_client.call_api( - '/api/v3/users/me/api-keys', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_workspaces_project_id_secrets_blind_index_status_get(self, project_id : StrictStr, **kwargs) -> bool: # noqa: E501 - """api_v3_workspaces_project_id_secrets_blind_index_status_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_workspaces_project_id_secrets_blind_index_status_get(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: bool - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_workspaces_project_id_secrets_blind_index_status_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_workspaces_project_id_secrets_blind_index_status_get_with_http_info(project_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_workspaces_project_id_secrets_blind_index_status_get_with_http_info(self, project_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_workspaces_project_id_secrets_blind_index_status_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_workspaces_project_id_secrets_blind_index_status_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(bool, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_workspaces_project_id_secrets_blind_index_status_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "bool", - } - - return self.api_client.call_api( - '/api/v3/workspaces/{projectId}/secrets/blind-index-status', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_workspaces_project_id_secrets_get(self, project_id : StrictStr, **kwargs) -> ApiV3WorkspacesProjectIdSecretsGet200Response: # noqa: E501 - """api_v3_workspaces_project_id_secrets_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_workspaces_project_id_secrets_get(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV3WorkspacesProjectIdSecretsGet200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_workspaces_project_id_secrets_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_workspaces_project_id_secrets_get_with_http_info(project_id, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_workspaces_project_id_secrets_get_with_http_info(self, project_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_workspaces_project_id_secrets_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_workspaces_project_id_secrets_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV3WorkspacesProjectIdSecretsGet200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_workspaces_project_id_secrets_get" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV3WorkspacesProjectIdSecretsGet200Response", - } - - return self.api_client.call_api( - '/api/v3/workspaces/{projectId}/secrets', 'GET', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - - @validate_arguments - def api_v3_workspaces_project_id_secrets_names_post(self, project_id : StrictStr, api_v3_workspaces_project_id_secrets_names_post_request : ApiV3WorkspacesProjectIdSecretsNamesPostRequest, **kwargs) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: # noqa: E501 - """api_v3_workspaces_project_id_secrets_names_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_workspaces_project_id_secrets_names_post(project_id, api_v3_workspaces_project_id_secrets_names_post_request, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param api_v3_workspaces_project_id_secrets_names_post_request: (required) - :type api_v3_workspaces_project_id_secrets_names_post_request: ApiV3WorkspacesProjectIdSecretsNamesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. - If one number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - message = "Error! Please call the api_v3_workspaces_project_id_secrets_names_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 - raise ValueError(message) - return self.api_v3_workspaces_project_id_secrets_names_post_with_http_info(project_id, api_v3_workspaces_project_id_secrets_names_post_request, **kwargs) # noqa: E501 - - @validate_arguments - def api_v3_workspaces_project_id_secrets_names_post_with_http_info(self, project_id : StrictStr, api_v3_workspaces_project_id_secrets_names_post_request : ApiV3WorkspacesProjectIdSecretsNamesPostRequest, **kwargs) -> ApiResponse: # noqa: E501 - """api_v3_workspaces_project_id_secrets_names_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v3_workspaces_project_id_secrets_names_post_with_http_info(project_id, api_v3_workspaces_project_id_secrets_names_post_request, async_req=True) - >>> result = thread.get() - - :param project_id: (required) - :type project_id: str - :param api_v3_workspaces_project_id_secrets_names_post_request: (required) - :type api_v3_workspaces_project_id_secrets_names_post_request: ApiV3WorkspacesProjectIdSecretsNamesPostRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response, status_code(int), headers(HTTPHeaderDict)) - """ - - _params = locals() - - _all_params = [ - 'project_id', - 'api_v3_workspaces_project_id_secrets_names_post_request' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v3_workspaces_project_id_secrets_names_post" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['project_id'] is not None: - _path_params['projectId'] = _params['project_id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - if _params['api_v3_workspaces_project_id_secrets_names_post_request'] is not None: - _body_params = _params['api_v3_workspaces_project_id_secrets_names_post_request'] - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # set the HTTP header `Content-Type` - _content_types_list = _params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'])) - if _content_types_list: - _header_params['Content-Type'] = _content_types_list - - # authentication setting - _auth_settings = [] # noqa: E501 - - _response_types_map = { - '200': "ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response", - } - - return self.api_client.call_api( - '/api/v3/workspaces/{projectId}/secrets/names', 'POST', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) diff --git a/infisicalapi_client/api_client.py b/infisicalapi_client/api_client.py deleted file mode 100644 index fd6440b..0000000 --- a/infisicalapi_client/api_client.py +++ /dev/null @@ -1,759 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import atexit -import datetime -from dateutil.parser import parse -import json -import mimetypes -from multiprocessing.pool import ThreadPool -import os -import re -import tempfile - -from urllib.parse import quote - -from infisicalapi_client.configuration import Configuration -from infisicalapi_client.api_response import ApiResponse -import infisicalapi_client.models -from infisicalapi_client import rest -from infisicalapi_client.exceptions import ApiValueError, ApiException - - -class ApiClient: - """Generic API client for OpenAPI client library builds. - - OpenAPI generic API client. This client handles the client- - server communication, and is invariant across implementations. Specifics of - the methods and models for each application are generated from the OpenAPI - templates. - - :param configuration: .Configuration object for this client - :param header_name: a header to pass when making calls to the API. - :param header_value: a header value to pass when making calls to - the API. - :param cookie: a cookie to include in the header when making calls - to the API - :param pool_threads: The number of threads to use for async requests - to the API. More threads means more concurrent API requests. - """ - - PRIMITIVE_TYPES = (float, bool, bytes, str, int) - NATIVE_TYPES_MAPPING = { - 'int': int, - 'long': int, # TODO remove as only py3 is supported? - 'float': float, - 'str': str, - 'bool': bool, - 'date': datetime.date, - 'datetime': datetime.datetime, - 'object': object, - } - _pool = None - - def __init__(self, configuration=None, header_name=None, header_value=None, - cookie=None, pool_threads=1) -> None: - # use default configuration if none is provided - if configuration is None: - configuration = Configuration.get_default() - self.configuration = configuration - self.pool_threads = pool_threads - - self.rest_client = rest.RESTClientObject(configuration) - self.default_headers = {} - if header_name is not None: - self.default_headers[header_name] = header_value - self.cookie = cookie - # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.0.0/python' - self.client_side_validation = configuration.client_side_validation - - def __enter__(self): - return self - - def __exit__(self, exc_type, exc_value, traceback): - self.close() - - def close(self): - if self._pool: - self._pool.close() - self._pool.join() - self._pool = None - if hasattr(atexit, 'unregister'): - atexit.unregister(self.close) - - @property - def pool(self): - """Create thread pool on first request - avoids instantiating unused threadpool for blocking clients. - """ - if self._pool is None: - atexit.register(self.close) - self._pool = ThreadPool(self.pool_threads) - return self._pool - - @property - def user_agent(self): - """User agent for this API client""" - return self.default_headers['User-Agent'] - - @user_agent.setter - def user_agent(self, value): - self.default_headers['User-Agent'] = value - - def set_default_header(self, header_name, header_value): - self.default_headers[header_name] = header_value - - - _default = None - - @classmethod - def get_default(cls): - """Return new instance of ApiClient. - - This method returns newly created, based on default constructor, - object of ApiClient class or returns a copy of default - ApiClient. - - :return: The ApiClient object. - """ - if cls._default is None: - cls._default = ApiClient() - return cls._default - - @classmethod - def set_default(cls, default): - """Set default instance of ApiClient. - - It stores default ApiClient. - - :param default: object of ApiClient. - """ - cls._default = default - - def __call_api( - self, resource_path, method, path_params=None, - query_params=None, header_params=None, body=None, post_params=None, - files=None, response_types_map=None, auth_settings=None, - _return_http_data_only=None, collection_formats=None, - _preload_content=True, _request_timeout=None, _host=None, - _request_auth=None): - - config = self.configuration - - # header parameters - header_params = header_params or {} - header_params.update(self.default_headers) - if self.cookie: - header_params['Cookie'] = self.cookie - if header_params: - header_params = self.sanitize_for_serialization(header_params) - header_params = dict(self.parameters_to_tuples(header_params, - collection_formats)) - - # path parameters - if path_params: - path_params = self.sanitize_for_serialization(path_params) - path_params = self.parameters_to_tuples(path_params, - collection_formats) - for k, v in path_params: - # specified safe chars, encode everything - resource_path = resource_path.replace( - '{%s}' % k, - quote(str(v), safe=config.safe_chars_for_path_param) - ) - - # post parameters - if post_params or files: - post_params = post_params if post_params else [] - post_params = self.sanitize_for_serialization(post_params) - post_params = self.parameters_to_tuples(post_params, - collection_formats) - post_params.extend(self.files_parameters(files)) - - # auth setting - self.update_params_for_auth( - header_params, query_params, auth_settings, - resource_path, method, body, - request_auth=_request_auth) - - # body - if body: - body = self.sanitize_for_serialization(body) - - # request url - if _host is None: - url = self.configuration.host + resource_path - else: - # use server/host defined in path or operation instead - url = _host + resource_path - - # query parameters - if query_params: - query_params = self.sanitize_for_serialization(query_params) - url_query = self.parameters_to_url_query(query_params, - collection_formats) - url += "?" + url_query - - try: - # perform request and return response - response_data = self.request( - method, url, - query_params=query_params, - headers=header_params, - post_params=post_params, body=body, - _preload_content=_preload_content, - _request_timeout=_request_timeout) - except ApiException as e: - if e.body: - e.body = e.body.decode('utf-8') - raise e - - self.last_response = response_data - - return_data = None # assuming deserialization is not needed - # data needs deserialization or returns HTTP data (deserialized) only - if _preload_content or _return_http_data_only: - response_type = response_types_map.get(str(response_data.status), None) - if not response_type and isinstance(response_data.status, int) and 100 <= response_data.status <= 599: - # if not found, look for '1XX', '2XX', etc. - response_type = response_types_map.get(str(response_data.status)[0] + "XX", None) - - if response_type == "bytearray": - response_data.data = response_data.data - else: - match = None - content_type = response_data.getheader('content-type') - if content_type is not None: - match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type) - encoding = match.group(1) if match else "utf-8" - response_data.data = response_data.data.decode(encoding) - - # deserialize response data - if response_type == "bytearray": - return_data = response_data.data - elif response_type: - return_data = self.deserialize(response_data, response_type) - else: - return_data = None - - if _return_http_data_only: - return return_data - else: - return ApiResponse(status_code = response_data.status, - data = return_data, - headers = response_data.getheaders(), - raw_data = response_data.data) - - def sanitize_for_serialization(self, obj): - """Builds a JSON POST object. - - If obj is None, return None. - If obj is str, int, long, float, bool, return directly. - If obj is datetime.datetime, datetime.date - convert to string in iso8601 format. - If obj is list, sanitize each element in the list. - If obj is dict, return the dict. - If obj is OpenAPI model, return the properties dict. - - :param obj: The data to serialize. - :return: The serialized form of data. - """ - if obj is None: - return None - elif isinstance(obj, self.PRIMITIVE_TYPES): - return obj - elif isinstance(obj, list): - return [self.sanitize_for_serialization(sub_obj) - for sub_obj in obj] - elif isinstance(obj, tuple): - return tuple(self.sanitize_for_serialization(sub_obj) - for sub_obj in obj) - elif isinstance(obj, (datetime.datetime, datetime.date)): - return obj.isoformat() - - if isinstance(obj, dict): - obj_dict = obj - else: - # Convert model obj to dict except - # attributes `openapi_types`, `attribute_map` - # and attributes which value is not None. - # Convert attribute name to json key in - # model definition for request. - obj_dict = obj.to_dict() - - return {key: self.sanitize_for_serialization(val) - for key, val in obj_dict.items()} - - def deserialize(self, response, response_type): - """Deserializes response into an object. - - :param response: RESTResponse object to be deserialized. - :param response_type: class literal for - deserialized object, or string of class name. - - :return: deserialized object. - """ - # handle file downloading - # save response body into a tmp file and return the instance - if response_type == "file": - return self.__deserialize_file(response) - - # fetch data from response object - try: - data = json.loads(response.data) - except ValueError: - data = response.data - - return self.__deserialize(data, response_type) - - def __deserialize(self, data, klass): - """Deserializes dict, list, str into an object. - - :param data: dict, list or str. - :param klass: class literal, or string of class name. - - :return: object. - """ - if data is None: - return None - - if isinstance(klass, str): - if klass.startswith('List['): - sub_kls = re.match(r'List\[(.*)]', klass).group(1) - return [self.__deserialize(sub_data, sub_kls) - for sub_data in data] - - if klass.startswith('Dict['): - sub_kls = re.match(r'Dict\[([^,]*), (.*)]', klass).group(2) - return {k: self.__deserialize(v, sub_kls) - for k, v in data.items()} - - # convert str to class - if klass in self.NATIVE_TYPES_MAPPING: - klass = self.NATIVE_TYPES_MAPPING[klass] - else: - klass = getattr(infisicalapi_client.models, klass) - - if klass in self.PRIMITIVE_TYPES: - return self.__deserialize_primitive(data, klass) - elif klass == object: - return self.__deserialize_object(data) - elif klass == datetime.date: - return self.__deserialize_date(data) - elif klass == datetime.datetime: - return self.__deserialize_datetime(data) - else: - return self.__deserialize_model(data, klass) - - def call_api(self, resource_path, method, - path_params=None, query_params=None, header_params=None, - body=None, post_params=None, files=None, - response_types_map=None, auth_settings=None, - async_req=None, _return_http_data_only=None, - collection_formats=None, _preload_content=True, - _request_timeout=None, _host=None, _request_auth=None): - """Makes the HTTP request (synchronous) and returns deserialized data. - - To make an async_req request, set the async_req parameter. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params dict: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param auth_settings list: Auth Settings names for the request. - :param response: Response data type. - :param files dict: key -> filename, value -> filepath, - for `multipart/form-data`. - :param async_req bool: execute request asynchronously - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_token: dict, optional - :return: - If async_req parameter is True, - the request will be called asynchronously. - The method will return the request thread. - If parameter async_req is False or missing, - then the method will return the response directly. - """ - args = ( - resource_path, - method, - path_params, - query_params, - header_params, - body, - post_params, - files, - response_types_map, - auth_settings, - _return_http_data_only, - collection_formats, - _preload_content, - _request_timeout, - _host, - _request_auth, - ) - if not async_req: - return self.__call_api(*args) - - return self.pool.apply_async(self.__call_api, args) - - def request(self, method, url, query_params=None, headers=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - """Makes the HTTP request using RESTClient.""" - if method == "GET": - return self.rest_client.get_request(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "HEAD": - return self.rest_client.head_request(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "OPTIONS": - return self.rest_client.options_request(url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout) - elif method == "POST": - return self.rest_client.post_request(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PUT": - return self.rest_client.put_request(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PATCH": - return self.rest_client.patch_request(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "DELETE": - return self.rest_client.delete_request(url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - else: - raise ApiValueError( - "http method must be `GET`, `HEAD`, `OPTIONS`," - " `POST`, `PATCH`, `PUT` or `DELETE`." - ) - - def parameters_to_tuples(self, params, collection_formats): - """Get parameters as list of tuples, formatting collections. - - :param params: Parameters as dict or list of two-tuples - :param dict collection_formats: Parameter collection formats - :return: Parameters as list of tuples, collections formatted - """ - new_params = [] - if collection_formats is None: - collection_formats = {} - for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 - if k in collection_formats: - collection_format = collection_formats[k] - if collection_format == 'multi': - new_params.extend((k, value) for value in v) - else: - if collection_format == 'ssv': - delimiter = ' ' - elif collection_format == 'tsv': - delimiter = '\t' - elif collection_format == 'pipes': - delimiter = '|' - else: # csv is the default - delimiter = ',' - new_params.append( - (k, delimiter.join(str(value) for value in v))) - else: - new_params.append((k, v)) - return new_params - - def parameters_to_url_query(self, params, collection_formats): - """Get parameters as list of tuples, formatting collections. - - :param params: Parameters as dict or list of two-tuples - :param dict collection_formats: Parameter collection formats - :return: URL query string (e.g. a=Hello%20World&b=123) - """ - new_params = [] - if collection_formats is None: - collection_formats = {} - for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 - if isinstance(v, bool): - v = str(v).lower() - if isinstance(v, (int, float)): - v = str(v) - if isinstance(v, dict): - v = json.dumps(v) - - if k in collection_formats: - collection_format = collection_formats[k] - if collection_format == 'multi': - new_params.extend((k, str(value)) for value in v) - else: - if collection_format == 'ssv': - delimiter = ' ' - elif collection_format == 'tsv': - delimiter = '\t' - elif collection_format == 'pipes': - delimiter = '|' - else: # csv is the default - delimiter = ',' - new_params.append( - (k, delimiter.join(quote(str(value)) for value in v))) - else: - new_params.append((k, quote(str(v)))) - - return "&".join(["=".join(map(str, item)) for item in new_params]) - - def files_parameters(self, files=None): - """Builds form parameters. - - :param files: File parameters. - :return: Form parameters with files. - """ - params = [] - - if files: - for k, v in files.items(): - if not v: - continue - file_names = v if type(v) is list else [v] - for n in file_names: - with open(n, 'rb') as f: - filename = os.path.basename(f.name) - filedata = f.read() - mimetype = (mimetypes.guess_type(filename)[0] or - 'application/octet-stream') - params.append( - tuple([k, tuple([filename, filedata, mimetype])])) - - return params - - def select_header_accept(self, accepts): - """Returns `Accept` based on an array of accepts provided. - - :param accepts: List of headers. - :return: Accept (e.g. application/json). - """ - if not accepts: - return - - for accept in accepts: - if re.search('json', accept, re.IGNORECASE): - return accept - - return accepts[0] - - def select_header_content_type(self, content_types): - """Returns `Content-Type` based on an array of content_types provided. - - :param content_types: List of content-types. - :return: Content-Type (e.g. application/json). - """ - if not content_types: - return None - - for content_type in content_types: - if re.search('json', content_type, re.IGNORECASE): - return content_type - - return content_types[0] - - def update_params_for_auth(self, headers, queries, auth_settings, - resource_path, method, body, - request_auth=None): - """Updates header and query params based on authentication setting. - - :param headers: Header parameters dict to be updated. - :param queries: Query parameters tuple list to be updated. - :param auth_settings: Authentication setting identifiers list. - :resource_path: A string representation of the HTTP request resource path. - :method: A string representation of the HTTP request method. - :body: A object representing the body of the HTTP request. - The object type is the return value of sanitize_for_serialization(). - :param request_auth: if set, the provided settings will - override the token in the configuration. - """ - if not auth_settings: - return - - if request_auth: - self._apply_auth_params(headers, queries, - resource_path, method, body, - request_auth) - return - - for auth in auth_settings: - auth_setting = self.configuration.auth_settings().get(auth) - if auth_setting: - self._apply_auth_params(headers, queries, - resource_path, method, body, - auth_setting) - - def _apply_auth_params(self, headers, queries, - resource_path, method, body, - auth_setting): - """Updates the request parameters based on a single auth_setting - - :param headers: Header parameters dict to be updated. - :param queries: Query parameters tuple list to be updated. - :resource_path: A string representation of the HTTP request resource path. - :method: A string representation of the HTTP request method. - :body: A object representing the body of the HTTP request. - The object type is the return value of sanitize_for_serialization(). - :param auth_setting: auth settings for the endpoint - """ - if auth_setting['in'] == 'cookie': - headers['Cookie'] = auth_setting['value'] - elif auth_setting['in'] == 'header': - if auth_setting['type'] != 'http-signature': - headers[auth_setting['key']] = auth_setting['value'] - elif auth_setting['in'] == 'query': - queries.append((auth_setting['key'], auth_setting['value'])) - else: - raise ApiValueError( - 'Authentication token must be in `query` or `header`' - ) - - def __deserialize_file(self, response): - """Deserializes body to file - - Saves response body into a file in a temporary folder, - using the filename from the `Content-Disposition` header if provided. - - :param response: RESTResponse. - :return: file path. - """ - fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path) - os.close(fd) - os.remove(path) - - content_disposition = response.getheader("Content-Disposition") - if content_disposition: - filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', - content_disposition).group(1) - path = os.path.join(os.path.dirname(path), filename) - - with open(path, "wb") as f: - f.write(response.data) - - return path - - def __deserialize_primitive(self, data, klass): - """Deserializes string to primitive type. - - :param data: str. - :param klass: class literal. - - :return: int, long, float, str, bool. - """ - try: - return klass(data) - except UnicodeEncodeError: - return str(data) - except TypeError: - return data - - def __deserialize_object(self, value): - """Return an original value. - - :return: object. - """ - return value - - def __deserialize_date(self, string): - """Deserializes string to date. - - :param string: str. - :return: date. - """ - try: - return parse(string).date() - except ImportError: - return string - except ValueError: - raise rest.ApiException( - status=0, - reason="Failed to parse `{0}` as date object".format(string) - ) - - def __deserialize_datetime(self, string): - """Deserializes string to datetime. - - The string should be in iso8601 datetime format. - - :param string: str. - :return: datetime. - """ - try: - return parse(string) - except ImportError: - return string - except ValueError: - raise rest.ApiException( - status=0, - reason=( - "Failed to parse `{0}` as datetime object" - .format(string) - ) - ) - - def __deserialize_model(self, data, klass): - """Deserializes list or dict to model. - - :param data: dict, list. - :param klass: class literal. - :return: model object. - """ - - return klass.from_dict(data) diff --git a/infisicalapi_client/api_response.py b/infisicalapi_client/api_response.py deleted file mode 100644 index a0b62b9..0000000 --- a/infisicalapi_client/api_response.py +++ /dev/null @@ -1,25 +0,0 @@ -"""API response object.""" - -from __future__ import annotations -from typing import Any, Dict, Optional -from pydantic import Field, StrictInt, StrictStr - -class ApiResponse: - """ - API response object - """ - - status_code: Optional[StrictInt] = Field(None, description="HTTP status code") - headers: Optional[Dict[StrictStr, StrictStr]] = Field(None, description="HTTP headers") - data: Optional[Any] = Field(None, description="Deserialized data given the data type") - raw_data: Optional[Any] = Field(None, description="Raw data (HTTP response body)") - - def __init__(self, - status_code=None, - headers=None, - data=None, - raw_data=None) -> None: - self.status_code = status_code - self.headers = headers - self.data = data - self.raw_data = raw_data diff --git a/infisicalapi_client/configuration.py b/infisicalapi_client/configuration.py deleted file mode 100644 index 452cde6..0000000 --- a/infisicalapi_client/configuration.py +++ /dev/null @@ -1,447 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import copy -import logging -import multiprocessing -import sys -import urllib3 - -import http.client as httplib - -JSON_SCHEMA_VALIDATION_KEYWORDS = { - 'multipleOf', 'maximum', 'exclusiveMaximum', - 'minimum', 'exclusiveMinimum', 'maxLength', - 'minLength', 'pattern', 'maxItems', 'minItems' -} - -class Configuration: - """This class contains various settings of the API client. - - :param host: Base url. - :param api_key: Dict to store API key(s). - Each entry in the dict specifies an API key. - The dict key is the name of the security scheme in the OAS specification. - The dict value is the API key secret. - :param api_key_prefix: Dict to store API prefix (e.g. Bearer). - The dict key is the name of the security scheme in the OAS specification. - The dict value is an API key prefix when generating the auth data. - :param username: Username for HTTP basic authentication. - :param password: Password for HTTP basic authentication. - :param access_token: Access token. - :param server_index: Index to servers configuration. - :param server_variables: Mapping with string values to replace variables in - templated server configuration. The validation of enums is performed for - variables with defined enum values before. - :param server_operation_index: Mapping from operation ID to an index to server - configuration. - :param server_operation_variables: Mapping from operation ID to a mapping with - string values to replace variables in templated server configuration. - The validation of enums is performed for variables with defined enum - values before. - :param ssl_ca_cert: str - the path to a file of concatenated CA certificates - in PEM format. - - :Example: - """ - - _default = None - - def __init__(self, host=None, - api_key=None, api_key_prefix=None, - username=None, password=None, - access_token=None, - server_index=None, server_variables=None, - server_operation_index=None, server_operation_variables=None, - ssl_ca_cert=None, - ) -> None: - """Constructor - """ - self._base_path = "https://app.infisical.com" if host is None else host - """Default Base url - """ - self.server_index = 0 if server_index is None and host is None else server_index - self.server_operation_index = server_operation_index or {} - """Default server index - """ - self.server_variables = server_variables or {} - self.server_operation_variables = server_operation_variables or {} - """Default server variables - """ - self.temp_folder_path = None - """Temp file folder for downloading files - """ - # Authentication Settings - self.api_key = {} - if api_key: - self.api_key = api_key - """dict to store API key(s) - """ - self.api_key_prefix = {} - if api_key_prefix: - self.api_key_prefix = api_key_prefix - """dict to store API prefix (e.g. Bearer) - """ - self.refresh_api_key_hook = None - """function hook to refresh API key if expired - """ - self.username = username - """Username for HTTP basic authentication - """ - self.password = password - """Password for HTTP basic authentication - """ - self.access_token = access_token - """Access token - """ - self.logger = {} - """Logging Settings - """ - self.logger["package_logger"] = logging.getLogger("infisicalapi_client") - self.logger["urllib3_logger"] = logging.getLogger("urllib3") - self.logger_format = '%(asctime)s %(levelname)s %(message)s' - """Log format - """ - self.logger_stream_handler = None - """Log stream handler - """ - self.logger_file_handler = None - """Log file handler - """ - self.logger_file = None - """Debug file location - """ - self.debug = False - """Debug switch - """ - - self.verify_ssl = True - """SSL/TLS verification - Set this to false to skip verifying SSL certificate when calling API - from https server. - """ - self.ssl_ca_cert = ssl_ca_cert - """Set this to customize the certificate file to verify the peer. - """ - self.cert_file = None - """client certificate file - """ - self.key_file = None - """client key file - """ - self.assert_hostname = None - """Set this to True/False to enable/disable SSL hostname verification. - """ - self.tls_server_name = None - """SSL/TLS Server Name Indication (SNI) - Set this to the SNI value expected by the server. - """ - - self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 - """urllib3 connection pool's maximum number of connections saved - per pool. urllib3 uses 1 connection as default value, but this is - not the best value when you are making a lot of possibly parallel - requests to the same host, which is often the case here. - cpu_count * 5 is used as default value to increase performance. - """ - - self.proxy = None - """Proxy URL - """ - self.proxy_headers = None - """Proxy headers - """ - self.safe_chars_for_path_param = '' - """Safe chars for path_param - """ - self.retries = None - """Adding retries to override urllib3 default value 3 - """ - # Enable client side validation - self.client_side_validation = True - - self.socket_options = None - """Options to pass down to the underlying urllib3 socket - """ - - self.datetime_format = "%Y-%m-%dT%H:%M:%S.%f%z" - """datetime format - """ - - self.date_format = "%Y-%m-%d" - """date format - """ - - def __deepcopy__(self, memo): - cls = self.__class__ - result = cls.__new__(cls) - memo[id(self)] = result - for k, v in self.__dict__.items(): - if k not in ('logger', 'logger_file_handler'): - setattr(result, k, copy.deepcopy(v, memo)) - # shallow copy of loggers - result.logger = copy.copy(self.logger) - # use setters to configure loggers - result.logger_file = self.logger_file - result.debug = self.debug - return result - - def __setattr__(self, name, value): - object.__setattr__(self, name, value) - - @classmethod - def set_default(cls, default): - """Set default instance of configuration. - - It stores default configuration, which can be - returned by get_default_copy method. - - :param default: object of Configuration - """ - cls._default = default - - @classmethod - def get_default_copy(cls): - """Deprecated. Please use `get_default` instead. - - Deprecated. Please use `get_default` instead. - - :return: The configuration object. - """ - return cls.get_default() - - @classmethod - def get_default(cls): - """Return the default configuration. - - This method returns newly created, based on default constructor, - object of Configuration class or returns a copy of default - configuration. - - :return: The configuration object. - """ - if cls._default is None: - cls._default = Configuration() - return cls._default - - @property - def logger_file(self): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - return self.__logger_file - - @logger_file.setter - def logger_file(self, value): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - self.__logger_file = value - if self.__logger_file: - # If set logging file, - # then add file handler and remove stream handler. - self.logger_file_handler = logging.FileHandler(self.__logger_file) - self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in self.logger.items(): - logger.addHandler(self.logger_file_handler) - - @property - def debug(self): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - return self.__debug - - @debug.setter - def debug(self, value): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - self.__debug = value - if self.__debug: - # if debug status is True, turn on debug logging - for _, logger in self.logger.items(): - logger.setLevel(logging.DEBUG) - # turn on httplib debug - httplib.HTTPConnection.debuglevel = 1 - else: - # if debug status is False, turn off debug logging, - # setting log level to default `logging.WARNING` - for _, logger in self.logger.items(): - logger.setLevel(logging.WARNING) - # turn off httplib debug - httplib.HTTPConnection.debuglevel = 0 - - @property - def logger_format(self): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - return self.__logger_format - - @logger_format.setter - def logger_format(self, value): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - self.__logger_format = value - self.logger_formatter = logging.Formatter(self.__logger_format) - - def get_api_key_with_prefix(self, identifier, alias=None): - """Gets API key (with prefix if set). - - :param identifier: The identifier of apiKey. - :param alias: The alternative identifier of apiKey. - :return: The token for api key authentication. - """ - if self.refresh_api_key_hook is not None: - self.refresh_api_key_hook(self) - key = self.api_key.get(identifier, self.api_key.get(alias) if alias is not None else None) - if key: - prefix = self.api_key_prefix.get(identifier) - if prefix: - return "%s %s" % (prefix, key) - else: - return key - - def get_basic_auth_token(self): - """Gets HTTP basic authentication header (string). - - :return: The token for basic HTTP authentication. - """ - username = "" - if self.username is not None: - username = self.username - password = "" - if self.password is not None: - password = self.password - return urllib3.util.make_headers( - basic_auth=username + ':' + password - ).get('authorization') - - def auth_settings(self): - """Gets Auth Settings dict for api client. - - :return: The Auth Settings information dict. - """ - auth = {} - if self.access_token is not None: - auth['bearerAuth'] = { - 'type': 'bearer', - 'in': 'header', - 'format': 'JWT', - 'key': 'Authorization', - 'value': 'Bearer ' + self.access_token - } - return auth - - def to_debug_report(self): - """Gets the essential information for debugging. - - :return: The report for debugging. - """ - return "Python SDK Debug Report:\n"\ - "OS: {env}\n"\ - "Python Version: {pyversion}\n"\ - "Version of the API: 0.0.1\n"\ - "SDK Package Version: 1.0.0".\ - format(env=sys.platform, pyversion=sys.version) - - def get_host_settings(self): - """Gets an array of host settings - - :return: An array of host settings - """ - return [ - { - 'url': "https://app.infisical.com", - 'description': "Production server", - }, - { - 'url': "http://localhost:8080", - 'description': "Local server", - } - ] - - def get_host_from_settings(self, index, variables=None, servers=None): - """Gets host URL based on the index and variables - :param index: array index of the host settings - :param variables: hash of variable and the corresponding value - :param servers: an array of host settings or None - :return: URL based on host settings - """ - if index is None: - return self._base_path - - variables = {} if variables is None else variables - servers = self.get_host_settings() if servers is None else servers - - try: - server = servers[index] - except IndexError: - raise ValueError( - "Invalid index {0} when selecting the host settings. " - "Must be less than {1}".format(index, len(servers))) - - url = server['url'] - - # go through variables and replace placeholders - for variable_name, variable in server.get('variables', {}).items(): - used_value = variables.get( - variable_name, variable['default_value']) - - if 'enum_values' in variable \ - and used_value not in variable['enum_values']: - raise ValueError( - "The variable `{0}` in the host URL has invalid value " - "{1}. Must be {2}.".format( - variable_name, variables[variable_name], - variable['enum_values'])) - - url = url.replace("{" + variable_name + "}", used_value) - - return url - - @property - def host(self): - """Return generated host.""" - return self.get_host_from_settings(self.server_index, variables=self.server_variables) - - @host.setter - def host(self, value): - """Fix base path.""" - self._base_path = value - self.server_index = None diff --git a/infisicalapi_client/exceptions.py b/infisicalapi_client/exceptions.py deleted file mode 100644 index ff7a514..0000000 --- a/infisicalapi_client/exceptions.py +++ /dev/null @@ -1,166 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -class OpenApiException(Exception): - """The base exception class for all OpenAPIExceptions""" - - -class ApiTypeError(OpenApiException, TypeError): - def __init__(self, msg, path_to_item=None, valid_classes=None, - key_type=None) -> None: - """ Raises an exception for TypeErrors - - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (list): a list of keys an indices to get to the - current_item - None if unset - valid_classes (tuple): the primitive classes that current item - should be an instance of - None if unset - key_type (bool): False if our value is a value in a dict - True if it is a key in a dict - False if our item is an item in a list - None if unset - """ - self.path_to_item = path_to_item - self.valid_classes = valid_classes - self.key_type = key_type - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiTypeError, self).__init__(full_msg) - - -class ApiValueError(OpenApiException, ValueError): - def __init__(self, msg, path_to_item=None) -> None: - """ - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (list) the path to the exception in the - received_data dict. None if unset - """ - - self.path_to_item = path_to_item - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiValueError, self).__init__(full_msg) - - -class ApiAttributeError(OpenApiException, AttributeError): - def __init__(self, msg, path_to_item=None) -> None: - """ - Raised when an attribute reference or assignment fails. - - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (None/list) the path to the exception in the - received_data dict - """ - self.path_to_item = path_to_item - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiAttributeError, self).__init__(full_msg) - - -class ApiKeyError(OpenApiException, KeyError): - def __init__(self, msg, path_to_item=None) -> None: - """ - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (None/list) the path to the exception in the - received_data dict - """ - self.path_to_item = path_to_item - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiKeyError, self).__init__(full_msg) - - -class ApiException(OpenApiException): - - def __init__(self, status=None, reason=None, http_resp=None) -> None: - if http_resp: - self.status = http_resp.status - self.reason = http_resp.reason - self.body = http_resp.data - self.headers = http_resp.getheaders() - else: - self.status = status - self.reason = reason - self.body = None - self.headers = None - - def __str__(self): - """Custom error messages for exception""" - error_message = "({0})\n"\ - "Reason: {1}\n".format(self.status, self.reason) - if self.headers: - error_message += "HTTP response headers: {0}\n".format( - self.headers) - - if self.body: - error_message += "HTTP response body: {0}\n".format(self.body) - - return error_message - -class BadRequestException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None) -> None: - super(BadRequestException, self).__init__(status, reason, http_resp) - -class NotFoundException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None) -> None: - super(NotFoundException, self).__init__(status, reason, http_resp) - - -class UnauthorizedException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None) -> None: - super(UnauthorizedException, self).__init__(status, reason, http_resp) - - -class ForbiddenException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None) -> None: - super(ForbiddenException, self).__init__(status, reason, http_resp) - - -class ServiceException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None) -> None: - super(ServiceException, self).__init__(status, reason, http_resp) - - -def render_path(path_to_item): - """Returns a string representation of a path""" - result = "" - for pth in path_to_item: - if isinstance(pth, int): - result += "[{0}]".format(pth) - else: - result += "['{0}']".format(pth) - return result diff --git a/infisicalapi_client/models/__init__.py b/infisicalapi_client/models/__init__.py deleted file mode 100644 index 5a7026b..0000000 --- a/infisicalapi_client/models/__init__.py +++ /dev/null @@ -1,664 +0,0 @@ -# coding: utf-8 - -# flake8: noqa -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -# import models into model package -from infisicalapi_client.models.api_status_get200_response import ApiStatusGet200Response -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response import ApiV1AccessApprovalsPoliciesGet200Response -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response_approvals_inner import ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner -from infisicalapi_client.models.api_v1_access_approvals_policies_policy_id_patch_request import ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest -from infisicalapi_client.models.api_v1_access_approvals_policies_post_request import ApiV1AccessApprovalsPoliciesPostRequest -from infisicalapi_client.models.api_v1_access_approvals_requests_count_get200_response import ApiV1AccessApprovalsRequestsCountGet200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response import ApiV1AccessApprovalsRequestsGet200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_policy import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_privilege import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response import ApiV1AccessApprovalsRequestsPost200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response_approval import ApiV1AccessApprovalsRequestsPost200ResponseApproval -from infisicalapi_client.models.api_v1_access_approvals_requests_post_request import ApiV1AccessApprovalsRequestsPostRequest -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response import ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response_review import ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview -from infisicalapi_client.models.api_v1_additional_privilege_identity_delete_request import ApiV1AdditionalPrivilegeIdentityDeleteRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_get200_response import ApiV1AdditionalPrivilegeIdentityGet200Response -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request import ApiV1AdditionalPrivilegeIdentityPatchRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request_privilege_details import ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response import ApiV1AdditionalPrivilegeIdentityPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request import ApiV1AdditionalPrivilegeIdentityPermanentPostRequest -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions -from infisicalapi_client.models.api_v1_additional_privilege_identity_temporary_post_request import ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest -from infisicalapi_client.models.api_v1_additional_privilege_users_get200_response import ApiV1AdditionalPrivilegeUsersGet200Response -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response import ApiV1AdditionalPrivilegeUsersPermanentPost200Response -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post_request import ApiV1AdditionalPrivilegeUsersPermanentPostRequest -from infisicalapi_client.models.api_v1_additional_privilege_users_privilege_id_patch_request import ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest -from infisicalapi_client.models.api_v1_additional_privilege_users_temporary_post_request import ApiV1AdditionalPrivilegeUsersTemporaryPostRequest -from infisicalapi_client.models.api_v1_admin_config_get200_response import ApiV1AdminConfigGet200Response -from infisicalapi_client.models.api_v1_admin_config_get200_response_config import ApiV1AdminConfigGet200ResponseConfig -from infisicalapi_client.models.api_v1_admin_config_patch200_response import ApiV1AdminConfigPatch200Response -from infisicalapi_client.models.api_v1_admin_config_patch200_response_config import ApiV1AdminConfigPatch200ResponseConfig -from infisicalapi_client.models.api_v1_admin_config_patch_request import ApiV1AdminConfigPatchRequest -from infisicalapi_client.models.api_v1_admin_signup_post200_response import ApiV1AdminSignupPost200Response -from infisicalapi_client.models.api_v1_admin_signup_post_request import ApiV1AdminSignupPostRequest -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response import ApiV1AdminUserManagementUsersGet200Response -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response_users_inner import ApiV1AdminUserManagementUsersGet200ResponseUsersInner -from infisicalapi_client.models.api_v1_admin_user_management_users_user_id_delete200_response import ApiV1AdminUserManagementUsersUserIdDelete200Response -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response import ApiV1AuditLogStreamsGet200Response -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response_audit_log_streams_inner import ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response import ApiV1AuditLogStreamsIdGet200Response -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner -from infisicalapi_client.models.api_v1_audit_log_streams_id_patch_request import ApiV1AuditLogStreamsIdPatchRequest -from infisicalapi_client.models.api_v1_audit_log_streams_post200_response import ApiV1AuditLogStreamsPost200Response -from infisicalapi_client.models.api_v1_audit_log_streams_post_request import ApiV1AuditLogStreamsPostRequest -from infisicalapi_client.models.api_v1_audit_log_streams_post_request_headers_inner import ApiV1AuditLogStreamsPostRequestHeadersInner -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_patch_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_post_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_aws_auth_login_post_request import ApiV1AuthAwsAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_patch_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_post_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_check_auth_post200_response import ApiV1AuthCheckAuthPost200Response -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_patch_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_post_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_patch_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_post_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_login_post_request import ApiV1AuthKubernetesAuthLoginPostRequest -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_patch_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_post_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_patch_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch200_response import ApiV1AuthTokenAuthTokensTokenIdPatch200Response -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch_request import ApiV1AuthTokenAuthTokensTokenIdPatchRequest -from infisicalapi_client.models.api_v1_auth_token_post200_response import ApiV1AuthTokenPost200Response -from infisicalapi_client.models.api_v1_auth_token_renew_post_request import ApiV1AuthTokenRenewPostRequest -from infisicalapi_client.models.api_v1_auth_token_revoke_post_request import ApiV1AuthTokenRevokePostRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_patch_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest -from infisicalapi_client.models.api_v1_auth_universal_auth_login_post_request import ApiV1AuthUniversalAuthLoginPostRequest -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request import ApiV1BotBotIdActivePatchRequest -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request_bot_key import ApiV1BotBotIdActivePatchRequestBotKey -from infisicalapi_client.models.api_v1_bot_project_id_get200_response import ApiV1BotProjectIdGet200Response -from infisicalapi_client.models.api_v1_bot_project_id_get200_response_bot import ApiV1BotProjectIdGet200ResponseBot -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response import ApiV1DynamicSecretsGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner import ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete200_response import ApiV1DynamicSecretsLeasesLeaseIdDelete200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete_request import ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response import ApiV1DynamicSecretsLeasesLeaseIdGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response_lease import ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_renew_post_request import ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post200_response import ApiV1DynamicSecretsLeasesPost200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post_request import ApiV1DynamicSecretsLeasesPostRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_name_delete_request import ApiV1DynamicSecretsNameDeleteRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response import ApiV1DynamicSecretsNameGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response_dynamic_secret import ApiV1DynamicSecretsNameGet200ResponseDynamicSecret -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response import ApiV1DynamicSecretsNameLeasesGet200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response_leases_inner import ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request import ApiV1DynamicSecretsNamePatchRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request_data import ApiV1DynamicSecretsNamePatchRequestData -from infisicalapi_client.models.api_v1_dynamic_secrets_post200_response import ApiV1DynamicSecretsPost200Response -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request import ApiV1DynamicSecretsPostRequest -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider import ApiV1DynamicSecretsPostRequestProvider -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of import ApiV1DynamicSecretsPostRequestProviderAnyOf -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of1 import ApiV1DynamicSecretsPostRequestProviderAnyOf1 -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of1_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of2 import ApiV1DynamicSecretsPostRequestProviderAnyOf2 -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of2_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOfInputs -from infisicalapi_client.models.api_v1_external_kms_get200_response import ApiV1ExternalKmsGet200Response -from infisicalapi_client.models.api_v1_external_kms_get200_response_external_kms_list_inner import ApiV1ExternalKmsGet200ResponseExternalKmsListInner -from infisicalapi_client.models.api_v1_external_kms_get200_response_external_kms_list_inner_external_kms import ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms -from infisicalapi_client.models.api_v1_external_kms_id_get200_response import ApiV1ExternalKmsIdGet200Response -from infisicalapi_client.models.api_v1_external_kms_id_get200_response_external_kms import ApiV1ExternalKmsIdGet200ResponseExternalKms -from infisicalapi_client.models.api_v1_external_kms_id_get200_response_external_kms_external import ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal -from infisicalapi_client.models.api_v1_external_kms_id_patch_request import ApiV1ExternalKmsIdPatchRequest -from infisicalapi_client.models.api_v1_external_kms_id_patch_request_provider import ApiV1ExternalKmsIdPatchRequestProvider -from infisicalapi_client.models.api_v1_external_kms_id_patch_request_provider_inputs import ApiV1ExternalKmsIdPatchRequestProviderInputs -from infisicalapi_client.models.api_v1_external_kms_post200_response import ApiV1ExternalKmsPost200Response -from infisicalapi_client.models.api_v1_external_kms_post200_response_external_kms import ApiV1ExternalKmsPost200ResponseExternalKms -from infisicalapi_client.models.api_v1_external_kms_post200_response_external_kms_external import ApiV1ExternalKmsPost200ResponseExternalKmsExternal -from infisicalapi_client.models.api_v1_external_kms_post_request import ApiV1ExternalKmsPostRequest -from infisicalapi_client.models.api_v1_external_kms_post_request_provider import ApiV1ExternalKmsPostRequestProvider -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs import ApiV1ExternalKmsPostRequestProviderInputs -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential import ApiV1ExternalKmsPostRequestProviderInputsCredential -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of1 import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of_data import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData -from infisicalapi_client.models.api_v1_folders_batch_patch_request import ApiV1FoldersBatchPatchRequest -from infisicalapi_client.models.api_v1_folders_batch_patch_request_folders_inner import ApiV1FoldersBatchPatchRequestFoldersInner -from infisicalapi_client.models.api_v1_folders_folder_id_or_name_delete_request import ApiV1FoldersFolderIdOrNameDeleteRequest -from infisicalapi_client.models.api_v1_folders_folder_id_patch_request import ApiV1FoldersFolderIdPatchRequest -from infisicalapi_client.models.api_v1_folders_get200_response import ApiV1FoldersGet200Response -from infisicalapi_client.models.api_v1_folders_get200_response_folders_inner import ApiV1FoldersGet200ResponseFoldersInner -from infisicalapi_client.models.api_v1_folders_post200_response import ApiV1FoldersPost200Response -from infisicalapi_client.models.api_v1_folders_post_request import ApiV1FoldersPostRequest -from infisicalapi_client.models.api_v1_groups_current_slug_patch_request import ApiV1GroupsCurrentSlugPatchRequest -from infisicalapi_client.models.api_v1_groups_post200_response import ApiV1GroupsPost200Response -from infisicalapi_client.models.api_v1_groups_post_request import ApiV1GroupsPostRequest -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response import ApiV1GroupsSlugUsersGet200Response -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response_users_inner import ApiV1GroupsSlugUsersGet200ResponseUsersInner -from infisicalapi_client.models.api_v1_groups_slug_users_username_post200_response import ApiV1GroupsSlugUsersUsernamePost200Response -from infisicalapi_client.models.api_v1_identities_get200_response import ApiV1IdentitiesGet200Response -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner import ApiV1IdentitiesGet200ResponseIdentitiesInner -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner_identity import ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity -from infisicalapi_client.models.api_v1_identities_identity_id_get200_response import ApiV1IdentitiesIdentityIdGet200Response -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner -from infisicalapi_client.models.api_v1_identities_identity_id_patch_request import ApiV1IdentitiesIdentityIdPatchRequest -from infisicalapi_client.models.api_v1_identities_post200_response import ApiV1IdentitiesPost200Response -from infisicalapi_client.models.api_v1_identities_post200_response_identity import ApiV1IdentitiesPost200ResponseIdentity -from infisicalapi_client.models.api_v1_identities_post_request import ApiV1IdentitiesPostRequest -from infisicalapi_client.models.api_v1_integration_auth_access_token_post_request import ApiV1IntegrationAuthAccessTokenPostRequest -from infisicalapi_client.models.api_v1_integration_auth_delete200_response import ApiV1IntegrationAuthDelete200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teams_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response import ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response import ApiV1IntegrationAuthIntegrationOptionsGet200Response -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response_integration_options_inner import ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner -from infisicalapi_client.models.api_v1_integration_auth_oauth_token_post_request import ApiV1IntegrationAuthOauthTokenPostRequest -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request import ApiV1IntegrationIntegrationIdPatchRequest -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request_metadata import ApiV1IntegrationIntegrationIdPatchRequestMetadata -from infisicalapi_client.models.api_v1_integration_post200_response import ApiV1IntegrationPost200Response -from infisicalapi_client.models.api_v1_integration_post200_response_integration import ApiV1IntegrationPost200ResponseIntegration -from infisicalapi_client.models.api_v1_integration_post_request import ApiV1IntegrationPostRequest -from infisicalapi_client.models.api_v1_integration_post_request_metadata import ApiV1IntegrationPostRequestMetadata -from infisicalapi_client.models.api_v1_integration_post_request_metadata_secret_gcp_label import ApiV1IntegrationPostRequestMetadataSecretGCPLabel -from infisicalapi_client.models.api_v1_invite_org_signup_post200_response import ApiV1InviteOrgSignupPost200Response -from infisicalapi_client.models.api_v1_invite_org_signup_post_request import ApiV1InviteOrgSignupPostRequest -from infisicalapi_client.models.api_v1_invite_org_verify_post200_response import ApiV1InviteOrgVerifyPost200Response -from infisicalapi_client.models.api_v1_invite_org_verify_post_request import ApiV1InviteOrgVerifyPostRequest -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_get200_response_inner import ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post200_response import ApiV1LdapConfigConfigIdGroupMapsPost200Response -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post_request import ApiV1LdapConfigConfigIdGroupMapsPostRequest -from infisicalapi_client.models.api_v1_ldap_config_get200_response import ApiV1LdapConfigGet200Response -from infisicalapi_client.models.api_v1_ldap_config_patch_request import ApiV1LdapConfigPatchRequest -from infisicalapi_client.models.api_v1_ldap_config_post200_response import ApiV1LdapConfigPost200Response -from infisicalapi_client.models.api_v1_ldap_config_post_request import ApiV1LdapConfigPostRequest -from infisicalapi_client.models.api_v1_ldap_login_post_request import ApiV1LdapLoginPostRequest -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response import ApiV1OrganizationAdminProjectsGet200Response -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership -from infisicalapi_client.models.api_v1_organization_get200_response import ApiV1OrganizationGet200Response -from infisicalapi_client.models.api_v1_organization_get200_response_organizations_inner import ApiV1OrganizationGet200ResponseOrganizationsInner -from infisicalapi_client.models.api_v1_organization_organization_id_get200_response import ApiV1OrganizationOrganizationIdGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response import ApiV1OrganizationOrganizationIdGroupsGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_post200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response -from infisicalapi_client.models.api_v1_organization_organization_id_patch200_response import ApiV1OrganizationOrganizationIdPatch200Response -from infisicalapi_client.models.api_v1_organization_organization_id_patch_request import ApiV1OrganizationOrganizationIdPatchRequest -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response import ApiV1OrganizationOrganizationIdPermissionsGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response_membership import ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response import ApiV1OrganizationOrganizationIdRolesGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response_data import ApiV1OrganizationOrganizationIdRolesGet200ResponseData -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response_data_roles_inner import ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response import ApiV1OrganizationOrganizationIdRolesPost200Response -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response_role import ApiV1OrganizationOrganizationIdRolesPost200ResponseRole -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post_request import ApiV1OrganizationOrganizationIdRolesPostRequest -from infisicalapi_client.models.api_v1_organization_organization_id_roles_role_id_patch_request import ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response import ApiV1OrganizationOrganizationIdUsersGet200Response -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response_users_inner import ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response_users_inner_user import ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_patch_request import ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_payment_methods_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_tax_ids_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest -from infisicalapi_client.models.api_v1_organizations_organization_id_plan_get200_response import ApiV1OrganizationsOrganizationIdPlanGet200Response -from infisicalapi_client.models.api_v1_organizations_organization_id_session_trial_post_request import ApiV1OrganizationsOrganizationIdSessionTrialPostRequest -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response import ApiV1PasswordBackupPrivateKeyGet200Response -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response_backup_private_key import ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey -from infisicalapi_client.models.api_v1_password_backup_private_key_post_request import ApiV1PasswordBackupPrivateKeyPostRequest -from infisicalapi_client.models.api_v1_password_change_password_post_request import ApiV1PasswordChangePasswordPostRequest -from infisicalapi_client.models.api_v1_password_email_password_reset_post_request import ApiV1PasswordEmailPasswordResetPostRequest -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response import ApiV1PasswordEmailPasswordResetVerifyPost200Response -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response_user import ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post_request import ApiV1PasswordEmailPasswordResetVerifyPostRequest -from infisicalapi_client.models.api_v1_password_password_reset_post_request import ApiV1PasswordPasswordResetPostRequest -from infisicalapi_client.models.api_v1_password_srp1_post200_response import ApiV1PasswordSrp1Post200Response -from infisicalapi_client.models.api_v1_password_srp1_post_request import ApiV1PasswordSrp1PostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_certificate_get200_response import ApiV1PkiCaCaIdCertificateGet200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_crl_get200_response import ApiV1PkiCaCaIdCrlGet200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_csr_get200_response import ApiV1PkiCaCaIdCsrGet200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post200_response import ApiV1PkiCaCaIdImportCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post_request import ApiV1PkiCaCaIdImportCertificatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post200_response import ApiV1PkiCaCaIdIssueCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post_request import ApiV1PkiCaCaIdIssueCertificatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_patch_request import ApiV1PkiCaCaIdPatchRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post200_response import ApiV1PkiCaCaIdSignCertificatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post_request import ApiV1PkiCaCaIdSignCertificatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post200_response import ApiV1PkiCaCaIdSignIntermediatePost200Response -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post_request import ApiV1PkiCaCaIdSignIntermediatePostRequest -from infisicalapi_client.models.api_v1_pki_ca_post200_response import ApiV1PkiCaPost200Response -from infisicalapi_client.models.api_v1_pki_ca_post200_response_ca import ApiV1PkiCaPost200ResponseCa -from infisicalapi_client.models.api_v1_pki_ca_post_request import ApiV1PkiCaPostRequest -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_certificate_get200_response import ApiV1PkiCertificatesSerialNumberCertificateGet200Response -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response import ApiV1PkiCertificatesSerialNumberGet200Response -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response_certificate import ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post200_response import ApiV1PkiCertificatesSerialNumberRevokePost200Response -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post_request import ApiV1PkiCertificatesSerialNumberRevokePostRequest -from infisicalapi_client.models.api_v1_rate_limit_get200_response import ApiV1RateLimitGet200Response -from infisicalapi_client.models.api_v1_rate_limit_get200_response_rate_limit import ApiV1RateLimitGet200ResponseRateLimit -from infisicalapi_client.models.api_v1_rate_limit_put_request import ApiV1RateLimitPutRequest -from infisicalapi_client.models.api_v1_scim_groups_get200_response import ApiV1ScimGroupsGet200Response -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner import ApiV1ScimGroupsGet200ResponseResourcesInner -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner_meta import ApiV1ScimGroupsGet200ResponseResourcesInnerMeta -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request import ApiV1ScimGroupsGroupIdPatchRequest -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner import ApiV1ScimGroupsGroupIdPatchRequestOperationsInner -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1 import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2 import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue -from infisicalapi_client.models.api_v1_scim_groups_group_id_put_request import ApiV1ScimGroupsGroupIdPutRequest -from infisicalapi_client.models.api_v1_scim_groups_post200_response import ApiV1ScimGroupsPost200Response -from infisicalapi_client.models.api_v1_scim_groups_post_request import ApiV1ScimGroupsPostRequest -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response import ApiV1ScimScimTokensGet200Response -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response_scim_tokens_inner import ApiV1ScimScimTokensGet200ResponseScimTokensInner -from infisicalapi_client.models.api_v1_scim_scim_tokens_post200_response import ApiV1ScimScimTokensPost200Response -from infisicalapi_client.models.api_v1_scim_scim_tokens_post_request import ApiV1ScimScimTokensPostRequest -from infisicalapi_client.models.api_v1_scim_scim_tokens_scim_token_id_delete200_response import ApiV1ScimScimTokensScimTokenIdDelete200Response -from infisicalapi_client.models.api_v1_scim_users_get200_response import ApiV1ScimUsersGet200Response -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner import ApiV1ScimUsersGet200ResponseResourcesInner -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_emails_inner import ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_name import ApiV1ScimUsersGet200ResponseResourcesInnerName -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response import ApiV1ScimUsersOrgMembershipIdGet201Response -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response_groups_inner import ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put200_response import ApiV1ScimUsersOrgMembershipIdPut200Response -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put_request import ApiV1ScimUsersOrgMembershipIdPutRequest -from infisicalapi_client.models.api_v1_scim_users_post200_response import ApiV1ScimUsersPost200Response -from infisicalapi_client.models.api_v1_scim_users_post_request import ApiV1ScimUsersPostRequest -from infisicalapi_client.models.api_v1_scim_users_post_request_emails_inner import ApiV1ScimUsersPostRequestEmailsInner -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response import ApiV1SecretApprovalRequestsCountGet200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response_approvals import ApiV1SecretApprovalRequestsCountGet200ResponseApprovals -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response import ApiV1SecretApprovalRequestsGet200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_policy import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response import ApiV1SecretApprovalRequestsIdGet200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval import ApiV1SecretApprovalRequestsIdGet200ResponseApproval -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_policy import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response import ApiV1SecretApprovalRequestsIdMergePost200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response_approval import ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post_request import ApiV1SecretApprovalRequestsIdMergePostRequest -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response import ApiV1SecretApprovalRequestsIdReviewPost200Response -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response_review import ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post_request import ApiV1SecretApprovalRequestsIdReviewPostRequest -from infisicalapi_client.models.api_v1_secret_approval_requests_id_status_post_request import ApiV1SecretApprovalRequestsIdStatusPostRequest -from infisicalapi_client.models.api_v1_secret_approvals_board_get200_response import ApiV1SecretApprovalsBoardGet200Response -from infisicalapi_client.models.api_v1_secret_approvals_get200_response import ApiV1SecretApprovalsGet200Response -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInner -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response -from infisicalapi_client.models.api_v1_secret_approvals_post200_response_approval import ApiV1SecretApprovalsPost200ResponseApproval -from infisicalapi_client.models.api_v1_secret_approvals_post_request import ApiV1SecretApprovalsPostRequest -from infisicalapi_client.models.api_v1_secret_approvals_sap_id_patch_request import ApiV1SecretApprovalsSapIdPatchRequest -from infisicalapi_client.models.api_v1_secret_imports_get200_response import ApiV1SecretImportsGet200Response -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner import ApiV1SecretImportsGet200ResponseSecretImportsInner -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner_import_env import ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv -from infisicalapi_client.models.api_v1_secret_imports_post200_response import ApiV1SecretImportsPost200Response -from infisicalapi_client.models.api_v1_secret_imports_post_request import ApiV1SecretImportsPostRequest -from infisicalapi_client.models.api_v1_secret_imports_post_request_import import ApiV1SecretImportsPostRequestImport -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_delete_request import ApiV1SecretImportsSecretImportIdDeleteRequest -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request import ApiV1SecretImportsSecretImportIdPatchRequest -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request_import import ApiV1SecretImportsSecretImportIdPatchRequestImport -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_replication_resync_post_request import ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response import ApiV1SecretImportsSecretsGet200Response -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInner -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response import ApiV1SecretImportsSecretsRawGet200Response -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response_secrets_inner import ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response import ApiV1SecretRotationProvidersWorkspaceIdGet200Response -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner import ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner -from infisicalapi_client.models.api_v1_secret_rotations_get200_response import ApiV1SecretRotationsGet200Response -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner import ApiV1SecretRotationsGet200ResponseSecretRotationsInner -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner import ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret import ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret -from infisicalapi_client.models.api_v1_secret_rotations_post200_response import ApiV1SecretRotationsPost200Response -from infisicalapi_client.models.api_v1_secret_rotations_post200_response_secret_rotation import ApiV1SecretRotationsPost200ResponseSecretRotation -from infisicalapi_client.models.api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner import ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner -from infisicalapi_client.models.api_v1_secret_rotations_post_request import ApiV1SecretRotationsPostRequest -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response import ApiV1SecretRotationsRestartPost200Response -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response_secret_rotation import ApiV1SecretRotationsRestartPost200ResponseSecretRotation -from infisicalapi_client.models.api_v1_secret_rotations_restart_post_request import ApiV1SecretRotationsRestartPostRequest -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post200_response import ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post_request import ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest -from infisicalapi_client.models.api_v1_secret_scanning_installation_status_organization_organization_id_get200_response import ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post200_response import ApiV1SecretScanningLinkInstallationPost200Response -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post_request import ApiV1SecretScanningLinkInstallationPostRequest -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request import ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response import ApiV1SecretSecretIdSecretVersionsGet200Response -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner import ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner -from infisicalapi_client.models.api_v1_secret_sharing_get200_response import ApiV1SecretSharingGet200Response -from infisicalapi_client.models.api_v1_secret_sharing_get200_response_secrets_inner import ApiV1SecretSharingGet200ResponseSecretsInner -from infisicalapi_client.models.api_v1_secret_sharing_post200_response import ApiV1SecretSharingPost200Response -from infisicalapi_client.models.api_v1_secret_sharing_post_request import ApiV1SecretSharingPostRequest -from infisicalapi_client.models.api_v1_secret_sharing_public_id_get200_response import ApiV1SecretSharingPublicIdGet200Response -from infisicalapi_client.models.api_v1_secret_sharing_public_post_request import ApiV1SecretSharingPublicPostRequest -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response import ApiV1SecretSnapshotSecretSnapshotIdGet200Response -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response import ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response -from infisicalapi_client.models.api_v1_sso_config_get200_response import ApiV1SsoConfigGet200Response -from infisicalapi_client.models.api_v1_sso_config_patch_request import ApiV1SsoConfigPatchRequest -from infisicalapi_client.models.api_v1_sso_config_post200_response import ApiV1SsoConfigPost200Response -from infisicalapi_client.models.api_v1_sso_config_post_request import ApiV1SsoConfigPostRequest -from infisicalapi_client.models.api_v1_sso_oidc_config_get200_response import ApiV1SsoOidcConfigGet200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_patch200_response import ApiV1SsoOidcConfigPatch200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_patch_request import ApiV1SsoOidcConfigPatchRequest -from infisicalapi_client.models.api_v1_sso_oidc_config_post200_response import ApiV1SsoOidcConfigPost200Response -from infisicalapi_client.models.api_v1_sso_oidc_config_post_request import ApiV1SsoOidcConfigPostRequest -from infisicalapi_client.models.api_v1_sso_token_exchange_post_request import ApiV1SsoTokenExchangePostRequest -from infisicalapi_client.models.api_v1_user_action_get200_response import ApiV1UserActionGet200Response -from infisicalapi_client.models.api_v1_user_action_get200_response_user_action import ApiV1UserActionGet200ResponseUserAction -from infisicalapi_client.models.api_v1_user_action_post200_response import ApiV1UserActionPost200Response -from infisicalapi_client.models.api_v1_user_action_post200_response_user_action import ApiV1UserActionPost200ResponseUserAction -from infisicalapi_client.models.api_v1_user_action_post_request import ApiV1UserActionPostRequest -from infisicalapi_client.models.api_v1_user_engagement_me_wish_post_request import ApiV1UserEngagementMeWishPostRequest -from infisicalapi_client.models.api_v1_user_get200_response import ApiV1UserGet200Response -from infisicalapi_client.models.api_v1_user_get200_response_user import ApiV1UserGet200ResponseUser -from infisicalapi_client.models.api_v1_user_me_project_favorites_get200_response import ApiV1UserMeProjectFavoritesGet200Response -from infisicalapi_client.models.api_v1_user_me_project_favorites_put_request import ApiV1UserMeProjectFavoritesPutRequest -from infisicalapi_client.models.api_v1_user_private_key_get200_response import ApiV1UserPrivateKeyGet200Response -from infisicalapi_client.models.api_v1_webhooks_get200_response import ApiV1WebhooksGet200Response -from infisicalapi_client.models.api_v1_webhooks_get200_response_webhooks_inner import ApiV1WebhooksGet200ResponseWebhooksInner -from infisicalapi_client.models.api_v1_webhooks_post200_response import ApiV1WebhooksPost200Response -from infisicalapi_client.models.api_v1_webhooks_post200_response_webhook import ApiV1WebhooksPost200ResponseWebhook -from infisicalapi_client.models.api_v1_webhooks_post_request import ApiV1WebhooksPostRequest -from infisicalapi_client.models.api_v1_webhooks_webhook_id_patch_request import ApiV1WebhooksWebhookIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_get200_response import ApiV1WorkspaceGet200Response -from infisicalapi_client.models.api_v1_workspace_get200_response_workspaces_inner import ApiV1WorkspaceGet200ResponseWorkspacesInner -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response import ApiV1WorkspaceProjectIdPermissionsGet200Response -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data import ApiV1WorkspaceProjectIdPermissionsGet200ResponseData -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data_membership import ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner import ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response import ApiV1WorkspaceProjectIdTagsGet200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner import ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post200_response import ApiV1WorkspaceProjectIdTagsPost200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post_request import ApiV1WorkspaceProjectIdTagsPostRequest -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response import ApiV1WorkspaceProjectIdTagsTagIdGet200Response -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag import ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_patch_request import ApiV1WorkspaceProjectIdTagsTagIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response import ApiV1WorkspaceProjectSlugRolesGet200Response -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response_roles_inner import ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response import ApiV1WorkspaceProjectSlugRolesPost200Response -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role import ApiV1WorkspaceProjectSlugRolesPost200ResponseRole -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request import ApiV1WorkspaceProjectSlugRolesPostRequest -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_role_id_patch_request import ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner import ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event import ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_auto_capitalization_post_request import ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_delete200_response import ApiV1WorkspaceWorkspaceIdDelete200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response_environment import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_id_patch_request import ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post_request import ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_get200_response import ApiV1WorkspaceWorkspaceIdGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response import ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner import ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request import ApiV1WorkspaceWorkspaceIdKeyPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request_key import ApiV1WorkspaceWorkspaceIdKeyPostRequestKey -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response import ApiV1WorkspaceWorkspaceIdKeysGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner import ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_get200_response import ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_post_request import ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response import ApiV1WorkspaceWorkspaceIdKmsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key import ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request import ApiV1WorkspaceWorkspaceIdKmsPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms_any_of import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1 import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post_request import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response import ApiV1WorkspaceWorkspaceIdMembershipsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1 import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request import ApiV1WorkspaceWorkspaceIdMembershipsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request_members_inner import ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post200_response import ApiV1WorkspaceWorkspaceIdNamePost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post_request import ApiV1WorkspaceWorkspaceIdNamePostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch200_response import ApiV1WorkspaceWorkspaceIdPatch200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch_request import ApiV1WorkspaceWorkspaceIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_count_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post_request import ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request import ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response import ApiV1WorkspaceWorkspaceIdUsersGet200Response -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_project import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_user import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser -from infisicalapi_client.models.api_v1_workspace_workspace_slug_audit_logs_retention_put_request import ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest -from infisicalapi_client.models.api_v1_workspace_workspace_slug_version_limit_put_request import ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest -from infisicalapi_client.models.api_v2_auth_mfa_verify_post200_response import ApiV2AuthMfaVerifyPost200Response -from infisicalapi_client.models.api_v2_auth_mfa_verify_post_request import ApiV2AuthMfaVerifyPostRequest -from infisicalapi_client.models.api_v2_organizations_org_id_identity_memberships_get200_response import ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response_users_inner import ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response_users_inner_user import ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_delete200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_patch_request import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response import ApiV2OrganizationsOrganizationIdWorkspacesGet200Response -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner import ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner import ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner -from infisicalapi_client.models.api_v2_service_token_get200_response import ApiV2ServiceTokenGet200Response -from infisicalapi_client.models.api_v2_service_token_get200_response_user import ApiV2ServiceTokenGet200ResponseUser -from infisicalapi_client.models.api_v2_service_token_post200_response import ApiV2ServiceTokenPost200Response -from infisicalapi_client.models.api_v2_service_token_post_request import ApiV2ServiceTokenPostRequest -from infisicalapi_client.models.api_v2_service_token_post_request_scopes_inner import ApiV2ServiceTokenPostRequestScopesInner -from infisicalapi_client.models.api_v2_service_token_service_token_id_delete200_response import ApiV2ServiceTokenServiceTokenIdDelete200Response -from infisicalapi_client.models.api_v2_users_me_api_keys_api_key_data_id_delete200_response import ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response -from infisicalapi_client.models.api_v2_users_me_api_keys_get200_response_inner import ApiV2UsersMeApiKeysGet200ResponseInner -from infisicalapi_client.models.api_v2_users_me_api_keys_post200_response import ApiV2UsersMeApiKeysPost200Response -from infisicalapi_client.models.api_v2_users_me_api_keys_post_request import ApiV2UsersMeApiKeysPostRequest -from infisicalapi_client.models.api_v2_users_me_auth_methods_put_request import ApiV2UsersMeAuthMethodsPutRequest -from infisicalapi_client.models.api_v2_users_me_emails_code_post_request import ApiV2UsersMeEmailsCodePostRequest -from infisicalapi_client.models.api_v2_users_me_emails_verify_post_request import ApiV2UsersMeEmailsVerifyPostRequest -from infisicalapi_client.models.api_v2_users_me_mfa_patch200_response import ApiV2UsersMeMfaPatch200Response -from infisicalapi_client.models.api_v2_users_me_mfa_patch_request import ApiV2UsersMeMfaPatchRequest -from infisicalapi_client.models.api_v2_users_me_name_patch_request import ApiV2UsersMeNamePatchRequest -from infisicalapi_client.models.api_v2_users_me_sessions_get200_response_inner import ApiV2UsersMeSessionsGet200ResponseInner -from infisicalapi_client.models.api_v2_workspace_post200_response import ApiV2WorkspacePost200Response -from infisicalapi_client.models.api_v2_workspace_post_request import ApiV2WorkspacePostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_get200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_delete_request import ApiV2WorkspaceProjectIdMembershipsDeleteRequest -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post200_response import ApiV2WorkspaceProjectIdMembershipsPost200Response -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post_request import ApiV2WorkspaceProjectIdMembershipsPostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_post_request import ApiV2WorkspaceProjectIdUpgradePostRequest -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_status_get200_response import ApiV2WorkspaceProjectIdUpgradeStatusGet200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response import ApiV2WorkspaceProjectSlugGroupsGet200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner import ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group import ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_patch_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest -from infisicalapi_client.models.api_v2_workspace_slug_cas_get200_response import ApiV2WorkspaceSlugCasGet200Response -from infisicalapi_client.models.api_v2_workspace_slug_certificates_get200_response import ApiV2WorkspaceSlugCertificatesGet200Response -from infisicalapi_client.models.api_v2_workspace_slug_patch_request import ApiV2WorkspaceSlugPatchRequest -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response_sender import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender -from infisicalapi_client.models.api_v3_auth_login1_post_request import ApiV3AuthLogin1PostRequest -from infisicalapi_client.models.api_v3_auth_login2_post200_response import ApiV3AuthLogin2Post200Response -from infisicalapi_client.models.api_v3_auth_login2_post200_response_any_of import ApiV3AuthLogin2Post200ResponseAnyOf -from infisicalapi_client.models.api_v3_auth_login2_post200_response_any_of1 import ApiV3AuthLogin2Post200ResponseAnyOf1 -from infisicalapi_client.models.api_v3_auth_login2_post_request import ApiV3AuthLogin2PostRequest -from infisicalapi_client.models.api_v3_secrets_backfill_secret_references_post_request import ApiV3SecretsBackfillSecretReferencesPostRequest -from infisicalapi_client.models.api_v3_secrets_batch_delete_request import ApiV3SecretsBatchDeleteRequest -from infisicalapi_client.models.api_v3_secrets_batch_delete_request_secrets_inner import ApiV3SecretsBatchDeleteRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_batch_patch_request import ApiV3SecretsBatchPatchRequest -from infisicalapi_client.models.api_v3_secrets_batch_patch_request_secrets_inner import ApiV3SecretsBatchPatchRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_batch_post200_response import ApiV3SecretsBatchPost200Response -from infisicalapi_client.models.api_v3_secrets_batch_post200_response_any_of import ApiV3SecretsBatchPost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_batch_post_request import ApiV3SecretsBatchPostRequest -from infisicalapi_client.models.api_v3_secrets_batch_post_request_secrets_inner import ApiV3SecretsBatchPostRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request import ApiV3SecretsBatchRawDeleteRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request_secrets_inner import ApiV3SecretsBatchRawDeleteRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request import ApiV3SecretsBatchRawPatchRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request_secrets_inner import ApiV3SecretsBatchRawPatchRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response import ApiV3SecretsBatchRawPost200Response -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response_any_of import ApiV3SecretsBatchRawPost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request import ApiV3SecretsBatchRawPostRequest -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request_secrets_inner import ApiV3SecretsBatchRawPostRequestSecretsInner -from infisicalapi_client.models.api_v3_secrets_get200_response import ApiV3SecretsGet200Response -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner import ApiV3SecretsGet200ResponseImportsInner -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner_secrets_inner import ApiV3SecretsGet200ResponseImportsInnerSecretsInner -from infisicalapi_client.models.api_v3_secrets_get200_response_secrets_inner import ApiV3SecretsGet200ResponseSecretsInner -from infisicalapi_client.models.api_v3_secrets_move_post200_response import ApiV3SecretsMovePost200Response -from infisicalapi_client.models.api_v3_secrets_move_post_request import ApiV3SecretsMovePostRequest -from infisicalapi_client.models.api_v3_secrets_raw_get200_response import ApiV3SecretsRawGet200Response -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_imports_inner import ApiV3SecretsRawGet200ResponseImportsInner -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_imports_inner_secrets_inner import ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_secrets_inner import ApiV3SecretsRawGet200ResponseSecretsInner -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_delete_request import ApiV3SecretsRawSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response import ApiV3SecretsRawSecretNameGet200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response_secret import ApiV3SecretsRawSecretNameGet200ResponseSecret -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_patch_request import ApiV3SecretsRawSecretNamePatchRequest -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response import ApiV3SecretsRawSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of import ApiV3SecretsRawSecretNamePost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of1 import ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post_request import ApiV3SecretsRawSecretNamePostRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_delete_request import ApiV3SecretsSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response import ApiV3SecretsSecretNameGet200Response -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response_secret import ApiV3SecretsSecretNameGet200ResponseSecret -from infisicalapi_client.models.api_v3_secrets_secret_name_patch_request import ApiV3SecretsSecretNamePatchRequest -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response import ApiV3SecretsSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response_any_of import ApiV3SecretsSecretNamePost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_secret_name_post_request import ApiV3SecretsSecretNamePostRequest -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_delete_request import ApiV3SecretsTagsSecretNameDeleteRequest -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response import ApiV3SecretsTagsSecretNamePost200Response -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret import ApiV3SecretsTagsSecretNamePost200ResponseSecret -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner import ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post_request import ApiV3SecretsTagsSecretNamePostRequest -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post200_response import ApiV3SignupCompleteAccountSignupPost200Response -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post_request import ApiV3SignupCompleteAccountSignupPostRequest -from infisicalapi_client.models.api_v3_signup_email_verify_post200_response import ApiV3SignupEmailVerifyPost200Response -from infisicalapi_client.models.api_v3_users_me_api_keys_get200_response import ApiV3UsersMeApiKeysGet200Response -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response import ApiV3WorkspacesProjectIdSecretsGet200Response -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response_secrets_inner import ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request import ApiV3WorkspacesProjectIdSecretsNamesPostRequest -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner import ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner diff --git a/infisicalapi_client/models/api_status_get200_response.py b/infisicalapi_client/models/api_status_get200_response.py deleted file mode 100644 index 733d489..0000000 --- a/infisicalapi_client/models/api_status_get200_response.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, validator - -class ApiStatusGet200Response(BaseModel): - """ - ApiStatusGet200Response - """ - var_date: datetime = Field(default=..., alias="date") - message: StrictStr = Field(...) - email_configured: Optional[StrictBool] = Field(default=None, alias="emailConfigured") - invite_only_signup: Optional[StrictBool] = Field(default=None, alias="inviteOnlySignup") - redis_configured: Optional[StrictBool] = Field(default=None, alias="redisConfigured") - secret_scanning_configured: Optional[StrictBool] = Field(default=None, alias="secretScanningConfigured") - saml_default_org_slug: Optional[StrictStr] = Field(default=None, alias="samlDefaultOrgSlug") - __properties = ["date", "message", "emailConfigured", "inviteOnlySignup", "redisConfigured", "secretScanningConfigured", "samlDefaultOrgSlug"] - - @validator('message') - def message_validate_enum(cls, value): - """Validates the enum""" - if value not in ('Ok'): - raise ValueError("must be one of enum values ('Ok')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiStatusGet200Response: - """Create an instance of ApiStatusGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiStatusGet200Response: - """Create an instance of ApiStatusGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiStatusGet200Response.parse_obj(obj) - - _obj = ApiStatusGet200Response.parse_obj({ - "var_date": obj.get("date"), - "message": obj.get("message"), - "email_configured": obj.get("emailConfigured"), - "invite_only_signup": obj.get("inviteOnlySignup"), - "redis_configured": obj.get("redisConfigured"), - "secret_scanning_configured": obj.get("secretScanningConfigured"), - "saml_default_org_slug": obj.get("samlDefaultOrgSlug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_policies_get200_response.py b/infisicalapi_client/models/api_v1_access_approvals_policies_get200_response.py deleted file mode 100644 index b4caed9..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_policies_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response_approvals_inner import ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner - -class ApiV1AccessApprovalsPoliciesGet200Response(BaseModel): - """ - ApiV1AccessApprovalsPoliciesGet200Response - """ - approvals: conlist(ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner) = Field(...) - __properties = ["approvals"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsPoliciesGet200Response: - """Create an instance of ApiV1AccessApprovalsPoliciesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in approvals (list) - _items = [] - if self.approvals: - for _item in self.approvals: - if _item: - _items.append(_item.to_dict()) - _dict['approvals'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsPoliciesGet200Response: - """Create an instance of ApiV1AccessApprovalsPoliciesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsPoliciesGet200Response.parse_obj(obj) - - _obj = ApiV1AccessApprovalsPoliciesGet200Response.parse_obj({ - "approvals": [ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.from_dict(_item) for _item in obj.get("approvals")] if obj.get("approvals") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_policies_get200_response_approvals_inner.py b/infisicalapi_client/models/api_v1_access_approvals_policies_get200_response_approvals_inner.py deleted file mode 100644 index 41bc6db..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_policies_get200_response_approvals_inner.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - -class ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner(BaseModel): - """ - ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - secret_path: Optional[StrictStr] = Field(default=None, alias="secretPath") - approvals: Optional[Union[StrictFloat, StrictInt]] = 1 - env_id: StrictStr = Field(default=..., alias="envId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - enforcement_level: Optional[StrictStr] = Field(default='hard', alias="enforcementLevel") - environment: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(...) - project_id: StrictStr = Field(default=..., alias="projectId") - approvers: conlist(StrictStr) = Field(...) - __properties = ["id", "name", "secretPath", "approvals", "envId", "createdAt", "updatedAt", "enforcementLevel", "environment", "projectId", "approvers"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner: - """Create an instance of ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner: - """Create an instance of ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.parse_obj(obj) - - _obj = ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "secret_path": obj.get("secretPath"), - "approvals": obj.get("approvals") if obj.get("approvals") is not None else 1, - "env_id": obj.get("envId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "enforcement_level": obj.get("enforcementLevel") if obj.get("enforcementLevel") is not None else 'hard', - "environment": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None, - "project_id": obj.get("projectId"), - "approvers": obj.get("approvers") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_policies_policy_id_patch_request.py b/infisicalapi_client/models/api_v1_access_approvals_policies_policy_id_patch_request.py deleted file mode 100644 index 2c2d8d1..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_policies_policy_id_patch_request.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint, conlist, validator - -class ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest(BaseModel): - """ - ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest - """ - name: Optional[StrictStr] = None - secret_path: Optional[StrictStr] = Field(default=None, alias="secretPath") - approvers: conlist(StrictStr, min_items=1) = Field(...) - approvals: Optional[Union[confloat(ge=1, strict=True), conint(ge=1, strict=True)]] = 1 - enforcement_level: Optional[StrictStr] = Field(default='hard', alias="enforcementLevel") - __properties = ["name", "secretPath", "approvers", "approvals", "enforcementLevel"] - - @validator('enforcement_level') - def enforcement_level_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('hard', 'soft'): - raise ValueError("must be one of enum values ('hard', 'soft')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest: - """Create an instance of ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest: - """Create an instance of ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest.parse_obj({ - "name": obj.get("name"), - "secret_path": obj.get("secretPath"), - "approvers": obj.get("approvers"), - "approvals": obj.get("approvals") if obj.get("approvals") is not None else 1, - "enforcement_level": obj.get("enforcementLevel") if obj.get("enforcementLevel") is not None else 'hard' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_policies_post_request.py b/infisicalapi_client/models/api_v1_access_approvals_policies_post_request.py deleted file mode 100644 index 19d8e6d..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_policies_post_request.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint, conlist, validator - -class ApiV1AccessApprovalsPoliciesPostRequest(BaseModel): - """ - ApiV1AccessApprovalsPoliciesPostRequest - """ - project_slug: StrictStr = Field(default=..., alias="projectSlug") - name: Optional[StrictStr] = None - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - environment: StrictStr = Field(...) - approvers: conlist(StrictStr, min_items=1) = Field(...) - approvals: Optional[Union[confloat(ge=1, strict=True), conint(ge=1, strict=True)]] = 1 - enforcement_level: Optional[StrictStr] = Field(default='hard', alias="enforcementLevel") - __properties = ["projectSlug", "name", "secretPath", "environment", "approvers", "approvals", "enforcementLevel"] - - @validator('enforcement_level') - def enforcement_level_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('hard', 'soft'): - raise ValueError("must be one of enum values ('hard', 'soft')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsPoliciesPostRequest: - """Create an instance of ApiV1AccessApprovalsPoliciesPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsPoliciesPostRequest: - """Create an instance of ApiV1AccessApprovalsPoliciesPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsPoliciesPostRequest.parse_obj(obj) - - _obj = ApiV1AccessApprovalsPoliciesPostRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "name": obj.get("name"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "environment": obj.get("environment"), - "approvers": obj.get("approvers"), - "approvals": obj.get("approvals") if obj.get("approvals") is not None else 1, - "enforcement_level": obj.get("enforcementLevel") if obj.get("enforcementLevel") is not None else 'hard' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_count_get200_response.py b/infisicalapi_client/models/api_v1_access_approvals_requests_count_get200_response.py deleted file mode 100644 index e329af0..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_count_get200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt - -class ApiV1AccessApprovalsRequestsCountGet200Response(BaseModel): - """ - ApiV1AccessApprovalsRequestsCountGet200Response - """ - pending_count: Union[StrictFloat, StrictInt] = Field(default=..., alias="pendingCount") - finalized_count: Union[StrictFloat, StrictInt] = Field(default=..., alias="finalizedCount") - __properties = ["pendingCount", "finalizedCount"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsCountGet200Response: - """Create an instance of ApiV1AccessApprovalsRequestsCountGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsCountGet200Response: - """Create an instance of ApiV1AccessApprovalsRequestsCountGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsCountGet200Response.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsCountGet200Response.parse_obj({ - "pending_count": obj.get("pendingCount"), - "finalized_count": obj.get("finalizedCount") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response.py b/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response.py deleted file mode 100644 index 6990ec7..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner - -class ApiV1AccessApprovalsRequestsGet200Response(BaseModel): - """ - ApiV1AccessApprovalsRequestsGet200Response - """ - requests: conlist(ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner) = Field(...) - __properties = ["requests"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsGet200Response: - """Create an instance of ApiV1AccessApprovalsRequestsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in requests (list) - _items = [] - if self.requests: - for _item in self.requests: - if _item: - _items.append(_item.to_dict()) - _dict['requests'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsGet200Response: - """Create an instance of ApiV1AccessApprovalsRequestsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsGet200Response.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsGet200Response.parse_obj({ - "requests": [ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.from_dict(_item) for _item in obj.get("requests")] if obj.get("requests") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner.py b/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner.py deleted file mode 100644 index 1d9f817..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner.py +++ /dev/null @@ -1,133 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_policy import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_privilege import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner - -class ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner(BaseModel): - """ - ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner - """ - id: StrictStr = Field(...) - policy_id: StrictStr = Field(default=..., alias="policyId") - privilege_id: Optional[StrictStr] = Field(default=None, alias="privilegeId") - requested_by: StrictStr = Field(default=..., alias="requestedBy") - is_temporary: StrictBool = Field(default=..., alias="isTemporary") - temporary_range: Optional[StrictStr] = Field(default=None, alias="temporaryRange") - permissions: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - environment_name: StrictStr = Field(default=..., alias="environmentName") - is_approved: StrictBool = Field(default=..., alias="isApproved") - privilege: Optional[ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege] = Field(...) - policy: ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy = Field(...) - reviewers: conlist(ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner) = Field(...) - __properties = ["id", "policyId", "privilegeId", "requestedBy", "isTemporary", "temporaryRange", "permissions", "createdAt", "updatedAt", "environmentName", "isApproved", "privilege", "policy", "reviewers"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner: - """Create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of privilege - if self.privilege: - _dict['privilege'] = self.privilege.to_dict() - # override the default output from pydantic by calling `to_dict()` of policy - if self.policy: - _dict['policy'] = self.policy.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in reviewers (list) - _items = [] - if self.reviewers: - for _item in self.reviewers: - if _item: - _items.append(_item.to_dict()) - _dict['reviewers'] = _items - # set to None if privilege_id (nullable) is None - # and __fields_set__ contains the field - if self.privilege_id is None and "privilege_id" in self.__fields_set__: - _dict['privilegeId'] = None - - # set to None if temporary_range (nullable) is None - # and __fields_set__ contains the field - if self.temporary_range is None and "temporary_range" in self.__fields_set__: - _dict['temporaryRange'] = None - - # set to None if permissions (nullable) is None - # and __fields_set__ contains the field - if self.permissions is None and "permissions" in self.__fields_set__: - _dict['permissions'] = None - - # set to None if privilege (nullable) is None - # and __fields_set__ contains the field - if self.privilege is None and "privilege" in self.__fields_set__: - _dict['privilege'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner: - """Create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner.parse_obj({ - "id": obj.get("id"), - "policy_id": obj.get("policyId"), - "privilege_id": obj.get("privilegeId"), - "requested_by": obj.get("requestedBy"), - "is_temporary": obj.get("isTemporary"), - "temporary_range": obj.get("temporaryRange"), - "permissions": obj.get("permissions"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "environment_name": obj.get("environmentName"), - "is_approved": obj.get("isApproved"), - "privilege": ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.from_dict(obj.get("privilege")) if obj.get("privilege") is not None else None, - "policy": ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.from_dict(obj.get("policy")) if obj.get("policy") is not None else None, - "reviewers": [ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.from_dict(_item) for _item in obj.get("reviewers")] if obj.get("reviewers") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_policy.py b/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_policy.py deleted file mode 100644 index 2395fd9..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_policy.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist - -class ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy(BaseModel): - """ - ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - approvals: Union[StrictFloat, StrictInt] = Field(...) - approvers: conlist(StrictStr) = Field(...) - secret_path: Optional[StrictStr] = Field(default=None, alias="secretPath") - env_id: StrictStr = Field(default=..., alias="envId") - enforcement_level: StrictStr = Field(default=..., alias="enforcementLevel") - __properties = ["id", "name", "approvals", "approvers", "secretPath", "envId", "enforcementLevel"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy: - """Create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_path (nullable) is None - # and __fields_set__ contains the field - if self.secret_path is None and "secret_path" in self.__fields_set__: - _dict['secretPath'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy: - """Create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "approvals": obj.get("approvals"), - "approvers": obj.get("approvers"), - "secret_path": obj.get("secretPath"), - "env_id": obj.get("envId"), - "enforcement_level": obj.get("enforcementLevel") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_privilege.py b/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_privilege.py deleted file mode 100644 index 94fbb5d..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_privilege.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege(BaseModel): - """ - ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege - """ - membership_id: StrictStr = Field(default=..., alias="membershipId") - is_temporary: StrictBool = Field(default=..., alias="isTemporary") - temporary_mode: Optional[StrictStr] = Field(default=None, alias="temporaryMode") - temporary_range: Optional[StrictStr] = Field(default=None, alias="temporaryRange") - temporary_access_start_time: Optional[datetime] = Field(default=None, alias="temporaryAccessStartTime") - temporary_access_end_time: Optional[datetime] = Field(default=None, alias="temporaryAccessEndTime") - permissions: Optional[Any] = None - __properties = ["membershipId", "isTemporary", "temporaryMode", "temporaryRange", "temporaryAccessStartTime", "temporaryAccessEndTime", "permissions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege: - """Create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if temporary_mode (nullable) is None - # and __fields_set__ contains the field - if self.temporary_mode is None and "temporary_mode" in self.__fields_set__: - _dict['temporaryMode'] = None - - # set to None if temporary_range (nullable) is None - # and __fields_set__ contains the field - if self.temporary_range is None and "temporary_range" in self.__fields_set__: - _dict['temporaryRange'] = None - - # set to None if temporary_access_start_time (nullable) is None - # and __fields_set__ contains the field - if self.temporary_access_start_time is None and "temporary_access_start_time" in self.__fields_set__: - _dict['temporaryAccessStartTime'] = None - - # set to None if temporary_access_end_time (nullable) is None - # and __fields_set__ contains the field - if self.temporary_access_end_time is None and "temporary_access_end_time" in self.__fields_set__: - _dict['temporaryAccessEndTime'] = None - - # set to None if permissions (nullable) is None - # and __fields_set__ contains the field - if self.permissions is None and "permissions" in self.__fields_set__: - _dict['permissions'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege: - """Create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege.parse_obj({ - "membership_id": obj.get("membershipId"), - "is_temporary": obj.get("isTemporary"), - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime"), - "temporary_access_end_time": obj.get("temporaryAccessEndTime"), - "permissions": obj.get("permissions") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner.py b/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner.py deleted file mode 100644 index 2322cc0..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner(BaseModel): - """ - ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner - """ - member: StrictStr = Field(...) - status: StrictStr = Field(...) - __properties = ["member", "status"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner: - """Create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner: - """Create an instance of ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner.parse_obj({ - "member": obj.get("member"), - "status": obj.get("status") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_post200_response.py b/infisicalapi_client/models/api_v1_access_approvals_requests_post200_response.py deleted file mode 100644 index 2f0e281..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response_approval import ApiV1AccessApprovalsRequestsPost200ResponseApproval - -class ApiV1AccessApprovalsRequestsPost200Response(BaseModel): - """ - ApiV1AccessApprovalsRequestsPost200Response - """ - approval: ApiV1AccessApprovalsRequestsPost200ResponseApproval = Field(...) - __properties = ["approval"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsPost200Response: - """Create an instance of ApiV1AccessApprovalsRequestsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of approval - if self.approval: - _dict['approval'] = self.approval.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsPost200Response: - """Create an instance of ApiV1AccessApprovalsRequestsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsPost200Response.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsPost200Response.parse_obj({ - "approval": ApiV1AccessApprovalsRequestsPost200ResponseApproval.from_dict(obj.get("approval")) if obj.get("approval") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_post200_response_approval.py b/infisicalapi_client/models/api_v1_access_approvals_requests_post200_response_approval.py deleted file mode 100644 index 988189e..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_post200_response_approval.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1AccessApprovalsRequestsPost200ResponseApproval(BaseModel): - """ - ApiV1AccessApprovalsRequestsPost200ResponseApproval - """ - id: StrictStr = Field(...) - policy_id: StrictStr = Field(default=..., alias="policyId") - privilege_id: Optional[StrictStr] = Field(default=None, alias="privilegeId") - requested_by: StrictStr = Field(default=..., alias="requestedBy") - is_temporary: StrictBool = Field(default=..., alias="isTemporary") - temporary_range: Optional[StrictStr] = Field(default=None, alias="temporaryRange") - permissions: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "policyId", "privilegeId", "requestedBy", "isTemporary", "temporaryRange", "permissions", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsPost200ResponseApproval: - """Create an instance of ApiV1AccessApprovalsRequestsPost200ResponseApproval from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if privilege_id (nullable) is None - # and __fields_set__ contains the field - if self.privilege_id is None and "privilege_id" in self.__fields_set__: - _dict['privilegeId'] = None - - # set to None if temporary_range (nullable) is None - # and __fields_set__ contains the field - if self.temporary_range is None and "temporary_range" in self.__fields_set__: - _dict['temporaryRange'] = None - - # set to None if permissions (nullable) is None - # and __fields_set__ contains the field - if self.permissions is None and "permissions" in self.__fields_set__: - _dict['permissions'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsPost200ResponseApproval: - """Create an instance of ApiV1AccessApprovalsRequestsPost200ResponseApproval from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsPost200ResponseApproval.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsPost200ResponseApproval.parse_obj({ - "id": obj.get("id"), - "policy_id": obj.get("policyId"), - "privilege_id": obj.get("privilegeId"), - "requested_by": obj.get("requestedBy"), - "is_temporary": obj.get("isTemporary"), - "temporary_range": obj.get("temporaryRange"), - "permissions": obj.get("permissions"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_post_request.py b/infisicalapi_client/models/api_v1_access_approvals_requests_post_request.py deleted file mode 100644 index 63a4d38..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist - -class ApiV1AccessApprovalsRequestsPostRequest(BaseModel): - """ - ApiV1AccessApprovalsRequestsPostRequest - """ - permissions: conlist(StrictStr) = Field(...) - is_temporary: StrictBool = Field(default=..., alias="isTemporary") - temporary_range: Optional[StrictStr] = Field(default=None, alias="temporaryRange") - __properties = ["permissions", "isTemporary", "temporaryRange"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsPostRequest: - """Create an instance of ApiV1AccessApprovalsRequestsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsPostRequest: - """Create an instance of ApiV1AccessApprovalsRequestsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsPostRequest.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsPostRequest.parse_obj({ - "permissions": obj.get("permissions"), - "is_temporary": obj.get("isTemporary"), - "temporary_range": obj.get("temporaryRange") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_request_id_review_post200_response.py b/infisicalapi_client/models/api_v1_access_approvals_requests_request_id_review_post200_response.py deleted file mode 100644 index 41aa4db..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_request_id_review_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response_review import ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview - -class ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response(BaseModel): - """ - ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response - """ - review: ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview = Field(...) - __properties = ["review"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response: - """Create an instance of ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of review - if self.review: - _dict['review'] = self.review.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response: - """Create an instance of ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response.parse_obj({ - "review": ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.from_dict(obj.get("review")) if obj.get("review") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_access_approvals_requests_request_id_review_post200_response_review.py b/infisicalapi_client/models/api_v1_access_approvals_requests_request_id_review_post200_response_review.py deleted file mode 100644 index f8f5dab..0000000 --- a/infisicalapi_client/models/api_v1_access_approvals_requests_request_id_review_post200_response_review.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview(BaseModel): - """ - ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview - """ - id: StrictStr = Field(...) - member: StrictStr = Field(...) - status: StrictStr = Field(...) - request_id: StrictStr = Field(default=..., alias="requestId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "member", "status", "requestId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview: - """Create an instance of ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview: - """Create an instance of ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.parse_obj(obj) - - _obj = ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview.parse_obj({ - "id": obj.get("id"), - "member": obj.get("member"), - "status": obj.get("status"), - "request_id": obj.get("requestId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_identity_delete_request.py b/infisicalapi_client/models/api_v1_additional_privilege_identity_delete_request.py deleted file mode 100644 index 316220e..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_identity_delete_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, constr - -class ApiV1AdditionalPrivilegeIdentityDeleteRequest(BaseModel): - """ - ApiV1AdditionalPrivilegeIdentityDeleteRequest - """ - privilege_slug: constr(strict=True, min_length=1) = Field(default=..., alias="privilegeSlug", description="The slug of the privilege to delete.") - identity_id: constr(strict=True, min_length=1) = Field(default=..., alias="identityId", description="The ID of the identity to delete.") - project_slug: constr(strict=True, min_length=1) = Field(default=..., alias="projectSlug", description="The slug of the project of the identity in.") - __properties = ["privilegeSlug", "identityId", "projectSlug"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeIdentityDeleteRequest: - """Create an instance of ApiV1AdditionalPrivilegeIdentityDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeIdentityDeleteRequest: - """Create an instance of ApiV1AdditionalPrivilegeIdentityDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeIdentityDeleteRequest.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeIdentityDeleteRequest.parse_obj({ - "privilege_slug": obj.get("privilegeSlug"), - "identity_id": obj.get("identityId"), - "project_slug": obj.get("projectSlug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_identity_get200_response.py b/infisicalapi_client/models/api_v1_additional_privilege_identity_get200_response.py deleted file mode 100644 index 6c5be50..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_identity_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege - -class ApiV1AdditionalPrivilegeIdentityGet200Response(BaseModel): - """ - ApiV1AdditionalPrivilegeIdentityGet200Response - """ - privileges: conlist(ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege) = Field(...) - __properties = ["privileges"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeIdentityGet200Response: - """Create an instance of ApiV1AdditionalPrivilegeIdentityGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in privileges (list) - _items = [] - if self.privileges: - for _item in self.privileges: - if _item: - _items.append(_item.to_dict()) - _dict['privileges'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeIdentityGet200Response: - """Create an instance of ApiV1AdditionalPrivilegeIdentityGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeIdentityGet200Response.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeIdentityGet200Response.parse_obj({ - "privileges": [ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.from_dict(_item) for _item in obj.get("privileges")] if obj.get("privileges") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_identity_patch_request.py b/infisicalapi_client/models/api_v1_additional_privilege_identity_patch_request.py deleted file mode 100644 index dd53a10..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_identity_patch_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, constr -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request_privilege_details import ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails - -class ApiV1AdditionalPrivilegeIdentityPatchRequest(BaseModel): - """ - ApiV1AdditionalPrivilegeIdentityPatchRequest - """ - privilege_slug: constr(strict=True, min_length=1) = Field(default=..., alias="privilegeSlug", description="The slug of the privilege to update.") - identity_id: constr(strict=True, min_length=1) = Field(default=..., alias="identityId", description="The ID of the identity to update.") - project_slug: constr(strict=True, min_length=1) = Field(default=..., alias="projectSlug", description="The slug of the project of the identity in.") - privilege_details: ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails = Field(default=..., alias="privilegeDetails") - __properties = ["privilegeSlug", "identityId", "projectSlug", "privilegeDetails"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeIdentityPatchRequest: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of privilege_details - if self.privilege_details: - _dict['privilegeDetails'] = self.privilege_details.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeIdentityPatchRequest: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeIdentityPatchRequest.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeIdentityPatchRequest.parse_obj({ - "privilege_slug": obj.get("privilegeSlug"), - "identity_id": obj.get("identityId"), - "project_slug": obj.get("projectSlug"), - "privilege_details": ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.from_dict(obj.get("privilegeDetails")) if obj.get("privilegeDetails") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_identity_patch_request_privilege_details.py b/infisicalapi_client/models/api_v1_additional_privilege_identity_patch_request_privilege_details.py deleted file mode 100644 index 3040ce5..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_identity_patch_request_privilege_details.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, constr, validator -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner - -class ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails(BaseModel): - """ - ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails - """ - slug: Optional[constr(strict=True, max_length=60, min_length=1)] = Field(default=None, description="The new slug of the privilege to update.") - permissions: Optional[conlist(ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner)] = Field(default=None, description="@deprecated - use privilegePermission The permission object for the privilege. - Read secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"]} ``` - Read and Write secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"], {\"action\": \"write\", \"subject\": \"secrets\"]} ``` - Read secrets scoped to an environment and secret path ``` - { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\", \"conditions\": { \"environment\": \"dev\", \"secretPath\": { \"$glob\": \"/\" } }}] } ``` ") - privilege_permission: Optional[ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission] = Field(default=None, alias="privilegePermission") - is_temporary: Optional[StrictBool] = Field(default=None, alias="isTemporary", description="Whether the privilege is temporary.") - temporary_mode: Optional[StrictStr] = Field(default=None, alias="temporaryMode", description="Type of temporary access given. Types: relative") - temporary_range: Optional[StrictStr] = Field(default=None, alias="temporaryRange", description="TTL for the temporay time. Eg: 1m, 1h, 1d") - temporary_access_start_time: Optional[datetime] = Field(default=None, alias="temporaryAccessStartTime", description="ISO time for which temporary access should begin.") - __properties = ["slug", "permissions", "privilegePermission", "isTemporary", "temporaryMode", "temporaryRange", "temporaryAccessStartTime"] - - @validator('temporary_mode') - def temporary_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('relative'): - raise ValueError("must be one of enum values ('relative')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item in self.permissions: - if _item: - _items.append(_item.to_dict()) - _dict['permissions'] = _items - # override the default output from pydantic by calling `to_dict()` of privilege_permission - if self.privilege_permission: - _dict['privilegePermission'] = self.privilege_permission.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.parse_obj({ - "slug": obj.get("slug"), - "permissions": [ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.from_dict(_item) for _item in obj.get("permissions")] if obj.get("permissions") is not None else None, - "privilege_permission": ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.from_dict(obj.get("privilegePermission")) if obj.get("privilegePermission") is not None else None, - "is_temporary": obj.get("isTemporary"), - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post200_response.py b/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post200_response.py deleted file mode 100644 index 348a75c..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege - -class ApiV1AdditionalPrivilegeIdentityPermanentPost200Response(BaseModel): - """ - ApiV1AdditionalPrivilegeIdentityPermanentPost200Response - """ - privilege: ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege = Field(...) - __properties = ["privilege"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of privilege - if self.privilege: - _dict['privilege'] = self.privilege.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeIdentityPermanentPost200Response.parse_obj({ - "privilege": ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.from_dict(obj.get("privilege")) if obj.get("privilege") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post200_response_privilege.py b/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post200_response_privilege.py deleted file mode 100644 index df6b660..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post200_response_privilege.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner - -class ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege(BaseModel): - """ - ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege - """ - id: StrictStr = Field(...) - slug: StrictStr = Field(...) - project_membership_id: StrictStr = Field(default=..., alias="projectMembershipId") - is_temporary: Optional[StrictBool] = Field(default=False, alias="isTemporary") - temporary_mode: Optional[StrictStr] = Field(default=None, alias="temporaryMode") - temporary_range: Optional[StrictStr] = Field(default=None, alias="temporaryRange") - temporary_access_start_time: Optional[datetime] = Field(default=None, alias="temporaryAccessStartTime") - temporary_access_end_time: Optional[datetime] = Field(default=None, alias="temporaryAccessEndTime") - permissions: conlist(ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner) = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "slug", "projectMembershipId", "isTemporary", "temporaryMode", "temporaryRange", "temporaryAccessStartTime", "temporaryAccessEndTime", "permissions", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item in self.permissions: - if _item: - _items.append(_item.to_dict()) - _dict['permissions'] = _items - # set to None if temporary_mode (nullable) is None - # and __fields_set__ contains the field - if self.temporary_mode is None and "temporary_mode" in self.__fields_set__: - _dict['temporaryMode'] = None - - # set to None if temporary_range (nullable) is None - # and __fields_set__ contains the field - if self.temporary_range is None and "temporary_range" in self.__fields_set__: - _dict['temporaryRange'] = None - - # set to None if temporary_access_start_time (nullable) is None - # and __fields_set__ contains the field - if self.temporary_access_start_time is None and "temporary_access_start_time" in self.__fields_set__: - _dict['temporaryAccessStartTime'] = None - - # set to None if temporary_access_end_time (nullable) is None - # and __fields_set__ contains the field - if self.temporary_access_end_time is None and "temporary_access_end_time" in self.__fields_set__: - _dict['temporaryAccessEndTime'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege.parse_obj({ - "id": obj.get("id"), - "slug": obj.get("slug"), - "project_membership_id": obj.get("projectMembershipId"), - "is_temporary": obj.get("isTemporary") if obj.get("isTemporary") is not None else False, - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime"), - "temporary_access_end_time": obj.get("temporaryAccessEndTime"), - "permissions": [ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.from_dict(_item) for _item in obj.get("permissions")] if obj.get("permissions") is not None else None, - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request.py b/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request.py deleted file mode 100644 index cb03d71..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, conlist, constr -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner - -class ApiV1AdditionalPrivilegeIdentityPermanentPostRequest(BaseModel): - """ - ApiV1AdditionalPrivilegeIdentityPermanentPostRequest - """ - identity_id: constr(strict=True, min_length=1) = Field(default=..., alias="identityId", description="The ID of the identity to create.") - project_slug: constr(strict=True, min_length=1) = Field(default=..., alias="projectSlug", description="The slug of the project of the identity in.") - slug: Optional[constr(strict=True, max_length=60, min_length=1)] = Field(default=None, description="The slug of the privilege to create.") - permissions: Optional[conlist(ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner)] = Field(default=None, description="@deprecated - use privilegePermission The permission object for the privilege. - Read secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"]} ``` - Read and Write secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"], {\"action\": \"write\", \"subject\": \"secrets\"]} ``` - Read secrets scoped to an environment and secret path ``` - { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\", \"conditions\": { \"environment\": \"dev\", \"secretPath\": { \"$glob\": \"/\" } }}] } ``` ") - privilege_permission: Optional[ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission] = Field(default=None, alias="privilegePermission") - __properties = ["identityId", "projectSlug", "slug", "permissions", "privilegePermission"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeIdentityPermanentPostRequest: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item in self.permissions: - if _item: - _items.append(_item.to_dict()) - _dict['permissions'] = _items - # override the default output from pydantic by calling `to_dict()` of privilege_permission - if self.privilege_permission: - _dict['privilegePermission'] = self.privilege_permission.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeIdentityPermanentPostRequest: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.parse_obj({ - "identity_id": obj.get("identityId"), - "project_slug": obj.get("projectSlug"), - "slug": obj.get("slug"), - "permissions": [ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.from_dict(_item) for _item in obj.get("permissions")] if obj.get("permissions") is not None else None, - "privilege_permission": ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.from_dict(obj.get("privilegePermission")) if obj.get("privilegePermission") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request_privilege_permission.py b/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request_privilege_permission.py deleted file mode 100644 index 4534904..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request_privilege_permission.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist, validator -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions - -class ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission(BaseModel): - """ - The permission object for the privilege. # noqa: E501 - """ - actions: conlist(StrictStr, min_items=1) = Field(default=..., description="Describe what action an entity can take. Possible actions: create, edit, delete, and read") - subject: StrictStr = Field(default=..., description="The entity this permission pertains to. Possible options: secrets, environments") - conditions: ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions = Field(...) - __properties = ["actions", "subject", "conditions"] - - @validator('actions') - def actions_validate_enum(cls, value): - """Validates the enum""" - for i in value: - if i not in ('read', 'create', 'edit', 'delete'): - raise ValueError("each list item must be one of ('read', 'create', 'edit', 'delete')") - return value - - @validator('subject') - def subject_validate_enum(cls, value): - """Validates the enum""" - if value not in ('secrets'): - raise ValueError("must be one of enum values ('secrets')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of conditions - if self.conditions: - _dict['conditions'] = self.conditions.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.parse_obj({ - "actions": obj.get("actions"), - "subject": obj.get("subject"), - "conditions": ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.from_dict(obj.get("conditions")) if obj.get("conditions") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions.py b/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions.py deleted file mode 100644 index 9083e94..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath - -class ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions(BaseModel): - """ - When specified, only matching conditions will be allowed to access given resource. # noqa: E501 - """ - environment: StrictStr = Field(default=..., description="The environment slug this permission should allow.") - secret_path: Optional[ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath] = Field(default=None, alias="secretPath") - __properties = ["environment", "secretPath"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_path - if self.secret_path: - _dict['secretPath'] = self.secret_path.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions: - """Create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions.parse_obj({ - "environment": obj.get("environment"), - "secret_path": ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.from_dict(obj.get("secretPath")) if obj.get("secretPath") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_identity_temporary_post_request.py b/infisicalapi_client/models/api_v1_additional_privilege_identity_temporary_post_request.py deleted file mode 100644 index a219250..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_identity_temporary_post_request.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist, constr, validator -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner - -class ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest(BaseModel): - """ - ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest - """ - identity_id: constr(strict=True, min_length=1) = Field(default=..., alias="identityId", description="The ID of the identity to create.") - project_slug: constr(strict=True, min_length=1) = Field(default=..., alias="projectSlug", description="The slug of the project of the identity in.") - slug: Optional[constr(strict=True, max_length=60, min_length=1)] = Field(default=None, description="The slug of the privilege to create.") - permissions: Optional[conlist(ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner)] = Field(default=None, description="@deprecated - use privilegePermission The permission object for the privilege. - Read secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"]} ``` - Read and Write secrets ``` { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\"], {\"action\": \"write\", \"subject\": \"secrets\"]} ``` - Read secrets scoped to an environment and secret path ``` - { \"permissions\": [{\"action\": \"read\", \"subject\": \"secrets\", \"conditions\": { \"environment\": \"dev\", \"secretPath\": { \"$glob\": \"/\" } }}] } ``` ") - privilege_permission: Optional[ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission] = Field(default=None, alias="privilegePermission") - temporary_mode: StrictStr = Field(default=..., alias="temporaryMode", description="Type of temporary access given. Types: relative") - temporary_range: StrictStr = Field(default=..., alias="temporaryRange", description="TTL for the temporay time. Eg: 1m, 1h, 1d") - temporary_access_start_time: datetime = Field(default=..., alias="temporaryAccessStartTime", description="ISO time for which temporary access should begin.") - __properties = ["identityId", "projectSlug", "slug", "permissions", "privilegePermission", "temporaryMode", "temporaryRange", "temporaryAccessStartTime"] - - @validator('temporary_mode') - def temporary_mode_validate_enum(cls, value): - """Validates the enum""" - if value not in ('relative'): - raise ValueError("must be one of enum values ('relative')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest: - """Create an instance of ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item in self.permissions: - if _item: - _items.append(_item.to_dict()) - _dict['permissions'] = _items - # override the default output from pydantic by calling `to_dict()` of privilege_permission - if self.privilege_permission: - _dict['privilegePermission'] = self.privilege_permission.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest: - """Create an instance of ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest.parse_obj({ - "identity_id": obj.get("identityId"), - "project_slug": obj.get("projectSlug"), - "slug": obj.get("slug"), - "permissions": [ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.from_dict(_item) for _item in obj.get("permissions")] if obj.get("permissions") is not None else None, - "privilege_permission": ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission.from_dict(obj.get("privilegePermission")) if obj.get("privilegePermission") is not None else None, - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_users_get200_response.py b/infisicalapi_client/models/api_v1_additional_privilege_users_get200_response.py deleted file mode 100644 index 146ad95..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_users_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege - -class ApiV1AdditionalPrivilegeUsersGet200Response(BaseModel): - """ - ApiV1AdditionalPrivilegeUsersGet200Response - """ - privileges: conlist(ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege) = Field(...) - __properties = ["privileges"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeUsersGet200Response: - """Create an instance of ApiV1AdditionalPrivilegeUsersGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in privileges (list) - _items = [] - if self.privileges: - for _item in self.privileges: - if _item: - _items.append(_item.to_dict()) - _dict['privileges'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeUsersGet200Response: - """Create an instance of ApiV1AdditionalPrivilegeUsersGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeUsersGet200Response.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeUsersGet200Response.parse_obj({ - "privileges": [ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.from_dict(_item) for _item in obj.get("privileges")] if obj.get("privileges") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post200_response.py b/infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post200_response.py deleted file mode 100644 index de52a61..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege - -class ApiV1AdditionalPrivilegeUsersPermanentPost200Response(BaseModel): - """ - ApiV1AdditionalPrivilegeUsersPermanentPost200Response - """ - privilege: ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege = Field(...) - __properties = ["privilege"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response: - """Create an instance of ApiV1AdditionalPrivilegeUsersPermanentPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of privilege - if self.privilege: - _dict['privilege'] = self.privilege.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response: - """Create an instance of ApiV1AdditionalPrivilegeUsersPermanentPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeUsersPermanentPost200Response.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeUsersPermanentPost200Response.parse_obj({ - "privilege": ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.from_dict(obj.get("privilege")) if obj.get("privilege") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post200_response_privilege.py b/infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post200_response_privilege.py deleted file mode 100644 index c2c9d13..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post200_response_privilege.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege(BaseModel): - """ - ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege - """ - id: StrictStr = Field(...) - slug: StrictStr = Field(...) - project_membership_id: StrictStr = Field(default=..., alias="projectMembershipId") - is_temporary: Optional[StrictBool] = Field(default=False, alias="isTemporary") - temporary_mode: Optional[StrictStr] = Field(default=None, alias="temporaryMode") - temporary_range: Optional[StrictStr] = Field(default=None, alias="temporaryRange") - temporary_access_start_time: Optional[datetime] = Field(default=None, alias="temporaryAccessStartTime") - temporary_access_end_time: Optional[datetime] = Field(default=None, alias="temporaryAccessEndTime") - permissions: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "slug", "projectMembershipId", "isTemporary", "temporaryMode", "temporaryRange", "temporaryAccessStartTime", "temporaryAccessEndTime", "permissions", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege: - """Create an instance of ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if temporary_mode (nullable) is None - # and __fields_set__ contains the field - if self.temporary_mode is None and "temporary_mode" in self.__fields_set__: - _dict['temporaryMode'] = None - - # set to None if temporary_range (nullable) is None - # and __fields_set__ contains the field - if self.temporary_range is None and "temporary_range" in self.__fields_set__: - _dict['temporaryRange'] = None - - # set to None if temporary_access_start_time (nullable) is None - # and __fields_set__ contains the field - if self.temporary_access_start_time is None and "temporary_access_start_time" in self.__fields_set__: - _dict['temporaryAccessStartTime'] = None - - # set to None if temporary_access_end_time (nullable) is None - # and __fields_set__ contains the field - if self.temporary_access_end_time is None and "temporary_access_end_time" in self.__fields_set__: - _dict['temporaryAccessEndTime'] = None - - # set to None if permissions (nullable) is None - # and __fields_set__ contains the field - if self.permissions is None and "permissions" in self.__fields_set__: - _dict['permissions'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege: - """Create an instance of ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege.parse_obj({ - "id": obj.get("id"), - "slug": obj.get("slug"), - "project_membership_id": obj.get("projectMembershipId"), - "is_temporary": obj.get("isTemporary") if obj.get("isTemporary") is not None else False, - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime"), - "temporary_access_end_time": obj.get("temporaryAccessEndTime"), - "permissions": obj.get("permissions"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post_request.py b/infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post_request.py deleted file mode 100644 index 186336c..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist, constr - -class ApiV1AdditionalPrivilegeUsersPermanentPostRequest(BaseModel): - """ - ApiV1AdditionalPrivilegeUsersPermanentPostRequest - """ - project_membership_id: constr(strict=True, min_length=1) = Field(default=..., alias="projectMembershipId", description="Project membership id of user") - slug: Optional[constr(strict=True, max_length=60, min_length=1)] = Field(default=None, description="The slug of the privilege to create.") - permissions: conlist(StrictStr) = Field(default=..., description="The permission object for the privilege. Refer https://casl.js.org/v6/en/guide/define-rules#the-shape-of-raw-rule to understand the shape") - __properties = ["projectMembershipId", "slug", "permissions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeUsersPermanentPostRequest: - """Create an instance of ApiV1AdditionalPrivilegeUsersPermanentPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeUsersPermanentPostRequest: - """Create an instance of ApiV1AdditionalPrivilegeUsersPermanentPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeUsersPermanentPostRequest.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeUsersPermanentPostRequest.parse_obj({ - "project_membership_id": obj.get("projectMembershipId"), - "slug": obj.get("slug"), - "permissions": obj.get("permissions") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_users_privilege_id_patch_request.py b/infisicalapi_client/models/api_v1_additional_privilege_users_privilege_id_patch_request.py deleted file mode 100644 index 717c6e6..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_users_privilege_id_patch_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, constr, validator - -class ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest(BaseModel): - """ - ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest - """ - slug: Optional[constr(strict=True, max_length=60)] = Field(default=None, description="The slug of the privilege to create.") - permissions: Optional[conlist(StrictStr)] = Field(default=None, description="The permission object for the privilege. Refer https://casl.js.org/v6/en/guide/define-rules#the-shape-of-raw-rule to understand the shape") - is_temporary: Optional[StrictBool] = Field(default=None, alias="isTemporary", description="Whether the privilege is temporary.") - temporary_mode: Optional[StrictStr] = Field(default=None, alias="temporaryMode", description="Type of temporary access given. Types: relative") - temporary_range: Optional[StrictStr] = Field(default=None, alias="temporaryRange", description="TTL for the temporay time. Eg: 1m, 1h, 1d") - temporary_access_start_time: Optional[datetime] = Field(default=None, alias="temporaryAccessStartTime", description="ISO time for which temporary access should begin.") - __properties = ["slug", "permissions", "isTemporary", "temporaryMode", "temporaryRange", "temporaryAccessStartTime"] - - @validator('temporary_mode') - def temporary_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('relative'): - raise ValueError("must be one of enum values ('relative')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest: - """Create an instance of ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest: - """Create an instance of ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest.parse_obj({ - "slug": obj.get("slug"), - "permissions": obj.get("permissions"), - "is_temporary": obj.get("isTemporary"), - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_additional_privilege_users_temporary_post_request.py b/infisicalapi_client/models/api_v1_additional_privilege_users_temporary_post_request.py deleted file mode 100644 index f36a726..0000000 --- a/infisicalapi_client/models/api_v1_additional_privilege_users_temporary_post_request.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist, constr, validator - -class ApiV1AdditionalPrivilegeUsersTemporaryPostRequest(BaseModel): - """ - ApiV1AdditionalPrivilegeUsersTemporaryPostRequest - """ - project_membership_id: constr(strict=True, min_length=1) = Field(default=..., alias="projectMembershipId", description="Project membership id of user") - slug: Optional[constr(strict=True, max_length=60, min_length=1)] = Field(default=None, description="The slug of the privilege to create.") - permissions: conlist(StrictStr) = Field(default=..., description="The permission object for the privilege. Refer https://casl.js.org/v6/en/guide/define-rules#the-shape-of-raw-rule to understand the shape") - temporary_mode: StrictStr = Field(default=..., alias="temporaryMode", description="Type of temporary access given. Types: relative") - temporary_range: StrictStr = Field(default=..., alias="temporaryRange", description="TTL for the temporay time. Eg: 1m, 1h, 1d") - temporary_access_start_time: datetime = Field(default=..., alias="temporaryAccessStartTime", description="ISO time for which temporary access should begin.") - __properties = ["projectMembershipId", "slug", "permissions", "temporaryMode", "temporaryRange", "temporaryAccessStartTime"] - - @validator('temporary_mode') - def temporary_mode_validate_enum(cls, value): - """Validates the enum""" - if value not in ('relative'): - raise ValueError("must be one of enum values ('relative')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdditionalPrivilegeUsersTemporaryPostRequest: - """Create an instance of ApiV1AdditionalPrivilegeUsersTemporaryPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdditionalPrivilegeUsersTemporaryPostRequest: - """Create an instance of ApiV1AdditionalPrivilegeUsersTemporaryPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.parse_obj(obj) - - _obj = ApiV1AdditionalPrivilegeUsersTemporaryPostRequest.parse_obj({ - "project_membership_id": obj.get("projectMembershipId"), - "slug": obj.get("slug"), - "permissions": obj.get("permissions"), - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_admin_config_get200_response.py b/infisicalapi_client/models/api_v1_admin_config_get200_response.py deleted file mode 100644 index 8d8c126..0000000 --- a/infisicalapi_client/models/api_v1_admin_config_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_admin_config_get200_response_config import ApiV1AdminConfigGet200ResponseConfig - -class ApiV1AdminConfigGet200Response(BaseModel): - """ - ApiV1AdminConfigGet200Response - """ - config: ApiV1AdminConfigGet200ResponseConfig = Field(...) - __properties = ["config"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdminConfigGet200Response: - """Create an instance of ApiV1AdminConfigGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of config - if self.config: - _dict['config'] = self.config.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdminConfigGet200Response: - """Create an instance of ApiV1AdminConfigGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdminConfigGet200Response.parse_obj(obj) - - _obj = ApiV1AdminConfigGet200Response.parse_obj({ - "config": ApiV1AdminConfigGet200ResponseConfig.from_dict(obj.get("config")) if obj.get("config") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_admin_config_get200_response_config.py b/infisicalapi_client/models/api_v1_admin_config_get200_response_config.py deleted file mode 100644 index 1075ec0..0000000 --- a/infisicalapi_client/models/api_v1_admin_config_get200_response_config.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist - -class ApiV1AdminConfigGet200ResponseConfig(BaseModel): - """ - ApiV1AdminConfigGet200ResponseConfig - """ - id: StrictStr = Field(...) - initialized: Optional[StrictBool] = False - allow_sign_up: Optional[StrictBool] = Field(default=True, alias="allowSignUp") - allowed_sign_up_domain: Optional[StrictStr] = Field(default=None, alias="allowedSignUpDomain") - instance_id: Optional[StrictStr] = Field(default='00000000-0000-0000-0000-000000000000', alias="instanceId") - trust_saml_emails: Optional[StrictBool] = Field(default=False, alias="trustSamlEmails") - trust_ldap_emails: Optional[StrictBool] = Field(default=False, alias="trustLdapEmails") - trust_oidc_emails: Optional[StrictBool] = Field(default=False, alias="trustOidcEmails") - default_auth_org_id: Optional[StrictStr] = Field(default=None, alias="defaultAuthOrgId") - enabled_login_methods: Optional[conlist(StrictStr)] = Field(default=None, alias="enabledLoginMethods") - is_migration_mode_on: StrictBool = Field(default=..., alias="isMigrationModeOn") - default_auth_org_slug: Optional[StrictStr] = Field(default=..., alias="defaultAuthOrgSlug") - is_secret_scanning_disabled: StrictBool = Field(default=..., alias="isSecretScanningDisabled") - __properties = ["id", "initialized", "allowSignUp", "allowedSignUpDomain", "instanceId", "trustSamlEmails", "trustLdapEmails", "trustOidcEmails", "defaultAuthOrgId", "enabledLoginMethods", "isMigrationModeOn", "defaultAuthOrgSlug", "isSecretScanningDisabled"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdminConfigGet200ResponseConfig: - """Create an instance of ApiV1AdminConfigGet200ResponseConfig from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if initialized (nullable) is None - # and __fields_set__ contains the field - if self.initialized is None and "initialized" in self.__fields_set__: - _dict['initialized'] = None - - # set to None if allow_sign_up (nullable) is None - # and __fields_set__ contains the field - if self.allow_sign_up is None and "allow_sign_up" in self.__fields_set__: - _dict['allowSignUp'] = None - - # set to None if allowed_sign_up_domain (nullable) is None - # and __fields_set__ contains the field - if self.allowed_sign_up_domain is None and "allowed_sign_up_domain" in self.__fields_set__: - _dict['allowedSignUpDomain'] = None - - # set to None if trust_saml_emails (nullable) is None - # and __fields_set__ contains the field - if self.trust_saml_emails is None and "trust_saml_emails" in self.__fields_set__: - _dict['trustSamlEmails'] = None - - # set to None if trust_ldap_emails (nullable) is None - # and __fields_set__ contains the field - if self.trust_ldap_emails is None and "trust_ldap_emails" in self.__fields_set__: - _dict['trustLdapEmails'] = None - - # set to None if trust_oidc_emails (nullable) is None - # and __fields_set__ contains the field - if self.trust_oidc_emails is None and "trust_oidc_emails" in self.__fields_set__: - _dict['trustOidcEmails'] = None - - # set to None if default_auth_org_id (nullable) is None - # and __fields_set__ contains the field - if self.default_auth_org_id is None and "default_auth_org_id" in self.__fields_set__: - _dict['defaultAuthOrgId'] = None - - # set to None if enabled_login_methods (nullable) is None - # and __fields_set__ contains the field - if self.enabled_login_methods is None and "enabled_login_methods" in self.__fields_set__: - _dict['enabledLoginMethods'] = None - - # set to None if default_auth_org_slug (nullable) is None - # and __fields_set__ contains the field - if self.default_auth_org_slug is None and "default_auth_org_slug" in self.__fields_set__: - _dict['defaultAuthOrgSlug'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdminConfigGet200ResponseConfig: - """Create an instance of ApiV1AdminConfigGet200ResponseConfig from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdminConfigGet200ResponseConfig.parse_obj(obj) - - _obj = ApiV1AdminConfigGet200ResponseConfig.parse_obj({ - "id": obj.get("id"), - "initialized": obj.get("initialized") if obj.get("initialized") is not None else False, - "allow_sign_up": obj.get("allowSignUp") if obj.get("allowSignUp") is not None else True, - "allowed_sign_up_domain": obj.get("allowedSignUpDomain"), - "instance_id": obj.get("instanceId") if obj.get("instanceId") is not None else '00000000-0000-0000-0000-000000000000', - "trust_saml_emails": obj.get("trustSamlEmails") if obj.get("trustSamlEmails") is not None else False, - "trust_ldap_emails": obj.get("trustLdapEmails") if obj.get("trustLdapEmails") is not None else False, - "trust_oidc_emails": obj.get("trustOidcEmails") if obj.get("trustOidcEmails") is not None else False, - "default_auth_org_id": obj.get("defaultAuthOrgId"), - "enabled_login_methods": obj.get("enabledLoginMethods"), - "is_migration_mode_on": obj.get("isMigrationModeOn"), - "default_auth_org_slug": obj.get("defaultAuthOrgSlug"), - "is_secret_scanning_disabled": obj.get("isSecretScanningDisabled") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_admin_config_patch200_response.py b/infisicalapi_client/models/api_v1_admin_config_patch200_response.py deleted file mode 100644 index e38234c..0000000 --- a/infisicalapi_client/models/api_v1_admin_config_patch200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_admin_config_patch200_response_config import ApiV1AdminConfigPatch200ResponseConfig - -class ApiV1AdminConfigPatch200Response(BaseModel): - """ - ApiV1AdminConfigPatch200Response - """ - config: ApiV1AdminConfigPatch200ResponseConfig = Field(...) - __properties = ["config"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdminConfigPatch200Response: - """Create an instance of ApiV1AdminConfigPatch200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of config - if self.config: - _dict['config'] = self.config.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdminConfigPatch200Response: - """Create an instance of ApiV1AdminConfigPatch200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdminConfigPatch200Response.parse_obj(obj) - - _obj = ApiV1AdminConfigPatch200Response.parse_obj({ - "config": ApiV1AdminConfigPatch200ResponseConfig.from_dict(obj.get("config")) if obj.get("config") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_admin_config_patch200_response_config.py b/infisicalapi_client/models/api_v1_admin_config_patch200_response_config.py deleted file mode 100644 index 2d11634..0000000 --- a/infisicalapi_client/models/api_v1_admin_config_patch200_response_config.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist - -class ApiV1AdminConfigPatch200ResponseConfig(BaseModel): - """ - ApiV1AdminConfigPatch200ResponseConfig - """ - id: StrictStr = Field(...) - initialized: Optional[StrictBool] = False - allow_sign_up: Optional[StrictBool] = Field(default=True, alias="allowSignUp") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - allowed_sign_up_domain: Optional[StrictStr] = Field(default=None, alias="allowedSignUpDomain") - instance_id: Optional[StrictStr] = Field(default='00000000-0000-0000-0000-000000000000', alias="instanceId") - trust_saml_emails: Optional[StrictBool] = Field(default=False, alias="trustSamlEmails") - trust_ldap_emails: Optional[StrictBool] = Field(default=False, alias="trustLdapEmails") - trust_oidc_emails: Optional[StrictBool] = Field(default=False, alias="trustOidcEmails") - default_auth_org_id: Optional[StrictStr] = Field(default=None, alias="defaultAuthOrgId") - enabled_login_methods: Optional[conlist(StrictStr)] = Field(default=None, alias="enabledLoginMethods") - default_auth_org_slug: Optional[StrictStr] = Field(default=..., alias="defaultAuthOrgSlug") - __properties = ["id", "initialized", "allowSignUp", "createdAt", "updatedAt", "allowedSignUpDomain", "instanceId", "trustSamlEmails", "trustLdapEmails", "trustOidcEmails", "defaultAuthOrgId", "enabledLoginMethods", "defaultAuthOrgSlug"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdminConfigPatch200ResponseConfig: - """Create an instance of ApiV1AdminConfigPatch200ResponseConfig from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if initialized (nullable) is None - # and __fields_set__ contains the field - if self.initialized is None and "initialized" in self.__fields_set__: - _dict['initialized'] = None - - # set to None if allow_sign_up (nullable) is None - # and __fields_set__ contains the field - if self.allow_sign_up is None and "allow_sign_up" in self.__fields_set__: - _dict['allowSignUp'] = None - - # set to None if allowed_sign_up_domain (nullable) is None - # and __fields_set__ contains the field - if self.allowed_sign_up_domain is None and "allowed_sign_up_domain" in self.__fields_set__: - _dict['allowedSignUpDomain'] = None - - # set to None if trust_saml_emails (nullable) is None - # and __fields_set__ contains the field - if self.trust_saml_emails is None and "trust_saml_emails" in self.__fields_set__: - _dict['trustSamlEmails'] = None - - # set to None if trust_ldap_emails (nullable) is None - # and __fields_set__ contains the field - if self.trust_ldap_emails is None and "trust_ldap_emails" in self.__fields_set__: - _dict['trustLdapEmails'] = None - - # set to None if trust_oidc_emails (nullable) is None - # and __fields_set__ contains the field - if self.trust_oidc_emails is None and "trust_oidc_emails" in self.__fields_set__: - _dict['trustOidcEmails'] = None - - # set to None if default_auth_org_id (nullable) is None - # and __fields_set__ contains the field - if self.default_auth_org_id is None and "default_auth_org_id" in self.__fields_set__: - _dict['defaultAuthOrgId'] = None - - # set to None if enabled_login_methods (nullable) is None - # and __fields_set__ contains the field - if self.enabled_login_methods is None and "enabled_login_methods" in self.__fields_set__: - _dict['enabledLoginMethods'] = None - - # set to None if default_auth_org_slug (nullable) is None - # and __fields_set__ contains the field - if self.default_auth_org_slug is None and "default_auth_org_slug" in self.__fields_set__: - _dict['defaultAuthOrgSlug'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdminConfigPatch200ResponseConfig: - """Create an instance of ApiV1AdminConfigPatch200ResponseConfig from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdminConfigPatch200ResponseConfig.parse_obj(obj) - - _obj = ApiV1AdminConfigPatch200ResponseConfig.parse_obj({ - "id": obj.get("id"), - "initialized": obj.get("initialized") if obj.get("initialized") is not None else False, - "allow_sign_up": obj.get("allowSignUp") if obj.get("allowSignUp") is not None else True, - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "allowed_sign_up_domain": obj.get("allowedSignUpDomain"), - "instance_id": obj.get("instanceId") if obj.get("instanceId") is not None else '00000000-0000-0000-0000-000000000000', - "trust_saml_emails": obj.get("trustSamlEmails") if obj.get("trustSamlEmails") is not None else False, - "trust_ldap_emails": obj.get("trustLdapEmails") if obj.get("trustLdapEmails") is not None else False, - "trust_oidc_emails": obj.get("trustOidcEmails") if obj.get("trustOidcEmails") is not None else False, - "default_auth_org_id": obj.get("defaultAuthOrgId"), - "enabled_login_methods": obj.get("enabledLoginMethods"), - "default_auth_org_slug": obj.get("defaultAuthOrgSlug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_admin_config_patch_request.py b/infisicalapi_client/models/api_v1_admin_config_patch_request.py deleted file mode 100644 index 1628da3..0000000 --- a/infisicalapi_client/models/api_v1_admin_config_patch_request.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, validator - -class ApiV1AdminConfigPatchRequest(BaseModel): - """ - ApiV1AdminConfigPatchRequest - """ - allow_sign_up: Optional[StrictBool] = Field(default=None, alias="allowSignUp") - allowed_sign_up_domain: Optional[StrictStr] = Field(default=None, alias="allowedSignUpDomain") - trust_saml_emails: Optional[StrictBool] = Field(default=None, alias="trustSamlEmails") - trust_ldap_emails: Optional[StrictBool] = Field(default=None, alias="trustLdapEmails") - trust_oidc_emails: Optional[StrictBool] = Field(default=None, alias="trustOidcEmails") - default_auth_org_id: Optional[StrictStr] = Field(default=None, alias="defaultAuthOrgId") - enabled_login_methods: Optional[conlist(StrictStr)] = Field(default=None, alias="enabledLoginMethods") - __properties = ["allowSignUp", "allowedSignUpDomain", "trustSamlEmails", "trustLdapEmails", "trustOidcEmails", "defaultAuthOrgId", "enabledLoginMethods"] - - @validator('enabled_login_methods') - def enabled_login_methods_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - for i in value: - if i not in ('email', 'google', 'github', 'gitlab', 'saml', 'ldap', 'oidc'): - raise ValueError("each list item must be one of ('email', 'google', 'github', 'gitlab', 'saml', 'ldap', 'oidc')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdminConfigPatchRequest: - """Create an instance of ApiV1AdminConfigPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if allowed_sign_up_domain (nullable) is None - # and __fields_set__ contains the field - if self.allowed_sign_up_domain is None and "allowed_sign_up_domain" in self.__fields_set__: - _dict['allowedSignUpDomain'] = None - - # set to None if default_auth_org_id (nullable) is None - # and __fields_set__ contains the field - if self.default_auth_org_id is None and "default_auth_org_id" in self.__fields_set__: - _dict['defaultAuthOrgId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdminConfigPatchRequest: - """Create an instance of ApiV1AdminConfigPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdminConfigPatchRequest.parse_obj(obj) - - _obj = ApiV1AdminConfigPatchRequest.parse_obj({ - "allow_sign_up": obj.get("allowSignUp"), - "allowed_sign_up_domain": obj.get("allowedSignUpDomain"), - "trust_saml_emails": obj.get("trustSamlEmails"), - "trust_ldap_emails": obj.get("trustLdapEmails"), - "trust_oidc_emails": obj.get("trustOidcEmails"), - "default_auth_org_id": obj.get("defaultAuthOrgId"), - "enabled_login_methods": obj.get("enabledLoginMethods") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_admin_signup_post200_response.py b/infisicalapi_client/models/api_v1_admin_signup_post200_response.py deleted file mode 100644 index fe5f48d..0000000 --- a/infisicalapi_client/models/api_v1_admin_signup_post200_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_organization_get200_response_organizations_inner import ApiV1OrganizationGet200ResponseOrganizationsInner -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response_user import ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser - -class ApiV1AdminSignupPost200Response(BaseModel): - """ - ApiV1AdminSignupPost200Response - """ - message: StrictStr = Field(...) - user: ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser = Field(...) - organization: ApiV1OrganizationGet200ResponseOrganizationsInner = Field(...) - token: StrictStr = Field(...) - new: StrictStr = Field(...) - __properties = ["message", "user", "organization", "token", "new"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdminSignupPost200Response: - """Create an instance of ApiV1AdminSignupPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - # override the default output from pydantic by calling `to_dict()` of organization - if self.organization: - _dict['organization'] = self.organization.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdminSignupPost200Response: - """Create an instance of ApiV1AdminSignupPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdminSignupPost200Response.parse_obj(obj) - - _obj = ApiV1AdminSignupPost200Response.parse_obj({ - "message": obj.get("message"), - "user": ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.from_dict(obj.get("user")) if obj.get("user") is not None else None, - "organization": ApiV1OrganizationGet200ResponseOrganizationsInner.from_dict(obj.get("organization")) if obj.get("organization") is not None else None, - "token": obj.get("token"), - "new": obj.get("new") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_admin_signup_post_request.py b/infisicalapi_client/models/api_v1_admin_signup_post_request.py deleted file mode 100644 index d0f5343..0000000 --- a/infisicalapi_client/models/api_v1_admin_signup_post_request.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AdminSignupPostRequest(BaseModel): - """ - ApiV1AdminSignupPostRequest - """ - email: StrictStr = Field(...) - password: StrictStr = Field(...) - first_name: StrictStr = Field(default=..., alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - protected_key: StrictStr = Field(default=..., alias="protectedKey") - protected_key_iv: StrictStr = Field(default=..., alias="protectedKeyIV") - protected_key_tag: StrictStr = Field(default=..., alias="protectedKeyTag") - public_key: StrictStr = Field(default=..., alias="publicKey") - encrypted_private_key: StrictStr = Field(default=..., alias="encryptedPrivateKey") - encrypted_private_key_iv: StrictStr = Field(default=..., alias="encryptedPrivateKeyIV") - encrypted_private_key_tag: StrictStr = Field(default=..., alias="encryptedPrivateKeyTag") - salt: StrictStr = Field(...) - verifier: StrictStr = Field(...) - __properties = ["email", "password", "firstName", "lastName", "protectedKey", "protectedKeyIV", "protectedKeyTag", "publicKey", "encryptedPrivateKey", "encryptedPrivateKeyIV", "encryptedPrivateKeyTag", "salt", "verifier"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdminSignupPostRequest: - """Create an instance of ApiV1AdminSignupPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdminSignupPostRequest: - """Create an instance of ApiV1AdminSignupPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdminSignupPostRequest.parse_obj(obj) - - _obj = ApiV1AdminSignupPostRequest.parse_obj({ - "email": obj.get("email"), - "password": obj.get("password"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "protected_key": obj.get("protectedKey"), - "protected_key_iv": obj.get("protectedKeyIV"), - "protected_key_tag": obj.get("protectedKeyTag"), - "public_key": obj.get("publicKey"), - "encrypted_private_key": obj.get("encryptedPrivateKey"), - "encrypted_private_key_iv": obj.get("encryptedPrivateKeyIV"), - "encrypted_private_key_tag": obj.get("encryptedPrivateKeyTag"), - "salt": obj.get("salt"), - "verifier": obj.get("verifier") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_admin_user_management_users_get200_response.py b/infisicalapi_client/models/api_v1_admin_user_management_users_get200_response.py deleted file mode 100644 index 29ab697..0000000 --- a/infisicalapi_client/models/api_v1_admin_user_management_users_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response_users_inner import ApiV1AdminUserManagementUsersGet200ResponseUsersInner - -class ApiV1AdminUserManagementUsersGet200Response(BaseModel): - """ - ApiV1AdminUserManagementUsersGet200Response - """ - users: conlist(ApiV1AdminUserManagementUsersGet200ResponseUsersInner) = Field(...) - __properties = ["users"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdminUserManagementUsersGet200Response: - """Create an instance of ApiV1AdminUserManagementUsersGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item in self.users: - if _item: - _items.append(_item.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdminUserManagementUsersGet200Response: - """Create an instance of ApiV1AdminUserManagementUsersGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdminUserManagementUsersGet200Response.parse_obj(obj) - - _obj = ApiV1AdminUserManagementUsersGet200Response.parse_obj({ - "users": [ApiV1AdminUserManagementUsersGet200ResponseUsersInner.from_dict(_item) for _item in obj.get("users")] if obj.get("users") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_admin_user_management_users_get200_response_users_inner.py b/infisicalapi_client/models/api_v1_admin_user_management_users_get200_response_users_inner.py deleted file mode 100644 index 81fd98f..0000000 --- a/infisicalapi_client/models/api_v1_admin_user_management_users_get200_response_users_inner.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AdminUserManagementUsersGet200ResponseUsersInner(BaseModel): - """ - ApiV1AdminUserManagementUsersGet200ResponseUsersInner - """ - username: StrictStr = Field(...) - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - email: Optional[StrictStr] = None - id: StrictStr = Field(...) - __properties = ["username", "firstName", "lastName", "email", "id"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdminUserManagementUsersGet200ResponseUsersInner: - """Create an instance of ApiV1AdminUserManagementUsersGet200ResponseUsersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdminUserManagementUsersGet200ResponseUsersInner: - """Create an instance of ApiV1AdminUserManagementUsersGet200ResponseUsersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdminUserManagementUsersGet200ResponseUsersInner.parse_obj(obj) - - _obj = ApiV1AdminUserManagementUsersGet200ResponseUsersInner.parse_obj({ - "username": obj.get("username"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "email": obj.get("email"), - "id": obj.get("id") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_admin_user_management_users_user_id_delete200_response.py b/infisicalapi_client/models/api_v1_admin_user_management_users_user_id_delete200_response.py deleted file mode 100644 index 98d61ba..0000000 --- a/infisicalapi_client/models/api_v1_admin_user_management_users_user_id_delete200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response_users_inner import ApiV1AdminUserManagementUsersGet200ResponseUsersInner - -class ApiV1AdminUserManagementUsersUserIdDelete200Response(BaseModel): - """ - ApiV1AdminUserManagementUsersUserIdDelete200Response - """ - users: ApiV1AdminUserManagementUsersGet200ResponseUsersInner = Field(...) - __properties = ["users"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AdminUserManagementUsersUserIdDelete200Response: - """Create an instance of ApiV1AdminUserManagementUsersUserIdDelete200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of users - if self.users: - _dict['users'] = self.users.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AdminUserManagementUsersUserIdDelete200Response: - """Create an instance of ApiV1AdminUserManagementUsersUserIdDelete200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AdminUserManagementUsersUserIdDelete200Response.parse_obj(obj) - - _obj = ApiV1AdminUserManagementUsersUserIdDelete200Response.parse_obj({ - "users": ApiV1AdminUserManagementUsersGet200ResponseUsersInner.from_dict(obj.get("users")) if obj.get("users") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_audit_log_streams_get200_response.py b/infisicalapi_client/models/api_v1_audit_log_streams_get200_response.py deleted file mode 100644 index 21df09e..0000000 --- a/infisicalapi_client/models/api_v1_audit_log_streams_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response_audit_log_streams_inner import ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner - -class ApiV1AuditLogStreamsGet200Response(BaseModel): - """ - ApiV1AuditLogStreamsGet200Response - """ - audit_log_streams: conlist(ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner) = Field(default=..., alias="auditLogStreams") - __properties = ["auditLogStreams"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuditLogStreamsGet200Response: - """Create an instance of ApiV1AuditLogStreamsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in audit_log_streams (list) - _items = [] - if self.audit_log_streams: - for _item in self.audit_log_streams: - if _item: - _items.append(_item.to_dict()) - _dict['auditLogStreams'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuditLogStreamsGet200Response: - """Create an instance of ApiV1AuditLogStreamsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuditLogStreamsGet200Response.parse_obj(obj) - - _obj = ApiV1AuditLogStreamsGet200Response.parse_obj({ - "audit_log_streams": [ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.from_dict(_item) for _item in obj.get("auditLogStreams")] if obj.get("auditLogStreams") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_audit_log_streams_get200_response_audit_log_streams_inner.py b/infisicalapi_client/models/api_v1_audit_log_streams_get200_response_audit_log_streams_inner.py deleted file mode 100644 index 164a25b..0000000 --- a/infisicalapi_client/models/api_v1_audit_log_streams_get200_response_audit_log_streams_inner.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner(BaseModel): - """ - ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner - """ - id: StrictStr = Field(...) - url: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "url", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner: - """Create an instance of ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner: - """Create an instance of ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.parse_obj(obj) - - _obj = ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.parse_obj({ - "id": obj.get("id"), - "url": obj.get("url"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response.py b/infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response.py deleted file mode 100644 index c5a755b..0000000 --- a/infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream - -class ApiV1AuditLogStreamsIdGet200Response(BaseModel): - """ - ApiV1AuditLogStreamsIdGet200Response - """ - audit_log_stream: ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream = Field(default=..., alias="auditLogStream") - __properties = ["auditLogStream"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuditLogStreamsIdGet200Response: - """Create an instance of ApiV1AuditLogStreamsIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of audit_log_stream - if self.audit_log_stream: - _dict['auditLogStream'] = self.audit_log_stream.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuditLogStreamsIdGet200Response: - """Create an instance of ApiV1AuditLogStreamsIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuditLogStreamsIdGet200Response.parse_obj(obj) - - _obj = ApiV1AuditLogStreamsIdGet200Response.parse_obj({ - "audit_log_stream": ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.from_dict(obj.get("auditLogStream")) if obj.get("auditLogStream") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response_audit_log_stream.py b/infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response_audit_log_stream.py deleted file mode 100644 index cebe19c..0000000 --- a/infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response_audit_log_stream.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner - -class ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream(BaseModel): - """ - ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream - """ - id: StrictStr = Field(...) - url: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - headers: Optional[conlist(ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner)] = None - __properties = ["id", "url", "createdAt", "updatedAt", "headers"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream: - """Create an instance of ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in headers (list) - _items = [] - if self.headers: - for _item in self.headers: - if _item: - _items.append(_item.to_dict()) - _dict['headers'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream: - """Create an instance of ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.parse_obj(obj) - - _obj = ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream.parse_obj({ - "id": obj.get("id"), - "url": obj.get("url"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "headers": [ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.from_dict(_item) for _item in obj.get("headers")] if obj.get("headers") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner.py b/infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner.py deleted file mode 100644 index 457180c..0000000 --- a/infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner(BaseModel): - """ - ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner - """ - key: StrictStr = Field(...) - value: StrictStr = Field(...) - __properties = ["key", "value"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner: - """Create an instance of ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner: - """Create an instance of ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.parse_obj(obj) - - _obj = ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.parse_obj({ - "key": obj.get("key"), - "value": obj.get("value") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_audit_log_streams_id_patch_request.py b/infisicalapi_client/models/api_v1_audit_log_streams_id_patch_request.py deleted file mode 100644 index d741bad..0000000 --- a/infisicalapi_client/models/api_v1_audit_log_streams_id_patch_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_audit_log_streams_post_request_headers_inner import ApiV1AuditLogStreamsPostRequestHeadersInner - -class ApiV1AuditLogStreamsIdPatchRequest(BaseModel): - """ - ApiV1AuditLogStreamsIdPatchRequest - """ - url: Optional[StrictStr] = Field(default=None, description="The HTTP URL to push logs to.") - headers: Optional[conlist(ApiV1AuditLogStreamsPostRequestHeadersInner)] = Field(default=None, description="The HTTP headers attached for the external prrovider requests.") - __properties = ["url", "headers"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuditLogStreamsIdPatchRequest: - """Create an instance of ApiV1AuditLogStreamsIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in headers (list) - _items = [] - if self.headers: - for _item in self.headers: - if _item: - _items.append(_item.to_dict()) - _dict['headers'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuditLogStreamsIdPatchRequest: - """Create an instance of ApiV1AuditLogStreamsIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuditLogStreamsIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AuditLogStreamsIdPatchRequest.parse_obj({ - "url": obj.get("url"), - "headers": [ApiV1AuditLogStreamsPostRequestHeadersInner.from_dict(_item) for _item in obj.get("headers")] if obj.get("headers") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_audit_log_streams_post200_response.py b/infisicalapi_client/models/api_v1_audit_log_streams_post200_response.py deleted file mode 100644 index 77b3888..0000000 --- a/infisicalapi_client/models/api_v1_audit_log_streams_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response_audit_log_streams_inner import ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner - -class ApiV1AuditLogStreamsPost200Response(BaseModel): - """ - ApiV1AuditLogStreamsPost200Response - """ - audit_log_stream: ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner = Field(default=..., alias="auditLogStream") - __properties = ["auditLogStream"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuditLogStreamsPost200Response: - """Create an instance of ApiV1AuditLogStreamsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of audit_log_stream - if self.audit_log_stream: - _dict['auditLogStream'] = self.audit_log_stream.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuditLogStreamsPost200Response: - """Create an instance of ApiV1AuditLogStreamsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuditLogStreamsPost200Response.parse_obj(obj) - - _obj = ApiV1AuditLogStreamsPost200Response.parse_obj({ - "audit_log_stream": ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner.from_dict(obj.get("auditLogStream")) if obj.get("auditLogStream") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_audit_log_streams_post_request.py b/infisicalapi_client/models/api_v1_audit_log_streams_post_request.py deleted file mode 100644 index 0a2baf4..0000000 --- a/infisicalapi_client/models/api_v1_audit_log_streams_post_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, conlist, constr -from infisicalapi_client.models.api_v1_audit_log_streams_post_request_headers_inner import ApiV1AuditLogStreamsPostRequestHeadersInner - -class ApiV1AuditLogStreamsPostRequest(BaseModel): - """ - ApiV1AuditLogStreamsPostRequest - """ - url: constr(strict=True, min_length=1) = Field(default=..., description="The HTTP URL to push logs to.") - headers: Optional[conlist(ApiV1AuditLogStreamsPostRequestHeadersInner)] = Field(default=None, description="The HTTP headers attached for the external prrovider requests.") - __properties = ["url", "headers"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuditLogStreamsPostRequest: - """Create an instance of ApiV1AuditLogStreamsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in headers (list) - _items = [] - if self.headers: - for _item in self.headers: - if _item: - _items.append(_item.to_dict()) - _dict['headers'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuditLogStreamsPostRequest: - """Create an instance of ApiV1AuditLogStreamsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuditLogStreamsPostRequest.parse_obj(obj) - - _obj = ApiV1AuditLogStreamsPostRequest.parse_obj({ - "url": obj.get("url"), - "headers": [ApiV1AuditLogStreamsPostRequestHeadersInner.from_dict(_item) for _item in obj.get("headers")] if obj.get("headers") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_audit_log_streams_post_request_headers_inner.py b/infisicalapi_client/models/api_v1_audit_log_streams_post_request_headers_inner.py deleted file mode 100644 index 678d9a7..0000000 --- a/infisicalapi_client/models/api_v1_audit_log_streams_post_request_headers_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, constr - -class ApiV1AuditLogStreamsPostRequestHeadersInner(BaseModel): - """ - The HTTP headers attached for the external prrovider requests. # noqa: E501 - """ - key: constr(strict=True, min_length=1) = Field(default=..., description="The HTTP header key name.") - value: constr(strict=True, min_length=1) = Field(default=..., description="The HTTP header value.") - __properties = ["key", "value"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuditLogStreamsPostRequestHeadersInner: - """Create an instance of ApiV1AuditLogStreamsPostRequestHeadersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuditLogStreamsPostRequestHeadersInner: - """Create an instance of ApiV1AuditLogStreamsPostRequestHeadersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuditLogStreamsPostRequestHeadersInner.parse_obj(obj) - - _obj = ApiV1AuditLogStreamsPostRequestHeadersInner.parse_obj({ - "key": obj.get("key"), - "value": obj.get("value") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_get200_response.py b/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_get200_response.py deleted file mode 100644 index e0f1774..0000000 --- a/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth - -class ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response(BaseModel): - """ - ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response - """ - identity_aws_auth: ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth = Field(default=..., alias="identityAwsAuth") - __properties = ["identityAwsAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_aws_auth - if self.identity_aws_auth: - _dict['identityAwsAuth'] = self.identity_aws_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.parse_obj(obj) - - _obj = ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response.parse_obj({ - "identity_aws_auth": ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.from_dict(obj.get("identityAwsAuth")) if obj.get("identityAwsAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth.py b/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth.py deleted file mode 100644 index 231b6c4..0000000 --- a/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth(BaseModel): - """ - ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth - """ - id: StrictStr = Field(...) - access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL") - access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL") - access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit") - access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - identity_id: StrictStr = Field(default=..., alias="identityId") - type: StrictStr = Field(...) - sts_endpoint: StrictStr = Field(default=..., alias="stsEndpoint") - allowed_principal_arns: StrictStr = Field(default=..., alias="allowedPrincipalArns") - allowed_account_ids: StrictStr = Field(default=..., alias="allowedAccountIds") - __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "accessTokenTrustedIps", "createdAt", "updatedAt", "identityId", "type", "stsEndpoint", "allowedPrincipalArns", "allowedAccountIds"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth: - """Create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if access_token_trusted_ips (nullable) is None - # and __fields_set__ contains the field - if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__: - _dict['accessTokenTrustedIps'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth: - """Create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.parse_obj(obj) - - _obj = ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth.parse_obj({ - "id": obj.get("id"), - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0, - "access_token_trusted_ips": obj.get("accessTokenTrustedIps"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "identity_id": obj.get("identityId"), - "type": obj.get("type"), - "sts_endpoint": obj.get("stsEndpoint"), - "allowed_principal_arns": obj.get("allowedPrincipalArns"), - "allowed_account_ids": obj.get("allowedAccountIds") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_patch_request.py b/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_patch_request.py deleted file mode 100644 index 9c38a8c..0000000 --- a/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conint, conlist, constr -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest(BaseModel): - """ - ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest - """ - sts_endpoint: Optional[constr(strict=True, min_length=1)] = Field(default=None, alias="stsEndpoint", description="The new endpoint URL for the AWS STS API.") - allowed_principal_arns: Optional[StrictStr] = Field(default='', alias="allowedPrincipalArns", description="The new comma-separated list of trusted IAM principal ARNs that are allowed to authenticate with Infisical.") - allowed_account_ids: Optional[StrictStr] = Field(default='', alias="allowedAccountIds", description="The new comma-separated list of trusted AWS account IDs that are allowed to authenticate with Infisical.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The new IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=0)] = Field(default=None, alias="accessTokenTTL", description="The new lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=None, alias="accessTokenNumUsesLimit", description="The new maximum number of times that an access token can be used.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=None, alias="accessTokenMaxTTL", description="The new maximum lifetime for an acccess token in seconds.") - __properties = ["stsEndpoint", "allowedPrincipalArns", "allowedAccountIds", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenNumUsesLimit", "accessTokenMaxTTL"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest.parse_obj({ - "sts_endpoint": obj.get("stsEndpoint"), - "allowed_principal_arns": obj.get("allowedPrincipalArns") if obj.get("allowedPrincipalArns") is not None else '', - "allowed_account_ids": obj.get("allowedAccountIds") if obj.get("allowedAccountIds") is not None else '', - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL"), - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit"), - "access_token_max_ttl": obj.get("accessTokenMaxTTL") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_post_request.py b/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_post_request.py deleted file mode 100644 index 2d4b517..0000000 --- a/infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conint, conlist, constr -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest(BaseModel): - """ - ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest - """ - sts_endpoint: Optional[constr(strict=True, min_length=1)] = Field(default='https://sts.amazonaws.com/', alias="stsEndpoint", description="The endpoint URL for the AWS STS API.") - allowed_principal_arns: Optional[StrictStr] = Field(default='', alias="allowedPrincipalArns", description="The comma-separated list of trusted IAM principal ARNs that are allowed to authenticate with Infisical.") - allowed_account_ids: Optional[StrictStr] = Field(default='', alias="allowedAccountIds", description="The comma-separated list of trusted AWS account IDs that are allowed to authenticate with Infisical.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=1)] = Field(default=2592000, alias="accessTokenTTL", description="The lifetime for an acccess token in seconds.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=2592000, alias="accessTokenMaxTTL", description="The maximum lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=0, alias="accessTokenNumUsesLimit", description="The maximum number of times that an access token can be used.") - __properties = ["stsEndpoint", "allowedPrincipalArns", "allowedAccountIds", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.parse_obj(obj) - - _obj = ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest.parse_obj({ - "sts_endpoint": obj.get("stsEndpoint") if obj.get("stsEndpoint") is not None else 'https://sts.amazonaws.com/', - "allowed_principal_arns": obj.get("allowedPrincipalArns") if obj.get("allowedPrincipalArns") is not None else '', - "allowed_account_ids": obj.get("allowedAccountIds") if obj.get("allowedAccountIds") is not None else '', - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 2592000, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 2592000, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_aws_auth_login_post_request.py b/infisicalapi_client/models/api_v1_auth_aws_auth_login_post_request.py deleted file mode 100644 index 15574b4..0000000 --- a/infisicalapi_client/models/api_v1_auth_aws_auth_login_post_request.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuthAwsAuthLoginPostRequest(BaseModel): - """ - ApiV1AuthAwsAuthLoginPostRequest - """ - identity_id: StrictStr = Field(default=..., alias="identityId", description="The ID of the identity to login.") - iam_http_request_method: Optional[StrictStr] = Field(default='POST', alias="iamHttpRequestMethod", description="The HTTP request method used in the signed request.") - iam_request_body: StrictStr = Field(default=..., alias="iamRequestBody", description="The base64-encoded body of the signed request. Most likely, the base64-encoding of Action=GetCallerIdentity&Version=2011-06-15.") - iam_request_headers: StrictStr = Field(default=..., alias="iamRequestHeaders", description="The base64-encoded headers of the sts:GetCallerIdentity signed request.") - __properties = ["identityId", "iamHttpRequestMethod", "iamRequestBody", "iamRequestHeaders"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthAwsAuthLoginPostRequest: - """Create an instance of ApiV1AuthAwsAuthLoginPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthAwsAuthLoginPostRequest: - """Create an instance of ApiV1AuthAwsAuthLoginPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthAwsAuthLoginPostRequest.parse_obj(obj) - - _obj = ApiV1AuthAwsAuthLoginPostRequest.parse_obj({ - "identity_id": obj.get("identityId"), - "iam_http_request_method": obj.get("iamHttpRequestMethod") if obj.get("iamHttpRequestMethod") is not None else 'POST', - "iam_request_body": obj.get("iamRequestBody"), - "iam_request_headers": obj.get("iamRequestHeaders") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_get200_response.py b/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_get200_response.py deleted file mode 100644 index ce1f703..0000000 --- a/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth - -class ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response(BaseModel): - """ - ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response - """ - identity_azure_auth: ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth = Field(default=..., alias="identityAzureAuth") - __properties = ["identityAzureAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_azure_auth - if self.identity_azure_auth: - _dict['identityAzureAuth'] = self.identity_azure_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.parse_obj(obj) - - _obj = ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response.parse_obj({ - "identity_azure_auth": ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.from_dict(obj.get("identityAzureAuth")) if obj.get("identityAzureAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth.py b/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth.py deleted file mode 100644 index 2c9d363..0000000 --- a/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth(BaseModel): - """ - ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth - """ - id: StrictStr = Field(...) - access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL") - access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL") - access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit") - access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - identity_id: StrictStr = Field(default=..., alias="identityId") - tenant_id: StrictStr = Field(default=..., alias="tenantId") - resource: StrictStr = Field(...) - allowed_service_principal_ids: StrictStr = Field(default=..., alias="allowedServicePrincipalIds") - __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "accessTokenTrustedIps", "createdAt", "updatedAt", "identityId", "tenantId", "resource", "allowedServicePrincipalIds"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth: - """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if access_token_trusted_ips (nullable) is None - # and __fields_set__ contains the field - if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__: - _dict['accessTokenTrustedIps'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth: - """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.parse_obj(obj) - - _obj = ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.parse_obj({ - "id": obj.get("id"), - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0, - "access_token_trusted_ips": obj.get("accessTokenTrustedIps"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "identity_id": obj.get("identityId"), - "tenant_id": obj.get("tenantId"), - "resource": obj.get("resource"), - "allowed_service_principal_ids": obj.get("allowedServicePrincipalIds") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_patch_request.py b/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_patch_request.py deleted file mode 100644 index 87029e0..0000000 --- a/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conint, conlist -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest(BaseModel): - """ - ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest - """ - tenant_id: Optional[StrictStr] = Field(default=None, alias="tenantId", description="The new tenant ID for the Azure AD organization.") - resource: Optional[StrictStr] = Field(default=None, description="The new resource URL for the application registered in Azure AD.") - allowed_service_principal_ids: Optional[StrictStr] = Field(default='', alias="allowedServicePrincipalIds", description="The new comma-separated list of Azure AD service principal IDs that are allowed to authenticate with Infisical.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The new IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=0)] = Field(default=None, alias="accessTokenTTL", description="The new lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=None, alias="accessTokenNumUsesLimit", description="The new maximum number of times that an access token can be used.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=None, alias="accessTokenMaxTTL", description="The new maximum lifetime for an acccess token in seconds.") - __properties = ["tenantId", "resource", "allowedServicePrincipalIds", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenNumUsesLimit", "accessTokenMaxTTL"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.parse_obj({ - "tenant_id": obj.get("tenantId"), - "resource": obj.get("resource"), - "allowed_service_principal_ids": obj.get("allowedServicePrincipalIds") if obj.get("allowedServicePrincipalIds") is not None else '', - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL"), - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit"), - "access_token_max_ttl": obj.get("accessTokenMaxTTL") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_post_request.py b/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_post_request.py deleted file mode 100644 index d9d7b00..0000000 --- a/infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conint, conlist -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest(BaseModel): - """ - ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest - """ - tenant_id: StrictStr = Field(default=..., alias="tenantId", description="The tenant ID for the Azure AD organization.") - resource: StrictStr = Field(default=..., description="The resource URL for the application registered in Azure AD.") - allowed_service_principal_ids: Optional[StrictStr] = Field(default='', alias="allowedServicePrincipalIds", description="The comma-separated list of Azure AD service principal IDs that are allowed to authenticate with Infisical.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=1)] = Field(default=2592000, alias="accessTokenTTL", description="The lifetime for an acccess token in seconds.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=2592000, alias="accessTokenMaxTTL", description="The maximum lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=0, alias="accessTokenNumUsesLimit", description="The maximum number of times that an access token can be used.") - __properties = ["tenantId", "resource", "allowedServicePrincipalIds", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.parse_obj(obj) - - _obj = ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.parse_obj({ - "tenant_id": obj.get("tenantId"), - "resource": obj.get("resource"), - "allowed_service_principal_ids": obj.get("allowedServicePrincipalIds") if obj.get("allowedServicePrincipalIds") is not None else '', - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 2592000, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 2592000, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_check_auth_post200_response.py b/infisicalapi_client/models/api_v1_auth_check_auth_post200_response.py deleted file mode 100644 index 397e1fa..0000000 --- a/infisicalapi_client/models/api_v1_auth_check_auth_post200_response.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV1AuthCheckAuthPost200Response(BaseModel): - """ - ApiV1AuthCheckAuthPost200Response - """ - message: StrictStr = Field(...) - __properties = ["message"] - - @validator('message') - def message_validate_enum(cls, value): - """Validates the enum""" - if value not in ('Authenticated'): - raise ValueError("must be one of enum values ('Authenticated')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthCheckAuthPost200Response: - """Create an instance of ApiV1AuthCheckAuthPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthCheckAuthPost200Response: - """Create an instance of ApiV1AuthCheckAuthPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthCheckAuthPost200Response.parse_obj(obj) - - _obj = ApiV1AuthCheckAuthPost200Response.parse_obj({ - "message": obj.get("message") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_get200_response.py b/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_get200_response.py deleted file mode 100644 index 5a6e96d..0000000 --- a/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth - -class ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response(BaseModel): - """ - ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response - """ - identity_gcp_auth: ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth = Field(default=..., alias="identityGcpAuth") - __properties = ["identityGcpAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_gcp_auth - if self.identity_gcp_auth: - _dict['identityGcpAuth'] = self.identity_gcp_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.parse_obj(obj) - - _obj = ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.parse_obj({ - "identity_gcp_auth": ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.from_dict(obj.get("identityGcpAuth")) if obj.get("identityGcpAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth.py b/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth.py deleted file mode 100644 index c0559e6..0000000 --- a/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth(BaseModel): - """ - ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth - """ - id: StrictStr = Field(...) - access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL") - access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL") - access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit") - access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - identity_id: StrictStr = Field(default=..., alias="identityId") - type: StrictStr = Field(...) - allowed_service_accounts: StrictStr = Field(default=..., alias="allowedServiceAccounts") - allowed_projects: StrictStr = Field(default=..., alias="allowedProjects") - allowed_zones: StrictStr = Field(default=..., alias="allowedZones") - __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "accessTokenTrustedIps", "createdAt", "updatedAt", "identityId", "type", "allowedServiceAccounts", "allowedProjects", "allowedZones"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth: - """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if access_token_trusted_ips (nullable) is None - # and __fields_set__ contains the field - if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__: - _dict['accessTokenTrustedIps'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth: - """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.parse_obj(obj) - - _obj = ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.parse_obj({ - "id": obj.get("id"), - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0, - "access_token_trusted_ips": obj.get("accessTokenTrustedIps"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "identity_id": obj.get("identityId"), - "type": obj.get("type"), - "allowed_service_accounts": obj.get("allowedServiceAccounts"), - "allowed_projects": obj.get("allowedProjects"), - "allowed_zones": obj.get("allowedZones") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_patch_request.py b/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_patch_request.py deleted file mode 100644 index 87ca311..0000000 --- a/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conint, conlist, validator -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest(BaseModel): - """ - ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest - """ - type: Optional[StrictStr] = None - allowed_service_accounts: Optional[StrictStr] = Field(default='', alias="allowedServiceAccounts", description="The new comma-separated list of trusted service account emails corresponding to the GCE resource(s) allowed to authenticate with Infisical.") - allowed_projects: Optional[StrictStr] = Field(default='', alias="allowedProjects", description="The new comma-separated list of trusted GCP projects that the GCE instance must belong to authenticate with Infisical.") - allowed_zones: Optional[StrictStr] = Field(default='', alias="allowedZones", description="The new comma-separated list of trusted zones that the GCE instances must belong to authenticate with Infisical.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The new IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=0)] = Field(default=None, alias="accessTokenTTL", description="The new lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=None, alias="accessTokenNumUsesLimit", description="The new maximum number of times that an access token can be used.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=None, alias="accessTokenMaxTTL", description="The new maximum lifetime for an acccess token in seconds.") - __properties = ["type", "allowedServiceAccounts", "allowedProjects", "allowedZones", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenNumUsesLimit", "accessTokenMaxTTL"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('iam', 'gce'): - raise ValueError("must be one of enum values ('iam', 'gce')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.parse_obj({ - "type": obj.get("type"), - "allowed_service_accounts": obj.get("allowedServiceAccounts") if obj.get("allowedServiceAccounts") is not None else '', - "allowed_projects": obj.get("allowedProjects") if obj.get("allowedProjects") is not None else '', - "allowed_zones": obj.get("allowedZones") if obj.get("allowedZones") is not None else '', - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL"), - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit"), - "access_token_max_ttl": obj.get("accessTokenMaxTTL") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_post_request.py b/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_post_request.py deleted file mode 100644 index 900eee1..0000000 --- a/infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conint, conlist, validator -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest(BaseModel): - """ - ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest - """ - type: StrictStr = Field(...) - allowed_service_accounts: Optional[StrictStr] = Field(default='', alias="allowedServiceAccounts", description="The comma-separated list of trusted service account emails corresponding to the GCE resource(s) allowed to authenticate with Infisical.") - allowed_projects: Optional[StrictStr] = Field(default='', alias="allowedProjects", description="The comma-separated list of trusted GCP projects that the GCE instance must belong to authenticate with Infisical.") - allowed_zones: Optional[StrictStr] = Field(default='', alias="allowedZones", description="The comma-separated list of trusted zones that the GCE instances must belong to authenticate with Infisical.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=1)] = Field(default=2592000, alias="accessTokenTTL", description="The lifetime for an acccess token in seconds.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=2592000, alias="accessTokenMaxTTL", description="The maximum lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=0, alias="accessTokenNumUsesLimit", description="The maximum number of times that an access token can be used.") - __properties = ["type", "allowedServiceAccounts", "allowedProjects", "allowedZones", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('iam', 'gce'): - raise ValueError("must be one of enum values ('iam', 'gce')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.parse_obj(obj) - - _obj = ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest.parse_obj({ - "type": obj.get("type"), - "allowed_service_accounts": obj.get("allowedServiceAccounts") if obj.get("allowedServiceAccounts") is not None else '', - "allowed_projects": obj.get("allowedProjects") if obj.get("allowedProjects") is not None else '', - "allowed_zones": obj.get("allowedZones") if obj.get("allowedZones") is not None else '', - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 2592000, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 2592000, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response.py b/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response.py deleted file mode 100644 index 2610416..0000000 --- a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth - -class ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response(BaseModel): - """ - ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response - """ - identity_kubernetes_auth: ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth = Field(default=..., alias="identityKubernetesAuth") - __properties = ["identityKubernetesAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_kubernetes_auth - if self.identity_kubernetes_auth: - _dict['identityKubernetesAuth'] = self.identity_kubernetes_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.parse_obj(obj) - - _obj = ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response.parse_obj({ - "identity_kubernetes_auth": ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.from_dict(obj.get("identityKubernetesAuth")) if obj.get("identityKubernetesAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth.py b/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth.py deleted file mode 100644 index a78dd22..0000000 --- a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth(BaseModel): - """ - ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth - """ - id: StrictStr = Field(...) - access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL") - access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL") - access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit") - access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - identity_id: StrictStr = Field(default=..., alias="identityId") - kubernetes_host: StrictStr = Field(default=..., alias="kubernetesHost") - allowed_namespaces: StrictStr = Field(default=..., alias="allowedNamespaces") - allowed_names: StrictStr = Field(default=..., alias="allowedNames") - allowed_audience: StrictStr = Field(default=..., alias="allowedAudience") - __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "accessTokenTrustedIps", "createdAt", "updatedAt", "identityId", "kubernetesHost", "allowedNamespaces", "allowedNames", "allowedAudience"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if access_token_trusted_ips (nullable) is None - # and __fields_set__ contains the field - if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__: - _dict['accessTokenTrustedIps'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.parse_obj(obj) - - _obj = ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth.parse_obj({ - "id": obj.get("id"), - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0, - "access_token_trusted_ips": obj.get("accessTokenTrustedIps"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "identity_id": obj.get("identityId"), - "kubernetes_host": obj.get("kubernetesHost"), - "allowed_namespaces": obj.get("allowedNamespaces"), - "allowed_names": obj.get("allowedNames"), - "allowed_audience": obj.get("allowedAudience") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_get200_response.py b/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_get200_response.py deleted file mode 100644 index 4a767b0..0000000 --- a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth - -class ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response(BaseModel): - """ - ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response - """ - identity_kubernetes_auth: ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth = Field(default=..., alias="identityKubernetesAuth") - __properties = ["identityKubernetesAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_kubernetes_auth - if self.identity_kubernetes_auth: - _dict['identityKubernetesAuth'] = self.identity_kubernetes_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.parse_obj(obj) - - _obj = ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response.parse_obj({ - "identity_kubernetes_auth": ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.from_dict(obj.get("identityKubernetesAuth")) if obj.get("identityKubernetesAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth.py b/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth.py deleted file mode 100644 index b465043..0000000 --- a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth(BaseModel): - """ - ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth - """ - id: StrictStr = Field(...) - access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL") - access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL") - access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit") - access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - identity_id: StrictStr = Field(default=..., alias="identityId") - kubernetes_host: StrictStr = Field(default=..., alias="kubernetesHost") - allowed_namespaces: StrictStr = Field(default=..., alias="allowedNamespaces") - allowed_names: StrictStr = Field(default=..., alias="allowedNames") - allowed_audience: StrictStr = Field(default=..., alias="allowedAudience") - ca_cert: StrictStr = Field(default=..., alias="caCert") - token_reviewer_jwt: StrictStr = Field(default=..., alias="tokenReviewerJwt") - __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "accessTokenTrustedIps", "createdAt", "updatedAt", "identityId", "kubernetesHost", "allowedNamespaces", "allowedNames", "allowedAudience", "caCert", "tokenReviewerJwt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if access_token_trusted_ips (nullable) is None - # and __fields_set__ contains the field - if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__: - _dict['accessTokenTrustedIps'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.parse_obj(obj) - - _obj = ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth.parse_obj({ - "id": obj.get("id"), - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0, - "access_token_trusted_ips": obj.get("accessTokenTrustedIps"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "identity_id": obj.get("identityId"), - "kubernetes_host": obj.get("kubernetesHost"), - "allowed_namespaces": obj.get("allowedNamespaces"), - "allowed_names": obj.get("allowedNames"), - "allowed_audience": obj.get("allowedAudience"), - "ca_cert": obj.get("caCert"), - "token_reviewer_jwt": obj.get("tokenReviewerJwt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_patch_request.py b/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_patch_request.py deleted file mode 100644 index ff9ca37..0000000 --- a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conint, conlist, constr -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest(BaseModel): - """ - ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest - """ - kubernetes_host: Optional[constr(strict=True, min_length=1)] = Field(default=None, alias="kubernetesHost", description="The new host string, host:port pair, or URL to the base of the Kubernetes API server.") - ca_cert: Optional[StrictStr] = Field(default=None, alias="caCert", description="The new PEM-encoded CA cert for the Kubernetes API server.") - token_reviewer_jwt: Optional[constr(strict=True, min_length=1)] = Field(default=None, alias="tokenReviewerJwt", description="The new long-lived service account JWT token for Infisical to access the TokenReview API to validate other service account JWT tokens submitted by applications/pods.") - allowed_namespaces: Optional[StrictStr] = Field(default=None, alias="allowedNamespaces", description="The new comma-separated list of trusted namespaces that service accounts must belong to authenticate with Infisical.") - allowed_names: Optional[StrictStr] = Field(default=None, alias="allowedNames", description="The new comma-separated list of trusted service account names that can authenticate with Infisical.") - allowed_audience: Optional[StrictStr] = Field(default=None, alias="allowedAudience", description="The new optional audience claim that the service account JWT token must have to authenticate with Infisical.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The new IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=0)] = Field(default=None, alias="accessTokenTTL", description="The new lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=None, alias="accessTokenNumUsesLimit", description="The new maximum number of times that an access token can be used.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=None, alias="accessTokenMaxTTL", description="The new maximum lifetime for an acccess token in seconds.") - __properties = ["kubernetesHost", "caCert", "tokenReviewerJwt", "allowedNamespaces", "allowedNames", "allowedAudience", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenNumUsesLimit", "accessTokenMaxTTL"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest.parse_obj({ - "kubernetes_host": obj.get("kubernetesHost"), - "ca_cert": obj.get("caCert"), - "token_reviewer_jwt": obj.get("tokenReviewerJwt"), - "allowed_namespaces": obj.get("allowedNamespaces"), - "allowed_names": obj.get("allowedNames"), - "allowed_audience": obj.get("allowedAudience"), - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL"), - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit"), - "access_token_max_ttl": obj.get("accessTokenMaxTTL") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_post_request.py b/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_post_request.py deleted file mode 100644 index db91057..0000000 --- a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conint, conlist, constr -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest(BaseModel): - """ - ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest - """ - kubernetes_host: constr(strict=True, min_length=1) = Field(default=..., alias="kubernetesHost", description="The host string, host:port pair, or URL to the base of the Kubernetes API server.") - ca_cert: Optional[StrictStr] = Field(default='', alias="caCert", description="The PEM-encoded CA cert for the Kubernetes API server.") - token_reviewer_jwt: constr(strict=True, min_length=1) = Field(default=..., alias="tokenReviewerJwt", description="The long-lived service account JWT token for Infisical to access the TokenReview API to validate other service account JWT tokens submitted by applications/pods.") - allowed_namespaces: StrictStr = Field(default=..., alias="allowedNamespaces", description="The comma-separated list of trusted namespaces that service accounts must belong to authenticate with Infisical.") - allowed_names: StrictStr = Field(default=..., alias="allowedNames", description="The comma-separated list of trusted service account names that can authenticate with Infisical.") - allowed_audience: StrictStr = Field(default=..., alias="allowedAudience", description="The optional audience claim that the service account JWT token must have to authenticate with Infisical.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=1)] = Field(default=2592000, alias="accessTokenTTL", description="The lifetime for an acccess token in seconds.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=2592000, alias="accessTokenMaxTTL", description="The maximum lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=0, alias="accessTokenNumUsesLimit", description="The maximum number of times that an access token can be used.") - __properties = ["kubernetesHost", "caCert", "tokenReviewerJwt", "allowedNamespaces", "allowedNames", "allowedAudience", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.parse_obj(obj) - - _obj = ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest.parse_obj({ - "kubernetes_host": obj.get("kubernetesHost"), - "ca_cert": obj.get("caCert") if obj.get("caCert") is not None else '', - "token_reviewer_jwt": obj.get("tokenReviewerJwt"), - "allowed_namespaces": obj.get("allowedNamespaces"), - "allowed_names": obj.get("allowedNames"), - "allowed_audience": obj.get("allowedAudience"), - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 2592000, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 2592000, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_login_post_request.py b/infisicalapi_client/models/api_v1_auth_kubernetes_auth_login_post_request.py deleted file mode 100644 index ecc06bb..0000000 --- a/infisicalapi_client/models/api_v1_auth_kubernetes_auth_login_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuthKubernetesAuthLoginPostRequest(BaseModel): - """ - ApiV1AuthKubernetesAuthLoginPostRequest - """ - identity_id: StrictStr = Field(default=..., alias="identityId", description="The ID of the identity to login.") - jwt: StrictStr = Field(...) - __properties = ["identityId", "jwt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthKubernetesAuthLoginPostRequest: - """Create an instance of ApiV1AuthKubernetesAuthLoginPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthKubernetesAuthLoginPostRequest: - """Create an instance of ApiV1AuthKubernetesAuthLoginPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthKubernetesAuthLoginPostRequest.parse_obj(obj) - - _obj = ApiV1AuthKubernetesAuthLoginPostRequest.parse_obj({ - "identity_id": obj.get("identityId"), - "jwt": obj.get("jwt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_delete200_response.py b/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_delete200_response.py deleted file mode 100644 index c418193..0000000 --- a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_delete200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth - -class ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response(BaseModel): - """ - ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response - """ - identity_oidc_auth: ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth = Field(default=..., alias="identityOidcAuth") - __properties = ["identityOidcAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_oidc_auth - if self.identity_oidc_auth: - _dict['identityOidcAuth'] = self.identity_oidc_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.parse_obj(obj) - - _obj = ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response.parse_obj({ - "identity_oidc_auth": ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.from_dict(obj.get("identityOidcAuth")) if obj.get("identityOidcAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth.py b/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth.py deleted file mode 100644 index e8b0788..0000000 --- a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth(BaseModel): - """ - ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth - """ - id: StrictStr = Field(...) - access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL") - access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL") - access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit") - access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps") - identity_id: StrictStr = Field(default=..., alias="identityId") - oidc_discovery_url: StrictStr = Field(default=..., alias="oidcDiscoveryUrl") - bound_issuer: StrictStr = Field(default=..., alias="boundIssuer") - bound_audiences: StrictStr = Field(default=..., alias="boundAudiences") - bound_claims: Optional[Any] = Field(default=None, alias="boundClaims") - bound_subject: Optional[StrictStr] = Field(default=None, alias="boundSubject") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "accessTokenTrustedIps", "identityId", "oidcDiscoveryUrl", "boundIssuer", "boundAudiences", "boundClaims", "boundSubject", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if access_token_trusted_ips (nullable) is None - # and __fields_set__ contains the field - if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__: - _dict['accessTokenTrustedIps'] = None - - # set to None if bound_claims (nullable) is None - # and __fields_set__ contains the field - if self.bound_claims is None and "bound_claims" in self.__fields_set__: - _dict['boundClaims'] = None - - # set to None if bound_subject (nullable) is None - # and __fields_set__ contains the field - if self.bound_subject is None and "bound_subject" in self.__fields_set__: - _dict['boundSubject'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.parse_obj(obj) - - _obj = ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth.parse_obj({ - "id": obj.get("id"), - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0, - "access_token_trusted_ips": obj.get("accessTokenTrustedIps"), - "identity_id": obj.get("identityId"), - "oidc_discovery_url": obj.get("oidcDiscoveryUrl"), - "bound_issuer": obj.get("boundIssuer"), - "bound_audiences": obj.get("boundAudiences"), - "bound_claims": obj.get("boundClaims"), - "bound_subject": obj.get("boundSubject"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_get200_response.py b/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_get200_response.py deleted file mode 100644 index 4ed2a62..0000000 --- a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth - -class ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response(BaseModel): - """ - ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response - """ - identity_oidc_auth: ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth = Field(default=..., alias="identityOidcAuth") - __properties = ["identityOidcAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_oidc_auth - if self.identity_oidc_auth: - _dict['identityOidcAuth'] = self.identity_oidc_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.parse_obj(obj) - - _obj = ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response.parse_obj({ - "identity_oidc_auth": ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.from_dict(obj.get("identityOidcAuth")) if obj.get("identityOidcAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth.py b/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth.py deleted file mode 100644 index 6a0ab46..0000000 --- a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth(BaseModel): - """ - ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth - """ - id: StrictStr = Field(...) - access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL") - access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL") - access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit") - access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps") - identity_id: StrictStr = Field(default=..., alias="identityId") - oidc_discovery_url: StrictStr = Field(default=..., alias="oidcDiscoveryUrl") - bound_issuer: StrictStr = Field(default=..., alias="boundIssuer") - bound_audiences: StrictStr = Field(default=..., alias="boundAudiences") - bound_claims: Optional[Any] = Field(default=None, alias="boundClaims") - bound_subject: Optional[StrictStr] = Field(default=None, alias="boundSubject") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - ca_cert: StrictStr = Field(default=..., alias="caCert") - __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "accessTokenTrustedIps", "identityId", "oidcDiscoveryUrl", "boundIssuer", "boundAudiences", "boundClaims", "boundSubject", "createdAt", "updatedAt", "caCert"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if access_token_trusted_ips (nullable) is None - # and __fields_set__ contains the field - if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__: - _dict['accessTokenTrustedIps'] = None - - # set to None if bound_claims (nullable) is None - # and __fields_set__ contains the field - if self.bound_claims is None and "bound_claims" in self.__fields_set__: - _dict['boundClaims'] = None - - # set to None if bound_subject (nullable) is None - # and __fields_set__ contains the field - if self.bound_subject is None and "bound_subject" in self.__fields_set__: - _dict['boundSubject'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.parse_obj(obj) - - _obj = ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth.parse_obj({ - "id": obj.get("id"), - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0, - "access_token_trusted_ips": obj.get("accessTokenTrustedIps"), - "identity_id": obj.get("identityId"), - "oidc_discovery_url": obj.get("oidcDiscoveryUrl"), - "bound_issuer": obj.get("boundIssuer"), - "bound_audiences": obj.get("boundAudiences"), - "bound_claims": obj.get("boundClaims"), - "bound_subject": obj.get("boundSubject"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "ca_cert": obj.get("caCert") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_patch_request.py b/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_patch_request.py deleted file mode 100644 index dc3405a..0000000 --- a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Dict, List, Optional -from pydantic import BaseModel, Field, StrictStr, conint, conlist, constr -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest(BaseModel): - """ - ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest - """ - oidc_discovery_url: Optional[constr(strict=True, min_length=1)] = Field(default=None, alias="oidcDiscoveryUrl", description="The new URL used to retrieve the OpenID Connect configuration from the identity provider.") - ca_cert: Optional[StrictStr] = Field(default='', alias="caCert", description="The new PEM-encoded CA cert for establishing secure communication with the Identity Provider endpoints.") - bound_issuer: Optional[constr(strict=True, min_length=1)] = Field(default=None, alias="boundIssuer", description="The new unique identifier of the identity provider issuing the JWT.") - bound_audiences: Optional[StrictStr] = Field(default='', alias="boundAudiences", description="The new list of intended recipients.") - bound_claims: Optional[Dict[str, StrictStr]] = Field(default=None, alias="boundClaims", description="The new attributes that should be present in the JWT for it to be valid.") - bound_subject: Optional[StrictStr] = Field(default='', alias="boundSubject", description="The new expected principal that is the subject of the JWT.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The new IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=1)] = Field(default=2592000, alias="accessTokenTTL", description="The new lifetime for an acccess token in seconds.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=2592000, alias="accessTokenMaxTTL", description="The new maximum lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=0, alias="accessTokenNumUsesLimit", description="The new maximum number of times that an access token can be used.") - __properties = ["oidcDiscoveryUrl", "caCert", "boundIssuer", "boundAudiences", "boundClaims", "boundSubject", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest.parse_obj({ - "oidc_discovery_url": obj.get("oidcDiscoveryUrl"), - "ca_cert": obj.get("caCert") if obj.get("caCert") is not None else '', - "bound_issuer": obj.get("boundIssuer"), - "bound_audiences": obj.get("boundAudiences") if obj.get("boundAudiences") is not None else '', - "bound_claims": obj.get("boundClaims"), - "bound_subject": obj.get("boundSubject") if obj.get("boundSubject") is not None else '', - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 2592000, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 2592000, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_post_request.py b/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_post_request.py deleted file mode 100644 index 2cb4031..0000000 --- a/infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Dict, List, Optional -from pydantic import BaseModel, Field, StrictStr, conint, conlist, constr -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest(BaseModel): - """ - ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest - """ - oidc_discovery_url: constr(strict=True, min_length=1) = Field(default=..., alias="oidcDiscoveryUrl", description="The URL used to retrieve the OpenID Connect configuration from the identity provider.") - ca_cert: Optional[StrictStr] = Field(default='', alias="caCert", description="The PEM-encoded CA cert for establishing secure communication with the Identity Provider endpoints.") - bound_issuer: constr(strict=True, min_length=1) = Field(default=..., alias="boundIssuer", description="The unique identifier of the identity provider issuing the JWT.") - bound_audiences: Optional[StrictStr] = Field(default='', alias="boundAudiences", description="The list of intended recipients.") - bound_claims: Dict[str, StrictStr] = Field(default=..., alias="boundClaims", description="The attributes that should be present in the JWT for it to be valid.") - bound_subject: Optional[StrictStr] = Field(default='', alias="boundSubject", description="The expected principal that is the subject of the JWT.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=1)] = Field(default=2592000, alias="accessTokenTTL", description="The lifetime for an acccess token in seconds.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=2592000, alias="accessTokenMaxTTL", description="The maximum lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=0, alias="accessTokenNumUsesLimit", description="The maximum number of times that an access token can be used.") - __properties = ["oidcDiscoveryUrl", "caCert", "boundIssuer", "boundAudiences", "boundClaims", "boundSubject", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.parse_obj(obj) - - _obj = ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest.parse_obj({ - "oidc_discovery_url": obj.get("oidcDiscoveryUrl"), - "ca_cert": obj.get("caCert") if obj.get("caCert") is not None else '', - "bound_issuer": obj.get("boundIssuer"), - "bound_audiences": obj.get("boundAudiences") if obj.get("boundAudiences") is not None else '', - "bound_claims": obj.get("boundClaims"), - "bound_subject": obj.get("boundSubject") if obj.get("boundSubject") is not None else '', - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 2592000, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 2592000, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_get200_response.py b/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_get200_response.py deleted file mode 100644 index 3d0b785..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth - -class ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response(BaseModel): - """ - ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response - """ - identity_token_auth: ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth = Field(default=..., alias="identityTokenAuth") - __properties = ["identityTokenAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_token_auth - if self.identity_token_auth: - _dict['identityTokenAuth'] = self.identity_token_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response.parse_obj({ - "identity_token_auth": ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.from_dict(obj.get("identityTokenAuth")) if obj.get("identityTokenAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth.py b/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth.py deleted file mode 100644 index adb6983..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth(BaseModel): - """ - ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth - """ - id: StrictStr = Field(...) - access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL") - access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL") - access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit") - access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - identity_id: StrictStr = Field(default=..., alias="identityId") - __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "accessTokenTrustedIps", "createdAt", "updatedAt", "identityId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if access_token_trusted_ips (nullable) is None - # and __fields_set__ contains the field - if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__: - _dict['accessTokenTrustedIps'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth.parse_obj({ - "id": obj.get("id"), - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0, - "access_token_trusted_ips": obj.get("accessTokenTrustedIps"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "identity_id": obj.get("identityId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_patch_request.py b/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_patch_request.py deleted file mode 100644 index 57f2b23..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, conint, conlist -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest(BaseModel): - """ - ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest - """ - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The new IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=0)] = Field(default=None, alias="accessTokenTTL", description="The new lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=None, alias="accessTokenNumUsesLimit", description="The new maximum number of times that an access token can be used.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=None, alias="accessTokenMaxTTL", description="The new maximum lifetime for an acccess token in seconds.") - __properties = ["accessTokenTrustedIps", "accessTokenTTL", "accessTokenNumUsesLimit", "accessTokenMaxTTL"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest.parse_obj({ - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL"), - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit"), - "access_token_max_ttl": obj.get("accessTokenMaxTTL") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_post_request.py b/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_post_request.py deleted file mode 100644 index 30c9cee..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, conint, conlist -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest(BaseModel): - """ - ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest - """ - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=1)] = Field(default=2592000, alias="accessTokenTTL", description="The lifetime for an acccess token in seconds.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=2592000, alias="accessTokenMaxTTL", description="The maximum lifetime for an acccess token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=0, alias="accessTokenNumUsesLimit", description="The maximum number of times that an access token can be used.") - __properties = ["accessTokenTrustedIps", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest.parse_obj({ - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 2592000, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 2592000, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner.py b/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner.py deleted file mode 100644 index 6ba27ab..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner(BaseModel): - """ - ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - """ - ip_address: StrictStr = Field(default=..., alias="ipAddress") - __properties = ["ipAddress"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.parse_obj({ - "ip_address": obj.get("ipAddress") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_get200_response.py b/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_get200_response.py deleted file mode 100644 index 3799d43..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner - -class ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response(BaseModel): - """ - ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response - """ - tokens: conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner) = Field(...) - __properties = ["tokens"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in tokens (list) - _items = [] - if self.tokens: - for _item in self.tokens: - if _item: - _items.append(_item.to_dict()) - _dict['tokens'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response.parse_obj({ - "tokens": [ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.from_dict(_item) for _item in obj.get("tokens")] if obj.get("tokens") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner.py b/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner.py deleted file mode 100644 index 89c65c0..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner(BaseModel): - """ - ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner - """ - id: StrictStr = Field(...) - access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=2592000, alias="accessTokenTTL") - access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=2592000, alias="accessTokenMaxTTL") - access_token_num_uses: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUses") - access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit") - access_token_last_used_at: Optional[datetime] = Field(default=None, alias="accessTokenLastUsedAt") - access_token_last_renewed_at: Optional[datetime] = Field(default=None, alias="accessTokenLastRenewedAt") - is_access_token_revoked: Optional[StrictBool] = Field(default=False, alias="isAccessTokenRevoked") - identity_ua_client_secret_id: Optional[StrictStr] = Field(default=None, alias="identityUAClientSecretId") - identity_id: StrictStr = Field(default=..., alias="identityId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - name: Optional[StrictStr] = None - __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUses", "accessTokenNumUsesLimit", "accessTokenLastUsedAt", "accessTokenLastRenewedAt", "isAccessTokenRevoked", "identityUAClientSecretId", "identityId", "createdAt", "updatedAt", "name"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if access_token_last_used_at (nullable) is None - # and __fields_set__ contains the field - if self.access_token_last_used_at is None and "access_token_last_used_at" in self.__fields_set__: - _dict['accessTokenLastUsedAt'] = None - - # set to None if access_token_last_renewed_at (nullable) is None - # and __fields_set__ contains the field - if self.access_token_last_renewed_at is None and "access_token_last_renewed_at" in self.__fields_set__: - _dict['accessTokenLastRenewedAt'] = None - - # set to None if identity_ua_client_secret_id (nullable) is None - # and __fields_set__ contains the field - if self.identity_ua_client_secret_id is None and "identity_ua_client_secret_id" in self.__fields_set__: - _dict['identityUAClientSecretId'] = None - - # set to None if name (nullable) is None - # and __fields_set__ contains the field - if self.name is None and "name" in self.__fields_set__: - _dict['name'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.parse_obj({ - "id": obj.get("id"), - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 2592000, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 2592000, - "access_token_num_uses": obj.get("accessTokenNumUses") if obj.get("accessTokenNumUses") is not None else 0, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0, - "access_token_last_used_at": obj.get("accessTokenLastUsedAt"), - "access_token_last_renewed_at": obj.get("accessTokenLastRenewedAt"), - "is_access_token_revoked": obj.get("isAccessTokenRevoked") if obj.get("isAccessTokenRevoked") is not None else False, - "identity_ua_client_secret_id": obj.get("identityUAClientSecretId"), - "identity_id": obj.get("identityId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "name": obj.get("name") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_post200_response.py b/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_post200_response.py deleted file mode 100644 index 9d2aca3..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_post200_response.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, validator - -class ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response(BaseModel): - """ - ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - """ - access_token: StrictStr = Field(default=..., alias="accessToken") - expires_in: Union[StrictFloat, StrictInt] = Field(default=..., alias="expiresIn") - access_token_max_ttl: Union[StrictFloat, StrictInt] = Field(default=..., alias="accessTokenMaxTTL") - token_type: StrictStr = Field(default=..., alias="tokenType") - __properties = ["accessToken", "expiresIn", "accessTokenMaxTTL", "tokenType"] - - @validator('token_type') - def token_type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('Bearer'): - raise ValueError("must be one of enum values ('Bearer')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response.parse_obj({ - "access_token": obj.get("accessToken"), - "expires_in": obj.get("expiresIn"), - "access_token_max_ttl": obj.get("accessTokenMaxTTL"), - "token_type": obj.get("tokenType") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_post_request.py b/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_post_request.py deleted file mode 100644 index e8821bc..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest(BaseModel): - """ - ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest - """ - name: Optional[StrictStr] = Field(default=None, description="The name of the token to create") - __properties = ["name"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest: - """Create an instance of ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest.parse_obj({ - "name": obj.get("name") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_tokens_token_id_patch200_response.py b/infisicalapi_client/models/api_v1_auth_token_auth_tokens_token_id_patch200_response.py deleted file mode 100644 index 97b3cdc..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_tokens_token_id_patch200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner - -class ApiV1AuthTokenAuthTokensTokenIdPatch200Response(BaseModel): - """ - ApiV1AuthTokenAuthTokensTokenIdPatch200Response - """ - token: ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner = Field(...) - __properties = ["token"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthTokensTokenIdPatch200Response: - """Create an instance of ApiV1AuthTokenAuthTokensTokenIdPatch200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of token - if self.token: - _dict['token'] = self.token.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthTokensTokenIdPatch200Response: - """Create an instance of ApiV1AuthTokenAuthTokensTokenIdPatch200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthTokensTokenIdPatch200Response.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthTokensTokenIdPatch200Response.parse_obj({ - "token": ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner.from_dict(obj.get("token")) if obj.get("token") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_auth_tokens_token_id_patch_request.py b/infisicalapi_client/models/api_v1_auth_token_auth_tokens_token_id_patch_request.py deleted file mode 100644 index 42d8bea..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_auth_tokens_token_id_patch_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuthTokenAuthTokensTokenIdPatchRequest(BaseModel): - """ - ApiV1AuthTokenAuthTokensTokenIdPatchRequest - """ - name: Optional[StrictStr] = Field(default=None, description="The name of the token to update to") - __properties = ["name"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenAuthTokensTokenIdPatchRequest: - """Create an instance of ApiV1AuthTokenAuthTokensTokenIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenAuthTokensTokenIdPatchRequest: - """Create an instance of ApiV1AuthTokenAuthTokensTokenIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenAuthTokensTokenIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AuthTokenAuthTokensTokenIdPatchRequest.parse_obj({ - "name": obj.get("name") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_post200_response.py b/infisicalapi_client/models/api_v1_auth_token_post200_response.py deleted file mode 100644 index 1c577e8..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_post200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuthTokenPost200Response(BaseModel): - """ - ApiV1AuthTokenPost200Response - """ - token: StrictStr = Field(...) - __properties = ["token"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenPost200Response: - """Create an instance of ApiV1AuthTokenPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenPost200Response: - """Create an instance of ApiV1AuthTokenPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenPost200Response.parse_obj(obj) - - _obj = ApiV1AuthTokenPost200Response.parse_obj({ - "token": obj.get("token") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_renew_post_request.py b/infisicalapi_client/models/api_v1_auth_token_renew_post_request.py deleted file mode 100644 index b95a7f1..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_renew_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuthTokenRenewPostRequest(BaseModel): - """ - ApiV1AuthTokenRenewPostRequest - """ - access_token: StrictStr = Field(default=..., alias="accessToken", description="The access token to renew.") - __properties = ["accessToken"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenRenewPostRequest: - """Create an instance of ApiV1AuthTokenRenewPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenRenewPostRequest: - """Create an instance of ApiV1AuthTokenRenewPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenRenewPostRequest.parse_obj(obj) - - _obj = ApiV1AuthTokenRenewPostRequest.parse_obj({ - "access_token": obj.get("accessToken") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_token_revoke_post_request.py b/infisicalapi_client/models/api_v1_auth_token_revoke_post_request.py deleted file mode 100644 index 0043060..0000000 --- a/infisicalapi_client/models/api_v1_auth_token_revoke_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuthTokenRevokePostRequest(BaseModel): - """ - ApiV1AuthTokenRevokePostRequest - """ - access_token: StrictStr = Field(default=..., alias="accessToken", description="The access token to revoke.") - __properties = ["accessToken"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthTokenRevokePostRequest: - """Create an instance of ApiV1AuthTokenRevokePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthTokenRevokePostRequest: - """Create an instance of ApiV1AuthTokenRevokePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthTokenRevokePostRequest.parse_obj(obj) - - _obj = ApiV1AuthTokenRevokePostRequest.parse_obj({ - "access_token": obj.get("accessToken") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response.py b/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response.py deleted file mode 100644 index 7c2302c..0000000 --- a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner - -class ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response(BaseModel): - """ - ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response - """ - client_secret_data: ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner = Field(default=..., alias="clientSecretData") - __properties = ["clientSecretData"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of client_secret_data - if self.client_secret_data: - _dict['clientSecretData'] = self.client_secret_data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.parse_obj(obj) - - _obj = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response.parse_obj({ - "client_secret_data": ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.from_dict(obj.get("clientSecretData")) if obj.get("clientSecretData") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response.py b/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response.py deleted file mode 100644 index 651868c..0000000 --- a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner - -class ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response(BaseModel): - """ - ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response - """ - client_secret_data: conlist(ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner) = Field(default=..., alias="clientSecretData") - __properties = ["clientSecretData"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in client_secret_data (list) - _items = [] - if self.client_secret_data: - for _item in self.client_secret_data: - if _item: - _items.append(_item.to_dict()) - _dict['clientSecretData'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.parse_obj(obj) - - _obj = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response.parse_obj({ - "client_secret_data": [ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.from_dict(_item) for _item in obj.get("clientSecretData")] if obj.get("clientSecretData") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner.py b/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner.py deleted file mode 100644 index 7b275f5..0000000 --- a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner(BaseModel): - """ - ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner - """ - id: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - description: StrictStr = Field(...) - client_secret_prefix: StrictStr = Field(default=..., alias="clientSecretPrefix") - client_secret_num_uses: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="clientSecretNumUses") - client_secret_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="clientSecretNumUsesLimit") - client_secret_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="clientSecretTTL") - identity_uaid: StrictStr = Field(default=..., alias="identityUAId") - is_client_secret_revoked: Optional[StrictBool] = Field(default=False, alias="isClientSecretRevoked") - __properties = ["id", "createdAt", "updatedAt", "description", "clientSecretPrefix", "clientSecretNumUses", "clientSecretNumUsesLimit", "clientSecretTTL", "identityUAId", "isClientSecretRevoked"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.parse_obj(obj) - - _obj = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.parse_obj({ - "id": obj.get("id"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "description": obj.get("description"), - "client_secret_prefix": obj.get("clientSecretPrefix"), - "client_secret_num_uses": obj.get("clientSecretNumUses") if obj.get("clientSecretNumUses") is not None else 0, - "client_secret_num_uses_limit": obj.get("clientSecretNumUsesLimit") if obj.get("clientSecretNumUsesLimit") is not None else 0, - "client_secret_ttl": obj.get("clientSecretTTL") if obj.get("clientSecretTTL") is not None else 0, - "identity_uaid": obj.get("identityUAId"), - "is_client_secret_revoked": obj.get("isClientSecretRevoked") if obj.get("isClientSecretRevoked") is not None else False - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response.py b/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response.py deleted file mode 100644 index 35a9cb6..0000000 --- a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner - -class ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response(BaseModel): - """ - ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response - """ - client_secret: StrictStr = Field(default=..., alias="clientSecret") - client_secret_data: ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner = Field(default=..., alias="clientSecretData") - __properties = ["clientSecret", "clientSecretData"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of client_secret_data - if self.client_secret_data: - _dict['clientSecretData'] = self.client_secret_data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.parse_obj(obj) - - _obj = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response.parse_obj({ - "client_secret": obj.get("clientSecret"), - "client_secret_data": ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner.from_dict(obj.get("clientSecretData")) if obj.get("clientSecretData") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request.py b/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request.py deleted file mode 100644 index 01027d4..0000000 --- a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint - -class ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest(BaseModel): - """ - ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest - """ - description: Optional[StrictStr] = Field(default='', description="The description of the client secret.") - num_uses_limit: Optional[Union[confloat(ge=0, strict=True), conint(ge=0, strict=True)]] = Field(default=0, alias="numUsesLimit", description="The maximum number of times that the client secret can be used; a value of 0 implies infinite number of uses.") - ttl: Optional[Union[confloat(le=315360000, ge=0, strict=True), conint(le=315360000, ge=0, strict=True)]] = Field(default=0, description="The lifetime for the client secret in seconds.") - __properties = ["description", "numUsesLimit", "ttl"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.parse_obj(obj) - - _obj = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest.parse_obj({ - "description": obj.get("description") if obj.get("description") is not None else '', - "num_uses_limit": obj.get("numUsesLimit") if obj.get("numUsesLimit") is not None else 0, - "ttl": obj.get("ttl") if obj.get("ttl") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_get200_response.py b/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_get200_response.py deleted file mode 100644 index fdea4a3..0000000 --- a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth - -class ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response(BaseModel): - """ - ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response - """ - identity_universal_auth: ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth = Field(default=..., alias="identityUniversalAuth") - __properties = ["identityUniversalAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_universal_auth - if self.identity_universal_auth: - _dict['identityUniversalAuth'] = self.identity_universal_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.parse_obj(obj) - - _obj = ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response.parse_obj({ - "identity_universal_auth": ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.from_dict(obj.get("identityUniversalAuth")) if obj.get("identityUniversalAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth.py b/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth.py deleted file mode 100644 index d1bc4e5..0000000 --- a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth(BaseModel): - """ - ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth - """ - id: StrictStr = Field(...) - client_id: StrictStr = Field(default=..., alias="clientId") - access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL") - access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL") - access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit") - client_secret_trusted_ips: Optional[Any] = Field(default=None, alias="clientSecretTrustedIps") - access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - identity_id: StrictStr = Field(default=..., alias="identityId") - __properties = ["id", "clientId", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "clientSecretTrustedIps", "accessTokenTrustedIps", "createdAt", "updatedAt", "identityId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if client_secret_trusted_ips (nullable) is None - # and __fields_set__ contains the field - if self.client_secret_trusted_ips is None and "client_secret_trusted_ips" in self.__fields_set__: - _dict['clientSecretTrustedIps'] = None - - # set to None if access_token_trusted_ips (nullable) is None - # and __fields_set__ contains the field - if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__: - _dict['accessTokenTrustedIps'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.parse_obj(obj) - - _obj = ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth.parse_obj({ - "id": obj.get("id"), - "client_id": obj.get("clientId"), - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0, - "client_secret_trusted_ips": obj.get("clientSecretTrustedIps"), - "access_token_trusted_ips": obj.get("accessTokenTrustedIps"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "identity_id": obj.get("identityId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_patch_request.py b/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_patch_request.py deleted file mode 100644 index 77d0916..0000000 --- a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, conint, conlist -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest(BaseModel): - """ - ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest - """ - client_secret_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="clientSecretTrustedIps", description="The new list of IPs or CIDR ranges that the Client Secret can be used from.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The new list of IPs or CIDR ranges that access tokens can be used from.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=0)] = Field(default=None, alias="accessTokenTTL", description="The new lifetime for an access token in seconds.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=None, alias="accessTokenNumUsesLimit", description="The new maximum number of times that an access token can be used.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=None, alias="accessTokenMaxTTL", description="The new maximum lifetime for an access token in seconds.") - __properties = ["clientSecretTrustedIps", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenNumUsesLimit", "accessTokenMaxTTL"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in client_secret_trusted_ips (list) - _items = [] - if self.client_secret_trusted_ips: - for _item in self.client_secret_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['clientSecretTrustedIps'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.parse_obj(obj) - - _obj = ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest.parse_obj({ - "client_secret_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("clientSecretTrustedIps")] if obj.get("clientSecretTrustedIps") is not None else None, - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL"), - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit"), - "access_token_max_ttl": obj.get("accessTokenMaxTTL") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_post_request.py b/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_post_request.py deleted file mode 100644 index 09d22b5..0000000 --- a/infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, conint, conlist -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - -class ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest(BaseModel): - """ - ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest - """ - client_secret_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="clientSecretTrustedIps", description="A list of IPs or CIDR ranges that the Client Secret can be used from together with the Client ID to get back an access token. You can use 0.0.0.0/0, to allow usage from any network address.") - access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="A list of IPs or CIDR ranges that access tokens can be used from. You can use 0.0.0.0/0, to allow usage from any network address.") - access_token_ttl: Optional[conint(strict=True, le=315360000, ge=1)] = Field(default=2592000, alias="accessTokenTTL", description="The lifetime for an access token in seconds. This value will be referenced at renewal time.") - access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=2592000, alias="accessTokenMaxTTL", description="The maximum lifetime for an access token in seconds. This value will be referenced at renewal time.") - access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=0, alias="accessTokenNumUsesLimit", description="The maximum number of times that an access token can be used; a value of 0 implies infinite number of uses.") - __properties = ["clientSecretTrustedIps", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in client_secret_trusted_ips (list) - _items = [] - if self.client_secret_trusted_ips: - for _item in self.client_secret_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['clientSecretTrustedIps'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list) - _items = [] - if self.access_token_trusted_ips: - for _item in self.access_token_trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['accessTokenTrustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest: - """Create an instance of ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.parse_obj(obj) - - _obj = ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest.parse_obj({ - "client_secret_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("clientSecretTrustedIps")] if obj.get("clientSecretTrustedIps") is not None else None, - "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None, - "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 2592000, - "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 2592000, - "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_auth_universal_auth_login_post_request.py b/infisicalapi_client/models/api_v1_auth_universal_auth_login_post_request.py deleted file mode 100644 index 91696fc..0000000 --- a/infisicalapi_client/models/api_v1_auth_universal_auth_login_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1AuthUniversalAuthLoginPostRequest(BaseModel): - """ - ApiV1AuthUniversalAuthLoginPostRequest - """ - client_id: StrictStr = Field(default=..., alias="clientId", description="Your Machine Identity Client ID.") - client_secret: StrictStr = Field(default=..., alias="clientSecret", description="Your Machine Identity Client Secret.") - __properties = ["clientId", "clientSecret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1AuthUniversalAuthLoginPostRequest: - """Create an instance of ApiV1AuthUniversalAuthLoginPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1AuthUniversalAuthLoginPostRequest: - """Create an instance of ApiV1AuthUniversalAuthLoginPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1AuthUniversalAuthLoginPostRequest.parse_obj(obj) - - _obj = ApiV1AuthUniversalAuthLoginPostRequest.parse_obj({ - "client_id": obj.get("clientId"), - "client_secret": obj.get("clientSecret") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_bot_bot_id_active_patch_request.py b/infisicalapi_client/models/api_v1_bot_bot_id_active_patch_request.py deleted file mode 100644 index f23a60f..0000000 --- a/infisicalapi_client/models/api_v1_bot_bot_id_active_patch_request.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request_bot_key import ApiV1BotBotIdActivePatchRequestBotKey - -class ApiV1BotBotIdActivePatchRequest(BaseModel): - """ - ApiV1BotBotIdActivePatchRequest - """ - is_active: StrictBool = Field(default=..., alias="isActive") - bot_key: Optional[ApiV1BotBotIdActivePatchRequestBotKey] = Field(default=None, alias="botKey") - __properties = ["isActive", "botKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1BotBotIdActivePatchRequest: - """Create an instance of ApiV1BotBotIdActivePatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of bot_key - if self.bot_key: - _dict['botKey'] = self.bot_key.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1BotBotIdActivePatchRequest: - """Create an instance of ApiV1BotBotIdActivePatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1BotBotIdActivePatchRequest.parse_obj(obj) - - _obj = ApiV1BotBotIdActivePatchRequest.parse_obj({ - "is_active": obj.get("isActive"), - "bot_key": ApiV1BotBotIdActivePatchRequestBotKey.from_dict(obj.get("botKey")) if obj.get("botKey") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_bot_bot_id_active_patch_request_bot_key.py b/infisicalapi_client/models/api_v1_bot_bot_id_active_patch_request_bot_key.py deleted file mode 100644 index ea76ac9..0000000 --- a/infisicalapi_client/models/api_v1_bot_bot_id_active_patch_request_bot_key.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1BotBotIdActivePatchRequestBotKey(BaseModel): - """ - ApiV1BotBotIdActivePatchRequestBotKey - """ - nonce: Optional[StrictStr] = None - encrypted_key: Optional[StrictStr] = Field(default=None, alias="encryptedKey") - __properties = ["nonce", "encryptedKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1BotBotIdActivePatchRequestBotKey: - """Create an instance of ApiV1BotBotIdActivePatchRequestBotKey from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1BotBotIdActivePatchRequestBotKey: - """Create an instance of ApiV1BotBotIdActivePatchRequestBotKey from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1BotBotIdActivePatchRequestBotKey.parse_obj(obj) - - _obj = ApiV1BotBotIdActivePatchRequestBotKey.parse_obj({ - "nonce": obj.get("nonce"), - "encrypted_key": obj.get("encryptedKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_bot_project_id_get200_response.py b/infisicalapi_client/models/api_v1_bot_project_id_get200_response.py deleted file mode 100644 index be9c619..0000000 --- a/infisicalapi_client/models/api_v1_bot_project_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_bot_project_id_get200_response_bot import ApiV1BotProjectIdGet200ResponseBot - -class ApiV1BotProjectIdGet200Response(BaseModel): - """ - ApiV1BotProjectIdGet200Response - """ - bot: ApiV1BotProjectIdGet200ResponseBot = Field(...) - __properties = ["bot"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1BotProjectIdGet200Response: - """Create an instance of ApiV1BotProjectIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of bot - if self.bot: - _dict['bot'] = self.bot.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1BotProjectIdGet200Response: - """Create an instance of ApiV1BotProjectIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1BotProjectIdGet200Response.parse_obj(obj) - - _obj = ApiV1BotProjectIdGet200Response.parse_obj({ - "bot": ApiV1BotProjectIdGet200ResponseBot.from_dict(obj.get("bot")) if obj.get("bot") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_bot_project_id_get200_response_bot.py b/infisicalapi_client/models/api_v1_bot_project_id_get200_response_bot.py deleted file mode 100644 index 104d085..0000000 --- a/infisicalapi_client/models/api_v1_bot_project_id_get200_response_bot.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1BotProjectIdGet200ResponseBot(BaseModel): - """ - ApiV1BotProjectIdGet200ResponseBot - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - is_active: Optional[StrictBool] = Field(default=False, alias="isActive") - public_key: StrictStr = Field(default=..., alias="publicKey") - encrypted_project_key: Optional[StrictStr] = Field(default=None, alias="encryptedProjectKey") - encrypted_project_key_nonce: Optional[StrictStr] = Field(default=None, alias="encryptedProjectKeyNonce") - project_id: StrictStr = Field(default=..., alias="projectId") - sender_id: Optional[StrictStr] = Field(default=None, alias="senderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "name", "isActive", "publicKey", "encryptedProjectKey", "encryptedProjectKeyNonce", "projectId", "senderId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1BotProjectIdGet200ResponseBot: - """Create an instance of ApiV1BotProjectIdGet200ResponseBot from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if encrypted_project_key (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_project_key is None and "encrypted_project_key" in self.__fields_set__: - _dict['encryptedProjectKey'] = None - - # set to None if encrypted_project_key_nonce (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_project_key_nonce is None and "encrypted_project_key_nonce" in self.__fields_set__: - _dict['encryptedProjectKeyNonce'] = None - - # set to None if sender_id (nullable) is None - # and __fields_set__ contains the field - if self.sender_id is None and "sender_id" in self.__fields_set__: - _dict['senderId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1BotProjectIdGet200ResponseBot: - """Create an instance of ApiV1BotProjectIdGet200ResponseBot from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1BotProjectIdGet200ResponseBot.parse_obj(obj) - - _obj = ApiV1BotProjectIdGet200ResponseBot.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "is_active": obj.get("isActive") if obj.get("isActive") is not None else False, - "public_key": obj.get("publicKey"), - "encrypted_project_key": obj.get("encryptedProjectKey"), - "encrypted_project_key_nonce": obj.get("encryptedProjectKeyNonce"), - "project_id": obj.get("projectId"), - "sender_id": obj.get("senderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_get200_response.py b/infisicalapi_client/models/api_v1_dynamic_secrets_get200_response.py deleted file mode 100644 index b1acc33..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner import ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner - -class ApiV1DynamicSecretsGet200Response(BaseModel): - """ - ApiV1DynamicSecretsGet200Response - """ - dynamic_secrets: conlist(ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner) = Field(default=..., alias="dynamicSecrets") - __properties = ["dynamicSecrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsGet200Response: - """Create an instance of ApiV1DynamicSecretsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in dynamic_secrets (list) - _items = [] - if self.dynamic_secrets: - for _item in self.dynamic_secrets: - if _item: - _items.append(_item.to_dict()) - _dict['dynamicSecrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsGet200Response: - """Create an instance of ApiV1DynamicSecretsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsGet200Response.parse_obj(obj) - - _obj = ApiV1DynamicSecretsGet200Response.parse_obj({ - "dynamic_secrets": [ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.from_dict(_item) for _item in obj.get("dynamicSecrets")] if obj.get("dynamicSecrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner.py b/infisicalapi_client/models/api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner.py deleted file mode 100644 index a0b375b..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner(BaseModel): - """ - ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - type: StrictStr = Field(...) - default_ttl: StrictStr = Field(default=..., alias="defaultTTL") - max_ttl: Optional[StrictStr] = Field(default=None, alias="maxTTL") - folder_id: StrictStr = Field(default=..., alias="folderId") - status: Optional[StrictStr] = None - status_details: Optional[StrictStr] = Field(default=None, alias="statusDetails") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "name", "version", "type", "defaultTTL", "maxTTL", "folderId", "status", "statusDetails", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner: - """Create an instance of ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if max_ttl (nullable) is None - # and __fields_set__ contains the field - if self.max_ttl is None and "max_ttl" in self.__fields_set__: - _dict['maxTTL'] = None - - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - # set to None if status_details (nullable) is None - # and __fields_set__ contains the field - if self.status_details is None and "status_details" in self.__fields_set__: - _dict['statusDetails'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner: - """Create an instance of ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.parse_obj(obj) - - _obj = ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "version": obj.get("version"), - "type": obj.get("type"), - "default_ttl": obj.get("defaultTTL"), - "max_ttl": obj.get("maxTTL"), - "folder_id": obj.get("folderId"), - "status": obj.get("status"), - "status_details": obj.get("statusDetails"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_delete200_response.py b/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_delete200_response.py deleted file mode 100644 index 7ece530..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_delete200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response_leases_inner import ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner - -class ApiV1DynamicSecretsLeasesLeaseIdDelete200Response(BaseModel): - """ - ApiV1DynamicSecretsLeasesLeaseIdDelete200Response - """ - lease: ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner = Field(...) - __properties = ["lease"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsLeasesLeaseIdDelete200Response: - """Create an instance of ApiV1DynamicSecretsLeasesLeaseIdDelete200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of lease - if self.lease: - _dict['lease'] = self.lease.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsLeasesLeaseIdDelete200Response: - """Create an instance of ApiV1DynamicSecretsLeasesLeaseIdDelete200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.parse_obj(obj) - - _obj = ApiV1DynamicSecretsLeasesLeaseIdDelete200Response.parse_obj({ - "lease": ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.from_dict(obj.get("lease")) if obj.get("lease") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_delete_request.py b/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_delete_request.py deleted file mode 100644 index 20c8df2..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_delete_request.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, constr - -class ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest(BaseModel): - """ - ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest - """ - project_slug: constr(strict=True, min_length=1) = Field(default=..., alias="projectSlug", description="The slug of the project of the dynamic secret in.") - path: Optional[constr(strict=True, min_length=1)] = Field(default='/', description="The path of the dynamic secret in.") - environment_slug: constr(strict=True, min_length=1) = Field(default=..., alias="environmentSlug", description="The slug of the environment of the dynamic secret in.") - is_forced: Optional[StrictBool] = Field(default=False, alias="isForced", description="A boolean flag to delete the the dynamic secret from infisical without trying to remove it from external provider. Used when the dynamic secret got modified externally.") - __properties = ["projectSlug", "path", "environmentSlug", "isForced"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest: - """Create an instance of ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest: - """Create an instance of ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.parse_obj(obj) - - _obj = ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "environment_slug": obj.get("environmentSlug"), - "is_forced": obj.get("isForced") if obj.get("isForced") is not None else False - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_get200_response.py b/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_get200_response.py deleted file mode 100644 index d3c3d68..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response_lease import ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease - -class ApiV1DynamicSecretsLeasesLeaseIdGet200Response(BaseModel): - """ - ApiV1DynamicSecretsLeasesLeaseIdGet200Response - """ - lease: ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease = Field(...) - __properties = ["lease"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsLeasesLeaseIdGet200Response: - """Create an instance of ApiV1DynamicSecretsLeasesLeaseIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of lease - if self.lease: - _dict['lease'] = self.lease.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsLeasesLeaseIdGet200Response: - """Create an instance of ApiV1DynamicSecretsLeasesLeaseIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsLeasesLeaseIdGet200Response.parse_obj(obj) - - _obj = ApiV1DynamicSecretsLeasesLeaseIdGet200Response.parse_obj({ - "lease": ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.from_dict(obj.get("lease")) if obj.get("lease") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_get200_response_lease.py b/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_get200_response_lease.py deleted file mode 100644 index 9bce02c..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_get200_response_lease.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner import ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner - -class ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease(BaseModel): - """ - ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease - """ - id: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - external_entity_id: StrictStr = Field(default=..., alias="externalEntityId") - expire_at: datetime = Field(default=..., alias="expireAt") - status: Optional[StrictStr] = None - status_details: Optional[StrictStr] = Field(default=None, alias="statusDetails") - dynamic_secret_id: StrictStr = Field(default=..., alias="dynamicSecretId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - dynamic_secret: ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner = Field(default=..., alias="dynamicSecret") - __properties = ["id", "version", "externalEntityId", "expireAt", "status", "statusDetails", "dynamicSecretId", "createdAt", "updatedAt", "dynamicSecret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease: - """Create an instance of ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of dynamic_secret - if self.dynamic_secret: - _dict['dynamicSecret'] = self.dynamic_secret.to_dict() - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - # set to None if status_details (nullable) is None - # and __fields_set__ contains the field - if self.status_details is None and "status_details" in self.__fields_set__: - _dict['statusDetails'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease: - """Create an instance of ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.parse_obj(obj) - - _obj = ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version"), - "external_entity_id": obj.get("externalEntityId"), - "expire_at": obj.get("expireAt"), - "status": obj.get("status"), - "status_details": obj.get("statusDetails"), - "dynamic_secret_id": obj.get("dynamicSecretId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "dynamic_secret": ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.from_dict(obj.get("dynamicSecret")) if obj.get("dynamicSecret") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_renew_post_request.py b/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_renew_post_request.py deleted file mode 100644 index ff94b05..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_renew_post_request.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr - -class ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest(BaseModel): - """ - ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest - """ - ttl: Optional[StrictStr] = Field(default=None, description="The renew TTL that gets added with current expiry (ensure it's below max TTL) for a total less than creation time + max TTL.") - project_slug: constr(strict=True, min_length=1) = Field(default=..., alias="projectSlug", description="The slug of the project of the dynamic secret in.") - path: Optional[constr(strict=True, min_length=1)] = Field(default='/', description="The path of the dynamic secret in.") - environment_slug: constr(strict=True, min_length=1) = Field(default=..., alias="environmentSlug", description="The slug of the environment of the dynamic secret in.") - __properties = ["ttl", "projectSlug", "path", "environmentSlug"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest: - """Create an instance of ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest: - """Create an instance of ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.parse_obj(obj) - - _obj = ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest.parse_obj({ - "ttl": obj.get("ttl"), - "project_slug": obj.get("projectSlug"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "environment_slug": obj.get("environmentSlug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_post200_response.py b/infisicalapi_client/models/api_v1_dynamic_secrets_leases_post200_response.py deleted file mode 100644 index 60849a8..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_post200_response.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, Optional -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner import ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response_leases_inner import ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner - -class ApiV1DynamicSecretsLeasesPost200Response(BaseModel): - """ - ApiV1DynamicSecretsLeasesPost200Response - """ - lease: ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner = Field(...) - dynamic_secret: ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner = Field(default=..., alias="dynamicSecret") - data: Optional[Any] = None - __properties = ["lease", "dynamicSecret", "data"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsLeasesPost200Response: - """Create an instance of ApiV1DynamicSecretsLeasesPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of lease - if self.lease: - _dict['lease'] = self.lease.to_dict() - # override the default output from pydantic by calling `to_dict()` of dynamic_secret - if self.dynamic_secret: - _dict['dynamicSecret'] = self.dynamic_secret.to_dict() - # set to None if data (nullable) is None - # and __fields_set__ contains the field - if self.data is None and "data" in self.__fields_set__: - _dict['data'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsLeasesPost200Response: - """Create an instance of ApiV1DynamicSecretsLeasesPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsLeasesPost200Response.parse_obj(obj) - - _obj = ApiV1DynamicSecretsLeasesPost200Response.parse_obj({ - "lease": ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.from_dict(obj.get("lease")) if obj.get("lease") is not None else None, - "dynamic_secret": ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.from_dict(obj.get("dynamicSecret")) if obj.get("dynamicSecret") is not None else None, - "data": obj.get("data") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_post_request.py b/infisicalapi_client/models/api_v1_dynamic_secrets_leases_post_request.py deleted file mode 100644 index e80b700..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_leases_post_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr - -class ApiV1DynamicSecretsLeasesPostRequest(BaseModel): - """ - ApiV1DynamicSecretsLeasesPostRequest - """ - dynamic_secret_name: constr(strict=True, min_length=1) = Field(default=..., alias="dynamicSecretName", description="The name of the dynamic secret.") - project_slug: constr(strict=True, min_length=1) = Field(default=..., alias="projectSlug", description="The slug of the project of the dynamic secret in.") - ttl: Optional[StrictStr] = Field(default=None, description="The lease lifetime ttl. If not provided the default TTL of dynamic secret will be used.") - path: Optional[StrictStr] = Field(default='/', description="The path of the dynamic secret in.") - environment_slug: constr(strict=True, min_length=1) = Field(default=..., alias="environmentSlug", description="The path of the dynamic secret in.") - __properties = ["dynamicSecretName", "projectSlug", "ttl", "path", "environmentSlug"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsLeasesPostRequest: - """Create an instance of ApiV1DynamicSecretsLeasesPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsLeasesPostRequest: - """Create an instance of ApiV1DynamicSecretsLeasesPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsLeasesPostRequest.parse_obj(obj) - - _obj = ApiV1DynamicSecretsLeasesPostRequest.parse_obj({ - "dynamic_secret_name": obj.get("dynamicSecretName"), - "project_slug": obj.get("projectSlug"), - "ttl": obj.get("ttl"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "environment_slug": obj.get("environmentSlug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_name_delete_request.py b/infisicalapi_client/models/api_v1_dynamic_secrets_name_delete_request.py deleted file mode 100644 index 2621358..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_name_delete_request.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, constr - -class ApiV1DynamicSecretsNameDeleteRequest(BaseModel): - """ - ApiV1DynamicSecretsNameDeleteRequest - """ - project_slug: constr(strict=True, min_length=1) = Field(default=..., alias="projectSlug", description="The slug of the project to delete dynamic secret in.") - path: Optional[StrictStr] = Field(default='/', description="The path to delete the dynamic secret in.") - environment_slug: constr(strict=True, min_length=1) = Field(default=..., alias="environmentSlug", description="The slug of the environment to delete the dynamic secret in.") - is_forced: Optional[StrictBool] = Field(default=False, alias="isForced", description="A boolean flag to delete the the dynamic secret from infisical without trying to remove it from external provider. Used when the dynamic secret got modified externally.") - __properties = ["projectSlug", "path", "environmentSlug", "isForced"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsNameDeleteRequest: - """Create an instance of ApiV1DynamicSecretsNameDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsNameDeleteRequest: - """Create an instance of ApiV1DynamicSecretsNameDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsNameDeleteRequest.parse_obj(obj) - - _obj = ApiV1DynamicSecretsNameDeleteRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "environment_slug": obj.get("environmentSlug"), - "is_forced": obj.get("isForced") if obj.get("isForced") is not None else False - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_name_get200_response.py b/infisicalapi_client/models/api_v1_dynamic_secrets_name_get200_response.py deleted file mode 100644 index 0eb341b..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_name_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response_dynamic_secret import ApiV1DynamicSecretsNameGet200ResponseDynamicSecret - -class ApiV1DynamicSecretsNameGet200Response(BaseModel): - """ - ApiV1DynamicSecretsNameGet200Response - """ - dynamic_secret: ApiV1DynamicSecretsNameGet200ResponseDynamicSecret = Field(default=..., alias="dynamicSecret") - __properties = ["dynamicSecret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsNameGet200Response: - """Create an instance of ApiV1DynamicSecretsNameGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of dynamic_secret - if self.dynamic_secret: - _dict['dynamicSecret'] = self.dynamic_secret.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsNameGet200Response: - """Create an instance of ApiV1DynamicSecretsNameGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsNameGet200Response.parse_obj(obj) - - _obj = ApiV1DynamicSecretsNameGet200Response.parse_obj({ - "dynamic_secret": ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.from_dict(obj.get("dynamicSecret")) if obj.get("dynamicSecret") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_name_get200_response_dynamic_secret.py b/infisicalapi_client/models/api_v1_dynamic_secrets_name_get200_response_dynamic_secret.py deleted file mode 100644 index 307c187..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_name_get200_response_dynamic_secret.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1DynamicSecretsNameGet200ResponseDynamicSecret(BaseModel): - """ - ApiV1DynamicSecretsNameGet200ResponseDynamicSecret - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - type: StrictStr = Field(...) - default_ttl: StrictStr = Field(default=..., alias="defaultTTL") - max_ttl: Optional[StrictStr] = Field(default=None, alias="maxTTL") - folder_id: StrictStr = Field(default=..., alias="folderId") - status: Optional[StrictStr] = None - status_details: Optional[StrictStr] = Field(default=None, alias="statusDetails") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - inputs: Optional[Any] = None - __properties = ["id", "name", "version", "type", "defaultTTL", "maxTTL", "folderId", "status", "statusDetails", "createdAt", "updatedAt", "inputs"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsNameGet200ResponseDynamicSecret: - """Create an instance of ApiV1DynamicSecretsNameGet200ResponseDynamicSecret from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if max_ttl (nullable) is None - # and __fields_set__ contains the field - if self.max_ttl is None and "max_ttl" in self.__fields_set__: - _dict['maxTTL'] = None - - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - # set to None if status_details (nullable) is None - # and __fields_set__ contains the field - if self.status_details is None and "status_details" in self.__fields_set__: - _dict['statusDetails'] = None - - # set to None if inputs (nullable) is None - # and __fields_set__ contains the field - if self.inputs is None and "inputs" in self.__fields_set__: - _dict['inputs'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsNameGet200ResponseDynamicSecret: - """Create an instance of ApiV1DynamicSecretsNameGet200ResponseDynamicSecret from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.parse_obj(obj) - - _obj = ApiV1DynamicSecretsNameGet200ResponseDynamicSecret.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "version": obj.get("version"), - "type": obj.get("type"), - "default_ttl": obj.get("defaultTTL"), - "max_ttl": obj.get("maxTTL"), - "folder_id": obj.get("folderId"), - "status": obj.get("status"), - "status_details": obj.get("statusDetails"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "inputs": obj.get("inputs") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_name_leases_get200_response.py b/infisicalapi_client/models/api_v1_dynamic_secrets_name_leases_get200_response.py deleted file mode 100644 index b4fd931..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_name_leases_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response_leases_inner import ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner - -class ApiV1DynamicSecretsNameLeasesGet200Response(BaseModel): - """ - ApiV1DynamicSecretsNameLeasesGet200Response - """ - leases: conlist(ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner) = Field(...) - __properties = ["leases"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsNameLeasesGet200Response: - """Create an instance of ApiV1DynamicSecretsNameLeasesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in leases (list) - _items = [] - if self.leases: - for _item in self.leases: - if _item: - _items.append(_item.to_dict()) - _dict['leases'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsNameLeasesGet200Response: - """Create an instance of ApiV1DynamicSecretsNameLeasesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsNameLeasesGet200Response.parse_obj(obj) - - _obj = ApiV1DynamicSecretsNameLeasesGet200Response.parse_obj({ - "leases": [ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.from_dict(_item) for _item in obj.get("leases")] if obj.get("leases") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_name_leases_get200_response_leases_inner.py b/infisicalapi_client/models/api_v1_dynamic_secrets_name_leases_get200_response_leases_inner.py deleted file mode 100644 index e8ddef8..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_name_leases_get200_response_leases_inner.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner(BaseModel): - """ - ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner - """ - id: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - external_entity_id: StrictStr = Field(default=..., alias="externalEntityId") - expire_at: datetime = Field(default=..., alias="expireAt") - status: Optional[StrictStr] = None - status_details: Optional[StrictStr] = Field(default=None, alias="statusDetails") - dynamic_secret_id: StrictStr = Field(default=..., alias="dynamicSecretId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "version", "externalEntityId", "expireAt", "status", "statusDetails", "dynamicSecretId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner: - """Create an instance of ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - # set to None if status_details (nullable) is None - # and __fields_set__ contains the field - if self.status_details is None and "status_details" in self.__fields_set__: - _dict['statusDetails'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner: - """Create an instance of ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.parse_obj(obj) - - _obj = ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version"), - "external_entity_id": obj.get("externalEntityId"), - "expire_at": obj.get("expireAt"), - "status": obj.get("status"), - "status_details": obj.get("statusDetails"), - "dynamic_secret_id": obj.get("dynamicSecretId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_name_patch_request.py b/infisicalapi_client/models/api_v1_dynamic_secrets_name_patch_request.py deleted file mode 100644 index 7c1e510..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_name_patch_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request_data import ApiV1DynamicSecretsNamePatchRequestData - -class ApiV1DynamicSecretsNamePatchRequest(BaseModel): - """ - ApiV1DynamicSecretsNamePatchRequest - """ - project_slug: constr(strict=True, min_length=1) = Field(default=..., alias="projectSlug", description="The slug of the project to update dynamic secret in.") - path: Optional[StrictStr] = Field(default='/', description="The path to update the dynamic secret in.") - environment_slug: constr(strict=True, min_length=1) = Field(default=..., alias="environmentSlug", description="The slug of the environment to update the dynamic secret in.") - data: ApiV1DynamicSecretsNamePatchRequestData = Field(...) - __properties = ["projectSlug", "path", "environmentSlug", "data"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsNamePatchRequest: - """Create an instance of ApiV1DynamicSecretsNamePatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of data - if self.data: - _dict['data'] = self.data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsNamePatchRequest: - """Create an instance of ApiV1DynamicSecretsNamePatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsNamePatchRequest.parse_obj(obj) - - _obj = ApiV1DynamicSecretsNamePatchRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "environment_slug": obj.get("environmentSlug"), - "data": ApiV1DynamicSecretsNamePatchRequestData.from_dict(obj.get("data")) if obj.get("data") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_name_patch_request_data.py b/infisicalapi_client/models/api_v1_dynamic_secrets_name_patch_request_data.py deleted file mode 100644 index 35faf98..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_name_patch_request_data.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1DynamicSecretsNamePatchRequestData(BaseModel): - """ - ApiV1DynamicSecretsNamePatchRequestData - """ - inputs: Optional[Any] = Field(default=None, description="The new partial values for the configurated provider of the dynamic secret") - default_ttl: Optional[StrictStr] = Field(default=None, alias="defaultTTL", description="The default TTL that will be applied for all the leases.") - max_ttl: Optional[StrictStr] = Field(default=None, alias="maxTTL", description="The maximum limit a TTL can be leases or renewed.") - new_name: Optional[StrictStr] = Field(default=None, alias="newName", description="The new name for the dynamic secret.") - __properties = ["inputs", "defaultTTL", "maxTTL", "newName"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsNamePatchRequestData: - """Create an instance of ApiV1DynamicSecretsNamePatchRequestData from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if inputs (nullable) is None - # and __fields_set__ contains the field - if self.inputs is None and "inputs" in self.__fields_set__: - _dict['inputs'] = None - - # set to None if max_ttl (nullable) is None - # and __fields_set__ contains the field - if self.max_ttl is None and "max_ttl" in self.__fields_set__: - _dict['maxTTL'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsNamePatchRequestData: - """Create an instance of ApiV1DynamicSecretsNamePatchRequestData from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsNamePatchRequestData.parse_obj(obj) - - _obj = ApiV1DynamicSecretsNamePatchRequestData.parse_obj({ - "inputs": obj.get("inputs"), - "default_ttl": obj.get("defaultTTL"), - "max_ttl": obj.get("maxTTL"), - "new_name": obj.get("newName") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_post200_response.py b/infisicalapi_client/models/api_v1_dynamic_secrets_post200_response.py deleted file mode 100644 index 67d74e8..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner import ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner - -class ApiV1DynamicSecretsPost200Response(BaseModel): - """ - ApiV1DynamicSecretsPost200Response - """ - dynamic_secret: ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner = Field(default=..., alias="dynamicSecret") - __properties = ["dynamicSecret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsPost200Response: - """Create an instance of ApiV1DynamicSecretsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of dynamic_secret - if self.dynamic_secret: - _dict['dynamicSecret'] = self.dynamic_secret.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsPost200Response: - """Create an instance of ApiV1DynamicSecretsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsPost200Response.parse_obj(obj) - - _obj = ApiV1DynamicSecretsPost200Response.parse_obj({ - "dynamic_secret": ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner.from_dict(obj.get("dynamicSecret")) if obj.get("dynamicSecret") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request.py b/infisicalapi_client/models/api_v1_dynamic_secrets_post_request.py deleted file mode 100644 index 2358921..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider import ApiV1DynamicSecretsPostRequestProvider - -class ApiV1DynamicSecretsPostRequest(BaseModel): - """ - ApiV1DynamicSecretsPostRequest - """ - project_slug: constr(strict=True, min_length=1) = Field(default=..., alias="projectSlug", description="The slug of the project to create dynamic secret in.") - provider: ApiV1DynamicSecretsPostRequestProvider = Field(...) - default_ttl: StrictStr = Field(default=..., alias="defaultTTL", description="The default TTL that will be applied for all the leases.") - max_ttl: Optional[StrictStr] = Field(default=None, alias="maxTTL", description="The maximum limit a TTL can be leases or renewed.") - path: Optional[StrictStr] = Field(default='/', description="The path to create the dynamic secret in.") - environment_slug: constr(strict=True, min_length=1) = Field(default=..., alias="environmentSlug", description="The slug of the environment to create the dynamic secret in.") - name: constr(strict=True, max_length=64, min_length=1) = Field(default=..., description="The name of the dynamic secret.") - __properties = ["projectSlug", "provider", "defaultTTL", "maxTTL", "path", "environmentSlug", "name"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsPostRequest: - """Create an instance of ApiV1DynamicSecretsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of provider - if self.provider: - _dict['provider'] = self.provider.to_dict() - # set to None if max_ttl (nullable) is None - # and __fields_set__ contains the field - if self.max_ttl is None and "max_ttl" in self.__fields_set__: - _dict['maxTTL'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsPostRequest: - """Create an instance of ApiV1DynamicSecretsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsPostRequest.parse_obj(obj) - - _obj = ApiV1DynamicSecretsPostRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "provider": ApiV1DynamicSecretsPostRequestProvider.from_dict(obj.get("provider")) if obj.get("provider") is not None else None, - "default_ttl": obj.get("defaultTTL"), - "max_ttl": obj.get("maxTTL"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "environment_slug": obj.get("environmentSlug"), - "name": obj.get("name") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider.py b/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider.py deleted file mode 100644 index 550a912..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of import ApiV1DynamicSecretsPostRequestProviderAnyOf -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of1 import ApiV1DynamicSecretsPostRequestProviderAnyOf1 -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of2 import ApiV1DynamicSecretsPostRequestProviderAnyOf2 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV1DYNAMICSECRETSPOSTREQUESTPROVIDER_ANY_OF_SCHEMAS = ["ApiV1DynamicSecretsPostRequestProviderAnyOf", "ApiV1DynamicSecretsPostRequestProviderAnyOf1", "ApiV1DynamicSecretsPostRequestProviderAnyOf2"] - -class ApiV1DynamicSecretsPostRequestProvider(BaseModel): - """ - The type of dynamic secret. - """ - - # data type: ApiV1DynamicSecretsPostRequestProviderAnyOf - anyof_schema_1_validator: Optional[ApiV1DynamicSecretsPostRequestProviderAnyOf] = None - # data type: ApiV1DynamicSecretsPostRequestProviderAnyOf1 - anyof_schema_2_validator: Optional[ApiV1DynamicSecretsPostRequestProviderAnyOf1] = None - # data type: ApiV1DynamicSecretsPostRequestProviderAnyOf2 - anyof_schema_3_validator: Optional[ApiV1DynamicSecretsPostRequestProviderAnyOf2] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV1DynamicSecretsPostRequestProviderAnyOf, ApiV1DynamicSecretsPostRequestProviderAnyOf1, ApiV1DynamicSecretsPostRequestProviderAnyOf2] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV1DYNAMICSECRETSPOSTREQUESTPROVIDER_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV1DynamicSecretsPostRequestProvider.construct() - error_messages = [] - # validate data type: ApiV1DynamicSecretsPostRequestProviderAnyOf - if not isinstance(v, ApiV1DynamicSecretsPostRequestProviderAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1DynamicSecretsPostRequestProviderAnyOf`") - else: - return v - - # validate data type: ApiV1DynamicSecretsPostRequestProviderAnyOf1 - if not isinstance(v, ApiV1DynamicSecretsPostRequestProviderAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1DynamicSecretsPostRequestProviderAnyOf1`") - else: - return v - - # validate data type: ApiV1DynamicSecretsPostRequestProviderAnyOf2 - if not isinstance(v, ApiV1DynamicSecretsPostRequestProviderAnyOf2): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1DynamicSecretsPostRequestProviderAnyOf2`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV1DynamicSecretsPostRequestProvider with anyOf schemas: ApiV1DynamicSecretsPostRequestProviderAnyOf, ApiV1DynamicSecretsPostRequestProviderAnyOf1, ApiV1DynamicSecretsPostRequestProviderAnyOf2. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsPostRequestProvider: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsPostRequestProvider: - """Returns the object represented by the json string""" - instance = ApiV1DynamicSecretsPostRequestProvider.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV1DynamicSecretsPostRequestProviderAnyOf] = None - try: - instance.actual_instance = ApiV1DynamicSecretsPostRequestProviderAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV1DynamicSecretsPostRequestProviderAnyOf1] = None - try: - instance.actual_instance = ApiV1DynamicSecretsPostRequestProviderAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_3_validator: Optional[ApiV1DynamicSecretsPostRequestProviderAnyOf2] = None - try: - instance.actual_instance = ApiV1DynamicSecretsPostRequestProviderAnyOf2.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV1DynamicSecretsPostRequestProvider with anyOf schemas: ApiV1DynamicSecretsPostRequestProviderAnyOf, ApiV1DynamicSecretsPostRequestProviderAnyOf1, ApiV1DynamicSecretsPostRequestProviderAnyOf2. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of.py b/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of.py deleted file mode 100644 index 35e5400..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOfInputs - -class ApiV1DynamicSecretsPostRequestProviderAnyOf(BaseModel): - """ - ApiV1DynamicSecretsPostRequestProviderAnyOf - """ - type: StrictStr = Field(...) - inputs: ApiV1DynamicSecretsPostRequestProviderAnyOfInputs = Field(...) - __properties = ["type", "inputs"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('sql-database'): - raise ValueError("must be one of enum values ('sql-database')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsPostRequestProviderAnyOf: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of inputs - if self.inputs: - _dict['inputs'] = self.inputs.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsPostRequestProviderAnyOf: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsPostRequestProviderAnyOf.parse_obj(obj) - - _obj = ApiV1DynamicSecretsPostRequestProviderAnyOf.parse_obj({ - "type": obj.get("type"), - "inputs": ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.from_dict(obj.get("inputs")) if obj.get("inputs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of1.py b/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of1.py deleted file mode 100644 index 0ea4c83..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of1.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of1_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs - -class ApiV1DynamicSecretsPostRequestProviderAnyOf1(BaseModel): - """ - ApiV1DynamicSecretsPostRequestProviderAnyOf1 - """ - type: StrictStr = Field(...) - inputs: ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs = Field(...) - __properties = ["type", "inputs"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('cassandra'): - raise ValueError("must be one of enum values ('cassandra')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsPostRequestProviderAnyOf1: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf1 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of inputs - if self.inputs: - _dict['inputs'] = self.inputs.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsPostRequestProviderAnyOf1: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf1 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsPostRequestProviderAnyOf1.parse_obj(obj) - - _obj = ApiV1DynamicSecretsPostRequestProviderAnyOf1.parse_obj({ - "type": obj.get("type"), - "inputs": ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.from_dict(obj.get("inputs")) if obj.get("inputs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of1_inputs.py b/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of1_inputs.py deleted file mode 100644 index 0f8d06a..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of1_inputs.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, constr - -class ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs(BaseModel): - """ - ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs - """ - host: StrictStr = Field(...) - port: Union[StrictFloat, StrictInt] = Field(...) - local_data_center: constr(strict=True, min_length=1) = Field(default=..., alias="localDataCenter") - keyspace: Optional[StrictStr] = None - username: StrictStr = Field(...) - password: StrictStr = Field(...) - creation_statement: StrictStr = Field(default=..., alias="creationStatement") - revocation_statement: StrictStr = Field(default=..., alias="revocationStatement") - renew_statement: Optional[StrictStr] = Field(default=None, alias="renewStatement") - ca: Optional[StrictStr] = None - __properties = ["host", "port", "localDataCenter", "keyspace", "username", "password", "creationStatement", "revocationStatement", "renewStatement", "ca"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.parse_obj(obj) - - _obj = ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs.parse_obj({ - "host": obj.get("host"), - "port": obj.get("port"), - "local_data_center": obj.get("localDataCenter"), - "keyspace": obj.get("keyspace"), - "username": obj.get("username"), - "password": obj.get("password"), - "creation_statement": obj.get("creationStatement"), - "revocation_statement": obj.get("revocationStatement"), - "renew_statement": obj.get("renewStatement"), - "ca": obj.get("ca") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of2.py b/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of2.py deleted file mode 100644 index 3d07d23..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of2.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of2_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs - -class ApiV1DynamicSecretsPostRequestProviderAnyOf2(BaseModel): - """ - ApiV1DynamicSecretsPostRequestProviderAnyOf2 - """ - type: StrictStr = Field(...) - inputs: ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs = Field(...) - __properties = ["type", "inputs"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('aws-iam'): - raise ValueError("must be one of enum values ('aws-iam')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsPostRequestProviderAnyOf2: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf2 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of inputs - if self.inputs: - _dict['inputs'] = self.inputs.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsPostRequestProviderAnyOf2: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf2 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsPostRequestProviderAnyOf2.parse_obj(obj) - - _obj = ApiV1DynamicSecretsPostRequestProviderAnyOf2.parse_obj({ - "type": obj.get("type"), - "inputs": ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.from_dict(obj.get("inputs")) if obj.get("inputs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of2_inputs.py b/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of2_inputs.py deleted file mode 100644 index 8f3a233..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of2_inputs.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr - -class ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs(BaseModel): - """ - ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs - """ - access_key: constr(strict=True, min_length=1) = Field(default=..., alias="accessKey") - secret_access_key: constr(strict=True, min_length=1) = Field(default=..., alias="secretAccessKey") - region: constr(strict=True, min_length=1) = Field(...) - aws_path: Optional[StrictStr] = Field(default=None, alias="awsPath") - permission_boundary_policy_arn: Optional[StrictStr] = Field(default=None, alias="permissionBoundaryPolicyArn") - policy_document: Optional[StrictStr] = Field(default=None, alias="policyDocument") - user_groups: Optional[StrictStr] = Field(default=None, alias="userGroups") - policy_arns: Optional[StrictStr] = Field(default=None, alias="policyArns") - __properties = ["accessKey", "secretAccessKey", "region", "awsPath", "permissionBoundaryPolicyArn", "policyDocument", "userGroups", "policyArns"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.parse_obj(obj) - - _obj = ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs.parse_obj({ - "access_key": obj.get("accessKey"), - "secret_access_key": obj.get("secretAccessKey"), - "region": obj.get("region"), - "aws_path": obj.get("awsPath"), - "permission_boundary_policy_arn": obj.get("permissionBoundaryPolicyArn"), - "policy_document": obj.get("policyDocument"), - "user_groups": obj.get("userGroups"), - "policy_arns": obj.get("policyArns") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of_inputs.py b/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of_inputs.py deleted file mode 100644 index 5c16385..0000000 --- a/infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of_inputs.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, validator - -class ApiV1DynamicSecretsPostRequestProviderAnyOfInputs(BaseModel): - """ - ApiV1DynamicSecretsPostRequestProviderAnyOfInputs - """ - client: StrictStr = Field(...) - host: StrictStr = Field(...) - port: Union[StrictFloat, StrictInt] = Field(...) - database: StrictStr = Field(...) - username: StrictStr = Field(...) - password: StrictStr = Field(...) - creation_statement: StrictStr = Field(default=..., alias="creationStatement") - revocation_statement: StrictStr = Field(default=..., alias="revocationStatement") - renew_statement: Optional[StrictStr] = Field(default=None, alias="renewStatement") - ca: Optional[StrictStr] = None - __properties = ["client", "host", "port", "database", "username", "password", "creationStatement", "revocationStatement", "renewStatement", "ca"] - - @validator('client') - def client_validate_enum(cls, value): - """Validates the enum""" - if value not in ('postgres', 'mysql2', 'oracledb', 'mssql'): - raise ValueError("must be one of enum values ('postgres', 'mysql2', 'oracledb', 'mssql')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1DynamicSecretsPostRequestProviderAnyOfInputs: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOfInputs from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1DynamicSecretsPostRequestProviderAnyOfInputs: - """Create an instance of ApiV1DynamicSecretsPostRequestProviderAnyOfInputs from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.parse_obj(obj) - - _obj = ApiV1DynamicSecretsPostRequestProviderAnyOfInputs.parse_obj({ - "client": obj.get("client"), - "host": obj.get("host"), - "port": obj.get("port"), - "database": obj.get("database"), - "username": obj.get("username"), - "password": obj.get("password"), - "creation_statement": obj.get("creationStatement"), - "revocation_statement": obj.get("revocationStatement"), - "renew_statement": obj.get("renewStatement"), - "ca": obj.get("ca") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_get200_response.py b/infisicalapi_client/models/api_v1_external_kms_get200_response.py deleted file mode 100644 index fc39584..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_external_kms_get200_response_external_kms_list_inner import ApiV1ExternalKmsGet200ResponseExternalKmsListInner - -class ApiV1ExternalKmsGet200Response(BaseModel): - """ - ApiV1ExternalKmsGet200Response - """ - external_kms_list: conlist(ApiV1ExternalKmsGet200ResponseExternalKmsListInner) = Field(default=..., alias="externalKmsList") - __properties = ["externalKmsList"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsGet200Response: - """Create an instance of ApiV1ExternalKmsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in external_kms_list (list) - _items = [] - if self.external_kms_list: - for _item in self.external_kms_list: - if _item: - _items.append(_item.to_dict()) - _dict['externalKmsList'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsGet200Response: - """Create an instance of ApiV1ExternalKmsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsGet200Response.parse_obj(obj) - - _obj = ApiV1ExternalKmsGet200Response.parse_obj({ - "external_kms_list": [ApiV1ExternalKmsGet200ResponseExternalKmsListInner.from_dict(_item) for _item in obj.get("externalKmsList")] if obj.get("externalKmsList") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_get200_response_external_kms_list_inner.py b/infisicalapi_client/models/api_v1_external_kms_get200_response_external_kms_list_inner.py deleted file mode 100644 index 6492508..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_get200_response_external_kms_list_inner.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr -from infisicalapi_client.models.api_v1_external_kms_get200_response_external_kms_list_inner_external_kms import ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms - -class ApiV1ExternalKmsGet200ResponseExternalKmsListInner(BaseModel): - """ - ApiV1ExternalKmsGet200ResponseExternalKmsListInner - """ - id: StrictStr = Field(...) - description: Optional[StrictStr] = None - is_disabled: Optional[StrictBool] = Field(default=False, alias="isDisabled") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - slug: StrictStr = Field(...) - external_kms: ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms = Field(default=..., alias="externalKms") - __properties = ["id", "description", "isDisabled", "createdAt", "updatedAt", "slug", "externalKms"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsGet200ResponseExternalKmsListInner: - """Create an instance of ApiV1ExternalKmsGet200ResponseExternalKmsListInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of external_kms - if self.external_kms: - _dict['externalKms'] = self.external_kms.to_dict() - # set to None if description (nullable) is None - # and __fields_set__ contains the field - if self.description is None and "description" in self.__fields_set__: - _dict['description'] = None - - # set to None if is_disabled (nullable) is None - # and __fields_set__ contains the field - if self.is_disabled is None and "is_disabled" in self.__fields_set__: - _dict['isDisabled'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsGet200ResponseExternalKmsListInner: - """Create an instance of ApiV1ExternalKmsGet200ResponseExternalKmsListInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsGet200ResponseExternalKmsListInner.parse_obj(obj) - - _obj = ApiV1ExternalKmsGet200ResponseExternalKmsListInner.parse_obj({ - "id": obj.get("id"), - "description": obj.get("description"), - "is_disabled": obj.get("isDisabled") if obj.get("isDisabled") is not None else False, - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "slug": obj.get("slug"), - "external_kms": ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.from_dict(obj.get("externalKms")) if obj.get("externalKms") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_get200_response_external_kms_list_inner_external_kms.py b/infisicalapi_client/models/api_v1_external_kms_get200_response_external_kms_list_inner_external_kms.py deleted file mode 100644 index ad0ecc3..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_get200_response_external_kms_list_inner_external_kms.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms(BaseModel): - """ - ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms - """ - provider: StrictStr = Field(...) - status: Optional[StrictStr] = None - status_details: Optional[StrictStr] = Field(default=None, alias="statusDetails") - __properties = ["provider", "status", "statusDetails"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms: - """Create an instance of ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - # set to None if status_details (nullable) is None - # and __fields_set__ contains the field - if self.status_details is None and "status_details" in self.__fields_set__: - _dict['statusDetails'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms: - """Create an instance of ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.parse_obj(obj) - - _obj = ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms.parse_obj({ - "provider": obj.get("provider"), - "status": obj.get("status"), - "status_details": obj.get("statusDetails") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_id_get200_response.py b/infisicalapi_client/models/api_v1_external_kms_id_get200_response.py deleted file mode 100644 index c7b965a..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_external_kms_id_get200_response_external_kms import ApiV1ExternalKmsIdGet200ResponseExternalKms - -class ApiV1ExternalKmsIdGet200Response(BaseModel): - """ - ApiV1ExternalKmsIdGet200Response - """ - external_kms: ApiV1ExternalKmsIdGet200ResponseExternalKms = Field(default=..., alias="externalKms") - __properties = ["externalKms"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsIdGet200Response: - """Create an instance of ApiV1ExternalKmsIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of external_kms - if self.external_kms: - _dict['externalKms'] = self.external_kms.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsIdGet200Response: - """Create an instance of ApiV1ExternalKmsIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsIdGet200Response.parse_obj(obj) - - _obj = ApiV1ExternalKmsIdGet200Response.parse_obj({ - "external_kms": ApiV1ExternalKmsIdGet200ResponseExternalKms.from_dict(obj.get("externalKms")) if obj.get("externalKms") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_id_get200_response_external_kms.py b/infisicalapi_client/models/api_v1_external_kms_id_get200_response_external_kms.py deleted file mode 100644 index 5f27c72..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_id_get200_response_external_kms.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr -from infisicalapi_client.models.api_v1_external_kms_id_get200_response_external_kms_external import ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal - -class ApiV1ExternalKmsIdGet200ResponseExternalKms(BaseModel): - """ - ApiV1ExternalKmsIdGet200ResponseExternalKms - """ - id: StrictStr = Field(...) - description: Optional[StrictStr] = None - is_disabled: Optional[StrictBool] = Field(default=False, alias="isDisabled") - is_reserved: Optional[StrictBool] = Field(default=True, alias="isReserved") - org_id: StrictStr = Field(default=..., alias="orgId") - slug: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - external: ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal = Field(...) - __properties = ["id", "description", "isDisabled", "isReserved", "orgId", "slug", "createdAt", "updatedAt", "external"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsIdGet200ResponseExternalKms: - """Create an instance of ApiV1ExternalKmsIdGet200ResponseExternalKms from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of external - if self.external: - _dict['external'] = self.external.to_dict() - # set to None if description (nullable) is None - # and __fields_set__ contains the field - if self.description is None and "description" in self.__fields_set__: - _dict['description'] = None - - # set to None if is_disabled (nullable) is None - # and __fields_set__ contains the field - if self.is_disabled is None and "is_disabled" in self.__fields_set__: - _dict['isDisabled'] = None - - # set to None if is_reserved (nullable) is None - # and __fields_set__ contains the field - if self.is_reserved is None and "is_reserved" in self.__fields_set__: - _dict['isReserved'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsIdGet200ResponseExternalKms: - """Create an instance of ApiV1ExternalKmsIdGet200ResponseExternalKms from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsIdGet200ResponseExternalKms.parse_obj(obj) - - _obj = ApiV1ExternalKmsIdGet200ResponseExternalKms.parse_obj({ - "id": obj.get("id"), - "description": obj.get("description"), - "is_disabled": obj.get("isDisabled") if obj.get("isDisabled") is not None else False, - "is_reserved": obj.get("isReserved") if obj.get("isReserved") is not None else True, - "org_id": obj.get("orgId"), - "slug": obj.get("slug"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "external": ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.from_dict(obj.get("external")) if obj.get("external") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_id_get200_response_external_kms_external.py b/infisicalapi_client/models/api_v1_external_kms_id_get200_response_external_kms_external.py deleted file mode 100644 index 15a4308..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_id_get200_response_external_kms_external.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs import ApiV1ExternalKmsPostRequestProviderInputs - -class ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal(BaseModel): - """ - ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal - """ - id: StrictStr = Field(...) - status: Optional[StrictStr] = None - status_details: Optional[StrictStr] = Field(default=None, alias="statusDetails") - provider: StrictStr = Field(...) - provider_input: ApiV1ExternalKmsPostRequestProviderInputs = Field(default=..., alias="providerInput") - __properties = ["id", "status", "statusDetails", "provider", "providerInput"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal: - """Create an instance of ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of provider_input - if self.provider_input: - _dict['providerInput'] = self.provider_input.to_dict() - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - # set to None if status_details (nullable) is None - # and __fields_set__ contains the field - if self.status_details is None and "status_details" in self.__fields_set__: - _dict['statusDetails'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal: - """Create an instance of ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.parse_obj(obj) - - _obj = ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal.parse_obj({ - "id": obj.get("id"), - "status": obj.get("status"), - "status_details": obj.get("statusDetails"), - "provider": obj.get("provider"), - "provider_input": ApiV1ExternalKmsPostRequestProviderInputs.from_dict(obj.get("providerInput")) if obj.get("providerInput") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_id_patch_request.py b/infisicalapi_client/models/api_v1_external_kms_id_patch_request.py deleted file mode 100644 index 37cb6c9..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_id_patch_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr -from infisicalapi_client.models.api_v1_external_kms_id_patch_request_provider import ApiV1ExternalKmsIdPatchRequestProvider - -class ApiV1ExternalKmsIdPatchRequest(BaseModel): - """ - ApiV1ExternalKmsIdPatchRequest - """ - slug: Optional[constr(strict=True, min_length=1)] = None - description: Optional[StrictStr] = None - provider: ApiV1ExternalKmsIdPatchRequestProvider = Field(...) - __properties = ["slug", "description", "provider"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsIdPatchRequest: - """Create an instance of ApiV1ExternalKmsIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of provider - if self.provider: - _dict['provider'] = self.provider.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsIdPatchRequest: - """Create an instance of ApiV1ExternalKmsIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsIdPatchRequest.parse_obj(obj) - - _obj = ApiV1ExternalKmsIdPatchRequest.parse_obj({ - "slug": obj.get("slug"), - "description": obj.get("description"), - "provider": ApiV1ExternalKmsIdPatchRequestProvider.from_dict(obj.get("provider")) if obj.get("provider") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_id_patch_request_provider.py b/infisicalapi_client/models/api_v1_external_kms_id_patch_request_provider.py deleted file mode 100644 index 546791b..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_id_patch_request_provider.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator -from infisicalapi_client.models.api_v1_external_kms_id_patch_request_provider_inputs import ApiV1ExternalKmsIdPatchRequestProviderInputs - -class ApiV1ExternalKmsIdPatchRequestProvider(BaseModel): - """ - ApiV1ExternalKmsIdPatchRequestProvider - """ - type: StrictStr = Field(...) - inputs: ApiV1ExternalKmsIdPatchRequestProviderInputs = Field(...) - __properties = ["type", "inputs"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('aws'): - raise ValueError("must be one of enum values ('aws')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsIdPatchRequestProvider: - """Create an instance of ApiV1ExternalKmsIdPatchRequestProvider from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of inputs - if self.inputs: - _dict['inputs'] = self.inputs.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsIdPatchRequestProvider: - """Create an instance of ApiV1ExternalKmsIdPatchRequestProvider from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsIdPatchRequestProvider.parse_obj(obj) - - _obj = ApiV1ExternalKmsIdPatchRequestProvider.parse_obj({ - "type": obj.get("type"), - "inputs": ApiV1ExternalKmsIdPatchRequestProviderInputs.from_dict(obj.get("inputs")) if obj.get("inputs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_id_patch_request_provider_inputs.py b/infisicalapi_client/models/api_v1_external_kms_id_patch_request_provider_inputs.py deleted file mode 100644 index 1b98d9d..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_id_patch_request_provider_inputs.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential import ApiV1ExternalKmsPostRequestProviderInputsCredential - -class ApiV1ExternalKmsIdPatchRequestProviderInputs(BaseModel): - """ - ApiV1ExternalKmsIdPatchRequestProviderInputs - """ - credential: Optional[ApiV1ExternalKmsPostRequestProviderInputsCredential] = None - aws_region: Optional[constr(strict=True, min_length=1)] = Field(default=None, alias="awsRegion", description="AWS region to connect") - kms_key_id: Optional[StrictStr] = Field(default=None, alias="kmsKeyId", description="A pre existing AWS KMS key id to be used for encryption. If not provided a kms key will be generated.") - __properties = ["credential", "awsRegion", "kmsKeyId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsIdPatchRequestProviderInputs: - """Create an instance of ApiV1ExternalKmsIdPatchRequestProviderInputs from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of credential - if self.credential: - _dict['credential'] = self.credential.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsIdPatchRequestProviderInputs: - """Create an instance of ApiV1ExternalKmsIdPatchRequestProviderInputs from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsIdPatchRequestProviderInputs.parse_obj(obj) - - _obj = ApiV1ExternalKmsIdPatchRequestProviderInputs.parse_obj({ - "credential": ApiV1ExternalKmsPostRequestProviderInputsCredential.from_dict(obj.get("credential")) if obj.get("credential") is not None else None, - "aws_region": obj.get("awsRegion"), - "kms_key_id": obj.get("kmsKeyId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post200_response.py b/infisicalapi_client/models/api_v1_external_kms_post200_response.py deleted file mode 100644 index 42e4570..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_external_kms_post200_response_external_kms import ApiV1ExternalKmsPost200ResponseExternalKms - -class ApiV1ExternalKmsPost200Response(BaseModel): - """ - ApiV1ExternalKmsPost200Response - """ - external_kms: ApiV1ExternalKmsPost200ResponseExternalKms = Field(default=..., alias="externalKms") - __properties = ["externalKms"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPost200Response: - """Create an instance of ApiV1ExternalKmsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of external_kms - if self.external_kms: - _dict['externalKms'] = self.external_kms.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPost200Response: - """Create an instance of ApiV1ExternalKmsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsPost200Response.parse_obj(obj) - - _obj = ApiV1ExternalKmsPost200Response.parse_obj({ - "external_kms": ApiV1ExternalKmsPost200ResponseExternalKms.from_dict(obj.get("externalKms")) if obj.get("externalKms") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post200_response_external_kms.py b/infisicalapi_client/models/api_v1_external_kms_post200_response_external_kms.py deleted file mode 100644 index ebb5e87..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post200_response_external_kms.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr -from infisicalapi_client.models.api_v1_external_kms_post200_response_external_kms_external import ApiV1ExternalKmsPost200ResponseExternalKmsExternal - -class ApiV1ExternalKmsPost200ResponseExternalKms(BaseModel): - """ - ApiV1ExternalKmsPost200ResponseExternalKms - """ - id: StrictStr = Field(...) - description: Optional[StrictStr] = None - is_disabled: Optional[StrictBool] = Field(default=False, alias="isDisabled") - is_reserved: Optional[StrictBool] = Field(default=True, alias="isReserved") - org_id: StrictStr = Field(default=..., alias="orgId") - slug: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - external: ApiV1ExternalKmsPost200ResponseExternalKmsExternal = Field(...) - __properties = ["id", "description", "isDisabled", "isReserved", "orgId", "slug", "createdAt", "updatedAt", "external"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPost200ResponseExternalKms: - """Create an instance of ApiV1ExternalKmsPost200ResponseExternalKms from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of external - if self.external: - _dict['external'] = self.external.to_dict() - # set to None if description (nullable) is None - # and __fields_set__ contains the field - if self.description is None and "description" in self.__fields_set__: - _dict['description'] = None - - # set to None if is_disabled (nullable) is None - # and __fields_set__ contains the field - if self.is_disabled is None and "is_disabled" in self.__fields_set__: - _dict['isDisabled'] = None - - # set to None if is_reserved (nullable) is None - # and __fields_set__ contains the field - if self.is_reserved is None and "is_reserved" in self.__fields_set__: - _dict['isReserved'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPost200ResponseExternalKms: - """Create an instance of ApiV1ExternalKmsPost200ResponseExternalKms from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsPost200ResponseExternalKms.parse_obj(obj) - - _obj = ApiV1ExternalKmsPost200ResponseExternalKms.parse_obj({ - "id": obj.get("id"), - "description": obj.get("description"), - "is_disabled": obj.get("isDisabled") if obj.get("isDisabled") is not None else False, - "is_reserved": obj.get("isReserved") if obj.get("isReserved") is not None else True, - "org_id": obj.get("orgId"), - "slug": obj.get("slug"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "external": ApiV1ExternalKmsPost200ResponseExternalKmsExternal.from_dict(obj.get("external")) if obj.get("external") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post200_response_external_kms_external.py b/infisicalapi_client/models/api_v1_external_kms_post200_response_external_kms_external.py deleted file mode 100644 index 9043852..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post200_response_external_kms_external.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1ExternalKmsPost200ResponseExternalKmsExternal(BaseModel): - """ - ApiV1ExternalKmsPost200ResponseExternalKmsExternal - """ - id: StrictStr = Field(...) - status: Optional[StrictStr] = None - status_details: Optional[StrictStr] = Field(default=None, alias="statusDetails") - provider: StrictStr = Field(...) - __properties = ["id", "status", "statusDetails", "provider"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPost200ResponseExternalKmsExternal: - """Create an instance of ApiV1ExternalKmsPost200ResponseExternalKmsExternal from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - # set to None if status_details (nullable) is None - # and __fields_set__ contains the field - if self.status_details is None and "status_details" in self.__fields_set__: - _dict['statusDetails'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPost200ResponseExternalKmsExternal: - """Create an instance of ApiV1ExternalKmsPost200ResponseExternalKmsExternal from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsPost200ResponseExternalKmsExternal.parse_obj(obj) - - _obj = ApiV1ExternalKmsPost200ResponseExternalKmsExternal.parse_obj({ - "id": obj.get("id"), - "status": obj.get("status"), - "status_details": obj.get("statusDetails"), - "provider": obj.get("provider") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post_request.py b/infisicalapi_client/models/api_v1_external_kms_post_request.py deleted file mode 100644 index 1b07ad1..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr -from infisicalapi_client.models.api_v1_external_kms_post_request_provider import ApiV1ExternalKmsPostRequestProvider - -class ApiV1ExternalKmsPostRequest(BaseModel): - """ - ApiV1ExternalKmsPostRequest - """ - slug: constr(strict=True, min_length=1) = Field(...) - description: Optional[StrictStr] = None - provider: ApiV1ExternalKmsPostRequestProvider = Field(...) - __properties = ["slug", "description", "provider"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPostRequest: - """Create an instance of ApiV1ExternalKmsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of provider - if self.provider: - _dict['provider'] = self.provider.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPostRequest: - """Create an instance of ApiV1ExternalKmsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsPostRequest.parse_obj(obj) - - _obj = ApiV1ExternalKmsPostRequest.parse_obj({ - "slug": obj.get("slug"), - "description": obj.get("description"), - "provider": ApiV1ExternalKmsPostRequestProvider.from_dict(obj.get("provider")) if obj.get("provider") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post_request_provider.py b/infisicalapi_client/models/api_v1_external_kms_post_request_provider.py deleted file mode 100644 index 0be5823..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post_request_provider.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs import ApiV1ExternalKmsPostRequestProviderInputs - -class ApiV1ExternalKmsPostRequestProvider(BaseModel): - """ - ApiV1ExternalKmsPostRequestProvider - """ - type: StrictStr = Field(...) - inputs: ApiV1ExternalKmsPostRequestProviderInputs = Field(...) - __properties = ["type", "inputs"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('aws'): - raise ValueError("must be one of enum values ('aws')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPostRequestProvider: - """Create an instance of ApiV1ExternalKmsPostRequestProvider from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of inputs - if self.inputs: - _dict['inputs'] = self.inputs.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPostRequestProvider: - """Create an instance of ApiV1ExternalKmsPostRequestProvider from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsPostRequestProvider.parse_obj(obj) - - _obj = ApiV1ExternalKmsPostRequestProvider.parse_obj({ - "type": obj.get("type"), - "inputs": ApiV1ExternalKmsPostRequestProviderInputs.from_dict(obj.get("inputs")) if obj.get("inputs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs.py b/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs.py deleted file mode 100644 index 64ff06a..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential import ApiV1ExternalKmsPostRequestProviderInputsCredential - -class ApiV1ExternalKmsPostRequestProviderInputs(BaseModel): - """ - ApiV1ExternalKmsPostRequestProviderInputs - """ - credential: ApiV1ExternalKmsPostRequestProviderInputsCredential = Field(...) - aws_region: constr(strict=True, min_length=1) = Field(default=..., alias="awsRegion", description="AWS region to connect") - kms_key_id: Optional[StrictStr] = Field(default=None, alias="kmsKeyId", description="A pre existing AWS KMS key id to be used for encryption. If not provided a kms key will be generated.") - __properties = ["credential", "awsRegion", "kmsKeyId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPostRequestProviderInputs: - """Create an instance of ApiV1ExternalKmsPostRequestProviderInputs from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of credential - if self.credential: - _dict['credential'] = self.credential.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPostRequestProviderInputs: - """Create an instance of ApiV1ExternalKmsPostRequestProviderInputs from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsPostRequestProviderInputs.parse_obj(obj) - - _obj = ApiV1ExternalKmsPostRequestProviderInputs.parse_obj({ - "credential": ApiV1ExternalKmsPostRequestProviderInputsCredential.from_dict(obj.get("credential")) if obj.get("credential") is not None else None, - "aws_region": obj.get("awsRegion"), - "kms_key_id": obj.get("kmsKeyId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential.py b/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential.py deleted file mode 100644 index 9d403d7..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of1 import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV1EXTERNALKMSPOSTREQUESTPROVIDERINPUTSCREDENTIAL_ANY_OF_SCHEMAS = ["ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf", "ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1"] - -class ApiV1ExternalKmsPostRequestProviderInputsCredential(BaseModel): - """ - AWS credential information to connect - """ - - # data type: ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf - anyof_schema_1_validator: Optional[ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf] = None - # data type: ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 - anyof_schema_2_validator: Optional[ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf, ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV1EXTERNALKMSPOSTREQUESTPROVIDERINPUTSCREDENTIAL_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV1ExternalKmsPostRequestProviderInputsCredential.construct() - error_messages = [] - # validate data type: ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf - if not isinstance(v, ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf`") - else: - return v - - # validate data type: ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 - if not isinstance(v, ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV1ExternalKmsPostRequestProviderInputsCredential with anyOf schemas: ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf, ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPostRequestProviderInputsCredential: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPostRequestProviderInputsCredential: - """Returns the object represented by the json string""" - instance = ApiV1ExternalKmsPostRequestProviderInputsCredential.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf] = None - try: - instance.actual_instance = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1] = None - try: - instance.actual_instance = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV1ExternalKmsPostRequestProviderInputsCredential with anyOf schemas: ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf, ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of.py b/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of.py deleted file mode 100644 index 8ccf599..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of_data import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData - -class ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf(BaseModel): - """ - ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf - """ - type: StrictStr = Field(...) - data: ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData = Field(...) - __properties = ["type", "data"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('access-key'): - raise ValueError("must be one of enum values ('access-key')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf: - """Create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of data - if self.data: - _dict['data'] = self.data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf: - """Create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.parse_obj(obj) - - _obj = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf.parse_obj({ - "type": obj.get("type"), - "data": ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.from_dict(obj.get("data")) if obj.get("data") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of1.py b/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of1.py deleted file mode 100644 index a7a7fb2..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of1.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data - -class ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1(BaseModel): - """ - ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 - """ - type: StrictStr = Field(...) - data: ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data = Field(...) - __properties = ["type", "data"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('assume-role'): - raise ValueError("must be one of enum values ('assume-role')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1: - """Create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of data - if self.data: - _dict['data'] = self.data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1: - """Create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.parse_obj(obj) - - _obj = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1.parse_obj({ - "type": obj.get("type"), - "data": ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.from_dict(obj.get("data")) if obj.get("data") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data.py b/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data.py deleted file mode 100644 index eade75b..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, constr - -class ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data(BaseModel): - """ - ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data - """ - assume_role_arn: constr(strict=True, min_length=1) = Field(default=..., alias="assumeRoleArn", description="AWS user role to be assumed by infisical") - external_id: Optional[constr(strict=True, min_length=1)] = Field(default=None, alias="externalId", description="AWS assume role external id for furthur security in authentication") - __properties = ["assumeRoleArn", "externalId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data: - """Create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data: - """Create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.parse_obj(obj) - - _obj = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data.parse_obj({ - "assume_role_arn": obj.get("assumeRoleArn"), - "external_id": obj.get("externalId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of_data.py b/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of_data.py deleted file mode 100644 index 767f6f7..0000000 --- a/infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of_data.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, constr - -class ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData(BaseModel): - """ - ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData - """ - access_key: constr(strict=True, min_length=1) = Field(default=..., alias="accessKey", description="AWS user account access key") - secret_key: constr(strict=True, min_length=1) = Field(default=..., alias="secretKey", description="AWS user account secret key") - __properties = ["accessKey", "secretKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData: - """Create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData: - """Create an instance of ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.parse_obj(obj) - - _obj = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData.parse_obj({ - "access_key": obj.get("accessKey"), - "secret_key": obj.get("secretKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_folders_batch_patch_request.py b/infisicalapi_client/models/api_v1_folders_batch_patch_request.py deleted file mode 100644 index be6373d..0000000 --- a/infisicalapi_client/models/api_v1_folders_batch_patch_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_folders_batch_patch_request_folders_inner import ApiV1FoldersBatchPatchRequestFoldersInner - -class ApiV1FoldersBatchPatchRequest(BaseModel): - """ - ApiV1FoldersBatchPatchRequest - """ - project_slug: StrictStr = Field(default=..., alias="projectSlug", description="The slug of the project where the folder is located.") - folders: conlist(ApiV1FoldersBatchPatchRequestFoldersInner, min_items=1) = Field(...) - __properties = ["projectSlug", "folders"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1FoldersBatchPatchRequest: - """Create an instance of ApiV1FoldersBatchPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in folders (list) - _items = [] - if self.folders: - for _item in self.folders: - if _item: - _items.append(_item.to_dict()) - _dict['folders'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1FoldersBatchPatchRequest: - """Create an instance of ApiV1FoldersBatchPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1FoldersBatchPatchRequest.parse_obj(obj) - - _obj = ApiV1FoldersBatchPatchRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "folders": [ApiV1FoldersBatchPatchRequestFoldersInner.from_dict(_item) for _item in obj.get("folders")] if obj.get("folders") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_folders_batch_patch_request_folders_inner.py b/infisicalapi_client/models/api_v1_folders_batch_patch_request_folders_inner.py deleted file mode 100644 index 9cb2170..0000000 --- a/infisicalapi_client/models/api_v1_folders_batch_patch_request_folders_inner.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1FoldersBatchPatchRequestFoldersInner(BaseModel): - """ - ApiV1FoldersBatchPatchRequestFoldersInner - """ - id: StrictStr = Field(default=..., description="The ID of the folder to update.") - environment: StrictStr = Field(default=..., description="The slug of the environment where the folder is located.") - name: StrictStr = Field(default=..., description="The new name of the folder.") - path: Optional[StrictStr] = Field(default='/', description="The path of the folder to update.") - __properties = ["id", "environment", "name", "path"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1FoldersBatchPatchRequestFoldersInner: - """Create an instance of ApiV1FoldersBatchPatchRequestFoldersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1FoldersBatchPatchRequestFoldersInner: - """Create an instance of ApiV1FoldersBatchPatchRequestFoldersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1FoldersBatchPatchRequestFoldersInner.parse_obj(obj) - - _obj = ApiV1FoldersBatchPatchRequestFoldersInner.parse_obj({ - "id": obj.get("id"), - "environment": obj.get("environment"), - "name": obj.get("name"), - "path": obj.get("path") if obj.get("path") is not None else '/' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_folders_folder_id_or_name_delete_request.py b/infisicalapi_client/models/api_v1_folders_folder_id_or_name_delete_request.py deleted file mode 100644 index b66da2e..0000000 --- a/infisicalapi_client/models/api_v1_folders_folder_id_or_name_delete_request.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1FoldersFolderIdOrNameDeleteRequest(BaseModel): - """ - ApiV1FoldersFolderIdOrNameDeleteRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project to delete the folder from.") - environment: StrictStr = Field(default=..., description="The slug of the environment where the folder is located.") - path: Optional[StrictStr] = Field(default='/', description="The path of the folder to delete.") - directory: Optional[StrictStr] = Field(default='/', description="The directory of the folder to delete. (Deprecated in favor of path)") - __properties = ["workspaceId", "environment", "path", "directory"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1FoldersFolderIdOrNameDeleteRequest: - """Create an instance of ApiV1FoldersFolderIdOrNameDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1FoldersFolderIdOrNameDeleteRequest: - """Create an instance of ApiV1FoldersFolderIdOrNameDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1FoldersFolderIdOrNameDeleteRequest.parse_obj(obj) - - _obj = ApiV1FoldersFolderIdOrNameDeleteRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "directory": obj.get("directory") if obj.get("directory") is not None else '/' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_folders_folder_id_patch_request.py b/infisicalapi_client/models/api_v1_folders_folder_id_patch_request.py deleted file mode 100644 index 520d9ec..0000000 --- a/infisicalapi_client/models/api_v1_folders_folder_id_patch_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1FoldersFolderIdPatchRequest(BaseModel): - """ - ApiV1FoldersFolderIdPatchRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project where the folder is located.") - environment: StrictStr = Field(default=..., description="The slug of the environment where the folder is located.") - name: StrictStr = Field(default=..., description="The new name of the folder.") - path: Optional[StrictStr] = Field(default='/', description="The path of the folder to update.") - directory: Optional[StrictStr] = Field(default='/', description="The new directory of the folder to update. (Deprecated in favor of path)") - __properties = ["workspaceId", "environment", "name", "path", "directory"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1FoldersFolderIdPatchRequest: - """Create an instance of ApiV1FoldersFolderIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1FoldersFolderIdPatchRequest: - """Create an instance of ApiV1FoldersFolderIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1FoldersFolderIdPatchRequest.parse_obj(obj) - - _obj = ApiV1FoldersFolderIdPatchRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "name": obj.get("name"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "directory": obj.get("directory") if obj.get("directory") is not None else '/' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_folders_get200_response.py b/infisicalapi_client/models/api_v1_folders_get200_response.py deleted file mode 100644 index e52fded..0000000 --- a/infisicalapi_client/models/api_v1_folders_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_folders_get200_response_folders_inner import ApiV1FoldersGet200ResponseFoldersInner - -class ApiV1FoldersGet200Response(BaseModel): - """ - ApiV1FoldersGet200Response - """ - folders: conlist(ApiV1FoldersGet200ResponseFoldersInner) = Field(...) - __properties = ["folders"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1FoldersGet200Response: - """Create an instance of ApiV1FoldersGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in folders (list) - _items = [] - if self.folders: - for _item in self.folders: - if _item: - _items.append(_item.to_dict()) - _dict['folders'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1FoldersGet200Response: - """Create an instance of ApiV1FoldersGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1FoldersGet200Response.parse_obj(obj) - - _obj = ApiV1FoldersGet200Response.parse_obj({ - "folders": [ApiV1FoldersGet200ResponseFoldersInner.from_dict(_item) for _item in obj.get("folders")] if obj.get("folders") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_folders_get200_response_folders_inner.py b/infisicalapi_client/models/api_v1_folders_get200_response_folders_inner.py deleted file mode 100644 index b09e898..0000000 --- a/infisicalapi_client/models/api_v1_folders_get200_response_folders_inner.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV1FoldersGet200ResponseFoldersInner(BaseModel): - """ - ApiV1FoldersGet200ResponseFoldersInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - version: Optional[Union[StrictFloat, StrictInt]] = 1 - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - env_id: StrictStr = Field(default=..., alias="envId") - parent_id: Optional[StrictStr] = Field(default=None, alias="parentId") - is_reserved: Optional[StrictBool] = Field(default=False, alias="isReserved") - __properties = ["id", "name", "version", "createdAt", "updatedAt", "envId", "parentId", "isReserved"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1FoldersGet200ResponseFoldersInner: - """Create an instance of ApiV1FoldersGet200ResponseFoldersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if version (nullable) is None - # and __fields_set__ contains the field - if self.version is None and "version" in self.__fields_set__: - _dict['version'] = None - - # set to None if parent_id (nullable) is None - # and __fields_set__ contains the field - if self.parent_id is None and "parent_id" in self.__fields_set__: - _dict['parentId'] = None - - # set to None if is_reserved (nullable) is None - # and __fields_set__ contains the field - if self.is_reserved is None and "is_reserved" in self.__fields_set__: - _dict['isReserved'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1FoldersGet200ResponseFoldersInner: - """Create an instance of ApiV1FoldersGet200ResponseFoldersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1FoldersGet200ResponseFoldersInner.parse_obj(obj) - - _obj = ApiV1FoldersGet200ResponseFoldersInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "version": obj.get("version") if obj.get("version") is not None else 1, - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "env_id": obj.get("envId"), - "parent_id": obj.get("parentId"), - "is_reserved": obj.get("isReserved") if obj.get("isReserved") is not None else False - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_folders_post200_response.py b/infisicalapi_client/models/api_v1_folders_post200_response.py deleted file mode 100644 index 1eedccc..0000000 --- a/infisicalapi_client/models/api_v1_folders_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_folders_get200_response_folders_inner import ApiV1FoldersGet200ResponseFoldersInner - -class ApiV1FoldersPost200Response(BaseModel): - """ - ApiV1FoldersPost200Response - """ - folder: ApiV1FoldersGet200ResponseFoldersInner = Field(...) - __properties = ["folder"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1FoldersPost200Response: - """Create an instance of ApiV1FoldersPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of folder - if self.folder: - _dict['folder'] = self.folder.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1FoldersPost200Response: - """Create an instance of ApiV1FoldersPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1FoldersPost200Response.parse_obj(obj) - - _obj = ApiV1FoldersPost200Response.parse_obj({ - "folder": ApiV1FoldersGet200ResponseFoldersInner.from_dict(obj.get("folder")) if obj.get("folder") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_folders_post_request.py b/infisicalapi_client/models/api_v1_folders_post_request.py deleted file mode 100644 index b6ce4c6..0000000 --- a/infisicalapi_client/models/api_v1_folders_post_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1FoldersPostRequest(BaseModel): - """ - ApiV1FoldersPostRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project to create the folder in.") - environment: StrictStr = Field(default=..., description="The slug of the environment to create the folder in.") - name: StrictStr = Field(default=..., description="The name of the folder to create.") - path: Optional[StrictStr] = Field(default='/', description="The path of the folder to create.") - directory: Optional[StrictStr] = Field(default='/', description="The directory of the folder to create. (Deprecated in favor of path)") - __properties = ["workspaceId", "environment", "name", "path", "directory"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1FoldersPostRequest: - """Create an instance of ApiV1FoldersPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1FoldersPostRequest: - """Create an instance of ApiV1FoldersPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1FoldersPostRequest.parse_obj(obj) - - _obj = ApiV1FoldersPostRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "name": obj.get("name"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "directory": obj.get("directory") if obj.get("directory") is not None else '/' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_groups_current_slug_patch_request.py b/infisicalapi_client/models/api_v1_groups_current_slug_patch_request.py deleted file mode 100644 index 07a31eb..0000000 --- a/infisicalapi_client/models/api_v1_groups_current_slug_patch_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, constr - -class ApiV1GroupsCurrentSlugPatchRequest(BaseModel): - """ - ApiV1GroupsCurrentSlugPatchRequest - """ - name: Optional[constr(strict=True, min_length=1)] = Field(default=None, description="The new name of the group to update to.") - slug: Optional[constr(strict=True, max_length=36, min_length=5)] = Field(default=None, description="The new slug of the group to update to.") - role: Optional[constr(strict=True, min_length=1)] = Field(default=None, description="The new role of the group to update to.") - __properties = ["name", "slug", "role"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1GroupsCurrentSlugPatchRequest: - """Create an instance of ApiV1GroupsCurrentSlugPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1GroupsCurrentSlugPatchRequest: - """Create an instance of ApiV1GroupsCurrentSlugPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1GroupsCurrentSlugPatchRequest.parse_obj(obj) - - _obj = ApiV1GroupsCurrentSlugPatchRequest.parse_obj({ - "name": obj.get("name"), - "slug": obj.get("slug"), - "role": obj.get("role") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_groups_post200_response.py b/infisicalapi_client/models/api_v1_groups_post200_response.py deleted file mode 100644 index d097b2f..0000000 --- a/infisicalapi_client/models/api_v1_groups_post200_response.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1GroupsPost200Response(BaseModel): - """ - ApiV1GroupsPost200Response - """ - id: StrictStr = Field(...) - org_id: StrictStr = Field(default=..., alias="orgId") - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - role: StrictStr = Field(...) - role_id: Optional[StrictStr] = Field(default=None, alias="roleId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "orgId", "name", "slug", "role", "roleId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1GroupsPost200Response: - """Create an instance of ApiV1GroupsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if role_id (nullable) is None - # and __fields_set__ contains the field - if self.role_id is None and "role_id" in self.__fields_set__: - _dict['roleId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1GroupsPost200Response: - """Create an instance of ApiV1GroupsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1GroupsPost200Response.parse_obj(obj) - - _obj = ApiV1GroupsPost200Response.parse_obj({ - "id": obj.get("id"), - "org_id": obj.get("orgId"), - "name": obj.get("name"), - "slug": obj.get("slug"), - "role": obj.get("role"), - "role_id": obj.get("roleId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_groups_post_request.py b/infisicalapi_client/models/api_v1_groups_post_request.py deleted file mode 100644 index 5745493..0000000 --- a/infisicalapi_client/models/api_v1_groups_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, constr - -class ApiV1GroupsPostRequest(BaseModel): - """ - ApiV1GroupsPostRequest - """ - name: constr(strict=True, max_length=50, min_length=1) = Field(default=..., description="The name of the group to create.") - slug: Optional[constr(strict=True, max_length=36, min_length=5)] = Field(default=None, description="The slug of the group to create.") - role: Optional[constr(strict=True, min_length=1)] = Field(default='no-access', description="The role of the group to create.") - __properties = ["name", "slug", "role"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1GroupsPostRequest: - """Create an instance of ApiV1GroupsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1GroupsPostRequest: - """Create an instance of ApiV1GroupsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1GroupsPostRequest.parse_obj(obj) - - _obj = ApiV1GroupsPostRequest.parse_obj({ - "name": obj.get("name"), - "slug": obj.get("slug"), - "role": obj.get("role") if obj.get("role") is not None else 'no-access' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_groups_slug_users_get200_response.py b/infisicalapi_client/models/api_v1_groups_slug_users_get200_response.py deleted file mode 100644 index f4fdcfc..0000000 --- a/infisicalapi_client/models/api_v1_groups_slug_users_get200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, conlist -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response_users_inner import ApiV1GroupsSlugUsersGet200ResponseUsersInner - -class ApiV1GroupsSlugUsersGet200Response(BaseModel): - """ - ApiV1GroupsSlugUsersGet200Response - """ - users: conlist(ApiV1GroupsSlugUsersGet200ResponseUsersInner) = Field(...) - total_count: Union[StrictFloat, StrictInt] = Field(default=..., alias="totalCount") - __properties = ["users", "totalCount"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1GroupsSlugUsersGet200Response: - """Create an instance of ApiV1GroupsSlugUsersGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item in self.users: - if _item: - _items.append(_item.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1GroupsSlugUsersGet200Response: - """Create an instance of ApiV1GroupsSlugUsersGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1GroupsSlugUsersGet200Response.parse_obj(obj) - - _obj = ApiV1GroupsSlugUsersGet200Response.parse_obj({ - "users": [ApiV1GroupsSlugUsersGet200ResponseUsersInner.from_dict(_item) for _item in obj.get("users")] if obj.get("users") is not None else None, - "total_count": obj.get("totalCount") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_groups_slug_users_get200_response_users_inner.py b/infisicalapi_client/models/api_v1_groups_slug_users_get200_response_users_inner.py deleted file mode 100644 index c653a88..0000000 --- a/infisicalapi_client/models/api_v1_groups_slug_users_get200_response_users_inner.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1GroupsSlugUsersGet200ResponseUsersInner(BaseModel): - """ - ApiV1GroupsSlugUsersGet200ResponseUsersInner - """ - email: Optional[StrictStr] = None - username: StrictStr = Field(...) - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - id: StrictStr = Field(...) - is_part_of_group: StrictBool = Field(default=..., alias="isPartOfGroup") - __properties = ["email", "username", "firstName", "lastName", "id", "isPartOfGroup"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1GroupsSlugUsersGet200ResponseUsersInner: - """Create an instance of ApiV1GroupsSlugUsersGet200ResponseUsersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1GroupsSlugUsersGet200ResponseUsersInner: - """Create an instance of ApiV1GroupsSlugUsersGet200ResponseUsersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1GroupsSlugUsersGet200ResponseUsersInner.parse_obj(obj) - - _obj = ApiV1GroupsSlugUsersGet200ResponseUsersInner.parse_obj({ - "email": obj.get("email"), - "username": obj.get("username"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "id": obj.get("id"), - "is_part_of_group": obj.get("isPartOfGroup") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_groups_slug_users_username_post200_response.py b/infisicalapi_client/models/api_v1_groups_slug_users_username_post200_response.py deleted file mode 100644 index d43e747..0000000 --- a/infisicalapi_client/models/api_v1_groups_slug_users_username_post200_response.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1GroupsSlugUsersUsernamePost200Response(BaseModel): - """ - ApiV1GroupsSlugUsersUsernamePost200Response - """ - email: Optional[StrictStr] = None - username: StrictStr = Field(...) - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - id: StrictStr = Field(...) - __properties = ["email", "username", "firstName", "lastName", "id"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1GroupsSlugUsersUsernamePost200Response: - """Create an instance of ApiV1GroupsSlugUsersUsernamePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1GroupsSlugUsersUsernamePost200Response: - """Create an instance of ApiV1GroupsSlugUsersUsernamePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1GroupsSlugUsersUsernamePost200Response.parse_obj(obj) - - _obj = ApiV1GroupsSlugUsersUsernamePost200Response.parse_obj({ - "email": obj.get("email"), - "username": obj.get("username"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "id": obj.get("id") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_identities_get200_response.py b/infisicalapi_client/models/api_v1_identities_get200_response.py deleted file mode 100644 index 7c3fd87..0000000 --- a/infisicalapi_client/models/api_v1_identities_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner import ApiV1IdentitiesGet200ResponseIdentitiesInner - -class ApiV1IdentitiesGet200Response(BaseModel): - """ - ApiV1IdentitiesGet200Response - """ - identities: conlist(ApiV1IdentitiesGet200ResponseIdentitiesInner) = Field(...) - __properties = ["identities"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IdentitiesGet200Response: - """Create an instance of ApiV1IdentitiesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in identities (list) - _items = [] - if self.identities: - for _item in self.identities: - if _item: - _items.append(_item.to_dict()) - _dict['identities'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IdentitiesGet200Response: - """Create an instance of ApiV1IdentitiesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IdentitiesGet200Response.parse_obj(obj) - - _obj = ApiV1IdentitiesGet200Response.parse_obj({ - "identities": [ApiV1IdentitiesGet200ResponseIdentitiesInner.from_dict(_item) for _item in obj.get("identities")] if obj.get("identities") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_identities_get200_response_identities_inner.py b/infisicalapi_client/models/api_v1_identities_get200_response_identities_inner.py deleted file mode 100644 index de6d87e..0000000 --- a/infisicalapi_client/models/api_v1_identities_get200_response_identities_inner.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner_identity import ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole - -class ApiV1IdentitiesGet200ResponseIdentitiesInner(BaseModel): - """ - ApiV1IdentitiesGet200ResponseIdentitiesInner - """ - id: StrictStr = Field(...) - role: StrictStr = Field(...) - role_id: Optional[StrictStr] = Field(default=None, alias="roleId") - org_id: StrictStr = Field(default=..., alias="orgId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - identity_id: StrictStr = Field(default=..., alias="identityId") - custom_role: Optional[ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole] = Field(default=None, alias="customRole") - identity: ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity = Field(...) - __properties = ["id", "role", "roleId", "orgId", "createdAt", "updatedAt", "identityId", "customRole", "identity"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IdentitiesGet200ResponseIdentitiesInner: - """Create an instance of ApiV1IdentitiesGet200ResponseIdentitiesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of custom_role - if self.custom_role: - _dict['customRole'] = self.custom_role.to_dict() - # override the default output from pydantic by calling `to_dict()` of identity - if self.identity: - _dict['identity'] = self.identity.to_dict() - # set to None if role_id (nullable) is None - # and __fields_set__ contains the field - if self.role_id is None and "role_id" in self.__fields_set__: - _dict['roleId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IdentitiesGet200ResponseIdentitiesInner: - """Create an instance of ApiV1IdentitiesGet200ResponseIdentitiesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IdentitiesGet200ResponseIdentitiesInner.parse_obj(obj) - - _obj = ApiV1IdentitiesGet200ResponseIdentitiesInner.parse_obj({ - "id": obj.get("id"), - "role": obj.get("role"), - "role_id": obj.get("roleId"), - "org_id": obj.get("orgId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "identity_id": obj.get("identityId"), - "custom_role": ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.from_dict(obj.get("customRole")) if obj.get("customRole") is not None else None, - "identity": ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.from_dict(obj.get("identity")) if obj.get("identity") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_identities_get200_response_identities_inner_identity.py b/infisicalapi_client/models/api_v1_identities_get200_response_identities_inner_identity.py deleted file mode 100644 index fa71dc1..0000000 --- a/infisicalapi_client/models/api_v1_identities_get200_response_identities_inner_identity.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity(BaseModel): - """ - ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity - """ - name: StrictStr = Field(...) - id: StrictStr = Field(...) - auth_method: Optional[StrictStr] = Field(default=None, alias="authMethod") - __properties = ["name", "id", "authMethod"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity: - """Create an instance of ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if auth_method (nullable) is None - # and __fields_set__ contains the field - if self.auth_method is None and "auth_method" in self.__fields_set__: - _dict['authMethod'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity: - """Create an instance of ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.parse_obj(obj) - - _obj = ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.parse_obj({ - "name": obj.get("name"), - "id": obj.get("id"), - "auth_method": obj.get("authMethod") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_identities_identity_id_get200_response.py b/infisicalapi_client/models/api_v1_identities_identity_id_get200_response.py deleted file mode 100644 index dde37cf..0000000 --- a/infisicalapi_client/models/api_v1_identities_identity_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner import ApiV1IdentitiesGet200ResponseIdentitiesInner - -class ApiV1IdentitiesIdentityIdGet200Response(BaseModel): - """ - ApiV1IdentitiesIdentityIdGet200Response - """ - identity: ApiV1IdentitiesGet200ResponseIdentitiesInner = Field(...) - __properties = ["identity"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1IdentitiesIdentityIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity - if self.identity: - _dict['identity'] = self.identity.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IdentitiesIdentityIdGet200Response: - """Create an instance of ApiV1IdentitiesIdentityIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IdentitiesIdentityIdGet200Response.parse_obj(obj) - - _obj = ApiV1IdentitiesIdentityIdGet200Response.parse_obj({ - "identity": ApiV1IdentitiesGet200ResponseIdentitiesInner.from_dict(obj.get("identity")) if obj.get("identity") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_identities_identity_id_identity_memberships_get200_response.py b/infisicalapi_client/models/api_v1_identities_identity_id_identity_memberships_get200_response.py deleted file mode 100644 index c36b15a..0000000 --- a/infisicalapi_client/models/api_v1_identities_identity_id_identity_memberships_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner - -class ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response(BaseModel): - """ - ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response - """ - identity_memberships: conlist(ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner) = Field(default=..., alias="identityMemberships") - __properties = ["identityMemberships"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response: - """Create an instance of ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in identity_memberships (list) - _items = [] - if self.identity_memberships: - for _item in self.identity_memberships: - if _item: - _items.append(_item.to_dict()) - _dict['identityMemberships'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response: - """Create an instance of ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.parse_obj(obj) - - _obj = ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response.parse_obj({ - "identity_memberships": [ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.from_dict(_item) for _item in obj.get("identityMemberships")] if obj.get("identityMemberships") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner.py b/infisicalapi_client/models/api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner.py deleted file mode 100644 index 5f8f1aa..0000000 --- a/infisicalapi_client/models/api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner_identity import ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_project import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner - -class ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner(BaseModel): - """ - ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner - """ - id: StrictStr = Field(...) - identity_id: StrictStr = Field(default=..., alias="identityId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - roles: conlist(ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner) = Field(...) - identity: ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity = Field(...) - project: ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject = Field(...) - __properties = ["id", "identityId", "createdAt", "updatedAt", "roles", "identity", "project"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner: - """Create an instance of ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - # override the default output from pydantic by calling `to_dict()` of identity - if self.identity: - _dict['identity'] = self.identity.to_dict() - # override the default output from pydantic by calling `to_dict()` of project - if self.project: - _dict['project'] = self.project.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner: - """Create an instance of ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.parse_obj(obj) - - _obj = ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.parse_obj({ - "id": obj.get("id"), - "identity_id": obj.get("identityId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "roles": [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None, - "identity": ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity.from_dict(obj.get("identity")) if obj.get("identity") is not None else None, - "project": ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.from_dict(obj.get("project")) if obj.get("project") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_identities_identity_id_patch_request.py b/infisicalapi_client/models/api_v1_identities_identity_id_patch_request.py deleted file mode 100644 index 39e41c3..0000000 --- a/infisicalapi_client/models/api_v1_identities_identity_id_patch_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr - -class ApiV1IdentitiesIdentityIdPatchRequest(BaseModel): - """ - ApiV1IdentitiesIdentityIdPatchRequest - """ - name: Optional[StrictStr] = Field(default=None, description="The new name of the identity.") - role: Optional[constr(strict=True, min_length=1)] = Field(default=None, description="The new role of the identity.") - __properties = ["name", "role"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1IdentitiesIdentityIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IdentitiesIdentityIdPatchRequest: - """Create an instance of ApiV1IdentitiesIdentityIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IdentitiesIdentityIdPatchRequest.parse_obj(obj) - - _obj = ApiV1IdentitiesIdentityIdPatchRequest.parse_obj({ - "name": obj.get("name"), - "role": obj.get("role") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_identities_post200_response.py b/infisicalapi_client/models/api_v1_identities_post200_response.py deleted file mode 100644 index 48d90b4..0000000 --- a/infisicalapi_client/models/api_v1_identities_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_identities_post200_response_identity import ApiV1IdentitiesPost200ResponseIdentity - -class ApiV1IdentitiesPost200Response(BaseModel): - """ - ApiV1IdentitiesPost200Response - """ - identity: ApiV1IdentitiesPost200ResponseIdentity = Field(...) - __properties = ["identity"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IdentitiesPost200Response: - """Create an instance of ApiV1IdentitiesPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity - if self.identity: - _dict['identity'] = self.identity.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IdentitiesPost200Response: - """Create an instance of ApiV1IdentitiesPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IdentitiesPost200Response.parse_obj(obj) - - _obj = ApiV1IdentitiesPost200Response.parse_obj({ - "identity": ApiV1IdentitiesPost200ResponseIdentity.from_dict(obj.get("identity")) if obj.get("identity") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_identities_post200_response_identity.py b/infisicalapi_client/models/api_v1_identities_post200_response_identity.py deleted file mode 100644 index 5328e32..0000000 --- a/infisicalapi_client/models/api_v1_identities_post200_response_identity.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IdentitiesPost200ResponseIdentity(BaseModel): - """ - ApiV1IdentitiesPost200ResponseIdentity - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - auth_method: Optional[StrictStr] = Field(default=None, alias="authMethod") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "name", "authMethod", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IdentitiesPost200ResponseIdentity: - """Create an instance of ApiV1IdentitiesPost200ResponseIdentity from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if auth_method (nullable) is None - # and __fields_set__ contains the field - if self.auth_method is None and "auth_method" in self.__fields_set__: - _dict['authMethod'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IdentitiesPost200ResponseIdentity: - """Create an instance of ApiV1IdentitiesPost200ResponseIdentity from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IdentitiesPost200ResponseIdentity.parse_obj(obj) - - _obj = ApiV1IdentitiesPost200ResponseIdentity.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "auth_method": obj.get("authMethod"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_identities_post_request.py b/infisicalapi_client/models/api_v1_identities_post_request.py deleted file mode 100644 index e6d3167..0000000 --- a/infisicalapi_client/models/api_v1_identities_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr - -class ApiV1IdentitiesPostRequest(BaseModel): - """ - ApiV1IdentitiesPostRequest - """ - name: StrictStr = Field(default=..., description="The name of the identity to create.") - organization_id: StrictStr = Field(default=..., alias="organizationId", description="The organization ID to which the identity belongs.") - role: Optional[constr(strict=True, min_length=1)] = Field(default='no-access', description="The role of the identity. Possible values are 'no-access', 'member', and 'admin'.") - __properties = ["name", "organizationId", "role"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IdentitiesPostRequest: - """Create an instance of ApiV1IdentitiesPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IdentitiesPostRequest: - """Create an instance of ApiV1IdentitiesPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IdentitiesPostRequest.parse_obj(obj) - - _obj = ApiV1IdentitiesPostRequest.parse_obj({ - "name": obj.get("name"), - "organization_id": obj.get("organizationId"), - "role": obj.get("role") if obj.get("role") is not None else 'no-access' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_access_token_post_request.py b/infisicalapi_client/models/api_v1_integration_auth_access_token_post_request.py deleted file mode 100644 index 85017da..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_access_token_post_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthAccessTokenPostRequest(BaseModel): - """ - ApiV1IntegrationAuthAccessTokenPostRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project to create the integration auth for.") - integration: StrictStr = Field(default=..., description="The slug of integration for the auth object.") - access_id: Optional[StrictStr] = Field(default=None, alias="accessId", description="The unique authorized access id of the external integration provider.") - access_token: Optional[StrictStr] = Field(default=None, alias="accessToken", description="The unique authorized access token of the external integration provider.") - aws_assume_iam_role_arn: Optional[StrictStr] = Field(default=None, alias="awsAssumeIamRoleArn", description="The AWS IAM Role to be assumed by Infisical") - url: Optional[StrictStr] = None - namespace: Optional[StrictStr] = None - refresh_token: Optional[StrictStr] = Field(default=None, alias="refreshToken", description="The refresh token for integration authorization.") - __properties = ["workspaceId", "integration", "accessId", "accessToken", "awsAssumeIamRoleArn", "url", "namespace", "refreshToken"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthAccessTokenPostRequest: - """Create an instance of ApiV1IntegrationAuthAccessTokenPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthAccessTokenPostRequest: - """Create an instance of ApiV1IntegrationAuthAccessTokenPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthAccessTokenPostRequest.parse_obj(obj) - - _obj = ApiV1IntegrationAuthAccessTokenPostRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "integration": obj.get("integration"), - "access_id": obj.get("accessId"), - "access_token": obj.get("accessToken"), - "aws_assume_iam_role_arn": obj.get("awsAssumeIamRoleArn"), - "url": obj.get("url"), - "namespace": obj.get("namespace"), - "refresh_token": obj.get("refreshToken") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_delete200_response.py b/infisicalapi_client/models/api_v1_integration_auth_delete200_response.py deleted file mode 100644 index e492c51..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_delete200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner - -class ApiV1IntegrationAuthDelete200Response(BaseModel): - """ - ApiV1IntegrationAuthDelete200Response - """ - integration_auth: conlist(ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner) = Field(default=..., alias="integrationAuth") - __properties = ["integrationAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthDelete200Response: - """Create an instance of ApiV1IntegrationAuthDelete200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in integration_auth (list) - _items = [] - if self.integration_auth: - for _item in self.integration_auth: - if _item: - _items.append(_item.to_dict()) - _dict['integrationAuth'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthDelete200Response: - """Create an instance of ApiV1IntegrationAuthDelete200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthDelete200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthDelete200Response.parse_obj({ - "integration_auth": [ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.from_dict(_item) for _item in obj.get("integrationAuth")] if obj.get("integrationAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_apps_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_apps_get200_response.py deleted file mode 100644 index 7b0fcbe..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_apps_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner - -class ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response - """ - apps: conlist(ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner) = Field(...) - __properties = ["apps"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in apps (list) - _items = [] - if self.apps: - for _item in self.apps: - if _item: - _items.append(_item.to_dict()) - _dict['apps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response.parse_obj({ - "apps": [ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.from_dict(_item) for _item in obj.get("apps")] if obj.get("apps") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner.py deleted file mode 100644 index 3e179c2..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner - """ - name: StrictStr = Field(...) - app_id: Optional[StrictStr] = Field(default=None, alias="appId") - owner: Optional[StrictStr] = None - __properties = ["name", "appId", "owner"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner.parse_obj({ - "name": obj.get("name"), - "app_id": obj.get("appId"), - "owner": obj.get("owner") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response.py deleted file mode 100644 index 3b5b613..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner - -class ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response - """ - kms_keys: conlist(ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner) = Field(default=..., alias="kmsKeys") - __properties = ["kmsKeys"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in kms_keys (list) - _items = [] - if self.kms_keys: - for _item in self.kms_keys: - if _item: - _items.append(_item.to_dict()) - _dict['kmsKeys'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response.parse_obj({ - "kms_keys": [ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.from_dict(_item) for _item in obj.get("kmsKeys")] if obj.get("kmsKeys") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner.py deleted file mode 100644 index a5af796..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner - """ - id: StrictStr = Field(...) - alias: StrictStr = Field(...) - __properties = ["id", "alias"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner.parse_obj({ - "id": obj.get("id"), - "alias": obj.get("alias") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response.py deleted file mode 100644 index a2934b3..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner - -class ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response - """ - workspaces: conlist(ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner) = Field(...) - __properties = ["workspaces"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in workspaces (list) - _items = [] - if self.workspaces: - for _item in self.workspaces: - if _item: - _items.append(_item.to_dict()) - _dict['workspaces'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response.parse_obj({ - "workspaces": [ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.from_dict(_item) for _item in obj.get("workspaces")] if obj.get("workspaces") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner.py deleted file mode 100644 index 2bed426..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner - """ - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - uuid: StrictStr = Field(...) - type: StrictStr = Field(...) - is_private: StrictBool = Field(...) - created_on: StrictStr = Field(...) - updated_on: Optional[StrictStr] = None - __properties = ["name", "slug", "uuid", "type", "is_private", "created_on", "updated_on"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner.parse_obj({ - "name": obj.get("name"), - "slug": obj.get("slug"), - "uuid": obj.get("uuid"), - "type": obj.get("type"), - "is_private": obj.get("is_private"), - "created_on": obj.get("created_on"), - "updated_on": obj.get("updated_on") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response.py deleted file mode 100644 index e26ad1e..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner - -class ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response - """ - groups: conlist(ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner) = Field(...) - __properties = ["groups"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in groups (list) - _items = [] - if self.groups: - for _item in self.groups: - if _item: - _items.append(_item.to_dict()) - _dict['groups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response.parse_obj({ - "groups": [ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.from_dict(_item) for _item in obj.get("groups")] if obj.get("groups") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner.py deleted file mode 100644 index 6ff969b..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner - """ - name: StrictStr = Field(...) - group_id: Union[StrictFloat, StrictInt] = Field(default=..., alias="groupId") - __properties = ["name", "groupId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner.parse_obj({ - "name": obj.get("name"), - "group_id": obj.get("groupId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_get200_response.py deleted file mode 100644 index 61914f8..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner - -class ApiV1IntegrationAuthIntegrationAuthIdGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdGet200Response - """ - integration_auth: ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner = Field(default=..., alias="integrationAuth") - __properties = ["integrationAuth"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of integration_auth - if self.integration_auth: - _dict['integrationAuth'] = self.integration_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdGet200Response.parse_obj({ - "integration_auth": ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.from_dict(obj.get("integrationAuth")) if obj.get("integrationAuth") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_envs_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_envs_get200_response.py deleted file mode 100644 index cf1f866..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_envs_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner - -class ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response - """ - envs: conlist(ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner) = Field(...) - __properties = ["envs"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in envs (list) - _items = [] - if self.envs: - for _item in self.envs: - if _item: - _items.append(_item.to_dict()) - _dict['envs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response.parse_obj({ - "envs": [ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.from_dict(_item) for _item in obj.get("envs")] if obj.get("envs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner.py deleted file mode 100644 index 84dbe1b..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner - """ - name: StrictStr = Field(...) - env_id: StrictStr = Field(default=..., alias="envId") - __properties = ["name", "envId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner.parse_obj({ - "name": obj.get("name"), - "env_id": obj.get("envId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_orgs_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_orgs_get200_response.py deleted file mode 100644 index 8ea74a5..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_orgs_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner - -class ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response - """ - orgs: conlist(ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner) = Field(...) - __properties = ["orgs"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in orgs (list) - _items = [] - if self.orgs: - for _item in self.orgs: - if _item: - _items.append(_item.to_dict()) - _dict['orgs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response.parse_obj({ - "orgs": [ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.from_dict(_item) for _item in obj.get("orgs")] if obj.get("orgs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner.py deleted file mode 100644 index 359a8e7..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner - """ - name: StrictStr = Field(...) - org_id: StrictStr = Field(default=..., alias="orgId") - __properties = ["name", "orgId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner.parse_obj({ - "name": obj.get("name"), - "org_id": obj.get("orgId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response.py deleted file mode 100644 index ecd403b..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner - -class ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response - """ - pipelines: conlist(ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner) = Field(...) - __properties = ["pipelines"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in pipelines (list) - _items = [] - if self.pipelines: - for _item in self.pipelines: - if _item: - _items.append(_item.to_dict()) - _dict['pipelines'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response.parse_obj({ - "pipelines": [ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.from_dict(_item) for _item in obj.get("pipelines")] if obj.get("pipelines") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner.py deleted file mode 100644 index 2232ff6..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline - -class ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner - """ - app: ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp = Field(...) - stage: StrictStr = Field(...) - pipeline: ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline = Field(...) - __properties = ["app", "stage", "pipeline"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of app - if self.app: - _dict['app'] = self.app.to_dict() - # override the default output from pydantic by calling `to_dict()` of pipeline - if self.pipeline: - _dict['pipeline'] = self.pipeline.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner.parse_obj({ - "app": ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.from_dict(obj.get("app")) if obj.get("app") is not None else None, - "stage": obj.get("stage"), - "pipeline": ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.from_dict(obj.get("pipeline")) if obj.get("pipeline") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app.py deleted file mode 100644 index b8f5bd1..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp - """ - app_id: StrictStr = Field(default=..., alias="appId") - __properties = ["appId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp.parse_obj({ - "app_id": obj.get("appId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline.py deleted file mode 100644 index 3a70542..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline - """ - name: StrictStr = Field(...) - pipeline_id: StrictStr = Field(default=..., alias="pipelineId") - __properties = ["name", "pipelineId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline.parse_obj({ - "name": obj.get("name"), - "pipeline_id": obj.get("pipelineId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response.py deleted file mode 100644 index c897b94..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner - -class ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response - """ - secret_groups: conlist(ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner) = Field(default=..., alias="secretGroups") - __properties = ["secretGroups"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secret_groups (list) - _items = [] - if self.secret_groups: - for _item in self.secret_groups: - if _item: - _items.append(_item.to_dict()) - _dict['secretGroups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response.parse_obj({ - "secret_groups": [ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.from_dict(_item) for _item in obj.get("secretGroups")] if obj.get("secretGroups") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner.py deleted file mode 100644 index f3fc834..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner - """ - name: StrictStr = Field(...) - group_id: StrictStr = Field(default=..., alias="groupId") - __properties = ["name", "groupId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner.parse_obj({ - "name": obj.get("name"), - "group_id": obj.get("groupId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response.py deleted file mode 100644 index d2b1e00..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner - -class ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response - """ - apps: conlist(ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner) = Field(...) - __properties = ["apps"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in apps (list) - _items = [] - if self.apps: - for _item in self.apps: - if _item: - _items.append(_item.to_dict()) - _dict['apps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response.parse_obj({ - "apps": [ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.from_dict(_item) for _item in obj.get("apps")] if obj.get("apps") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner.py deleted file mode 100644 index 7e1bb3d..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner - """ - name: StrictStr = Field(...) - app_id: StrictStr = Field(default=..., alias="appId") - __properties = ["name", "appId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.parse_obj({ - "name": obj.get("name"), - "app_id": obj.get("appId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response.py deleted file mode 100644 index ea9c1ae..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner - -class ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response - """ - containers: conlist(ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner) = Field(...) - __properties = ["containers"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in containers (list) - _items = [] - if self.containers: - for _item in self.containers: - if _item: - _items.append(_item.to_dict()) - _dict['containers'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response.parse_obj({ - "containers": [ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.from_dict(_item) for _item in obj.get("containers")] if obj.get("containers") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response.py deleted file mode 100644 index d24878e..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner - -class ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response - """ - environments: conlist(ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner) = Field(...) - __properties = ["environments"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in environments (list) - _items = [] - if self.environments: - for _item in self.environments: - if _item: - _items.append(_item.to_dict()) - _dict['environments'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response.parse_obj({ - "environments": [ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.from_dict(_item) for _item in obj.get("environments")] if obj.get("environments") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner.py deleted file mode 100644 index 5a35cb1..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner - """ - name: StrictStr = Field(...) - environment_id: StrictStr = Field(default=..., alias="environmentId") - __properties = ["name", "environmentId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner.parse_obj({ - "name": obj.get("name"), - "environment_id": obj.get("environmentId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response.py deleted file mode 100644 index 6f74e2a..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner - -class ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response - """ - jobs: conlist(ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner) = Field(...) - __properties = ["jobs"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in jobs (list) - _items = [] - if self.jobs: - for _item in self.jobs: - if _item: - _items.append(_item.to_dict()) - _dict['jobs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response.parse_obj({ - "jobs": [ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner.from_dict(_item) for _item in obj.get("jobs")] if obj.get("jobs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response.py deleted file mode 100644 index bf47e3d..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner - -class ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response - """ - projects: conlist(ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner) = Field(...) - __properties = ["projects"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in projects (list) - _items = [] - if self.projects: - for _item in self.projects: - if _item: - _items.append(_item.to_dict()) - _dict['projects'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response.parse_obj({ - "projects": [ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.from_dict(_item) for _item in obj.get("projects")] if obj.get("projects") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner.py deleted file mode 100644 index 6111223..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner - """ - name: StrictStr = Field(...) - project_id: StrictStr = Field(default=..., alias="projectId") - __properties = ["name", "projectId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner.parse_obj({ - "name": obj.get("name"), - "project_id": obj.get("projectId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_railway_services_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_railway_services_get200_response.py deleted file mode 100644 index 3154a7d..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_railway_services_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner - -class ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response - """ - services: conlist(ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner) = Field(...) - __properties = ["services"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in services (list) - _items = [] - if self.services: - for _item in self.services: - if _item: - _items.append(_item.to_dict()) - _dict['services'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response.parse_obj({ - "services": [ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.from_dict(_item) for _item in obj.get("services")] if obj.get("services") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner.py deleted file mode 100644 index 0d412c2..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner - """ - name: StrictStr = Field(...) - service_id: StrictStr = Field(default=..., alias="serviceId") - __properties = ["name", "serviceId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner.parse_obj({ - "name": obj.get("name"), - "service_id": obj.get("serviceId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response.py deleted file mode 100644 index 77e8320..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner - -class ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response - """ - build_configs: conlist(ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner) = Field(default=..., alias="buildConfigs") - __properties = ["buildConfigs"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in build_configs (list) - _items = [] - if self.build_configs: - for _item in self.build_configs: - if _item: - _items.append(_item.to_dict()) - _dict['buildConfigs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response.parse_obj({ - "build_configs": [ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.from_dict(_item) for _item in obj.get("buildConfigs")] if obj.get("buildConfigs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner.py deleted file mode 100644 index 942cdc7..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner - """ - name: StrictStr = Field(...) - build_config_id: StrictStr = Field(default=..., alias="buildConfigId") - __properties = ["name", "buildConfigId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner.parse_obj({ - "name": obj.get("name"), - "build_config_id": obj.get("buildConfigId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teams_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teams_get200_response.py deleted file mode 100644 index 68eb2a5..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teams_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_project import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject - -class ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response - """ - teams: conlist(ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject) = Field(...) - __properties = ["teams"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in teams (list) - _items = [] - if self.teams: - for _item in self.teams: - if _item: - _items.append(_item.to_dict()) - _dict['teams'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response.parse_obj({ - "teams": [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.from_dict(_item) for _item in obj.get("teams")] if obj.get("teams") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response.py deleted file mode 100644 index 1d834aa..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist - -class ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response - """ - branches: conlist(StrictStr) = Field(...) - __properties = ["branches"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response.parse_obj({ - "branches": obj.get("branches") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_options_get200_response.py b/infisicalapi_client/models/api_v1_integration_auth_integration_options_get200_response.py deleted file mode 100644 index c358229..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_options_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response_integration_options_inner import ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner - -class ApiV1IntegrationAuthIntegrationOptionsGet200Response(BaseModel): - """ - ApiV1IntegrationAuthIntegrationOptionsGet200Response - """ - integration_options: conlist(ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner) = Field(default=..., alias="integrationOptions") - __properties = ["integrationOptions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationOptionsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationOptionsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in integration_options (list) - _items = [] - if self.integration_options: - for _item in self.integration_options: - if _item: - _items.append(_item.to_dict()) - _dict['integrationOptions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationOptionsGet200Response: - """Create an instance of ApiV1IntegrationAuthIntegrationOptionsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationOptionsGet200Response.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationOptionsGet200Response.parse_obj({ - "integration_options": [ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.from_dict(_item) for _item in obj.get("integrationOptions")] if obj.get("integrationOptions") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_integration_options_get200_response_integration_options_inner.py b/infisicalapi_client/models/api_v1_integration_auth_integration_options_get200_response_integration_options_inner.py deleted file mode 100644 index 71abd6f..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_integration_options_get200_response_integration_options_inner.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner(BaseModel): - """ - ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner - """ - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - client_slug: Optional[StrictStr] = Field(default=None, alias="clientSlug") - image: StrictStr = Field(...) - is_available: Optional[StrictBool] = Field(default=None, alias="isAvailable") - type: StrictStr = Field(...) - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - docs_link: Optional[StrictStr] = Field(default=None, alias="docsLink") - __properties = ["name", "slug", "clientSlug", "image", "isAvailable", "type", "clientId", "docsLink"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner: - """Create an instance of ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.parse_obj(obj) - - _obj = ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner.parse_obj({ - "name": obj.get("name"), - "slug": obj.get("slug"), - "client_slug": obj.get("clientSlug"), - "image": obj.get("image"), - "is_available": obj.get("isAvailable"), - "type": obj.get("type"), - "client_id": obj.get("clientId"), - "docs_link": obj.get("docsLink") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_auth_oauth_token_post_request.py b/infisicalapi_client/models/api_v1_integration_auth_oauth_token_post_request.py deleted file mode 100644 index 262c614..0000000 --- a/infisicalapi_client/models/api_v1_integration_auth_oauth_token_post_request.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationAuthOauthTokenPostRequest(BaseModel): - """ - ApiV1IntegrationAuthOauthTokenPostRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - code: StrictStr = Field(...) - integration: StrictStr = Field(...) - url: Optional[StrictStr] = None - __properties = ["workspaceId", "code", "integration", "url"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationAuthOauthTokenPostRequest: - """Create an instance of ApiV1IntegrationAuthOauthTokenPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationAuthOauthTokenPostRequest: - """Create an instance of ApiV1IntegrationAuthOauthTokenPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationAuthOauthTokenPostRequest.parse_obj(obj) - - _obj = ApiV1IntegrationAuthOauthTokenPostRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "code": obj.get("code"), - "integration": obj.get("integration"), - "url": obj.get("url") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_integration_id_patch_request.py b/infisicalapi_client/models/api_v1_integration_integration_id_patch_request.py deleted file mode 100644 index eba35c4..0000000 --- a/infisicalapi_client/models/api_v1_integration_integration_id_patch_request.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request_metadata import ApiV1IntegrationIntegrationIdPatchRequestMetadata - -class ApiV1IntegrationIntegrationIdPatchRequest(BaseModel): - """ - ApiV1IntegrationIntegrationIdPatchRequest - """ - app: Optional[StrictStr] = Field(default=None, description="The name of the external integration providers app entity that you want to sync secrets with. Used in Netlify, GitHub, Vercel integrations.") - app_id: Optional[StrictStr] = Field(default=None, alias="appId", description="The ID of the external integration providers app entity that you want to sync secrets with. Used in Netlify, GitHub, Vercel integrations.") - is_active: StrictBool = Field(default=..., alias="isActive", description="Whether the integration should be active or disabled.") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath", description="The path of the secrets to sync secrets from.") - target_environment: StrictStr = Field(default=..., alias="targetEnvironment", description="The target environment of the integration provider. Used in cloudflare pages, TeamCity, Gitlab integrations.") - owner: StrictStr = Field(default=..., description="External integration providers service entity owner. Used in Github.") - environment: StrictStr = Field(default=..., description="The environment to sync secrets from.") - metadata: Optional[ApiV1IntegrationIntegrationIdPatchRequestMetadata] = None - __properties = ["app", "appId", "isActive", "secretPath", "targetEnvironment", "owner", "environment", "metadata"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationIntegrationIdPatchRequest: - """Create an instance of ApiV1IntegrationIntegrationIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of metadata - if self.metadata: - _dict['metadata'] = self.metadata.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationIntegrationIdPatchRequest: - """Create an instance of ApiV1IntegrationIntegrationIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationIntegrationIdPatchRequest.parse_obj(obj) - - _obj = ApiV1IntegrationIntegrationIdPatchRequest.parse_obj({ - "app": obj.get("app"), - "app_id": obj.get("appId"), - "is_active": obj.get("isActive"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "target_environment": obj.get("targetEnvironment"), - "owner": obj.get("owner"), - "environment": obj.get("environment"), - "metadata": ApiV1IntegrationIntegrationIdPatchRequestMetadata.from_dict(obj.get("metadata")) if obj.get("metadata") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_integration_id_patch_request_metadata.py b/infisicalapi_client/models/api_v1_integration_integration_id_patch_request_metadata.py deleted file mode 100644 index 1ecd18c..0000000 --- a/infisicalapi_client/models/api_v1_integration_integration_id_patch_request_metadata.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, validator -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner -from infisicalapi_client.models.api_v1_integration_post_request_metadata_secret_gcp_label import ApiV1IntegrationPostRequestMetadataSecretGCPLabel - -class ApiV1IntegrationIntegrationIdPatchRequestMetadata(BaseModel): - """ - ApiV1IntegrationIntegrationIdPatchRequestMetadata - """ - secret_prefix: Optional[StrictStr] = Field(default=None, alias="secretPrefix", description="The prefix for the saved secret. Used by GCP.") - secret_suffix: Optional[StrictStr] = Field(default=None, alias="secretSuffix", description="The suffix for the saved secret. Used by GCP.") - initial_sync_behavior: Optional[StrictStr] = Field(default=None, alias="initialSyncBehavior", description="Type of syncing behavoir with the integration.") - mapping_behavior: Optional[StrictStr] = Field(default=None, alias="mappingBehavior", description="The mapping behavior of the integration.") - should_auto_redeploy: Optional[StrictBool] = Field(default=None, alias="shouldAutoRedeploy", description="Used by Render to trigger auto deploy.") - secret_gcp_label: Optional[ApiV1IntegrationPostRequestMetadataSecretGCPLabel] = Field(default=None, alias="secretGCPLabel") - secret_aws_tag: Optional[conlist(ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner)] = Field(default=None, alias="secretAWSTag", description="The tags for AWS secrets.") - kms_key_id: Optional[StrictStr] = Field(default=None, alias="kmsKeyId", description="The ID of the encryption key from AWS KMS.") - should_disable_delete: Optional[StrictBool] = Field(default=None, alias="shouldDisableDelete", description="The flag to disable deletion of secrets in AWS Parameter Store.") - should_enable_delete: Optional[StrictBool] = Field(default=None, alias="shouldEnableDelete", description="The flag to enable deletion of secrets") - should_mask_secrets: Optional[StrictBool] = Field(default=None, alias="shouldMaskSecrets", description="Specifies if the secrets synced from Infisical to Gitlab should be marked as 'Masked'.") - should_protect_secrets: Optional[StrictBool] = Field(default=None, alias="shouldProtectSecrets", description="Specifies if the secrets synced from Infisical to Gitlab should be marked as 'Protected'.") - __properties = ["secretPrefix", "secretSuffix", "initialSyncBehavior", "mappingBehavior", "shouldAutoRedeploy", "secretGCPLabel", "secretAWSTag", "kmsKeyId", "shouldDisableDelete", "shouldEnableDelete", "shouldMaskSecrets", "shouldProtectSecrets"] - - @validator('mapping_behavior') - def mapping_behavior_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('one-to-one', 'many-to-one'): - raise ValueError("must be one of enum values ('one-to-one', 'many-to-one')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationIntegrationIdPatchRequestMetadata: - """Create an instance of ApiV1IntegrationIntegrationIdPatchRequestMetadata from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_gcp_label - if self.secret_gcp_label: - _dict['secretGCPLabel'] = self.secret_gcp_label.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in secret_aws_tag (list) - _items = [] - if self.secret_aws_tag: - for _item in self.secret_aws_tag: - if _item: - _items.append(_item.to_dict()) - _dict['secretAWSTag'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationIntegrationIdPatchRequestMetadata: - """Create an instance of ApiV1IntegrationIntegrationIdPatchRequestMetadata from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationIntegrationIdPatchRequestMetadata.parse_obj(obj) - - _obj = ApiV1IntegrationIntegrationIdPatchRequestMetadata.parse_obj({ - "secret_prefix": obj.get("secretPrefix"), - "secret_suffix": obj.get("secretSuffix"), - "initial_sync_behavior": obj.get("initialSyncBehavior"), - "mapping_behavior": obj.get("mappingBehavior"), - "should_auto_redeploy": obj.get("shouldAutoRedeploy"), - "secret_gcp_label": ApiV1IntegrationPostRequestMetadataSecretGCPLabel.from_dict(obj.get("secretGCPLabel")) if obj.get("secretGCPLabel") is not None else None, - "secret_aws_tag": [ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.from_dict(_item) for _item in obj.get("secretAWSTag")] if obj.get("secretAWSTag") is not None else None, - "kms_key_id": obj.get("kmsKeyId"), - "should_disable_delete": obj.get("shouldDisableDelete"), - "should_enable_delete": obj.get("shouldEnableDelete"), - "should_mask_secrets": obj.get("shouldMaskSecrets"), - "should_protect_secrets": obj.get("shouldProtectSecrets") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_post200_response.py b/infisicalapi_client/models/api_v1_integration_post200_response.py deleted file mode 100644 index 3c031e4..0000000 --- a/infisicalapi_client/models/api_v1_integration_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_integration_post200_response_integration import ApiV1IntegrationPost200ResponseIntegration - -class ApiV1IntegrationPost200Response(BaseModel): - """ - ApiV1IntegrationPost200Response - """ - integration: ApiV1IntegrationPost200ResponseIntegration = Field(...) - __properties = ["integration"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationPost200Response: - """Create an instance of ApiV1IntegrationPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of integration - if self.integration: - _dict['integration'] = self.integration.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationPost200Response: - """Create an instance of ApiV1IntegrationPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationPost200Response.parse_obj(obj) - - _obj = ApiV1IntegrationPost200Response.parse_obj({ - "integration": ApiV1IntegrationPost200ResponseIntegration.from_dict(obj.get("integration")) if obj.get("integration") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_post200_response_integration.py b/infisicalapi_client/models/api_v1_integration_post200_response_integration.py deleted file mode 100644 index 269e369..0000000 --- a/infisicalapi_client/models/api_v1_integration_post200_response_integration.py +++ /dev/null @@ -1,197 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1IntegrationPost200ResponseIntegration(BaseModel): - """ - ApiV1IntegrationPost200ResponseIntegration - """ - id: StrictStr = Field(...) - is_active: StrictBool = Field(default=..., alias="isActive") - url: Optional[StrictStr] = None - app: Optional[StrictStr] = None - app_id: Optional[StrictStr] = Field(default=None, alias="appId") - target_environment: Optional[StrictStr] = Field(default=None, alias="targetEnvironment") - target_environment_id: Optional[StrictStr] = Field(default=None, alias="targetEnvironmentId") - target_service: Optional[StrictStr] = Field(default=None, alias="targetService") - target_service_id: Optional[StrictStr] = Field(default=None, alias="targetServiceId") - owner: Optional[StrictStr] = None - path: Optional[StrictStr] = None - region: Optional[StrictStr] = None - scope: Optional[StrictStr] = None - integration: StrictStr = Field(...) - metadata: Optional[Any] = None - integration_auth_id: StrictStr = Field(default=..., alias="integrationAuthId") - env_id: StrictStr = Field(default=..., alias="envId") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - last_used: Optional[datetime] = Field(default=None, alias="lastUsed") - is_synced: Optional[StrictBool] = Field(default=None, alias="isSynced") - sync_message: Optional[StrictStr] = Field(default=None, alias="syncMessage") - last_sync_job_id: Optional[StrictStr] = Field(default=None, alias="lastSyncJobId") - __properties = ["id", "isActive", "url", "app", "appId", "targetEnvironment", "targetEnvironmentId", "targetService", "targetServiceId", "owner", "path", "region", "scope", "integration", "metadata", "integrationAuthId", "envId", "secretPath", "createdAt", "updatedAt", "lastUsed", "isSynced", "syncMessage", "lastSyncJobId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationPost200ResponseIntegration: - """Create an instance of ApiV1IntegrationPost200ResponseIntegration from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if url (nullable) is None - # and __fields_set__ contains the field - if self.url is None and "url" in self.__fields_set__: - _dict['url'] = None - - # set to None if app (nullable) is None - # and __fields_set__ contains the field - if self.app is None and "app" in self.__fields_set__: - _dict['app'] = None - - # set to None if app_id (nullable) is None - # and __fields_set__ contains the field - if self.app_id is None and "app_id" in self.__fields_set__: - _dict['appId'] = None - - # set to None if target_environment (nullable) is None - # and __fields_set__ contains the field - if self.target_environment is None and "target_environment" in self.__fields_set__: - _dict['targetEnvironment'] = None - - # set to None if target_environment_id (nullable) is None - # and __fields_set__ contains the field - if self.target_environment_id is None and "target_environment_id" in self.__fields_set__: - _dict['targetEnvironmentId'] = None - - # set to None if target_service (nullable) is None - # and __fields_set__ contains the field - if self.target_service is None and "target_service" in self.__fields_set__: - _dict['targetService'] = None - - # set to None if target_service_id (nullable) is None - # and __fields_set__ contains the field - if self.target_service_id is None and "target_service_id" in self.__fields_set__: - _dict['targetServiceId'] = None - - # set to None if owner (nullable) is None - # and __fields_set__ contains the field - if self.owner is None and "owner" in self.__fields_set__: - _dict['owner'] = None - - # set to None if path (nullable) is None - # and __fields_set__ contains the field - if self.path is None and "path" in self.__fields_set__: - _dict['path'] = None - - # set to None if region (nullable) is None - # and __fields_set__ contains the field - if self.region is None and "region" in self.__fields_set__: - _dict['region'] = None - - # set to None if scope (nullable) is None - # and __fields_set__ contains the field - if self.scope is None and "scope" in self.__fields_set__: - _dict['scope'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - # set to None if last_used (nullable) is None - # and __fields_set__ contains the field - if self.last_used is None and "last_used" in self.__fields_set__: - _dict['lastUsed'] = None - - # set to None if is_synced (nullable) is None - # and __fields_set__ contains the field - if self.is_synced is None and "is_synced" in self.__fields_set__: - _dict['isSynced'] = None - - # set to None if sync_message (nullable) is None - # and __fields_set__ contains the field - if self.sync_message is None and "sync_message" in self.__fields_set__: - _dict['syncMessage'] = None - - # set to None if last_sync_job_id (nullable) is None - # and __fields_set__ contains the field - if self.last_sync_job_id is None and "last_sync_job_id" in self.__fields_set__: - _dict['lastSyncJobId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationPost200ResponseIntegration: - """Create an instance of ApiV1IntegrationPost200ResponseIntegration from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationPost200ResponseIntegration.parse_obj(obj) - - _obj = ApiV1IntegrationPost200ResponseIntegration.parse_obj({ - "id": obj.get("id"), - "is_active": obj.get("isActive"), - "url": obj.get("url"), - "app": obj.get("app"), - "app_id": obj.get("appId"), - "target_environment": obj.get("targetEnvironment"), - "target_environment_id": obj.get("targetEnvironmentId"), - "target_service": obj.get("targetService"), - "target_service_id": obj.get("targetServiceId"), - "owner": obj.get("owner"), - "path": obj.get("path"), - "region": obj.get("region"), - "scope": obj.get("scope"), - "integration": obj.get("integration"), - "metadata": obj.get("metadata"), - "integration_auth_id": obj.get("integrationAuthId"), - "env_id": obj.get("envId"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "last_used": obj.get("lastUsed"), - "is_synced": obj.get("isSynced"), - "sync_message": obj.get("syncMessage"), - "last_sync_job_id": obj.get("lastSyncJobId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_post_request.py b/infisicalapi_client/models/api_v1_integration_post_request.py deleted file mode 100644 index 47cac2e..0000000 --- a/infisicalapi_client/models/api_v1_integration_post_request.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr -from infisicalapi_client.models.api_v1_integration_post_request_metadata import ApiV1IntegrationPostRequestMetadata - -class ApiV1IntegrationPostRequest(BaseModel): - """ - ApiV1IntegrationPostRequest - """ - integration_auth_id: StrictStr = Field(default=..., alias="integrationAuthId", description="The ID of the integration auth object to link with integration.") - app: Optional[StrictStr] = Field(default=None, description="The name of the external integration providers app entity that you want to sync secrets with. Used in Netlify, GitHub, Vercel integrations.") - is_active: Optional[StrictBool] = Field(default=True, alias="isActive", description="Whether the integration should be active or disabled.") - app_id: Optional[StrictStr] = Field(default=None, alias="appId", description="The ID of the external integration providers app entity that you want to sync secrets with. Used in Netlify, GitHub, Vercel integrations.") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath", description="The path of the secrets to sync secrets from.") - source_environment: StrictStr = Field(default=..., alias="sourceEnvironment", description="The environment to sync secret from.") - target_environment: Optional[StrictStr] = Field(default=None, alias="targetEnvironment", description="The target environment of the integration provider. Used in cloudflare pages, TeamCity, Gitlab integrations.") - target_environment_id: Optional[StrictStr] = Field(default=None, alias="targetEnvironmentId", description="The target environment id of the integration provider. Used in cloudflare pages, teamcity, gitlab integrations.") - target_service: Optional[StrictStr] = Field(default=None, alias="targetService", description="The service based grouping identifier of the external provider. Used in Terraform cloud, Checkly, Railway and NorthFlank") - target_service_id: Optional[StrictStr] = Field(default=None, alias="targetServiceId", description="The service based grouping identifier ID of the external provider. Used in Terraform cloud, Checkly, Railway and NorthFlank") - owner: Optional[StrictStr] = Field(default=None, description="External integration providers service entity owner. Used in Github.") - url: Optional[StrictStr] = Field(default=None, description="The self-hosted URL of the platform to integrate with") - path: Optional[StrictStr] = Field(default=None, description="Path to save the synced secrets. Used by Gitlab, AWS Parameter Store, Vault") - region: Optional[StrictStr] = Field(default=None, description="AWS region to sync secrets to.") - scope: Optional[StrictStr] = Field(default=None, description="Scope of the provider. Used by Github, Qovery") - metadata: Optional[ApiV1IntegrationPostRequestMetadata] = None - __properties = ["integrationAuthId", "app", "isActive", "appId", "secretPath", "sourceEnvironment", "targetEnvironment", "targetEnvironmentId", "targetService", "targetServiceId", "owner", "url", "path", "region", "scope", "metadata"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationPostRequest: - """Create an instance of ApiV1IntegrationPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of metadata - if self.metadata: - _dict['metadata'] = self.metadata.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationPostRequest: - """Create an instance of ApiV1IntegrationPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationPostRequest.parse_obj(obj) - - _obj = ApiV1IntegrationPostRequest.parse_obj({ - "integration_auth_id": obj.get("integrationAuthId"), - "app": obj.get("app"), - "is_active": obj.get("isActive") if obj.get("isActive") is not None else True, - "app_id": obj.get("appId"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "source_environment": obj.get("sourceEnvironment"), - "target_environment": obj.get("targetEnvironment"), - "target_environment_id": obj.get("targetEnvironmentId"), - "target_service": obj.get("targetService"), - "target_service_id": obj.get("targetServiceId"), - "owner": obj.get("owner"), - "url": obj.get("url"), - "path": obj.get("path"), - "region": obj.get("region"), - "scope": obj.get("scope"), - "metadata": ApiV1IntegrationPostRequestMetadata.from_dict(obj.get("metadata")) if obj.get("metadata") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_post_request_metadata.py b/infisicalapi_client/models/api_v1_integration_post_request_metadata.py deleted file mode 100644 index 0593792..0000000 --- a/infisicalapi_client/models/api_v1_integration_post_request_metadata.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, validator -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner -from infisicalapi_client.models.api_v1_integration_post_request_metadata_secret_gcp_label import ApiV1IntegrationPostRequestMetadataSecretGCPLabel - -class ApiV1IntegrationPostRequestMetadata(BaseModel): - """ - ApiV1IntegrationPostRequestMetadata - """ - secret_prefix: Optional[StrictStr] = Field(default=None, alias="secretPrefix", description="The prefix for the saved secret. Used by GCP.") - secret_suffix: Optional[StrictStr] = Field(default=None, alias="secretSuffix", description="The suffix for the saved secret. Used by GCP.") - initial_sync_behavior: Optional[StrictStr] = Field(default=None, alias="initialSyncBehavior", description="Type of syncing behavoir with the integration.") - mapping_behavior: Optional[StrictStr] = Field(default=None, alias="mappingBehavior", description="The mapping behavior of the integration.") - should_auto_redeploy: Optional[StrictBool] = Field(default=None, alias="shouldAutoRedeploy", description="Used by Render to trigger auto deploy.") - secret_gcp_label: Optional[ApiV1IntegrationPostRequestMetadataSecretGCPLabel] = Field(default=None, alias="secretGCPLabel") - secret_aws_tag: Optional[conlist(ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner)] = Field(default=None, alias="secretAWSTag", description="The tags for AWS secrets.") - kms_key_id: Optional[StrictStr] = Field(default=None, alias="kmsKeyId", description="The ID of the encryption key from AWS KMS.") - should_disable_delete: Optional[StrictBool] = Field(default=None, alias="shouldDisableDelete", description="The flag to disable deletion of secrets in AWS Parameter Store.") - should_enable_delete: Optional[StrictBool] = Field(default=None, alias="shouldEnableDelete", description="The flag to enable deletion of secrets") - should_mask_secrets: Optional[StrictBool] = Field(default=None, alias="shouldMaskSecrets", description="Specifies if the secrets synced from Infisical to Gitlab should be marked as 'Masked'.") - should_protect_secrets: Optional[StrictBool] = Field(default=None, alias="shouldProtectSecrets", description="Specifies if the secrets synced from Infisical to Gitlab should be marked as 'Protected'.") - __properties = ["secretPrefix", "secretSuffix", "initialSyncBehavior", "mappingBehavior", "shouldAutoRedeploy", "secretGCPLabel", "secretAWSTag", "kmsKeyId", "shouldDisableDelete", "shouldEnableDelete", "shouldMaskSecrets", "shouldProtectSecrets"] - - @validator('mapping_behavior') - def mapping_behavior_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('one-to-one', 'many-to-one'): - raise ValueError("must be one of enum values ('one-to-one', 'many-to-one')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationPostRequestMetadata: - """Create an instance of ApiV1IntegrationPostRequestMetadata from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_gcp_label - if self.secret_gcp_label: - _dict['secretGCPLabel'] = self.secret_gcp_label.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in secret_aws_tag (list) - _items = [] - if self.secret_aws_tag: - for _item in self.secret_aws_tag: - if _item: - _items.append(_item.to_dict()) - _dict['secretAWSTag'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationPostRequestMetadata: - """Create an instance of ApiV1IntegrationPostRequestMetadata from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationPostRequestMetadata.parse_obj(obj) - - _obj = ApiV1IntegrationPostRequestMetadata.parse_obj({ - "secret_prefix": obj.get("secretPrefix"), - "secret_suffix": obj.get("secretSuffix"), - "initial_sync_behavior": obj.get("initialSyncBehavior"), - "mapping_behavior": obj.get("mappingBehavior"), - "should_auto_redeploy": obj.get("shouldAutoRedeploy"), - "secret_gcp_label": ApiV1IntegrationPostRequestMetadataSecretGCPLabel.from_dict(obj.get("secretGCPLabel")) if obj.get("secretGCPLabel") is not None else None, - "secret_aws_tag": [ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner.from_dict(_item) for _item in obj.get("secretAWSTag")] if obj.get("secretAWSTag") is not None else None, - "kms_key_id": obj.get("kmsKeyId"), - "should_disable_delete": obj.get("shouldDisableDelete"), - "should_enable_delete": obj.get("shouldEnableDelete"), - "should_mask_secrets": obj.get("shouldMaskSecrets"), - "should_protect_secrets": obj.get("shouldProtectSecrets") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_integration_post_request_metadata_secret_gcp_label.py b/infisicalapi_client/models/api_v1_integration_post_request_metadata_secret_gcp_label.py deleted file mode 100644 index 05d69d0..0000000 --- a/infisicalapi_client/models/api_v1_integration_post_request_metadata_secret_gcp_label.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1IntegrationPostRequestMetadataSecretGCPLabel(BaseModel): - """ - The label for GCP secrets. # noqa: E501 - """ - label_name: StrictStr = Field(default=..., alias="labelName") - label_value: StrictStr = Field(default=..., alias="labelValue") - __properties = ["labelName", "labelValue"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1IntegrationPostRequestMetadataSecretGCPLabel: - """Create an instance of ApiV1IntegrationPostRequestMetadataSecretGCPLabel from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1IntegrationPostRequestMetadataSecretGCPLabel: - """Create an instance of ApiV1IntegrationPostRequestMetadataSecretGCPLabel from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1IntegrationPostRequestMetadataSecretGCPLabel.parse_obj(obj) - - _obj = ApiV1IntegrationPostRequestMetadataSecretGCPLabel.parse_obj({ - "label_name": obj.get("labelName"), - "label_value": obj.get("labelValue") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_invite_org_signup_post200_response.py b/infisicalapi_client/models/api_v1_invite_org_signup_post200_response.py deleted file mode 100644 index 01c49c8..0000000 --- a/infisicalapi_client/models/api_v1_invite_org_signup_post200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1InviteOrgSignupPost200Response(BaseModel): - """ - ApiV1InviteOrgSignupPost200Response - """ - message: StrictStr = Field(...) - complete_invite_link: Optional[StrictStr] = Field(default=None, alias="completeInviteLink") - __properties = ["message", "completeInviteLink"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1InviteOrgSignupPost200Response: - """Create an instance of ApiV1InviteOrgSignupPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1InviteOrgSignupPost200Response: - """Create an instance of ApiV1InviteOrgSignupPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1InviteOrgSignupPost200Response.parse_obj(obj) - - _obj = ApiV1InviteOrgSignupPost200Response.parse_obj({ - "message": obj.get("message"), - "complete_invite_link": obj.get("completeInviteLink") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_invite_org_signup_post_request.py b/infisicalapi_client/models/api_v1_invite_org_signup_post_request.py deleted file mode 100644 index df3c1aa..0000000 --- a/infisicalapi_client/models/api_v1_invite_org_signup_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1InviteOrgSignupPostRequest(BaseModel): - """ - ApiV1InviteOrgSignupPostRequest - """ - invitee_email: StrictStr = Field(default=..., alias="inviteeEmail") - organization_id: StrictStr = Field(default=..., alias="organizationId") - __properties = ["inviteeEmail", "organizationId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1InviteOrgSignupPostRequest: - """Create an instance of ApiV1InviteOrgSignupPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1InviteOrgSignupPostRequest: - """Create an instance of ApiV1InviteOrgSignupPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1InviteOrgSignupPostRequest.parse_obj(obj) - - _obj = ApiV1InviteOrgSignupPostRequest.parse_obj({ - "invitee_email": obj.get("inviteeEmail"), - "organization_id": obj.get("organizationId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_invite_org_verify_post200_response.py b/infisicalapi_client/models/api_v1_invite_org_verify_post200_response.py deleted file mode 100644 index 55c990d..0000000 --- a/infisicalapi_client/models/api_v1_invite_org_verify_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response_user import ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser - -class ApiV1InviteOrgVerifyPost200Response(BaseModel): - """ - ApiV1InviteOrgVerifyPost200Response - """ - message: StrictStr = Field(...) - token: Optional[StrictStr] = None - user: ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser = Field(...) - __properties = ["message", "token", "user"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1InviteOrgVerifyPost200Response: - """Create an instance of ApiV1InviteOrgVerifyPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1InviteOrgVerifyPost200Response: - """Create an instance of ApiV1InviteOrgVerifyPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1InviteOrgVerifyPost200Response.parse_obj(obj) - - _obj = ApiV1InviteOrgVerifyPost200Response.parse_obj({ - "message": obj.get("message"), - "token": obj.get("token"), - "user": ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.from_dict(obj.get("user")) if obj.get("user") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_invite_org_verify_post_request.py b/infisicalapi_client/models/api_v1_invite_org_verify_post_request.py deleted file mode 100644 index 32e3a93..0000000 --- a/infisicalapi_client/models/api_v1_invite_org_verify_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1InviteOrgVerifyPostRequest(BaseModel): - """ - ApiV1InviteOrgVerifyPostRequest - """ - email: StrictStr = Field(...) - organization_id: StrictStr = Field(default=..., alias="organizationId") - code: StrictStr = Field(...) - __properties = ["email", "organizationId", "code"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1InviteOrgVerifyPostRequest: - """Create an instance of ApiV1InviteOrgVerifyPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1InviteOrgVerifyPostRequest: - """Create an instance of ApiV1InviteOrgVerifyPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1InviteOrgVerifyPostRequest.parse_obj(obj) - - _obj = ApiV1InviteOrgVerifyPostRequest.parse_obj({ - "email": obj.get("email"), - "organization_id": obj.get("organizationId"), - "code": obj.get("code") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_get200_response_inner.py b/infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_get200_response_inner.py deleted file mode 100644 index 74af147..0000000 --- a/infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_get200_response_inner.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - -class ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner(BaseModel): - """ - ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner - """ - id: StrictStr = Field(...) - ldap_config_id: StrictStr = Field(default=..., alias="ldapConfigId") - ldap_group_cn: StrictStr = Field(default=..., alias="ldapGroupCN") - group: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(...) - __properties = ["id", "ldapConfigId", "ldapGroupCN", "group"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner: - """Create an instance of ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of group - if self.group: - _dict['group'] = self.group.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner: - """Create an instance of ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.parse_obj(obj) - - _obj = ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner.parse_obj({ - "id": obj.get("id"), - "ldap_config_id": obj.get("ldapConfigId"), - "ldap_group_cn": obj.get("ldapGroupCN"), - "group": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("group")) if obj.get("group") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_post200_response.py b/infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_post200_response.py deleted file mode 100644 index d5efa8c..0000000 --- a/infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_post200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1LdapConfigConfigIdGroupMapsPost200Response(BaseModel): - """ - ApiV1LdapConfigConfigIdGroupMapsPost200Response - """ - id: StrictStr = Field(...) - ldap_config_id: StrictStr = Field(default=..., alias="ldapConfigId") - ldap_group_cn: StrictStr = Field(default=..., alias="ldapGroupCN") - group_id: StrictStr = Field(default=..., alias="groupId") - __properties = ["id", "ldapConfigId", "ldapGroupCN", "groupId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1LdapConfigConfigIdGroupMapsPost200Response: - """Create an instance of ApiV1LdapConfigConfigIdGroupMapsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1LdapConfigConfigIdGroupMapsPost200Response: - """Create an instance of ApiV1LdapConfigConfigIdGroupMapsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1LdapConfigConfigIdGroupMapsPost200Response.parse_obj(obj) - - _obj = ApiV1LdapConfigConfigIdGroupMapsPost200Response.parse_obj({ - "id": obj.get("id"), - "ldap_config_id": obj.get("ldapConfigId"), - "ldap_group_cn": obj.get("ldapGroupCN"), - "group_id": obj.get("groupId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_post_request.py b/infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_post_request.py deleted file mode 100644 index 438545c..0000000 --- a/infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1LdapConfigConfigIdGroupMapsPostRequest(BaseModel): - """ - ApiV1LdapConfigConfigIdGroupMapsPostRequest - """ - ldap_group_cn: StrictStr = Field(default=..., alias="ldapGroupCN") - group_slug: StrictStr = Field(default=..., alias="groupSlug") - __properties = ["ldapGroupCN", "groupSlug"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1LdapConfigConfigIdGroupMapsPostRequest: - """Create an instance of ApiV1LdapConfigConfigIdGroupMapsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1LdapConfigConfigIdGroupMapsPostRequest: - """Create an instance of ApiV1LdapConfigConfigIdGroupMapsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1LdapConfigConfigIdGroupMapsPostRequest.parse_obj(obj) - - _obj = ApiV1LdapConfigConfigIdGroupMapsPostRequest.parse_obj({ - "ldap_group_cn": obj.get("ldapGroupCN"), - "group_slug": obj.get("groupSlug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_ldap_config_get200_response.py b/infisicalapi_client/models/api_v1_ldap_config_get200_response.py deleted file mode 100644 index c9168c7..0000000 --- a/infisicalapi_client/models/api_v1_ldap_config_get200_response.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1LdapConfigGet200Response(BaseModel): - """ - ApiV1LdapConfigGet200Response - """ - id: StrictStr = Field(...) - organization: StrictStr = Field(...) - is_active: StrictBool = Field(default=..., alias="isActive") - url: StrictStr = Field(...) - bind_dn: StrictStr = Field(default=..., alias="bindDN") - bind_pass: StrictStr = Field(default=..., alias="bindPass") - unique_user_attribute: StrictStr = Field(default=..., alias="uniqueUserAttribute") - search_base: StrictStr = Field(default=..., alias="searchBase") - search_filter: StrictStr = Field(default=..., alias="searchFilter") - group_search_base: StrictStr = Field(default=..., alias="groupSearchBase") - group_search_filter: StrictStr = Field(default=..., alias="groupSearchFilter") - ca_cert: StrictStr = Field(default=..., alias="caCert") - __properties = ["id", "organization", "isActive", "url", "bindDN", "bindPass", "uniqueUserAttribute", "searchBase", "searchFilter", "groupSearchBase", "groupSearchFilter", "caCert"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1LdapConfigGet200Response: - """Create an instance of ApiV1LdapConfigGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1LdapConfigGet200Response: - """Create an instance of ApiV1LdapConfigGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1LdapConfigGet200Response.parse_obj(obj) - - _obj = ApiV1LdapConfigGet200Response.parse_obj({ - "id": obj.get("id"), - "organization": obj.get("organization"), - "is_active": obj.get("isActive"), - "url": obj.get("url"), - "bind_dn": obj.get("bindDN"), - "bind_pass": obj.get("bindPass"), - "unique_user_attribute": obj.get("uniqueUserAttribute"), - "search_base": obj.get("searchBase"), - "search_filter": obj.get("searchFilter"), - "group_search_base": obj.get("groupSearchBase"), - "group_search_filter": obj.get("groupSearchFilter"), - "ca_cert": obj.get("caCert") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_ldap_config_patch_request.py b/infisicalapi_client/models/api_v1_ldap_config_patch_request.py deleted file mode 100644 index 0588da7..0000000 --- a/infisicalapi_client/models/api_v1_ldap_config_patch_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1LdapConfigPatchRequest(BaseModel): - """ - ApiV1LdapConfigPatchRequest - """ - is_active: Optional[StrictBool] = Field(default=None, alias="isActive") - url: Optional[StrictStr] = None - bind_dn: Optional[StrictStr] = Field(default=None, alias="bindDN") - bind_pass: Optional[StrictStr] = Field(default=None, alias="bindPass") - unique_user_attribute: Optional[StrictStr] = Field(default=None, alias="uniqueUserAttribute") - search_base: Optional[StrictStr] = Field(default=None, alias="searchBase") - search_filter: Optional[StrictStr] = Field(default=None, alias="searchFilter") - group_search_base: Optional[StrictStr] = Field(default=None, alias="groupSearchBase") - group_search_filter: Optional[StrictStr] = Field(default=None, alias="groupSearchFilter") - ca_cert: Optional[StrictStr] = Field(default=None, alias="caCert") - organization_id: StrictStr = Field(default=..., alias="organizationId") - __properties = ["isActive", "url", "bindDN", "bindPass", "uniqueUserAttribute", "searchBase", "searchFilter", "groupSearchBase", "groupSearchFilter", "caCert", "organizationId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1LdapConfigPatchRequest: - """Create an instance of ApiV1LdapConfigPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1LdapConfigPatchRequest: - """Create an instance of ApiV1LdapConfigPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1LdapConfigPatchRequest.parse_obj(obj) - - _obj = ApiV1LdapConfigPatchRequest.parse_obj({ - "is_active": obj.get("isActive"), - "url": obj.get("url"), - "bind_dn": obj.get("bindDN"), - "bind_pass": obj.get("bindPass"), - "unique_user_attribute": obj.get("uniqueUserAttribute"), - "search_base": obj.get("searchBase"), - "search_filter": obj.get("searchFilter"), - "group_search_base": obj.get("groupSearchBase"), - "group_search_filter": obj.get("groupSearchFilter"), - "ca_cert": obj.get("caCert"), - "organization_id": obj.get("organizationId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_ldap_config_post200_response.py b/infisicalapi_client/models/api_v1_ldap_config_post200_response.py deleted file mode 100644 index 5ab550f..0000000 --- a/infisicalapi_client/models/api_v1_ldap_config_post200_response.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1LdapConfigPost200Response(BaseModel): - """ - ApiV1LdapConfigPost200Response - """ - id: StrictStr = Field(...) - org_id: StrictStr = Field(default=..., alias="orgId") - is_active: StrictBool = Field(default=..., alias="isActive") - url: StrictStr = Field(...) - encrypted_bind_dn: StrictStr = Field(default=..., alias="encryptedBindDN") - bind_dniv: StrictStr = Field(default=..., alias="bindDNIV") - bind_dn_tag: StrictStr = Field(default=..., alias="bindDNTag") - encrypted_bind_pass: StrictStr = Field(default=..., alias="encryptedBindPass") - bind_pass_iv: StrictStr = Field(default=..., alias="bindPassIV") - bind_pass_tag: StrictStr = Field(default=..., alias="bindPassTag") - search_base: StrictStr = Field(default=..., alias="searchBase") - encrypted_ca_cert: StrictStr = Field(default=..., alias="encryptedCACert") - ca_cert_iv: StrictStr = Field(default=..., alias="caCertIV") - ca_cert_tag: StrictStr = Field(default=..., alias="caCertTag") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - group_search_base: Optional[StrictStr] = Field(default='', alias="groupSearchBase") - group_search_filter: Optional[StrictStr] = Field(default='', alias="groupSearchFilter") - search_filter: Optional[StrictStr] = Field(default='', alias="searchFilter") - unique_user_attribute: Optional[StrictStr] = Field(default='', alias="uniqueUserAttribute") - __properties = ["id", "orgId", "isActive", "url", "encryptedBindDN", "bindDNIV", "bindDNTag", "encryptedBindPass", "bindPassIV", "bindPassTag", "searchBase", "encryptedCACert", "caCertIV", "caCertTag", "createdAt", "updatedAt", "groupSearchBase", "groupSearchFilter", "searchFilter", "uniqueUserAttribute"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1LdapConfigPost200Response: - """Create an instance of ApiV1LdapConfigPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1LdapConfigPost200Response: - """Create an instance of ApiV1LdapConfigPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1LdapConfigPost200Response.parse_obj(obj) - - _obj = ApiV1LdapConfigPost200Response.parse_obj({ - "id": obj.get("id"), - "org_id": obj.get("orgId"), - "is_active": obj.get("isActive"), - "url": obj.get("url"), - "encrypted_bind_dn": obj.get("encryptedBindDN"), - "bind_dniv": obj.get("bindDNIV"), - "bind_dn_tag": obj.get("bindDNTag"), - "encrypted_bind_pass": obj.get("encryptedBindPass"), - "bind_pass_iv": obj.get("bindPassIV"), - "bind_pass_tag": obj.get("bindPassTag"), - "search_base": obj.get("searchBase"), - "encrypted_ca_cert": obj.get("encryptedCACert"), - "ca_cert_iv": obj.get("caCertIV"), - "ca_cert_tag": obj.get("caCertTag"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "group_search_base": obj.get("groupSearchBase") if obj.get("groupSearchBase") is not None else '', - "group_search_filter": obj.get("groupSearchFilter") if obj.get("groupSearchFilter") is not None else '', - "search_filter": obj.get("searchFilter") if obj.get("searchFilter") is not None else '', - "unique_user_attribute": obj.get("uniqueUserAttribute") if obj.get("uniqueUserAttribute") is not None else '' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_ldap_config_post_request.py b/infisicalapi_client/models/api_v1_ldap_config_post_request.py deleted file mode 100644 index bc1e8b4..0000000 --- a/infisicalapi_client/models/api_v1_ldap_config_post_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1LdapConfigPostRequest(BaseModel): - """ - ApiV1LdapConfigPostRequest - """ - organization_id: StrictStr = Field(default=..., alias="organizationId") - is_active: StrictBool = Field(default=..., alias="isActive") - url: StrictStr = Field(...) - bind_dn: StrictStr = Field(default=..., alias="bindDN") - bind_pass: StrictStr = Field(default=..., alias="bindPass") - unique_user_attribute: Optional[StrictStr] = Field(default='uidNumber', alias="uniqueUserAttribute") - search_base: StrictStr = Field(default=..., alias="searchBase") - search_filter: Optional[StrictStr] = Field(default='(uid={{username}})', alias="searchFilter") - group_search_base: StrictStr = Field(default=..., alias="groupSearchBase") - group_search_filter: Optional[StrictStr] = Field(default='(|(memberUid={{.Username}})(member={{.UserDN}})(uniqueMember={{.UserDN}}))', alias="groupSearchFilter") - ca_cert: Optional[StrictStr] = Field(default='', alias="caCert") - __properties = ["organizationId", "isActive", "url", "bindDN", "bindPass", "uniqueUserAttribute", "searchBase", "searchFilter", "groupSearchBase", "groupSearchFilter", "caCert"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1LdapConfigPostRequest: - """Create an instance of ApiV1LdapConfigPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1LdapConfigPostRequest: - """Create an instance of ApiV1LdapConfigPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1LdapConfigPostRequest.parse_obj(obj) - - _obj = ApiV1LdapConfigPostRequest.parse_obj({ - "organization_id": obj.get("organizationId"), - "is_active": obj.get("isActive"), - "url": obj.get("url"), - "bind_dn": obj.get("bindDN"), - "bind_pass": obj.get("bindPass"), - "unique_user_attribute": obj.get("uniqueUserAttribute") if obj.get("uniqueUserAttribute") is not None else 'uidNumber', - "search_base": obj.get("searchBase"), - "search_filter": obj.get("searchFilter") if obj.get("searchFilter") is not None else '(uid={{username}})', - "group_search_base": obj.get("groupSearchBase"), - "group_search_filter": obj.get("groupSearchFilter") if obj.get("groupSearchFilter") is not None else '(|(memberUid={{.Username}})(member={{.UserDN}})(uniqueMember={{.UserDN}}))', - "ca_cert": obj.get("caCert") if obj.get("caCert") is not None else '' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_ldap_login_post_request.py b/infisicalapi_client/models/api_v1_ldap_login_post_request.py deleted file mode 100644 index a19e74c..0000000 --- a/infisicalapi_client/models/api_v1_ldap_login_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1LdapLoginPostRequest(BaseModel): - """ - ApiV1LdapLoginPostRequest - """ - organization_slug: StrictStr = Field(default=..., alias="organizationSlug") - __properties = ["organizationSlug"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1LdapLoginPostRequest: - """Create an instance of ApiV1LdapLoginPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1LdapLoginPostRequest: - """Create an instance of ApiV1LdapLoginPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1LdapLoginPostRequest.parse_obj(obj) - - _obj = ApiV1LdapLoginPostRequest.parse_obj({ - "organization_slug": obj.get("organizationSlug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_admin_projects_get200_response.py b/infisicalapi_client/models/api_v1_organization_admin_projects_get200_response.py deleted file mode 100644 index 97da2a0..0000000 --- a/infisicalapi_client/models/api_v1_organization_admin_projects_get200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, conlist -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner - -class ApiV1OrganizationAdminProjectsGet200Response(BaseModel): - """ - ApiV1OrganizationAdminProjectsGet200Response - """ - projects: conlist(ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner) = Field(...) - count: Union[StrictFloat, StrictInt] = Field(...) - __properties = ["projects", "count"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationAdminProjectsGet200Response: - """Create an instance of ApiV1OrganizationAdminProjectsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in projects (list) - _items = [] - if self.projects: - for _item in self.projects: - if _item: - _items.append(_item.to_dict()) - _dict['projects'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationAdminProjectsGet200Response: - """Create an instance of ApiV1OrganizationAdminProjectsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationAdminProjectsGet200Response.parse_obj(obj) - - _obj = ApiV1OrganizationAdminProjectsGet200Response.parse_obj({ - "projects": [ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.from_dict(_item) for _item in obj.get("projects")] if obj.get("projects") is not None else None, - "count": obj.get("count") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_admin_projects_get200_response_projects_inner.py b/infisicalapi_client/models/api_v1_organization_admin_projects_get200_response_projects_inner.py deleted file mode 100644 index 1787b36..0000000 --- a/infisicalapi_client/models/api_v1_organization_admin_projects_get200_response_projects_inner.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner(BaseModel): - """ - ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - auto_capitalization: Optional[StrictBool] = Field(default=True, alias="autoCapitalization") - org_id: StrictStr = Field(default=..., alias="orgId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - version: Optional[Union[StrictFloat, StrictInt]] = 1 - upgrade_status: Optional[StrictStr] = Field(default=None, alias="upgradeStatus") - pit_version_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=10, alias="pitVersionLimit") - kms_certificate_key_id: Optional[StrictStr] = Field(default=None, alias="kmsCertificateKeyId") - audit_logs_retention_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="auditLogsRetentionDays") - __properties = ["id", "name", "slug", "autoCapitalization", "orgId", "createdAt", "updatedAt", "version", "upgradeStatus", "pitVersionLimit", "kmsCertificateKeyId", "auditLogsRetentionDays"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner: - """Create an instance of ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if auto_capitalization (nullable) is None - # and __fields_set__ contains the field - if self.auto_capitalization is None and "auto_capitalization" in self.__fields_set__: - _dict['autoCapitalization'] = None - - # set to None if upgrade_status (nullable) is None - # and __fields_set__ contains the field - if self.upgrade_status is None and "upgrade_status" in self.__fields_set__: - _dict['upgradeStatus'] = None - - # set to None if kms_certificate_key_id (nullable) is None - # and __fields_set__ contains the field - if self.kms_certificate_key_id is None and "kms_certificate_key_id" in self.__fields_set__: - _dict['kmsCertificateKeyId'] = None - - # set to None if audit_logs_retention_days (nullable) is None - # and __fields_set__ contains the field - if self.audit_logs_retention_days is None and "audit_logs_retention_days" in self.__fields_set__: - _dict['auditLogsRetentionDays'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner: - """Create an instance of ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.parse_obj(obj) - - _obj = ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "slug": obj.get("slug"), - "auto_capitalization": obj.get("autoCapitalization") if obj.get("autoCapitalization") is not None else True, - "org_id": obj.get("orgId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "version": obj.get("version") if obj.get("version") is not None else 1, - "upgrade_status": obj.get("upgradeStatus"), - "pit_version_limit": obj.get("pitVersionLimit") if obj.get("pitVersionLimit") is not None else 10, - "kms_certificate_key_id": obj.get("kmsCertificateKeyId"), - "audit_logs_retention_days": obj.get("auditLogsRetentionDays") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response.py b/infisicalapi_client/models/api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response.py deleted file mode 100644 index 6e22653..0000000 --- a/infisicalapi_client/models/api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership - -class ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response(BaseModel): - """ - ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response - """ - membership: ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership = Field(...) - __properties = ["membership"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response: - """Create an instance of ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of membership - if self.membership: - _dict['membership'] = self.membership.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response: - """Create an instance of ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.parse_obj(obj) - - _obj = ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response.parse_obj({ - "membership": ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.from_dict(obj.get("membership")) if obj.get("membership") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership.py b/infisicalapi_client/models/api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership.py deleted file mode 100644 index 84ef790..0000000 --- a/infisicalapi_client/models/api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership(BaseModel): - """ - ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership - """ - id: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - user_id: StrictStr = Field(default=..., alias="userId") - project_id: StrictStr = Field(default=..., alias="projectId") - __properties = ["id", "createdAt", "updatedAt", "userId", "projectId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership: - """Create an instance of ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership: - """Create an instance of ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.parse_obj(obj) - - _obj = ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.parse_obj({ - "id": obj.get("id"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "user_id": obj.get("userId"), - "project_id": obj.get("projectId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_get200_response.py b/infisicalapi_client/models/api_v1_organization_get200_response.py deleted file mode 100644 index aca631f..0000000 --- a/infisicalapi_client/models/api_v1_organization_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_organization_get200_response_organizations_inner import ApiV1OrganizationGet200ResponseOrganizationsInner - -class ApiV1OrganizationGet200Response(BaseModel): - """ - ApiV1OrganizationGet200Response - """ - organizations: conlist(ApiV1OrganizationGet200ResponseOrganizationsInner) = Field(...) - __properties = ["organizations"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationGet200Response: - """Create an instance of ApiV1OrganizationGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in organizations (list) - _items = [] - if self.organizations: - for _item in self.organizations: - if _item: - _items.append(_item.to_dict()) - _dict['organizations'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationGet200Response: - """Create an instance of ApiV1OrganizationGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationGet200Response.parse_obj(obj) - - _obj = ApiV1OrganizationGet200Response.parse_obj({ - "organizations": [ApiV1OrganizationGet200ResponseOrganizationsInner.from_dict(_item) for _item in obj.get("organizations")] if obj.get("organizations") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_get200_response_organizations_inner.py b/infisicalapi_client/models/api_v1_organization_get200_response_organizations_inner.py deleted file mode 100644 index d528e94..0000000 --- a/infisicalapi_client/models/api_v1_organization_get200_response_organizations_inner.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1OrganizationGet200ResponseOrganizationsInner(BaseModel): - """ - ApiV1OrganizationGet200ResponseOrganizationsInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - customer_id: Optional[StrictStr] = Field(default=None, alias="customerId") - slug: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - auth_enforced: Optional[StrictBool] = Field(default=False, alias="authEnforced") - scim_enabled: Optional[StrictBool] = Field(default=False, alias="scimEnabled") - kms_default_key_id: Optional[StrictStr] = Field(default=None, alias="kmsDefaultKeyId") - kms_encrypted_data_key: Optional[Any] = Field(default=None, alias="kmsEncryptedDataKey") - __properties = ["id", "name", "customerId", "slug", "createdAt", "updatedAt", "authEnforced", "scimEnabled", "kmsDefaultKeyId", "kmsEncryptedDataKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationGet200ResponseOrganizationsInner: - """Create an instance of ApiV1OrganizationGet200ResponseOrganizationsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if customer_id (nullable) is None - # and __fields_set__ contains the field - if self.customer_id is None and "customer_id" in self.__fields_set__: - _dict['customerId'] = None - - # set to None if auth_enforced (nullable) is None - # and __fields_set__ contains the field - if self.auth_enforced is None and "auth_enforced" in self.__fields_set__: - _dict['authEnforced'] = None - - # set to None if scim_enabled (nullable) is None - # and __fields_set__ contains the field - if self.scim_enabled is None and "scim_enabled" in self.__fields_set__: - _dict['scimEnabled'] = None - - # set to None if kms_default_key_id (nullable) is None - # and __fields_set__ contains the field - if self.kms_default_key_id is None and "kms_default_key_id" in self.__fields_set__: - _dict['kmsDefaultKeyId'] = None - - # set to None if kms_encrypted_data_key (nullable) is None - # and __fields_set__ contains the field - if self.kms_encrypted_data_key is None and "kms_encrypted_data_key" in self.__fields_set__: - _dict['kmsEncryptedDataKey'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationGet200ResponseOrganizationsInner: - """Create an instance of ApiV1OrganizationGet200ResponseOrganizationsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationGet200ResponseOrganizationsInner.parse_obj(obj) - - _obj = ApiV1OrganizationGet200ResponseOrganizationsInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "customer_id": obj.get("customerId"), - "slug": obj.get("slug"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "auth_enforced": obj.get("authEnforced") if obj.get("authEnforced") is not None else False, - "scim_enabled": obj.get("scimEnabled") if obj.get("scimEnabled") is not None else False, - "kms_default_key_id": obj.get("kmsDefaultKeyId"), - "kms_encrypted_data_key": obj.get("kmsEncryptedDataKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_get200_response.py b/infisicalapi_client/models/api_v1_organization_organization_id_get200_response.py deleted file mode 100644 index 8dbe5b4..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_organization_get200_response_organizations_inner import ApiV1OrganizationGet200ResponseOrganizationsInner - -class ApiV1OrganizationOrganizationIdGet200Response(BaseModel): - """ - ApiV1OrganizationOrganizationIdGet200Response - """ - organization: ApiV1OrganizationGet200ResponseOrganizationsInner = Field(...) - __properties = ["organization"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of organization - if self.organization: - _dict['organization'] = self.organization.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdGet200Response.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdGet200Response.parse_obj({ - "organization": ApiV1OrganizationGet200ResponseOrganizationsInner.from_dict(obj.get("organization")) if obj.get("organization") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response.py b/infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response.py deleted file mode 100644 index 18479b7..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner - -class ApiV1OrganizationOrganizationIdGroupsGet200Response(BaseModel): - """ - ApiV1OrganizationOrganizationIdGroupsGet200Response - """ - groups: conlist(ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner) = Field(...) - __properties = ["groups"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdGroupsGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdGroupsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in groups (list) - _items = [] - if self.groups: - for _item in self.groups: - if _item: - _items.append(_item.to_dict()) - _dict['groups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdGroupsGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdGroupsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdGroupsGet200Response.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdGroupsGet200Response.parse_obj({ - "groups": [ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.from_dict(_item) for _item in obj.get("groups")] if obj.get("groups") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response_groups_inner.py b/infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response_groups_inner.py deleted file mode 100644 index 2ca05dc..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response_groups_inner.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole - -class ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner(BaseModel): - """ - ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner - """ - id: StrictStr = Field(...) - org_id: StrictStr = Field(default=..., alias="orgId") - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - role: StrictStr = Field(...) - role_id: Optional[StrictStr] = Field(default=None, alias="roleId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - custom_role: Optional[ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole] = Field(default=None, alias="customRole") - __properties = ["id", "orgId", "name", "slug", "role", "roleId", "createdAt", "updatedAt", "customRole"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner: - """Create an instance of ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of custom_role - if self.custom_role: - _dict['customRole'] = self.custom_role.to_dict() - # set to None if role_id (nullable) is None - # and __fields_set__ contains the field - if self.role_id is None and "role_id" in self.__fields_set__: - _dict['roleId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner: - """Create an instance of ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner.parse_obj({ - "id": obj.get("id"), - "org_id": obj.get("orgId"), - "name": obj.get("name"), - "slug": obj.get("slug"), - "role": obj.get("role"), - "role_id": obj.get("roleId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "custom_role": ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.from_dict(obj.get("customRole")) if obj.get("customRole") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role.py b/infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role.py deleted file mode 100644 index f3ec949..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole(BaseModel): - """ - ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - permissions: Optional[Any] = None - description: Optional[StrictStr] = None - __properties = ["id", "name", "slug", "permissions", "description"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole: - """Create an instance of ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if permissions (nullable) is None - # and __fields_set__ contains the field - if self.permissions is None and "permissions" in self.__fields_set__: - _dict['permissions'] = None - - # set to None if description (nullable) is None - # and __fields_set__ contains the field - if self.description is None and "description" in self.__fields_set__: - _dict['description'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole: - """Create an instance of ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "slug": obj.get("slug"), - "permissions": obj.get("permissions"), - "description": obj.get("description") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_get200_response.py b/infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_get200_response.py deleted file mode 100644 index 2bb656e..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner - -class ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response(BaseModel): - """ - ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response - """ - incident_contacts_org: conlist(ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner) = Field(default=..., alias="incidentContactsOrg") - __properties = ["incidentContactsOrg"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in incident_contacts_org (list) - _items = [] - if self.incident_contacts_org: - for _item in self.incident_contacts_org: - if _item: - _items.append(_item.to_dict()) - _dict['incidentContactsOrg'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response.parse_obj({ - "incident_contacts_org": [ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.from_dict(_item) for _item in obj.get("incidentContactsOrg")] if obj.get("incidentContactsOrg") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner.py b/infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner.py deleted file mode 100644 index 7f518b7..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner(BaseModel): - """ - ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner - """ - id: StrictStr = Field(...) - email: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - org_id: StrictStr = Field(default=..., alias="orgId") - __properties = ["id", "email", "createdAt", "updatedAt", "orgId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner: - """Create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner: - """Create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.parse_obj({ - "id": obj.get("id"), - "email": obj.get("email"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "org_id": obj.get("orgId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_post200_response.py b/infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_post200_response.py deleted file mode 100644 index 90b7fcb..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner - -class ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response(BaseModel): - """ - ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response - """ - incident_contacts_org: ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner = Field(default=..., alias="incidentContactsOrg") - __properties = ["incidentContactsOrg"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response: - """Create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of incident_contacts_org - if self.incident_contacts_org: - _dict['incidentContactsOrg'] = self.incident_contacts_org.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response: - """Create an instance of ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response.parse_obj({ - "incident_contacts_org": ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner.from_dict(obj.get("incidentContactsOrg")) if obj.get("incidentContactsOrg") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_patch200_response.py b/infisicalapi_client/models/api_v1_organization_organization_id_patch200_response.py deleted file mode 100644 index 8f9d4d2..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_patch200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_organization_get200_response_organizations_inner import ApiV1OrganizationGet200ResponseOrganizationsInner - -class ApiV1OrganizationOrganizationIdPatch200Response(BaseModel): - """ - ApiV1OrganizationOrganizationIdPatch200Response - """ - message: StrictStr = Field(...) - organization: ApiV1OrganizationGet200ResponseOrganizationsInner = Field(...) - __properties = ["message", "organization"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdPatch200Response: - """Create an instance of ApiV1OrganizationOrganizationIdPatch200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of organization - if self.organization: - _dict['organization'] = self.organization.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdPatch200Response: - """Create an instance of ApiV1OrganizationOrganizationIdPatch200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdPatch200Response.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdPatch200Response.parse_obj({ - "message": obj.get("message"), - "organization": ApiV1OrganizationGet200ResponseOrganizationsInner.from_dict(obj.get("organization")) if obj.get("organization") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_patch_request.py b/infisicalapi_client/models/api_v1_organization_organization_id_patch_request.py deleted file mode 100644 index a19909e..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_patch_request.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, constr, validator - -class ApiV1OrganizationOrganizationIdPatchRequest(BaseModel): - """ - ApiV1OrganizationOrganizationIdPatchRequest - """ - name: Optional[constr(strict=True, max_length=64)] = None - slug: Optional[constr(strict=True, max_length=64)] = None - auth_enforced: Optional[StrictBool] = Field(default=None, alias="authEnforced") - scim_enabled: Optional[StrictBool] = Field(default=None, alias="scimEnabled") - __properties = ["name", "slug", "authEnforced", "scimEnabled"] - - @validator('slug') - def slug_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[a-zA-Z0-9-]+$", value): - raise ValueError(r"must validate the regular expression /^[a-zA-Z0-9-]+$/") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdPatchRequest: - """Create an instance of ApiV1OrganizationOrganizationIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdPatchRequest: - """Create an instance of ApiV1OrganizationOrganizationIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdPatchRequest.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdPatchRequest.parse_obj({ - "name": obj.get("name"), - "slug": obj.get("slug"), - "auth_enforced": obj.get("authEnforced"), - "scim_enabled": obj.get("scimEnabled") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_permissions_get200_response.py b/infisicalapi_client/models/api_v1_organization_organization_id_permissions_get200_response.py deleted file mode 100644 index b2bfcd0..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_permissions_get200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response_membership import ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership - -class ApiV1OrganizationOrganizationIdPermissionsGet200Response(BaseModel): - """ - ApiV1OrganizationOrganizationIdPermissionsGet200Response - """ - membership: ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership = Field(...) - permissions: conlist(StrictStr) = Field(...) - __properties = ["membership", "permissions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdPermissionsGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdPermissionsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of membership - if self.membership: - _dict['membership'] = self.membership.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdPermissionsGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdPermissionsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdPermissionsGet200Response.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdPermissionsGet200Response.parse_obj({ - "membership": ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.from_dict(obj.get("membership")) if obj.get("membership") is not None else None, - "permissions": obj.get("permissions") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_permissions_get200_response_membership.py b/infisicalapi_client/models/api_v1_organization_organization_id_permissions_get200_response_membership.py deleted file mode 100644 index b217fd4..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_permissions_get200_response_membership.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist - -class ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership(BaseModel): - """ - ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership - """ - id: StrictStr = Field(...) - role: StrictStr = Field(...) - status: Optional[StrictStr] = 'invited' - invite_email: Optional[StrictStr] = Field(default=None, alias="inviteEmail") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - org_id: StrictStr = Field(default=..., alias="orgId") - role_id: Optional[StrictStr] = Field(default=None, alias="roleId") - project_favorites: Optional[conlist(StrictStr)] = Field(default=None, alias="projectFavorites") - is_active: Optional[StrictBool] = Field(default=True, alias="isActive") - __properties = ["id", "role", "status", "inviteEmail", "createdAt", "updatedAt", "userId", "orgId", "roleId", "projectFavorites", "isActive"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership: - """Create an instance of ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if invite_email (nullable) is None - # and __fields_set__ contains the field - if self.invite_email is None and "invite_email" in self.__fields_set__: - _dict['inviteEmail'] = None - - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - # set to None if role_id (nullable) is None - # and __fields_set__ contains the field - if self.role_id is None and "role_id" in self.__fields_set__: - _dict['roleId'] = None - - # set to None if project_favorites (nullable) is None - # and __fields_set__ contains the field - if self.project_favorites is None and "project_favorites" in self.__fields_set__: - _dict['projectFavorites'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership: - """Create an instance of ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.parse_obj({ - "id": obj.get("id"), - "role": obj.get("role"), - "status": obj.get("status") if obj.get("status") is not None else 'invited', - "invite_email": obj.get("inviteEmail"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "user_id": obj.get("userId"), - "org_id": obj.get("orgId"), - "role_id": obj.get("roleId"), - "project_favorites": obj.get("projectFavorites"), - "is_active": obj.get("isActive") if obj.get("isActive") is not None else True - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response.py b/infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response.py deleted file mode 100644 index f85d461..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response_data import ApiV1OrganizationOrganizationIdRolesGet200ResponseData - -class ApiV1OrganizationOrganizationIdRolesGet200Response(BaseModel): - """ - ApiV1OrganizationOrganizationIdRolesGet200Response - """ - data: ApiV1OrganizationOrganizationIdRolesGet200ResponseData = Field(...) - __properties = ["data"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdRolesGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdRolesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of data - if self.data: - _dict['data'] = self.data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdRolesGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdRolesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdRolesGet200Response.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdRolesGet200Response.parse_obj({ - "data": ApiV1OrganizationOrganizationIdRolesGet200ResponseData.from_dict(obj.get("data")) if obj.get("data") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response_data.py b/infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response_data.py deleted file mode 100644 index 37ab7bd..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response_data.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response_data_roles_inner import ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner - -class ApiV1OrganizationOrganizationIdRolesGet200ResponseData(BaseModel): - """ - ApiV1OrganizationOrganizationIdRolesGet200ResponseData - """ - roles: conlist(ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner) = Field(...) - __properties = ["roles"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdRolesGet200ResponseData: - """Create an instance of ApiV1OrganizationOrganizationIdRolesGet200ResponseData from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdRolesGet200ResponseData: - """Create an instance of ApiV1OrganizationOrganizationIdRolesGet200ResponseData from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdRolesGet200ResponseData.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdRolesGet200ResponseData.parse_obj({ - "roles": [ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response_data_roles_inner.py b/infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response_data_roles_inner.py deleted file mode 100644 index 6d40ba1..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response_data_roles_inner.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner(BaseModel): - """ - ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - description: Optional[StrictStr] = None - slug: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - org_id: StrictStr = Field(default=..., alias="orgId") - permissions: Optional[Any] = None - __properties = ["id", "name", "description", "slug", "createdAt", "updatedAt", "orgId", "permissions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner: - """Create an instance of ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if description (nullable) is None - # and __fields_set__ contains the field - if self.description is None and "description" in self.__fields_set__: - _dict['description'] = None - - # set to None if permissions (nullable) is None - # and __fields_set__ contains the field - if self.permissions is None and "permissions" in self.__fields_set__: - _dict['permissions'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner: - """Create an instance of ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "description": obj.get("description"), - "slug": obj.get("slug"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "org_id": obj.get("orgId"), - "permissions": obj.get("permissions") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_roles_post200_response.py b/infisicalapi_client/models/api_v1_organization_organization_id_roles_post200_response.py deleted file mode 100644 index 37c92a1..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_roles_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response_role import ApiV1OrganizationOrganizationIdRolesPost200ResponseRole - -class ApiV1OrganizationOrganizationIdRolesPost200Response(BaseModel): - """ - ApiV1OrganizationOrganizationIdRolesPost200Response - """ - role: ApiV1OrganizationOrganizationIdRolesPost200ResponseRole = Field(...) - __properties = ["role"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdRolesPost200Response: - """Create an instance of ApiV1OrganizationOrganizationIdRolesPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of role - if self.role: - _dict['role'] = self.role.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdRolesPost200Response: - """Create an instance of ApiV1OrganizationOrganizationIdRolesPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdRolesPost200Response.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdRolesPost200Response.parse_obj({ - "role": ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.from_dict(obj.get("role")) if obj.get("role") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_roles_post200_response_role.py b/infisicalapi_client/models/api_v1_organization_organization_id_roles_post200_response_role.py deleted file mode 100644 index 52c4afe..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_roles_post200_response_role.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1OrganizationOrganizationIdRolesPost200ResponseRole(BaseModel): - """ - ApiV1OrganizationOrganizationIdRolesPost200ResponseRole - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - description: Optional[StrictStr] = None - slug: StrictStr = Field(...) - permissions: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - org_id: StrictStr = Field(default=..., alias="orgId") - __properties = ["id", "name", "description", "slug", "permissions", "createdAt", "updatedAt", "orgId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdRolesPost200ResponseRole: - """Create an instance of ApiV1OrganizationOrganizationIdRolesPost200ResponseRole from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if description (nullable) is None - # and __fields_set__ contains the field - if self.description is None and "description" in self.__fields_set__: - _dict['description'] = None - - # set to None if permissions (nullable) is None - # and __fields_set__ contains the field - if self.permissions is None and "permissions" in self.__fields_set__: - _dict['permissions'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdRolesPost200ResponseRole: - """Create an instance of ApiV1OrganizationOrganizationIdRolesPost200ResponseRole from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdRolesPost200ResponseRole.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "description": obj.get("description"), - "slug": obj.get("slug"), - "permissions": obj.get("permissions"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "org_id": obj.get("orgId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_roles_post_request.py b/infisicalapi_client/models/api_v1_organization_organization_id_roles_post_request.py deleted file mode 100644 index c788e8b..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_roles_post_request.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist, constr - -class ApiV1OrganizationOrganizationIdRolesPostRequest(BaseModel): - """ - ApiV1OrganizationOrganizationIdRolesPostRequest - """ - slug: constr(strict=True, min_length=1) = Field(...) - name: StrictStr = Field(...) - description: Optional[StrictStr] = None - permissions: conlist(StrictStr) = Field(...) - __properties = ["slug", "name", "description", "permissions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdRolesPostRequest: - """Create an instance of ApiV1OrganizationOrganizationIdRolesPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdRolesPostRequest: - """Create an instance of ApiV1OrganizationOrganizationIdRolesPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdRolesPostRequest.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdRolesPostRequest.parse_obj({ - "slug": obj.get("slug"), - "name": obj.get("name"), - "description": obj.get("description"), - "permissions": obj.get("permissions") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_roles_role_id_patch_request.py b/infisicalapi_client/models/api_v1_organization_organization_id_roles_role_id_patch_request.py deleted file mode 100644 index 7e9debe..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_roles_role_id_patch_request.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist - -class ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest(BaseModel): - """ - ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest - """ - slug: StrictStr = Field(...) - name: Optional[StrictStr] = None - description: Optional[StrictStr] = None - permissions: Optional[conlist(StrictStr)] = None - __properties = ["slug", "name", "description", "permissions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest: - """Create an instance of ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest: - """Create an instance of ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest.parse_obj({ - "slug": obj.get("slug"), - "name": obj.get("name"), - "description": obj.get("description"), - "permissions": obj.get("permissions") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response.py b/infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response.py deleted file mode 100644 index e481c89..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response_users_inner import ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner - -class ApiV1OrganizationOrganizationIdUsersGet200Response(BaseModel): - """ - ApiV1OrganizationOrganizationIdUsersGet200Response - """ - users: conlist(ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner) = Field(...) - __properties = ["users"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdUsersGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdUsersGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item in self.users: - if _item: - _items.append(_item.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdUsersGet200Response: - """Create an instance of ApiV1OrganizationOrganizationIdUsersGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdUsersGet200Response.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdUsersGet200Response.parse_obj({ - "users": [ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.from_dict(_item) for _item in obj.get("users")] if obj.get("users") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response_users_inner.py b/infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response_users_inner.py deleted file mode 100644 index e4e5bc5..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response_users_inner.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response_users_inner_user import ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser - -class ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner(BaseModel): - """ - ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner - """ - id: StrictStr = Field(...) - role: StrictStr = Field(...) - status: Optional[StrictStr] = 'invited' - invite_email: Optional[StrictStr] = Field(default=None, alias="inviteEmail") - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - org_id: StrictStr = Field(default=..., alias="orgId") - role_id: Optional[StrictStr] = Field(default=None, alias="roleId") - project_favorites: Optional[conlist(StrictStr)] = Field(default=None, alias="projectFavorites") - is_active: Optional[StrictBool] = Field(default=True, alias="isActive") - user: ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser = Field(...) - __properties = ["id", "role", "status", "inviteEmail", "userId", "orgId", "roleId", "projectFavorites", "isActive", "user"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner: - """Create an instance of ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - # set to None if invite_email (nullable) is None - # and __fields_set__ contains the field - if self.invite_email is None and "invite_email" in self.__fields_set__: - _dict['inviteEmail'] = None - - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - # set to None if role_id (nullable) is None - # and __fields_set__ contains the field - if self.role_id is None and "role_id" in self.__fields_set__: - _dict['roleId'] = None - - # set to None if project_favorites (nullable) is None - # and __fields_set__ contains the field - if self.project_favorites is None and "project_favorites" in self.__fields_set__: - _dict['projectFavorites'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner: - """Create an instance of ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner.parse_obj({ - "id": obj.get("id"), - "role": obj.get("role"), - "status": obj.get("status") if obj.get("status") is not None else 'invited', - "invite_email": obj.get("inviteEmail"), - "user_id": obj.get("userId"), - "org_id": obj.get("orgId"), - "role_id": obj.get("roleId"), - "project_favorites": obj.get("projectFavorites"), - "is_active": obj.get("isActive") if obj.get("isActive") is not None else True, - "user": ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.from_dict(obj.get("user")) if obj.get("user") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response_users_inner_user.py b/infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response_users_inner_user.py deleted file mode 100644 index c8d4762..0000000 --- a/infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response_users_inner_user.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser(BaseModel): - """ - ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser - """ - username: StrictStr = Field(...) - email: Optional[StrictStr] = None - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - id: StrictStr = Field(...) - public_key: Optional[StrictStr] = Field(default=..., alias="publicKey") - __properties = ["username", "email", "firstName", "lastName", "id", "publicKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser: - """Create an instance of ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - # set to None if public_key (nullable) is None - # and __fields_set__ contains the field - if self.public_key is None and "public_key" in self.__fields_set__: - _dict['publicKey'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser: - """Create an instance of ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.parse_obj(obj) - - _obj = ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser.parse_obj({ - "username": obj.get("username"), - "email": obj.get("email"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "id": obj.get("id"), - "public_key": obj.get("publicKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_patch_request.py b/infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_patch_request.py deleted file mode 100644 index 7d054cf..0000000 --- a/infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_patch_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, StrictStr - -class ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest(BaseModel): - """ - ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest - """ - email: Optional[StrictStr] = None - name: Optional[StrictStr] = None - __properties = ["email", "name"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest: - """Create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest: - """Create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.parse_obj(obj) - - _obj = ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest.parse_obj({ - "email": obj.get("email"), - "name": obj.get("name") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_payment_methods_post_request.py b/infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_payment_methods_post_request.py deleted file mode 100644 index 185e500..0000000 --- a/infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_payment_methods_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest(BaseModel): - """ - ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest - """ - success_url: StrictStr = Field(...) - cancel_url: StrictStr = Field(...) - __properties = ["success_url", "cancel_url"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest: - """Create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest: - """Create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.parse_obj(obj) - - _obj = ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest.parse_obj({ - "success_url": obj.get("success_url"), - "cancel_url": obj.get("cancel_url") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_tax_ids_post_request.py b/infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_tax_ids_post_request.py deleted file mode 100644 index 6959c2e..0000000 --- a/infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_tax_ids_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest(BaseModel): - """ - ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest - """ - type: StrictStr = Field(...) - value: StrictStr = Field(...) - __properties = ["type", "value"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest: - """Create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest: - """Create an instance of ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.parse_obj(obj) - - _obj = ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest.parse_obj({ - "type": obj.get("type"), - "value": obj.get("value") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organizations_organization_id_plan_get200_response.py b/infisicalapi_client/models/api_v1_organizations_organization_id_plan_get200_response.py deleted file mode 100644 index 847b97c..0000000 --- a/infisicalapi_client/models/api_v1_organizations_organization_id_plan_get200_response.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, Optional -from pydantic import BaseModel - -class ApiV1OrganizationsOrganizationIdPlanGet200Response(BaseModel): - """ - ApiV1OrganizationsOrganizationIdPlanGet200Response - """ - plan: Optional[Any] = None - __properties = ["plan"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationsOrganizationIdPlanGet200Response: - """Create an instance of ApiV1OrganizationsOrganizationIdPlanGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if plan (nullable) is None - # and __fields_set__ contains the field - if self.plan is None and "plan" in self.__fields_set__: - _dict['plan'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationsOrganizationIdPlanGet200Response: - """Create an instance of ApiV1OrganizationsOrganizationIdPlanGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationsOrganizationIdPlanGet200Response.parse_obj(obj) - - _obj = ApiV1OrganizationsOrganizationIdPlanGet200Response.parse_obj({ - "plan": obj.get("plan") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_organizations_organization_id_session_trial_post_request.py b/infisicalapi_client/models/api_v1_organizations_organization_id_session_trial_post_request.py deleted file mode 100644 index 2ddb003..0000000 --- a/infisicalapi_client/models/api_v1_organizations_organization_id_session_trial_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1OrganizationsOrganizationIdSessionTrialPostRequest(BaseModel): - """ - ApiV1OrganizationsOrganizationIdSessionTrialPostRequest - """ - success_url: StrictStr = Field(...) - __properties = ["success_url"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1OrganizationsOrganizationIdSessionTrialPostRequest: - """Create an instance of ApiV1OrganizationsOrganizationIdSessionTrialPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1OrganizationsOrganizationIdSessionTrialPostRequest: - """Create an instance of ApiV1OrganizationsOrganizationIdSessionTrialPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.parse_obj(obj) - - _obj = ApiV1OrganizationsOrganizationIdSessionTrialPostRequest.parse_obj({ - "success_url": obj.get("success_url") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_backup_private_key_get200_response.py b/infisicalapi_client/models/api_v1_password_backup_private_key_get200_response.py deleted file mode 100644 index 2a0f23a..0000000 --- a/infisicalapi_client/models/api_v1_password_backup_private_key_get200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response_backup_private_key import ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey - -class ApiV1PasswordBackupPrivateKeyGet200Response(BaseModel): - """ - ApiV1PasswordBackupPrivateKeyGet200Response - """ - message: StrictStr = Field(...) - backup_private_key: ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey = Field(default=..., alias="backupPrivateKey") - __properties = ["message", "backupPrivateKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordBackupPrivateKeyGet200Response: - """Create an instance of ApiV1PasswordBackupPrivateKeyGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of backup_private_key - if self.backup_private_key: - _dict['backupPrivateKey'] = self.backup_private_key.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordBackupPrivateKeyGet200Response: - """Create an instance of ApiV1PasswordBackupPrivateKeyGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordBackupPrivateKeyGet200Response.parse_obj(obj) - - _obj = ApiV1PasswordBackupPrivateKeyGet200Response.parse_obj({ - "message": obj.get("message"), - "backup_private_key": ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.from_dict(obj.get("backupPrivateKey")) if obj.get("backupPrivateKey") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_backup_private_key_get200_response_backup_private_key.py b/infisicalapi_client/models/api_v1_password_backup_private_key_get200_response_backup_private_key.py deleted file mode 100644 index 66e1cf0..0000000 --- a/infisicalapi_client/models/api_v1_password_backup_private_key_get200_response_backup_private_key.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey(BaseModel): - """ - ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey - """ - id: StrictStr = Field(...) - encrypted_private_key: StrictStr = Field(default=..., alias="encryptedPrivateKey") - iv: StrictStr = Field(...) - tag: StrictStr = Field(...) - algorithm: StrictStr = Field(...) - key_encoding: StrictStr = Field(default=..., alias="keyEncoding") - salt: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - user_id: StrictStr = Field(default=..., alias="userId") - __properties = ["id", "encryptedPrivateKey", "iv", "tag", "algorithm", "keyEncoding", "salt", "createdAt", "updatedAt", "userId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey: - """Create an instance of ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey: - """Create an instance of ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.parse_obj(obj) - - _obj = ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey.parse_obj({ - "id": obj.get("id"), - "encrypted_private_key": obj.get("encryptedPrivateKey"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "algorithm": obj.get("algorithm"), - "key_encoding": obj.get("keyEncoding"), - "salt": obj.get("salt"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "user_id": obj.get("userId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_backup_private_key_post_request.py b/infisicalapi_client/models/api_v1_password_backup_private_key_post_request.py deleted file mode 100644 index 658f3c4..0000000 --- a/infisicalapi_client/models/api_v1_password_backup_private_key_post_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PasswordBackupPrivateKeyPostRequest(BaseModel): - """ - ApiV1PasswordBackupPrivateKeyPostRequest - """ - client_proof: StrictStr = Field(default=..., alias="clientProof") - encrypted_private_key: StrictStr = Field(default=..., alias="encryptedPrivateKey") - iv: StrictStr = Field(...) - tag: StrictStr = Field(...) - salt: StrictStr = Field(...) - verifier: StrictStr = Field(...) - __properties = ["clientProof", "encryptedPrivateKey", "iv", "tag", "salt", "verifier"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordBackupPrivateKeyPostRequest: - """Create an instance of ApiV1PasswordBackupPrivateKeyPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordBackupPrivateKeyPostRequest: - """Create an instance of ApiV1PasswordBackupPrivateKeyPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordBackupPrivateKeyPostRequest.parse_obj(obj) - - _obj = ApiV1PasswordBackupPrivateKeyPostRequest.parse_obj({ - "client_proof": obj.get("clientProof"), - "encrypted_private_key": obj.get("encryptedPrivateKey"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "salt": obj.get("salt"), - "verifier": obj.get("verifier") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_change_password_post_request.py b/infisicalapi_client/models/api_v1_password_change_password_post_request.py deleted file mode 100644 index 6253266..0000000 --- a/infisicalapi_client/models/api_v1_password_change_password_post_request.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PasswordChangePasswordPostRequest(BaseModel): - """ - ApiV1PasswordChangePasswordPostRequest - """ - client_proof: StrictStr = Field(default=..., alias="clientProof") - protected_key: StrictStr = Field(default=..., alias="protectedKey") - protected_key_iv: StrictStr = Field(default=..., alias="protectedKeyIV") - protected_key_tag: StrictStr = Field(default=..., alias="protectedKeyTag") - encrypted_private_key: StrictStr = Field(default=..., alias="encryptedPrivateKey") - encrypted_private_key_iv: StrictStr = Field(default=..., alias="encryptedPrivateKeyIV") - encrypted_private_key_tag: StrictStr = Field(default=..., alias="encryptedPrivateKeyTag") - salt: StrictStr = Field(...) - verifier: StrictStr = Field(...) - password: StrictStr = Field(...) - __properties = ["clientProof", "protectedKey", "protectedKeyIV", "protectedKeyTag", "encryptedPrivateKey", "encryptedPrivateKeyIV", "encryptedPrivateKeyTag", "salt", "verifier", "password"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordChangePasswordPostRequest: - """Create an instance of ApiV1PasswordChangePasswordPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordChangePasswordPostRequest: - """Create an instance of ApiV1PasswordChangePasswordPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordChangePasswordPostRequest.parse_obj(obj) - - _obj = ApiV1PasswordChangePasswordPostRequest.parse_obj({ - "client_proof": obj.get("clientProof"), - "protected_key": obj.get("protectedKey"), - "protected_key_iv": obj.get("protectedKeyIV"), - "protected_key_tag": obj.get("protectedKeyTag"), - "encrypted_private_key": obj.get("encryptedPrivateKey"), - "encrypted_private_key_iv": obj.get("encryptedPrivateKeyIV"), - "encrypted_private_key_tag": obj.get("encryptedPrivateKeyTag"), - "salt": obj.get("salt"), - "verifier": obj.get("verifier"), - "password": obj.get("password") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_email_password_reset_post_request.py b/infisicalapi_client/models/api_v1_password_email_password_reset_post_request.py deleted file mode 100644 index d113c2f..0000000 --- a/infisicalapi_client/models/api_v1_password_email_password_reset_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PasswordEmailPasswordResetPostRequest(BaseModel): - """ - ApiV1PasswordEmailPasswordResetPostRequest - """ - email: StrictStr = Field(...) - __properties = ["email"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordEmailPasswordResetPostRequest: - """Create an instance of ApiV1PasswordEmailPasswordResetPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordEmailPasswordResetPostRequest: - """Create an instance of ApiV1PasswordEmailPasswordResetPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordEmailPasswordResetPostRequest.parse_obj(obj) - - _obj = ApiV1PasswordEmailPasswordResetPostRequest.parse_obj({ - "email": obj.get("email") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_email_password_reset_verify_post200_response.py b/infisicalapi_client/models/api_v1_password_email_password_reset_verify_post200_response.py deleted file mode 100644 index cb87d6c..0000000 --- a/infisicalapi_client/models/api_v1_password_email_password_reset_verify_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response_user import ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser - -class ApiV1PasswordEmailPasswordResetVerifyPost200Response(BaseModel): - """ - ApiV1PasswordEmailPasswordResetVerifyPost200Response - """ - message: StrictStr = Field(...) - user: ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser = Field(...) - token: StrictStr = Field(...) - __properties = ["message", "user", "token"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordEmailPasswordResetVerifyPost200Response: - """Create an instance of ApiV1PasswordEmailPasswordResetVerifyPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordEmailPasswordResetVerifyPost200Response: - """Create an instance of ApiV1PasswordEmailPasswordResetVerifyPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordEmailPasswordResetVerifyPost200Response.parse_obj(obj) - - _obj = ApiV1PasswordEmailPasswordResetVerifyPost200Response.parse_obj({ - "message": obj.get("message"), - "user": ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.from_dict(obj.get("user")) if obj.get("user") is not None else None, - "token": obj.get("token") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_email_password_reset_verify_post200_response_user.py b/infisicalapi_client/models/api_v1_password_email_password_reset_verify_post200_response_user.py deleted file mode 100644 index 6a874dd..0000000 --- a/infisicalapi_client/models/api_v1_password_email_password_reset_verify_post200_response_user.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist - -class ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser(BaseModel): - """ - ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser - """ - id: StrictStr = Field(...) - email: Optional[StrictStr] = None - auth_methods: Optional[conlist(StrictStr)] = Field(default=None, alias="authMethods") - super_admin: Optional[StrictBool] = Field(default=False, alias="superAdmin") - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - is_accepted: Optional[StrictBool] = Field(default=False, alias="isAccepted") - is_mfa_enabled: Optional[StrictBool] = Field(default=False, alias="isMfaEnabled") - mfa_methods: Optional[conlist(StrictStr)] = Field(default=None, alias="mfaMethods") - devices: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - is_ghost: Optional[StrictBool] = Field(default=False, alias="isGhost") - username: StrictStr = Field(...) - is_email_verified: Optional[StrictBool] = Field(default=False, alias="isEmailVerified") - consecutive_failed_mfa_attempts: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="consecutiveFailedMfaAttempts") - is_locked: Optional[StrictBool] = Field(default=False, alias="isLocked") - temporary_lock_date_end: Optional[datetime] = Field(default=None, alias="temporaryLockDateEnd") - consecutive_failed_password_attempts: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="consecutiveFailedPasswordAttempts") - __properties = ["id", "email", "authMethods", "superAdmin", "firstName", "lastName", "isAccepted", "isMfaEnabled", "mfaMethods", "devices", "createdAt", "updatedAt", "isGhost", "username", "isEmailVerified", "consecutiveFailedMfaAttempts", "isLocked", "temporaryLockDateEnd", "consecutiveFailedPasswordAttempts"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser: - """Create an instance of ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if auth_methods (nullable) is None - # and __fields_set__ contains the field - if self.auth_methods is None and "auth_methods" in self.__fields_set__: - _dict['authMethods'] = None - - # set to None if super_admin (nullable) is None - # and __fields_set__ contains the field - if self.super_admin is None and "super_admin" in self.__fields_set__: - _dict['superAdmin'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - # set to None if is_accepted (nullable) is None - # and __fields_set__ contains the field - if self.is_accepted is None and "is_accepted" in self.__fields_set__: - _dict['isAccepted'] = None - - # set to None if is_mfa_enabled (nullable) is None - # and __fields_set__ contains the field - if self.is_mfa_enabled is None and "is_mfa_enabled" in self.__fields_set__: - _dict['isMfaEnabled'] = None - - # set to None if mfa_methods (nullable) is None - # and __fields_set__ contains the field - if self.mfa_methods is None and "mfa_methods" in self.__fields_set__: - _dict['mfaMethods'] = None - - # set to None if devices (nullable) is None - # and __fields_set__ contains the field - if self.devices is None and "devices" in self.__fields_set__: - _dict['devices'] = None - - # set to None if is_email_verified (nullable) is None - # and __fields_set__ contains the field - if self.is_email_verified is None and "is_email_verified" in self.__fields_set__: - _dict['isEmailVerified'] = None - - # set to None if consecutive_failed_mfa_attempts (nullable) is None - # and __fields_set__ contains the field - if self.consecutive_failed_mfa_attempts is None and "consecutive_failed_mfa_attempts" in self.__fields_set__: - _dict['consecutiveFailedMfaAttempts'] = None - - # set to None if is_locked (nullable) is None - # and __fields_set__ contains the field - if self.is_locked is None and "is_locked" in self.__fields_set__: - _dict['isLocked'] = None - - # set to None if temporary_lock_date_end (nullable) is None - # and __fields_set__ contains the field - if self.temporary_lock_date_end is None and "temporary_lock_date_end" in self.__fields_set__: - _dict['temporaryLockDateEnd'] = None - - # set to None if consecutive_failed_password_attempts (nullable) is None - # and __fields_set__ contains the field - if self.consecutive_failed_password_attempts is None and "consecutive_failed_password_attempts" in self.__fields_set__: - _dict['consecutiveFailedPasswordAttempts'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser: - """Create an instance of ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.parse_obj(obj) - - _obj = ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.parse_obj({ - "id": obj.get("id"), - "email": obj.get("email"), - "auth_methods": obj.get("authMethods"), - "super_admin": obj.get("superAdmin") if obj.get("superAdmin") is not None else False, - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "is_accepted": obj.get("isAccepted") if obj.get("isAccepted") is not None else False, - "is_mfa_enabled": obj.get("isMfaEnabled") if obj.get("isMfaEnabled") is not None else False, - "mfa_methods": obj.get("mfaMethods"), - "devices": obj.get("devices"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "is_ghost": obj.get("isGhost") if obj.get("isGhost") is not None else False, - "username": obj.get("username"), - "is_email_verified": obj.get("isEmailVerified") if obj.get("isEmailVerified") is not None else False, - "consecutive_failed_mfa_attempts": obj.get("consecutiveFailedMfaAttempts") if obj.get("consecutiveFailedMfaAttempts") is not None else 0, - "is_locked": obj.get("isLocked") if obj.get("isLocked") is not None else False, - "temporary_lock_date_end": obj.get("temporaryLockDateEnd"), - "consecutive_failed_password_attempts": obj.get("consecutiveFailedPasswordAttempts") if obj.get("consecutiveFailedPasswordAttempts") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_email_password_reset_verify_post_request.py b/infisicalapi_client/models/api_v1_password_email_password_reset_verify_post_request.py deleted file mode 100644 index 3abcf55..0000000 --- a/infisicalapi_client/models/api_v1_password_email_password_reset_verify_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PasswordEmailPasswordResetVerifyPostRequest(BaseModel): - """ - ApiV1PasswordEmailPasswordResetVerifyPostRequest - """ - email: StrictStr = Field(...) - code: StrictStr = Field(...) - __properties = ["email", "code"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordEmailPasswordResetVerifyPostRequest: - """Create an instance of ApiV1PasswordEmailPasswordResetVerifyPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordEmailPasswordResetVerifyPostRequest: - """Create an instance of ApiV1PasswordEmailPasswordResetVerifyPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordEmailPasswordResetVerifyPostRequest.parse_obj(obj) - - _obj = ApiV1PasswordEmailPasswordResetVerifyPostRequest.parse_obj({ - "email": obj.get("email"), - "code": obj.get("code") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_password_reset_post_request.py b/infisicalapi_client/models/api_v1_password_password_reset_post_request.py deleted file mode 100644 index 6f0d666..0000000 --- a/infisicalapi_client/models/api_v1_password_password_reset_post_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PasswordPasswordResetPostRequest(BaseModel): - """ - ApiV1PasswordPasswordResetPostRequest - """ - protected_key: StrictStr = Field(default=..., alias="protectedKey") - protected_key_iv: StrictStr = Field(default=..., alias="protectedKeyIV") - protected_key_tag: StrictStr = Field(default=..., alias="protectedKeyTag") - encrypted_private_key: StrictStr = Field(default=..., alias="encryptedPrivateKey") - encrypted_private_key_iv: StrictStr = Field(default=..., alias="encryptedPrivateKeyIV") - encrypted_private_key_tag: StrictStr = Field(default=..., alias="encryptedPrivateKeyTag") - salt: StrictStr = Field(...) - verifier: StrictStr = Field(...) - __properties = ["protectedKey", "protectedKeyIV", "protectedKeyTag", "encryptedPrivateKey", "encryptedPrivateKeyIV", "encryptedPrivateKeyTag", "salt", "verifier"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordPasswordResetPostRequest: - """Create an instance of ApiV1PasswordPasswordResetPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordPasswordResetPostRequest: - """Create an instance of ApiV1PasswordPasswordResetPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordPasswordResetPostRequest.parse_obj(obj) - - _obj = ApiV1PasswordPasswordResetPostRequest.parse_obj({ - "protected_key": obj.get("protectedKey"), - "protected_key_iv": obj.get("protectedKeyIV"), - "protected_key_tag": obj.get("protectedKeyTag"), - "encrypted_private_key": obj.get("encryptedPrivateKey"), - "encrypted_private_key_iv": obj.get("encryptedPrivateKeyIV"), - "encrypted_private_key_tag": obj.get("encryptedPrivateKeyTag"), - "salt": obj.get("salt"), - "verifier": obj.get("verifier") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_srp1_post200_response.py b/infisicalapi_client/models/api_v1_password_srp1_post200_response.py deleted file mode 100644 index f512e06..0000000 --- a/infisicalapi_client/models/api_v1_password_srp1_post200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PasswordSrp1Post200Response(BaseModel): - """ - ApiV1PasswordSrp1Post200Response - """ - server_public_key: StrictStr = Field(default=..., alias="serverPublicKey") - salt: StrictStr = Field(...) - __properties = ["serverPublicKey", "salt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordSrp1Post200Response: - """Create an instance of ApiV1PasswordSrp1Post200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordSrp1Post200Response: - """Create an instance of ApiV1PasswordSrp1Post200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordSrp1Post200Response.parse_obj(obj) - - _obj = ApiV1PasswordSrp1Post200Response.parse_obj({ - "server_public_key": obj.get("serverPublicKey"), - "salt": obj.get("salt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_password_srp1_post_request.py b/infisicalapi_client/models/api_v1_password_srp1_post_request.py deleted file mode 100644 index 1ea46aa..0000000 --- a/infisicalapi_client/models/api_v1_password_srp1_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PasswordSrp1PostRequest(BaseModel): - """ - ApiV1PasswordSrp1PostRequest - """ - client_public_key: StrictStr = Field(default=..., alias="clientPublicKey") - __properties = ["clientPublicKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PasswordSrp1PostRequest: - """Create an instance of ApiV1PasswordSrp1PostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PasswordSrp1PostRequest: - """Create an instance of ApiV1PasswordSrp1PostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PasswordSrp1PostRequest.parse_obj(obj) - - _obj = ApiV1PasswordSrp1PostRequest.parse_obj({ - "client_public_key": obj.get("clientPublicKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_certificate_get200_response.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_certificate_get200_response.py deleted file mode 100644 index a489c69..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_certificate_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PkiCaCaIdCertificateGet200Response(BaseModel): - """ - ApiV1PkiCaCaIdCertificateGet200Response - """ - certificate: StrictStr = Field(default=..., description="The certificate body of the CA") - certificate_chain: StrictStr = Field(default=..., alias="certificateChain", description="The certificate chain of the CA") - serial_number: StrictStr = Field(default=..., alias="serialNumber", description="The serial number of the CA certificate") - __properties = ["certificate", "certificateChain", "serialNumber"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdCertificateGet200Response: - """Create an instance of ApiV1PkiCaCaIdCertificateGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdCertificateGet200Response: - """Create an instance of ApiV1PkiCaCaIdCertificateGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdCertificateGet200Response.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdCertificateGet200Response.parse_obj({ - "certificate": obj.get("certificate"), - "certificate_chain": obj.get("certificateChain"), - "serial_number": obj.get("serialNumber") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_crl_get200_response.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_crl_get200_response.py deleted file mode 100644 index 351dc02..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_crl_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PkiCaCaIdCrlGet200Response(BaseModel): - """ - ApiV1PkiCaCaIdCrlGet200Response - """ - crl: StrictStr = Field(default=..., description="The certificate revocation list (CRL) of the CA") - __properties = ["crl"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdCrlGet200Response: - """Create an instance of ApiV1PkiCaCaIdCrlGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdCrlGet200Response: - """Create an instance of ApiV1PkiCaCaIdCrlGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdCrlGet200Response.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdCrlGet200Response.parse_obj({ - "crl": obj.get("crl") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_csr_get200_response.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_csr_get200_response.py deleted file mode 100644 index 800e103..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_csr_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PkiCaCaIdCsrGet200Response(BaseModel): - """ - ApiV1PkiCaCaIdCsrGet200Response - """ - csr: StrictStr = Field(default=..., description="The generated CSR from the CA") - __properties = ["csr"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdCsrGet200Response: - """Create an instance of ApiV1PkiCaCaIdCsrGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdCsrGet200Response: - """Create an instance of ApiV1PkiCaCaIdCsrGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdCsrGet200Response.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdCsrGet200Response.parse_obj({ - "csr": obj.get("csr") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_import_certificate_post200_response.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_import_certificate_post200_response.py deleted file mode 100644 index 76d746e..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_import_certificate_post200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PkiCaCaIdImportCertificatePost200Response(BaseModel): - """ - ApiV1PkiCaCaIdImportCertificatePost200Response - """ - message: StrictStr = Field(...) - ca_id: StrictStr = Field(default=..., alias="caId") - __properties = ["message", "caId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdImportCertificatePost200Response: - """Create an instance of ApiV1PkiCaCaIdImportCertificatePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdImportCertificatePost200Response: - """Create an instance of ApiV1PkiCaCaIdImportCertificatePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdImportCertificatePost200Response.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdImportCertificatePost200Response.parse_obj({ - "message": obj.get("message"), - "ca_id": obj.get("caId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_import_certificate_post_request.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_import_certificate_post_request.py deleted file mode 100644 index 0068ee3..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_import_certificate_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PkiCaCaIdImportCertificatePostRequest(BaseModel): - """ - ApiV1PkiCaCaIdImportCertificatePostRequest - """ - certificate: StrictStr = Field(default=..., description="The certificate body to import") - certificate_chain: StrictStr = Field(default=..., alias="certificateChain", description="The certificate chain to import") - __properties = ["certificate", "certificateChain"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdImportCertificatePostRequest: - """Create an instance of ApiV1PkiCaCaIdImportCertificatePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdImportCertificatePostRequest: - """Create an instance of ApiV1PkiCaCaIdImportCertificatePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdImportCertificatePostRequest.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdImportCertificatePostRequest.parse_obj({ - "certificate": obj.get("certificate"), - "certificate_chain": obj.get("certificateChain") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_issue_certificate_post200_response.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_issue_certificate_post200_response.py deleted file mode 100644 index 82deedf..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_issue_certificate_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PkiCaCaIdIssueCertificatePost200Response(BaseModel): - """ - ApiV1PkiCaCaIdIssueCertificatePost200Response - """ - certificate: StrictStr = Field(default=..., description="The issued certificate") - issuing_ca_certificate: StrictStr = Field(default=..., alias="issuingCaCertificate", description="The certificate of the issuing CA") - certificate_chain: StrictStr = Field(default=..., alias="certificateChain", description="The certificate chain of the issued certificate") - private_key: StrictStr = Field(default=..., alias="privateKey", description="The private key of the issued certificate") - serial_number: StrictStr = Field(default=..., alias="serialNumber", description="The serial number of the issued certificate") - __properties = ["certificate", "issuingCaCertificate", "certificateChain", "privateKey", "serialNumber"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdIssueCertificatePost200Response: - """Create an instance of ApiV1PkiCaCaIdIssueCertificatePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdIssueCertificatePost200Response: - """Create an instance of ApiV1PkiCaCaIdIssueCertificatePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdIssueCertificatePost200Response.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdIssueCertificatePost200Response.parse_obj({ - "certificate": obj.get("certificate"), - "issuing_ca_certificate": obj.get("issuingCaCertificate"), - "certificate_chain": obj.get("certificateChain"), - "private_key": obj.get("privateKey"), - "serial_number": obj.get("serialNumber") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_issue_certificate_post_request.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_issue_certificate_post_request.py deleted file mode 100644 index 1e70809..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_issue_certificate_post_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr - -class ApiV1PkiCaCaIdIssueCertificatePostRequest(BaseModel): - """ - ApiV1PkiCaCaIdIssueCertificatePostRequest - """ - friendly_name: Optional[StrictStr] = Field(default=None, alias="friendlyName", description="A friendly name for the certificate") - common_name: constr(strict=True, min_length=1) = Field(default=..., alias="commonName", description="The common name (CN) for the certificate") - alt_names: Optional[StrictStr] = Field(default='', alias="altNames", description="A comma-delimited list of Subject Alternative Names (SANs) for the certificate; these can be host names or email addresses.") - ttl: StrictStr = Field(default=..., description="The time to live for the certificate such as 1m, 1h, 1d, 1y, ...") - not_before: Optional[StrictStr] = Field(default=None, alias="notBefore", description="The date and time when the certificate becomes valid in YYYY-MM-DDTHH:mm:ss.sssZ format") - not_after: Optional[StrictStr] = Field(default=None, alias="notAfter", description="The date and time when the certificate expires in YYYY-MM-DDTHH:mm:ss.sssZ format") - __properties = ["friendlyName", "commonName", "altNames", "ttl", "notBefore", "notAfter"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdIssueCertificatePostRequest: - """Create an instance of ApiV1PkiCaCaIdIssueCertificatePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdIssueCertificatePostRequest: - """Create an instance of ApiV1PkiCaCaIdIssueCertificatePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdIssueCertificatePostRequest.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdIssueCertificatePostRequest.parse_obj({ - "friendly_name": obj.get("friendlyName"), - "common_name": obj.get("commonName"), - "alt_names": obj.get("altNames") if obj.get("altNames") is not None else '', - "ttl": obj.get("ttl"), - "not_before": obj.get("notBefore"), - "not_after": obj.get("notAfter") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_patch_request.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_patch_request.py deleted file mode 100644 index b4be331..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_patch_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV1PkiCaCaIdPatchRequest(BaseModel): - """ - ApiV1PkiCaCaIdPatchRequest - """ - status: Optional[StrictStr] = Field(default=None, description="The status of the CA to update to. This can be one of active or disabled") - __properties = ["status"] - - @validator('status') - def status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('active', 'disabled'): - raise ValueError("must be one of enum values ('active', 'disabled')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdPatchRequest: - """Create an instance of ApiV1PkiCaCaIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdPatchRequest: - """Create an instance of ApiV1PkiCaCaIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdPatchRequest.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdPatchRequest.parse_obj({ - "status": obj.get("status") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_certificate_post200_response.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_certificate_post200_response.py deleted file mode 100644 index 508c1de..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_certificate_post200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PkiCaCaIdSignCertificatePost200Response(BaseModel): - """ - ApiV1PkiCaCaIdSignCertificatePost200Response - """ - certificate: StrictStr = Field(default=..., description="The issued certificate") - issuing_ca_certificate: StrictStr = Field(default=..., alias="issuingCaCertificate", description="The certificate of the issuing CA") - certificate_chain: StrictStr = Field(default=..., alias="certificateChain", description="The certificate chain of the issued certificate") - serial_number: StrictStr = Field(default=..., alias="serialNumber", description="The serial number of the issued certificate") - __properties = ["certificate", "issuingCaCertificate", "certificateChain", "serialNumber"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdSignCertificatePost200Response: - """Create an instance of ApiV1PkiCaCaIdSignCertificatePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdSignCertificatePost200Response: - """Create an instance of ApiV1PkiCaCaIdSignCertificatePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdSignCertificatePost200Response.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdSignCertificatePost200Response.parse_obj({ - "certificate": obj.get("certificate"), - "issuing_ca_certificate": obj.get("issuingCaCertificate"), - "certificate_chain": obj.get("certificateChain"), - "serial_number": obj.get("serialNumber") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_certificate_post_request.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_certificate_post_request.py deleted file mode 100644 index 4496149..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_certificate_post_request.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr - -class ApiV1PkiCaCaIdSignCertificatePostRequest(BaseModel): - """ - ApiV1PkiCaCaIdSignCertificatePostRequest - """ - csr: constr(strict=True, min_length=1) = Field(default=..., description="The pem-encoded CSR to sign with the CA to be used for certificate issuance") - friendly_name: Optional[StrictStr] = Field(default=None, alias="friendlyName", description="A friendly name for the certificate") - common_name: Optional[constr(strict=True, min_length=1)] = Field(default=None, alias="commonName", description="The common name (CN) for the certificate") - alt_names: Optional[StrictStr] = Field(default='', alias="altNames", description="A comma-delimited list of Subject Alternative Names (SANs) for the certificate; these can be host names or email addresses.") - ttl: StrictStr = Field(default=..., description="The time to live for the certificate such as 1m, 1h, 1d, 1y, ...") - not_before: Optional[StrictStr] = Field(default=None, alias="notBefore", description="The date and time when the certificate becomes valid in YYYY-MM-DDTHH:mm:ss.sssZ format") - not_after: Optional[StrictStr] = Field(default=None, alias="notAfter", description="The date and time when the certificate expires in YYYY-MM-DDTHH:mm:ss.sssZ format") - __properties = ["csr", "friendlyName", "commonName", "altNames", "ttl", "notBefore", "notAfter"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdSignCertificatePostRequest: - """Create an instance of ApiV1PkiCaCaIdSignCertificatePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdSignCertificatePostRequest: - """Create an instance of ApiV1PkiCaCaIdSignCertificatePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdSignCertificatePostRequest.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdSignCertificatePostRequest.parse_obj({ - "csr": obj.get("csr"), - "friendly_name": obj.get("friendlyName"), - "common_name": obj.get("commonName"), - "alt_names": obj.get("altNames") if obj.get("altNames") is not None else '', - "ttl": obj.get("ttl"), - "not_before": obj.get("notBefore"), - "not_after": obj.get("notAfter") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_intermediate_post200_response.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_intermediate_post200_response.py deleted file mode 100644 index 245be45..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_intermediate_post200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PkiCaCaIdSignIntermediatePost200Response(BaseModel): - """ - ApiV1PkiCaCaIdSignIntermediatePost200Response - """ - certificate: StrictStr = Field(default=..., description="The signed intermediate certificate") - certificate_chain: StrictStr = Field(default=..., alias="certificateChain", description="The certificate chain of the intermediate certificate") - issuing_ca_certificate: StrictStr = Field(default=..., alias="issuingCaCertificate", description="The certificate of the issuing CA") - serial_number: StrictStr = Field(default=..., alias="serialNumber", description="The serial number of the intermediate certificate") - __properties = ["certificate", "certificateChain", "issuingCaCertificate", "serialNumber"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdSignIntermediatePost200Response: - """Create an instance of ApiV1PkiCaCaIdSignIntermediatePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdSignIntermediatePost200Response: - """Create an instance of ApiV1PkiCaCaIdSignIntermediatePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdSignIntermediatePost200Response.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdSignIntermediatePost200Response.parse_obj({ - "certificate": obj.get("certificate"), - "certificate_chain": obj.get("certificateChain"), - "issuing_ca_certificate": obj.get("issuingCaCertificate"), - "serial_number": obj.get("serialNumber") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_intermediate_post_request.py b/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_intermediate_post_request.py deleted file mode 100644 index 132f1b3..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_intermediate_post_request.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint, constr - -class ApiV1PkiCaCaIdSignIntermediatePostRequest(BaseModel): - """ - ApiV1PkiCaCaIdSignIntermediatePostRequest - """ - csr: constr(strict=True, min_length=1) = Field(default=..., description="The pem-encoded CSR to sign with the CA") - not_before: Optional[StrictStr] = Field(default=None, alias="notBefore", description="The date and time when the intermediate CA becomes valid in YYYY-MM-DDTHH:mm:ss.sssZ format") - not_after: StrictStr = Field(default=..., alias="notAfter", description="The date and time when the intermediate CA expires in YYYY-MM-DDTHH:mm:ss.sssZ format") - max_path_length: Optional[Union[confloat(ge=-1, strict=True), conint(ge=-1, strict=True)]] = Field(default=-1, alias="maxPathLength", description="The maximum number of intermediate CAs that may follow this CA in the certificate / CA chain. A maxPathLength of -1 implies no path limit on the chain.") - __properties = ["csr", "notBefore", "notAfter", "maxPathLength"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaCaIdSignIntermediatePostRequest: - """Create an instance of ApiV1PkiCaCaIdSignIntermediatePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaCaIdSignIntermediatePostRequest: - """Create an instance of ApiV1PkiCaCaIdSignIntermediatePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaCaIdSignIntermediatePostRequest.parse_obj(obj) - - _obj = ApiV1PkiCaCaIdSignIntermediatePostRequest.parse_obj({ - "csr": obj.get("csr"), - "not_before": obj.get("notBefore"), - "not_after": obj.get("notAfter"), - "max_path_length": obj.get("maxPathLength") if obj.get("maxPathLength") is not None else -1 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_post200_response.py b/infisicalapi_client/models/api_v1_pki_ca_post200_response.py deleted file mode 100644 index a89cb4a..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_pki_ca_post200_response_ca import ApiV1PkiCaPost200ResponseCa - -class ApiV1PkiCaPost200Response(BaseModel): - """ - ApiV1PkiCaPost200Response - """ - ca: ApiV1PkiCaPost200ResponseCa = Field(...) - __properties = ["ca"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaPost200Response: - """Create an instance of ApiV1PkiCaPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of ca - if self.ca: - _dict['ca'] = self.ca.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaPost200Response: - """Create an instance of ApiV1PkiCaPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaPost200Response.parse_obj(obj) - - _obj = ApiV1PkiCaPost200Response.parse_obj({ - "ca": ApiV1PkiCaPost200ResponseCa.from_dict(obj.get("ca")) if obj.get("ca") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_post200_response_ca.py b/infisicalapi_client/models/api_v1_pki_ca_post200_response_ca.py deleted file mode 100644 index 2972558..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_post200_response_ca.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1PkiCaPost200ResponseCa(BaseModel): - """ - ApiV1PkiCaPost200ResponseCa - """ - id: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - parent_ca_id: Optional[StrictStr] = Field(default=None, alias="parentCaId") - project_id: StrictStr = Field(default=..., alias="projectId") - type: StrictStr = Field(...) - status: StrictStr = Field(...) - friendly_name: StrictStr = Field(default=..., alias="friendlyName") - organization: StrictStr = Field(...) - ou: StrictStr = Field(...) - country: StrictStr = Field(...) - province: StrictStr = Field(...) - locality: StrictStr = Field(...) - common_name: StrictStr = Field(default=..., alias="commonName") - dn: StrictStr = Field(...) - serial_number: Optional[StrictStr] = Field(default=None, alias="serialNumber") - max_path_length: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="maxPathLength") - key_algorithm: StrictStr = Field(default=..., alias="keyAlgorithm") - not_before: Optional[datetime] = Field(default=None, alias="notBefore") - not_after: Optional[datetime] = Field(default=None, alias="notAfter") - __properties = ["id", "createdAt", "updatedAt", "parentCaId", "projectId", "type", "status", "friendlyName", "organization", "ou", "country", "province", "locality", "commonName", "dn", "serialNumber", "maxPathLength", "keyAlgorithm", "notBefore", "notAfter"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaPost200ResponseCa: - """Create an instance of ApiV1PkiCaPost200ResponseCa from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if parent_ca_id (nullable) is None - # and __fields_set__ contains the field - if self.parent_ca_id is None and "parent_ca_id" in self.__fields_set__: - _dict['parentCaId'] = None - - # set to None if serial_number (nullable) is None - # and __fields_set__ contains the field - if self.serial_number is None and "serial_number" in self.__fields_set__: - _dict['serialNumber'] = None - - # set to None if max_path_length (nullable) is None - # and __fields_set__ contains the field - if self.max_path_length is None and "max_path_length" in self.__fields_set__: - _dict['maxPathLength'] = None - - # set to None if not_before (nullable) is None - # and __fields_set__ contains the field - if self.not_before is None and "not_before" in self.__fields_set__: - _dict['notBefore'] = None - - # set to None if not_after (nullable) is None - # and __fields_set__ contains the field - if self.not_after is None and "not_after" in self.__fields_set__: - _dict['notAfter'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaPost200ResponseCa: - """Create an instance of ApiV1PkiCaPost200ResponseCa from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaPost200ResponseCa.parse_obj(obj) - - _obj = ApiV1PkiCaPost200ResponseCa.parse_obj({ - "id": obj.get("id"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "parent_ca_id": obj.get("parentCaId"), - "project_id": obj.get("projectId"), - "type": obj.get("type"), - "status": obj.get("status"), - "friendly_name": obj.get("friendlyName"), - "organization": obj.get("organization"), - "ou": obj.get("ou"), - "country": obj.get("country"), - "province": obj.get("province"), - "locality": obj.get("locality"), - "common_name": obj.get("commonName"), - "dn": obj.get("dn"), - "serial_number": obj.get("serialNumber"), - "max_path_length": obj.get("maxPathLength"), - "key_algorithm": obj.get("keyAlgorithm"), - "not_before": obj.get("notBefore"), - "not_after": obj.get("notAfter") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_ca_post_request.py b/infisicalapi_client/models/api_v1_pki_ca_post_request.py deleted file mode 100644 index 30a80e1..0000000 --- a/infisicalapi_client/models/api_v1_pki_ca_post_request.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint, validator - -class ApiV1PkiCaPostRequest(BaseModel): - """ - ApiV1PkiCaPostRequest - """ - project_slug: StrictStr = Field(default=..., alias="projectSlug", description="Slug of the project to create the CA in.") - type: StrictStr = Field(default=..., description="The type of CA to create") - friendly_name: Optional[StrictStr] = Field(default=None, alias="friendlyName", description="A friendly name for the CA") - common_name: StrictStr = Field(default=..., alias="commonName", description="The common name (CN) for the CA") - organization: StrictStr = Field(default=..., description="The organization (O) for the CA") - ou: StrictStr = Field(default=..., description="The organization unit (OU) for the CA") - country: StrictStr = Field(default=..., description="The country name (C) for the CA") - province: StrictStr = Field(default=..., description="The state of province name for the CA") - locality: StrictStr = Field(default=..., description="The locality name for the CA") - not_before: Optional[StrictStr] = Field(default=None, alias="notBefore", description="The date and time when the CA becomes valid in YYYY-MM-DDTHH:mm:ss.sssZ format") - not_after: Optional[StrictStr] = Field(default=None, alias="notAfter", description="The date and time when the CA expires in YYYY-MM-DDTHH:mm:ss.sssZ format") - max_path_length: Optional[Union[confloat(ge=-1, strict=True), conint(ge=-1, strict=True)]] = Field(default=-1, alias="maxPathLength", description="The maximum number of intermediate CAs that may follow this CA in the certificate / CA chain. A maxPathLength of -1 implies no path limit on the chain.") - key_algorithm: Optional[StrictStr] = Field(default='RSA_2048', alias="keyAlgorithm", description="The type of public key algorithm and size, in bits, of the key pair for the CA; when you create an intermediate CA, you must use a key algorithm supported by the parent CA.") - __properties = ["projectSlug", "type", "friendlyName", "commonName", "organization", "ou", "country", "province", "locality", "notBefore", "notAfter", "maxPathLength", "keyAlgorithm"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('root', 'intermediate'): - raise ValueError("must be one of enum values ('root', 'intermediate')") - return value - - @validator('key_algorithm') - def key_algorithm_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('RSA_2048', 'RSA_4096', 'EC_prime256v1', 'EC_secp384r1'): - raise ValueError("must be one of enum values ('RSA_2048', 'RSA_4096', 'EC_prime256v1', 'EC_secp384r1')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCaPostRequest: - """Create an instance of ApiV1PkiCaPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCaPostRequest: - """Create an instance of ApiV1PkiCaPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCaPostRequest.parse_obj(obj) - - _obj = ApiV1PkiCaPostRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "type": obj.get("type"), - "friendly_name": obj.get("friendlyName"), - "common_name": obj.get("commonName"), - "organization": obj.get("organization"), - "ou": obj.get("ou"), - "country": obj.get("country"), - "province": obj.get("province"), - "locality": obj.get("locality"), - "not_before": obj.get("notBefore"), - "not_after": obj.get("notAfter"), - "max_path_length": obj.get("maxPathLength") if obj.get("maxPathLength") is not None else -1, - "key_algorithm": obj.get("keyAlgorithm") if obj.get("keyAlgorithm") is not None else 'RSA_2048' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_certificates_serial_number_certificate_get200_response.py b/infisicalapi_client/models/api_v1_pki_certificates_serial_number_certificate_get200_response.py deleted file mode 100644 index efe2ac5..0000000 --- a/infisicalapi_client/models/api_v1_pki_certificates_serial_number_certificate_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PkiCertificatesSerialNumberCertificateGet200Response(BaseModel): - """ - ApiV1PkiCertificatesSerialNumberCertificateGet200Response - """ - certificate: StrictStr = Field(default=..., description="The certificate body of the certificate") - certificate_chain: StrictStr = Field(default=..., alias="certificateChain", description="The certificate chain of the certificate") - serial_number: StrictStr = Field(default=..., alias="serialNumber", description="The serial number of the certificate") - __properties = ["certificate", "certificateChain", "serialNumber"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCertificatesSerialNumberCertificateGet200Response: - """Create an instance of ApiV1PkiCertificatesSerialNumberCertificateGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCertificatesSerialNumberCertificateGet200Response: - """Create an instance of ApiV1PkiCertificatesSerialNumberCertificateGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCertificatesSerialNumberCertificateGet200Response.parse_obj(obj) - - _obj = ApiV1PkiCertificatesSerialNumberCertificateGet200Response.parse_obj({ - "certificate": obj.get("certificate"), - "certificate_chain": obj.get("certificateChain"), - "serial_number": obj.get("serialNumber") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_certificates_serial_number_get200_response.py b/infisicalapi_client/models/api_v1_pki_certificates_serial_number_get200_response.py deleted file mode 100644 index 5f0397d..0000000 --- a/infisicalapi_client/models/api_v1_pki_certificates_serial_number_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response_certificate import ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate - -class ApiV1PkiCertificatesSerialNumberGet200Response(BaseModel): - """ - ApiV1PkiCertificatesSerialNumberGet200Response - """ - certificate: ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate = Field(...) - __properties = ["certificate"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCertificatesSerialNumberGet200Response: - """Create an instance of ApiV1PkiCertificatesSerialNumberGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of certificate - if self.certificate: - _dict['certificate'] = self.certificate.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCertificatesSerialNumberGet200Response: - """Create an instance of ApiV1PkiCertificatesSerialNumberGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCertificatesSerialNumberGet200Response.parse_obj(obj) - - _obj = ApiV1PkiCertificatesSerialNumberGet200Response.parse_obj({ - "certificate": ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.from_dict(obj.get("certificate")) if obj.get("certificate") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_certificates_serial_number_get200_response_certificate.py b/infisicalapi_client/models/api_v1_pki_certificates_serial_number_get200_response_certificate.py deleted file mode 100644 index a11b0c6..0000000 --- a/infisicalapi_client/models/api_v1_pki_certificates_serial_number_get200_response_certificate.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate(BaseModel): - """ - ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate - """ - id: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - ca_id: StrictStr = Field(default=..., alias="caId") - status: StrictStr = Field(...) - serial_number: StrictStr = Field(default=..., alias="serialNumber") - friendly_name: StrictStr = Field(default=..., alias="friendlyName") - common_name: StrictStr = Field(default=..., alias="commonName") - not_before: datetime = Field(default=..., alias="notBefore") - not_after: datetime = Field(default=..., alias="notAfter") - revoked_at: Optional[datetime] = Field(default=None, alias="revokedAt") - revocation_reason: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="revocationReason") - alt_names: Optional[StrictStr] = Field(default='', alias="altNames") - __properties = ["id", "createdAt", "updatedAt", "caId", "status", "serialNumber", "friendlyName", "commonName", "notBefore", "notAfter", "revokedAt", "revocationReason", "altNames"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate: - """Create an instance of ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if revoked_at (nullable) is None - # and __fields_set__ contains the field - if self.revoked_at is None and "revoked_at" in self.__fields_set__: - _dict['revokedAt'] = None - - # set to None if revocation_reason (nullable) is None - # and __fields_set__ contains the field - if self.revocation_reason is None and "revocation_reason" in self.__fields_set__: - _dict['revocationReason'] = None - - # set to None if alt_names (nullable) is None - # and __fields_set__ contains the field - if self.alt_names is None and "alt_names" in self.__fields_set__: - _dict['altNames'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate: - """Create an instance of ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.parse_obj(obj) - - _obj = ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.parse_obj({ - "id": obj.get("id"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "ca_id": obj.get("caId"), - "status": obj.get("status"), - "serial_number": obj.get("serialNumber"), - "friendly_name": obj.get("friendlyName"), - "common_name": obj.get("commonName"), - "not_before": obj.get("notBefore"), - "not_after": obj.get("notAfter"), - "revoked_at": obj.get("revokedAt"), - "revocation_reason": obj.get("revocationReason"), - "alt_names": obj.get("altNames") if obj.get("altNames") is not None else '' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_certificates_serial_number_revoke_post200_response.py b/infisicalapi_client/models/api_v1_pki_certificates_serial_number_revoke_post200_response.py deleted file mode 100644 index 7b509fe..0000000 --- a/infisicalapi_client/models/api_v1_pki_certificates_serial_number_revoke_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1PkiCertificatesSerialNumberRevokePost200Response(BaseModel): - """ - ApiV1PkiCertificatesSerialNumberRevokePost200Response - """ - message: StrictStr = Field(...) - serial_number: StrictStr = Field(default=..., alias="serialNumber", description="The serial number of the revoked certificate.") - revoked_at: datetime = Field(default=..., alias="revokedAt", description="The date and time when the certificate was revoked") - __properties = ["message", "serialNumber", "revokedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCertificatesSerialNumberRevokePost200Response: - """Create an instance of ApiV1PkiCertificatesSerialNumberRevokePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCertificatesSerialNumberRevokePost200Response: - """Create an instance of ApiV1PkiCertificatesSerialNumberRevokePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCertificatesSerialNumberRevokePost200Response.parse_obj(obj) - - _obj = ApiV1PkiCertificatesSerialNumberRevokePost200Response.parse_obj({ - "message": obj.get("message"), - "serial_number": obj.get("serialNumber"), - "revoked_at": obj.get("revokedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_pki_certificates_serial_number_revoke_post_request.py b/infisicalapi_client/models/api_v1_pki_certificates_serial_number_revoke_post_request.py deleted file mode 100644 index 7e4d32c..0000000 --- a/infisicalapi_client/models/api_v1_pki_certificates_serial_number_revoke_post_request.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV1PkiCertificatesSerialNumberRevokePostRequest(BaseModel): - """ - ApiV1PkiCertificatesSerialNumberRevokePostRequest - """ - revocation_reason: StrictStr = Field(default=..., alias="revocationReason", description="The reason for revoking the certificate.") - __properties = ["revocationReason"] - - @validator('revocation_reason') - def revocation_reason_validate_enum(cls, value): - """Validates the enum""" - if value not in ('UNSPECIFIED', 'KEY_COMPROMISE', 'CA_COMPROMISE', 'AFFILIATION_CHANGED', 'SUPERSEDED', 'CESSATION_OF_OPERATION', 'CERTIFICATE_HOLD', 'PRIVILEGE_WITHDRAWN', 'A_A_COMPROMISE'): - raise ValueError("must be one of enum values ('UNSPECIFIED', 'KEY_COMPROMISE', 'CA_COMPROMISE', 'AFFILIATION_CHANGED', 'SUPERSEDED', 'CESSATION_OF_OPERATION', 'CERTIFICATE_HOLD', 'PRIVILEGE_WITHDRAWN', 'A_A_COMPROMISE')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1PkiCertificatesSerialNumberRevokePostRequest: - """Create an instance of ApiV1PkiCertificatesSerialNumberRevokePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1PkiCertificatesSerialNumberRevokePostRequest: - """Create an instance of ApiV1PkiCertificatesSerialNumberRevokePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1PkiCertificatesSerialNumberRevokePostRequest.parse_obj(obj) - - _obj = ApiV1PkiCertificatesSerialNumberRevokePostRequest.parse_obj({ - "revocation_reason": obj.get("revocationReason") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_rate_limit_get200_response.py b/infisicalapi_client/models/api_v1_rate_limit_get200_response.py deleted file mode 100644 index 258fc8b..0000000 --- a/infisicalapi_client/models/api_v1_rate_limit_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_rate_limit_get200_response_rate_limit import ApiV1RateLimitGet200ResponseRateLimit - -class ApiV1RateLimitGet200Response(BaseModel): - """ - ApiV1RateLimitGet200Response - """ - rate_limit: ApiV1RateLimitGet200ResponseRateLimit = Field(default=..., alias="rateLimit") - __properties = ["rateLimit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1RateLimitGet200Response: - """Create an instance of ApiV1RateLimitGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of rate_limit - if self.rate_limit: - _dict['rateLimit'] = self.rate_limit.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1RateLimitGet200Response: - """Create an instance of ApiV1RateLimitGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1RateLimitGet200Response.parse_obj(obj) - - _obj = ApiV1RateLimitGet200Response.parse_obj({ - "rate_limit": ApiV1RateLimitGet200ResponseRateLimit.from_dict(obj.get("rateLimit")) if obj.get("rateLimit") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_rate_limit_get200_response_rate_limit.py b/infisicalapi_client/models/api_v1_rate_limit_get200_response_rate_limit.py deleted file mode 100644 index a0aeb49..0000000 --- a/infisicalapi_client/models/api_v1_rate_limit_get200_response_rate_limit.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1RateLimitGet200ResponseRateLimit(BaseModel): - """ - ApiV1RateLimitGet200ResponseRateLimit - """ - id: StrictStr = Field(...) - read_rate_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=600, alias="readRateLimit") - write_rate_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=200, alias="writeRateLimit") - secrets_rate_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=60, alias="secretsRateLimit") - auth_rate_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=60, alias="authRateLimit") - invite_user_rate_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=30, alias="inviteUserRateLimit") - mfa_rate_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=20, alias="mfaRateLimit") - public_endpoint_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=30, alias="publicEndpointLimit") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "readRateLimit", "writeRateLimit", "secretsRateLimit", "authRateLimit", "inviteUserRateLimit", "mfaRateLimit", "publicEndpointLimit", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1RateLimitGet200ResponseRateLimit: - """Create an instance of ApiV1RateLimitGet200ResponseRateLimit from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1RateLimitGet200ResponseRateLimit: - """Create an instance of ApiV1RateLimitGet200ResponseRateLimit from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1RateLimitGet200ResponseRateLimit.parse_obj(obj) - - _obj = ApiV1RateLimitGet200ResponseRateLimit.parse_obj({ - "id": obj.get("id"), - "read_rate_limit": obj.get("readRateLimit") if obj.get("readRateLimit") is not None else 600, - "write_rate_limit": obj.get("writeRateLimit") if obj.get("writeRateLimit") is not None else 200, - "secrets_rate_limit": obj.get("secretsRateLimit") if obj.get("secretsRateLimit") is not None else 60, - "auth_rate_limit": obj.get("authRateLimit") if obj.get("authRateLimit") is not None else 60, - "invite_user_rate_limit": obj.get("inviteUserRateLimit") if obj.get("inviteUserRateLimit") is not None else 30, - "mfa_rate_limit": obj.get("mfaRateLimit") if obj.get("mfaRateLimit") is not None else 20, - "public_endpoint_limit": obj.get("publicEndpointLimit") if obj.get("publicEndpointLimit") is not None else 30, - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_rate_limit_put_request.py b/infisicalapi_client/models/api_v1_rate_limit_put_request.py deleted file mode 100644 index 2b5c086..0000000 --- a/infisicalapi_client/models/api_v1_rate_limit_put_request.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt - -class ApiV1RateLimitPutRequest(BaseModel): - """ - ApiV1RateLimitPutRequest - """ - read_rate_limit: Union[StrictFloat, StrictInt] = Field(default=..., alias="readRateLimit") - write_rate_limit: Union[StrictFloat, StrictInt] = Field(default=..., alias="writeRateLimit") - secrets_rate_limit: Union[StrictFloat, StrictInt] = Field(default=..., alias="secretsRateLimit") - auth_rate_limit: Union[StrictFloat, StrictInt] = Field(default=..., alias="authRateLimit") - invite_user_rate_limit: Union[StrictFloat, StrictInt] = Field(default=..., alias="inviteUserRateLimit") - mfa_rate_limit: Union[StrictFloat, StrictInt] = Field(default=..., alias="mfaRateLimit") - public_endpoint_limit: Union[StrictFloat, StrictInt] = Field(default=..., alias="publicEndpointLimit") - __properties = ["readRateLimit", "writeRateLimit", "secretsRateLimit", "authRateLimit", "inviteUserRateLimit", "mfaRateLimit", "publicEndpointLimit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1RateLimitPutRequest: - """Create an instance of ApiV1RateLimitPutRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1RateLimitPutRequest: - """Create an instance of ApiV1RateLimitPutRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1RateLimitPutRequest.parse_obj(obj) - - _obj = ApiV1RateLimitPutRequest.parse_obj({ - "read_rate_limit": obj.get("readRateLimit"), - "write_rate_limit": obj.get("writeRateLimit"), - "secrets_rate_limit": obj.get("secretsRateLimit"), - "auth_rate_limit": obj.get("authRateLimit"), - "invite_user_rate_limit": obj.get("inviteUserRateLimit"), - "mfa_rate_limit": obj.get("mfaRateLimit"), - "public_endpoint_limit": obj.get("publicEndpointLimit") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_get200_response.py b/infisicalapi_client/models/api_v1_scim_groups_get200_response.py deleted file mode 100644 index 8c2cfb2..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_get200_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner import ApiV1ScimGroupsGet200ResponseResourcesInner - -class ApiV1ScimGroupsGet200Response(BaseModel): - """ - ApiV1ScimGroupsGet200Response - """ - resources: conlist(ApiV1ScimGroupsGet200ResponseResourcesInner) = Field(default=..., alias="Resources") - items_per_page: Union[StrictFloat, StrictInt] = Field(default=..., alias="itemsPerPage") - schemas: conlist(StrictStr) = Field(...) - start_index: Union[StrictFloat, StrictInt] = Field(default=..., alias="startIndex") - total_results: Union[StrictFloat, StrictInt] = Field(default=..., alias="totalResults") - __properties = ["Resources", "itemsPerPage", "schemas", "startIndex", "totalResults"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGet200Response: - """Create an instance of ApiV1ScimGroupsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in resources (list) - _items = [] - if self.resources: - for _item in self.resources: - if _item: - _items.append(_item.to_dict()) - _dict['Resources'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGet200Response: - """Create an instance of ApiV1ScimGroupsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsGet200Response.parse_obj(obj) - - _obj = ApiV1ScimGroupsGet200Response.parse_obj({ - "resources": [ApiV1ScimGroupsGet200ResponseResourcesInner.from_dict(_item) for _item in obj.get("Resources")] if obj.get("Resources") is not None else None, - "items_per_page": obj.get("itemsPerPage"), - "schemas": obj.get("schemas"), - "start_index": obj.get("startIndex"), - "total_results": obj.get("totalResults") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_get200_response_resources_inner.py b/infisicalapi_client/models/api_v1_scim_groups_get200_response_resources_inner.py deleted file mode 100644 index f715808..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_get200_response_resources_inner.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner_meta import ApiV1ScimGroupsGet200ResponseResourcesInnerMeta -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response_groups_inner import ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner - -class ApiV1ScimGroupsGet200ResponseResourcesInner(BaseModel): - """ - ApiV1ScimGroupsGet200ResponseResourcesInner - """ - schemas: conlist(StrictStr) = Field(...) - id: StrictStr = Field(...) - display_name: StrictStr = Field(default=..., alias="displayName") - members: conlist(ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner) = Field(...) - meta: ApiV1ScimGroupsGet200ResponseResourcesInnerMeta = Field(...) - __properties = ["schemas", "id", "displayName", "members", "meta"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGet200ResponseResourcesInner: - """Create an instance of ApiV1ScimGroupsGet200ResponseResourcesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in members (list) - _items = [] - if self.members: - for _item in self.members: - if _item: - _items.append(_item.to_dict()) - _dict['members'] = _items - # override the default output from pydantic by calling `to_dict()` of meta - if self.meta: - _dict['meta'] = self.meta.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGet200ResponseResourcesInner: - """Create an instance of ApiV1ScimGroupsGet200ResponseResourcesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsGet200ResponseResourcesInner.parse_obj(obj) - - _obj = ApiV1ScimGroupsGet200ResponseResourcesInner.parse_obj({ - "schemas": obj.get("schemas"), - "id": obj.get("id"), - "display_name": obj.get("displayName"), - "members": [ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.from_dict(_item) for _item in obj.get("members")] if obj.get("members") is not None else None, - "meta": ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.from_dict(obj.get("meta")) if obj.get("meta") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_get200_response_resources_inner_meta.py b/infisicalapi_client/models/api_v1_scim_groups_get200_response_resources_inner_meta.py deleted file mode 100644 index 67bd76c..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_get200_response_resources_inner_meta.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1ScimGroupsGet200ResponseResourcesInnerMeta(BaseModel): - """ - ApiV1ScimGroupsGet200ResponseResourcesInnerMeta - """ - resource_type: StrictStr = Field(default=..., alias="resourceType") - __properties = ["resourceType"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGet200ResponseResourcesInnerMeta: - """Create an instance of ApiV1ScimGroupsGet200ResponseResourcesInnerMeta from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGet200ResponseResourcesInnerMeta: - """Create an instance of ApiV1ScimGroupsGet200ResponseResourcesInnerMeta from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.parse_obj(obj) - - _obj = ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.parse_obj({ - "resource_type": obj.get("resourceType") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request.py b/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request.py deleted file mode 100644 index 1e7819c..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner import ApiV1ScimGroupsGroupIdPatchRequestOperationsInner - -class ApiV1ScimGroupsGroupIdPatchRequest(BaseModel): - """ - ApiV1ScimGroupsGroupIdPatchRequest - """ - schemas: conlist(StrictStr) = Field(...) - operations: conlist(ApiV1ScimGroupsGroupIdPatchRequestOperationsInner) = Field(default=..., alias="Operations") - __properties = ["schemas", "Operations"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGroupIdPatchRequest: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in operations (list) - _items = [] - if self.operations: - for _item in self.operations: - if _item: - _items.append(_item.to_dict()) - _dict['Operations'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGroupIdPatchRequest: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsGroupIdPatchRequest.parse_obj(obj) - - _obj = ApiV1ScimGroupsGroupIdPatchRequest.parse_obj({ - "schemas": obj.get("schemas"), - "operations": [ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.from_dict(_item) for _item in obj.get("Operations")] if obj.get("Operations") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner.py b/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner.py deleted file mode 100644 index 08668d9..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1 import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2 import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV1SCIMGROUPSGROUPIDPATCHREQUESTOPERATIONSINNER_ANY_OF_SCHEMAS = ["ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf", "ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1", "ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2"] - -class ApiV1ScimGroupsGroupIdPatchRequestOperationsInner(BaseModel): - """ - ApiV1ScimGroupsGroupIdPatchRequestOperationsInner - """ - - # data type: ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf - anyof_schema_1_validator: Optional[ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf] = None - # data type: ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 - anyof_schema_2_validator: Optional[ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1] = None - # data type: ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 - anyof_schema_3_validator: Optional[ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf, ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1, ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV1SCIMGROUPSGROUPIDPATCHREQUESTOPERATIONSINNER_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.construct() - error_messages = [] - # validate data type: ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf - if not isinstance(v, ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf`") - else: - return v - - # validate data type: ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 - if not isinstance(v, ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1`") - else: - return v - - # validate data type: ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 - if not isinstance(v, ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV1ScimGroupsGroupIdPatchRequestOperationsInner with anyOf schemas: ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf, ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1, ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInner: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInner: - """Returns the object represented by the json string""" - instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInner.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf] = None - try: - instance.actual_instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1] = None - try: - instance.actual_instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_3_validator: Optional[ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2] = None - try: - instance.actual_instance = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV1ScimGroupsGroupIdPatchRequestOperationsInner with anyOf schemas: ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf, ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1, ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of.py b/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of.py deleted file mode 100644 index 2165394..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue - -class ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf(BaseModel): - """ - ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf - """ - op: StrictStr = Field(...) - value: ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue = Field(...) - __properties = ["op", "value"] - - @validator('op') - def op_validate_enum(cls, value): - """Validates the enum""" - if value not in ('replace'): - raise ValueError("must be one of enum values ('replace')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of value - if self.value: - _dict['value'] = self.value.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.parse_obj(obj) - - _obj = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf.parse_obj({ - "op": obj.get("op"), - "value": ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.from_dict(obj.get("value")) if obj.get("value") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1.py b/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1.py deleted file mode 100644 index b4694cf..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1(BaseModel): - """ - ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 - """ - op: StrictStr = Field(...) - path: StrictStr = Field(...) - __properties = ["op", "path"] - - @validator('op') - def op_validate_enum(cls, value): - """Validates the enum""" - if value not in ('remove'): - raise ValueError("must be one of enum values ('remove')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.parse_obj(obj) - - _obj = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1.parse_obj({ - "op": obj.get("op"), - "path": obj.get("path") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2.py b/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2.py deleted file mode 100644 index bc74c34..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist, validator -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner - -class ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2(BaseModel): - """ - ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 - """ - op: StrictStr = Field(...) - path: StrictStr = Field(...) - value: conlist(ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner) = Field(...) - __properties = ["op", "path", "value"] - - @validator('op') - def op_validate_enum(cls, value): - """Validates the enum""" - if value not in ('add'): - raise ValueError("must be one of enum values ('add')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in value (list) - _items = [] - if self.value: - for _item in self.value: - if _item: - _items.append(_item.to_dict()) - _dict['value'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.parse_obj(obj) - - _obj = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2.parse_obj({ - "op": obj.get("op"), - "path": obj.get("path"), - "value": [ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.from_dict(_item) for _item in obj.get("value")] if obj.get("value") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner.py b/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner.py deleted file mode 100644 index f7c4882..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner(BaseModel): - """ - ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner - """ - value: StrictStr = Field(...) - display: Optional[StrictStr] = None - __properties = ["value", "display"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.parse_obj(obj) - - _obj = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner.parse_obj({ - "value": obj.get("value"), - "display": obj.get("display") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value.py b/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value.py deleted file mode 100644 index 0ae04db..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue(BaseModel): - """ - ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue - """ - id: StrictStr = Field(...) - display_name: StrictStr = Field(default=..., alias="displayName") - __properties = ["id", "displayName"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue: - """Create an instance of ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.parse_obj(obj) - - _obj = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue.parse_obj({ - "id": obj.get("id"), - "display_name": obj.get("displayName") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_group_id_put_request.py b/infisicalapi_client/models/api_v1_scim_groups_group_id_put_request.py deleted file mode 100644 index 421df9a..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_group_id_put_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response_groups_inner import ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner - -class ApiV1ScimGroupsGroupIdPutRequest(BaseModel): - """ - ApiV1ScimGroupsGroupIdPutRequest - """ - schemas: conlist(StrictStr) = Field(...) - id: StrictStr = Field(...) - display_name: StrictStr = Field(default=..., alias="displayName") - members: conlist(ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner) = Field(...) - __properties = ["schemas", "id", "displayName", "members"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsGroupIdPutRequest: - """Create an instance of ApiV1ScimGroupsGroupIdPutRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in members (list) - _items = [] - if self.members: - for _item in self.members: - if _item: - _items.append(_item.to_dict()) - _dict['members'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsGroupIdPutRequest: - """Create an instance of ApiV1ScimGroupsGroupIdPutRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsGroupIdPutRequest.parse_obj(obj) - - _obj = ApiV1ScimGroupsGroupIdPutRequest.parse_obj({ - "schemas": obj.get("schemas"), - "id": obj.get("id"), - "display_name": obj.get("displayName"), - "members": [ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.from_dict(_item) for _item in obj.get("members")] if obj.get("members") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_post200_response.py b/infisicalapi_client/models/api_v1_scim_groups_post200_response.py deleted file mode 100644 index 95e8a5a..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_post200_response.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner_meta import ApiV1ScimGroupsGet200ResponseResourcesInnerMeta -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response_groups_inner import ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner - -class ApiV1ScimGroupsPost200Response(BaseModel): - """ - ApiV1ScimGroupsPost200Response - """ - schemas: conlist(StrictStr) = Field(...) - id: StrictStr = Field(...) - display_name: StrictStr = Field(default=..., alias="displayName") - members: Optional[conlist(ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner)] = None - meta: ApiV1ScimGroupsGet200ResponseResourcesInnerMeta = Field(...) - __properties = ["schemas", "id", "displayName", "members", "meta"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsPost200Response: - """Create an instance of ApiV1ScimGroupsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in members (list) - _items = [] - if self.members: - for _item in self.members: - if _item: - _items.append(_item.to_dict()) - _dict['members'] = _items - # override the default output from pydantic by calling `to_dict()` of meta - if self.meta: - _dict['meta'] = self.meta.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsPost200Response: - """Create an instance of ApiV1ScimGroupsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsPost200Response.parse_obj(obj) - - _obj = ApiV1ScimGroupsPost200Response.parse_obj({ - "schemas": obj.get("schemas"), - "id": obj.get("id"), - "display_name": obj.get("displayName"), - "members": [ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.from_dict(_item) for _item in obj.get("members")] if obj.get("members") is not None else None, - "meta": ApiV1ScimGroupsGet200ResponseResourcesInnerMeta.from_dict(obj.get("meta")) if obj.get("meta") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_groups_post_request.py b/infisicalapi_client/models/api_v1_scim_groups_post_request.py deleted file mode 100644 index f01cdb3..0000000 --- a/infisicalapi_client/models/api_v1_scim_groups_post_request.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response_groups_inner import ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner - -class ApiV1ScimGroupsPostRequest(BaseModel): - """ - ApiV1ScimGroupsPostRequest - """ - schemas: conlist(StrictStr) = Field(...) - display_name: StrictStr = Field(default=..., alias="displayName") - members: Optional[conlist(ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner)] = None - __properties = ["schemas", "displayName", "members"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimGroupsPostRequest: - """Create an instance of ApiV1ScimGroupsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in members (list) - _items = [] - if self.members: - for _item in self.members: - if _item: - _items.append(_item.to_dict()) - _dict['members'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimGroupsPostRequest: - """Create an instance of ApiV1ScimGroupsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimGroupsPostRequest.parse_obj(obj) - - _obj = ApiV1ScimGroupsPostRequest.parse_obj({ - "schemas": obj.get("schemas"), - "display_name": obj.get("displayName"), - "members": [ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.from_dict(_item) for _item in obj.get("members")] if obj.get("members") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_scim_tokens_get200_response.py b/infisicalapi_client/models/api_v1_scim_scim_tokens_get200_response.py deleted file mode 100644 index 9f283e8..0000000 --- a/infisicalapi_client/models/api_v1_scim_scim_tokens_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response_scim_tokens_inner import ApiV1ScimScimTokensGet200ResponseScimTokensInner - -class ApiV1ScimScimTokensGet200Response(BaseModel): - """ - ApiV1ScimScimTokensGet200Response - """ - scim_tokens: conlist(ApiV1ScimScimTokensGet200ResponseScimTokensInner) = Field(default=..., alias="scimTokens") - __properties = ["scimTokens"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimScimTokensGet200Response: - """Create an instance of ApiV1ScimScimTokensGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in scim_tokens (list) - _items = [] - if self.scim_tokens: - for _item in self.scim_tokens: - if _item: - _items.append(_item.to_dict()) - _dict['scimTokens'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimScimTokensGet200Response: - """Create an instance of ApiV1ScimScimTokensGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimScimTokensGet200Response.parse_obj(obj) - - _obj = ApiV1ScimScimTokensGet200Response.parse_obj({ - "scim_tokens": [ApiV1ScimScimTokensGet200ResponseScimTokensInner.from_dict(_item) for _item in obj.get("scimTokens")] if obj.get("scimTokens") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_scim_tokens_get200_response_scim_tokens_inner.py b/infisicalapi_client/models/api_v1_scim_scim_tokens_get200_response_scim_tokens_inner.py deleted file mode 100644 index 8b03821..0000000 --- a/infisicalapi_client/models/api_v1_scim_scim_tokens_get200_response_scim_tokens_inner.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1ScimScimTokensGet200ResponseScimTokensInner(BaseModel): - """ - ApiV1ScimScimTokensGet200ResponseScimTokensInner - """ - id: StrictStr = Field(...) - ttl_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=365, alias="ttlDays") - description: StrictStr = Field(...) - org_id: StrictStr = Field(default=..., alias="orgId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "ttlDays", "description", "orgId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimScimTokensGet200ResponseScimTokensInner: - """Create an instance of ApiV1ScimScimTokensGet200ResponseScimTokensInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimScimTokensGet200ResponseScimTokensInner: - """Create an instance of ApiV1ScimScimTokensGet200ResponseScimTokensInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimScimTokensGet200ResponseScimTokensInner.parse_obj(obj) - - _obj = ApiV1ScimScimTokensGet200ResponseScimTokensInner.parse_obj({ - "id": obj.get("id"), - "ttl_days": obj.get("ttlDays") if obj.get("ttlDays") is not None else 365, - "description": obj.get("description"), - "org_id": obj.get("orgId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_scim_tokens_post200_response.py b/infisicalapi_client/models/api_v1_scim_scim_tokens_post200_response.py deleted file mode 100644 index 443ef47..0000000 --- a/infisicalapi_client/models/api_v1_scim_scim_tokens_post200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1ScimScimTokensPost200Response(BaseModel): - """ - ApiV1ScimScimTokensPost200Response - """ - scim_token: StrictStr = Field(default=..., alias="scimToken") - __properties = ["scimToken"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimScimTokensPost200Response: - """Create an instance of ApiV1ScimScimTokensPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimScimTokensPost200Response: - """Create an instance of ApiV1ScimScimTokensPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimScimTokensPost200Response.parse_obj(obj) - - _obj = ApiV1ScimScimTokensPost200Response.parse_obj({ - "scim_token": obj.get("scimToken") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_scim_tokens_post_request.py b/infisicalapi_client/models/api_v1_scim_scim_tokens_post_request.py deleted file mode 100644 index 3d491a1..0000000 --- a/infisicalapi_client/models/api_v1_scim_scim_tokens_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint - -class ApiV1ScimScimTokensPostRequest(BaseModel): - """ - ApiV1ScimScimTokensPostRequest - """ - organization_id: StrictStr = Field(default=..., alias="organizationId") - description: Optional[StrictStr] = '' - ttl_days: Optional[Union[confloat(ge=0, strict=True), conint(ge=0, strict=True)]] = Field(default=0, alias="ttlDays") - __properties = ["organizationId", "description", "ttlDays"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimScimTokensPostRequest: - """Create an instance of ApiV1ScimScimTokensPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimScimTokensPostRequest: - """Create an instance of ApiV1ScimScimTokensPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimScimTokensPostRequest.parse_obj(obj) - - _obj = ApiV1ScimScimTokensPostRequest.parse_obj({ - "organization_id": obj.get("organizationId"), - "description": obj.get("description") if obj.get("description") is not None else '', - "ttl_days": obj.get("ttlDays") if obj.get("ttlDays") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_scim_tokens_scim_token_id_delete200_response.py b/infisicalapi_client/models/api_v1_scim_scim_tokens_scim_token_id_delete200_response.py deleted file mode 100644 index 510abce..0000000 --- a/infisicalapi_client/models/api_v1_scim_scim_tokens_scim_token_id_delete200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response_scim_tokens_inner import ApiV1ScimScimTokensGet200ResponseScimTokensInner - -class ApiV1ScimScimTokensScimTokenIdDelete200Response(BaseModel): - """ - ApiV1ScimScimTokensScimTokenIdDelete200Response - """ - scim_token: ApiV1ScimScimTokensGet200ResponseScimTokensInner = Field(default=..., alias="scimToken") - __properties = ["scimToken"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimScimTokensScimTokenIdDelete200Response: - """Create an instance of ApiV1ScimScimTokensScimTokenIdDelete200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of scim_token - if self.scim_token: - _dict['scimToken'] = self.scim_token.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimScimTokensScimTokenIdDelete200Response: - """Create an instance of ApiV1ScimScimTokensScimTokenIdDelete200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimScimTokensScimTokenIdDelete200Response.parse_obj(obj) - - _obj = ApiV1ScimScimTokensScimTokenIdDelete200Response.parse_obj({ - "scim_token": ApiV1ScimScimTokensGet200ResponseScimTokensInner.from_dict(obj.get("scimToken")) if obj.get("scimToken") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_get200_response.py b/infisicalapi_client/models/api_v1_scim_users_get200_response.py deleted file mode 100644 index 73dcbb0..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_get200_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner import ApiV1ScimUsersGet200ResponseResourcesInner - -class ApiV1ScimUsersGet200Response(BaseModel): - """ - ApiV1ScimUsersGet200Response - """ - resources: conlist(ApiV1ScimUsersGet200ResponseResourcesInner) = Field(default=..., alias="Resources") - items_per_page: Union[StrictFloat, StrictInt] = Field(default=..., alias="itemsPerPage") - schemas: conlist(StrictStr) = Field(...) - start_index: Union[StrictFloat, StrictInt] = Field(default=..., alias="startIndex") - total_results: Union[StrictFloat, StrictInt] = Field(default=..., alias="totalResults") - __properties = ["Resources", "itemsPerPage", "schemas", "startIndex", "totalResults"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersGet200Response: - """Create an instance of ApiV1ScimUsersGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in resources (list) - _items = [] - if self.resources: - for _item in self.resources: - if _item: - _items.append(_item.to_dict()) - _dict['Resources'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersGet200Response: - """Create an instance of ApiV1ScimUsersGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersGet200Response.parse_obj(obj) - - _obj = ApiV1ScimUsersGet200Response.parse_obj({ - "resources": [ApiV1ScimUsersGet200ResponseResourcesInner.from_dict(_item) for _item in obj.get("Resources")] if obj.get("Resources") is not None else None, - "items_per_page": obj.get("itemsPerPage"), - "schemas": obj.get("schemas"), - "start_index": obj.get("startIndex"), - "total_results": obj.get("totalResults") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner.py b/infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner.py deleted file mode 100644 index dd21ad8..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_emails_inner import ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_name import ApiV1ScimUsersGet200ResponseResourcesInnerName - -class ApiV1ScimUsersGet200ResponseResourcesInner(BaseModel): - """ - ApiV1ScimUsersGet200ResponseResourcesInner - """ - id: StrictStr = Field(...) - user_name: StrictStr = Field(default=..., alias="userName") - name: ApiV1ScimUsersGet200ResponseResourcesInnerName = Field(...) - emails: conlist(ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner) = Field(...) - display_name: StrictStr = Field(default=..., alias="displayName") - active: StrictBool = Field(...) - __properties = ["id", "userName", "name", "emails", "displayName", "active"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersGet200ResponseResourcesInner: - """Create an instance of ApiV1ScimUsersGet200ResponseResourcesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of name - if self.name: - _dict['name'] = self.name.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in emails (list) - _items = [] - if self.emails: - for _item in self.emails: - if _item: - _items.append(_item.to_dict()) - _dict['emails'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersGet200ResponseResourcesInner: - """Create an instance of ApiV1ScimUsersGet200ResponseResourcesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersGet200ResponseResourcesInner.parse_obj(obj) - - _obj = ApiV1ScimUsersGet200ResponseResourcesInner.parse_obj({ - "id": obj.get("id"), - "user_name": obj.get("userName"), - "name": ApiV1ScimUsersGet200ResponseResourcesInnerName.from_dict(obj.get("name")) if obj.get("name") is not None else None, - "emails": [ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.from_dict(_item) for _item in obj.get("emails")] if obj.get("emails") is not None else None, - "display_name": obj.get("displayName"), - "active": obj.get("active") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner_emails_inner.py b/infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner_emails_inner.py deleted file mode 100644 index be29b1e..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner_emails_inner.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner(BaseModel): - """ - ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner - """ - primary: StrictBool = Field(...) - value: StrictStr = Field(...) - type: StrictStr = Field(...) - __properties = ["primary", "value", "type"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner: - """Create an instance of ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner: - """Create an instance of ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.parse_obj(obj) - - _obj = ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.parse_obj({ - "primary": obj.get("primary"), - "value": obj.get("value"), - "type": obj.get("type") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner_name.py b/infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner_name.py deleted file mode 100644 index 8856f29..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner_name.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1ScimUsersGet200ResponseResourcesInnerName(BaseModel): - """ - ApiV1ScimUsersGet200ResponseResourcesInnerName - """ - family_name: StrictStr = Field(default=..., alias="familyName") - given_name: StrictStr = Field(default=..., alias="givenName") - __properties = ["familyName", "givenName"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersGet200ResponseResourcesInnerName: - """Create an instance of ApiV1ScimUsersGet200ResponseResourcesInnerName from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersGet200ResponseResourcesInnerName: - """Create an instance of ApiV1ScimUsersGet200ResponseResourcesInnerName from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersGet200ResponseResourcesInnerName.parse_obj(obj) - - _obj = ApiV1ScimUsersGet200ResponseResourcesInnerName.parse_obj({ - "family_name": obj.get("familyName"), - "given_name": obj.get("givenName") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_org_membership_id_get201_response.py b/infisicalapi_client/models/api_v1_scim_users_org_membership_id_get201_response.py deleted file mode 100644 index 9c9941d..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_org_membership_id_get201_response.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_emails_inner import ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_name import ApiV1ScimUsersGet200ResponseResourcesInnerName -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response_groups_inner import ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner - -class ApiV1ScimUsersOrgMembershipIdGet201Response(BaseModel): - """ - ApiV1ScimUsersOrgMembershipIdGet201Response - """ - schemas: conlist(StrictStr) = Field(...) - id: StrictStr = Field(...) - user_name: StrictStr = Field(default=..., alias="userName") - name: ApiV1ScimUsersGet200ResponseResourcesInnerName = Field(...) - emails: conlist(ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner) = Field(...) - display_name: StrictStr = Field(default=..., alias="displayName") - active: StrictBool = Field(...) - groups: conlist(ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner) = Field(...) - __properties = ["schemas", "id", "userName", "name", "emails", "displayName", "active", "groups"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersOrgMembershipIdGet201Response: - """Create an instance of ApiV1ScimUsersOrgMembershipIdGet201Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of name - if self.name: - _dict['name'] = self.name.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in emails (list) - _items = [] - if self.emails: - for _item in self.emails: - if _item: - _items.append(_item.to_dict()) - _dict['emails'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in groups (list) - _items = [] - if self.groups: - for _item in self.groups: - if _item: - _items.append(_item.to_dict()) - _dict['groups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersOrgMembershipIdGet201Response: - """Create an instance of ApiV1ScimUsersOrgMembershipIdGet201Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersOrgMembershipIdGet201Response.parse_obj(obj) - - _obj = ApiV1ScimUsersOrgMembershipIdGet201Response.parse_obj({ - "schemas": obj.get("schemas"), - "id": obj.get("id"), - "user_name": obj.get("userName"), - "name": ApiV1ScimUsersGet200ResponseResourcesInnerName.from_dict(obj.get("name")) if obj.get("name") is not None else None, - "emails": [ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner.from_dict(_item) for _item in obj.get("emails")] if obj.get("emails") is not None else None, - "display_name": obj.get("displayName"), - "active": obj.get("active"), - "groups": [ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.from_dict(_item) for _item in obj.get("groups")] if obj.get("groups") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_org_membership_id_get201_response_groups_inner.py b/infisicalapi_client/models/api_v1_scim_users_org_membership_id_get201_response_groups_inner.py deleted file mode 100644 index 055fd65..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_org_membership_id_get201_response_groups_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner(BaseModel): - """ - ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner - """ - value: StrictStr = Field(...) - display: StrictStr = Field(...) - __properties = ["value", "display"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner: - """Create an instance of ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner: - """Create an instance of ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.parse_obj(obj) - - _obj = ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.parse_obj({ - "value": obj.get("value"), - "display": obj.get("display") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_org_membership_id_put200_response.py b/infisicalapi_client/models/api_v1_scim_users_org_membership_id_put200_response.py deleted file mode 100644 index 7cc38f2..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_org_membership_id_put200_response.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_name import ApiV1ScimUsersGet200ResponseResourcesInnerName -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response_groups_inner import ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner -from infisicalapi_client.models.api_v1_scim_users_post_request_emails_inner import ApiV1ScimUsersPostRequestEmailsInner - -class ApiV1ScimUsersOrgMembershipIdPut200Response(BaseModel): - """ - ApiV1ScimUsersOrgMembershipIdPut200Response - """ - schemas: conlist(StrictStr) = Field(...) - id: StrictStr = Field(...) - user_name: StrictStr = Field(default=..., alias="userName") - name: ApiV1ScimUsersGet200ResponseResourcesInnerName = Field(...) - emails: conlist(ApiV1ScimUsersPostRequestEmailsInner) = Field(...) - display_name: StrictStr = Field(default=..., alias="displayName") - active: StrictBool = Field(...) - groups: conlist(ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner) = Field(...) - __properties = ["schemas", "id", "userName", "name", "emails", "displayName", "active", "groups"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersOrgMembershipIdPut200Response: - """Create an instance of ApiV1ScimUsersOrgMembershipIdPut200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of name - if self.name: - _dict['name'] = self.name.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in emails (list) - _items = [] - if self.emails: - for _item in self.emails: - if _item: - _items.append(_item.to_dict()) - _dict['emails'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in groups (list) - _items = [] - if self.groups: - for _item in self.groups: - if _item: - _items.append(_item.to_dict()) - _dict['groups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersOrgMembershipIdPut200Response: - """Create an instance of ApiV1ScimUsersOrgMembershipIdPut200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersOrgMembershipIdPut200Response.parse_obj(obj) - - _obj = ApiV1ScimUsersOrgMembershipIdPut200Response.parse_obj({ - "schemas": obj.get("schemas"), - "id": obj.get("id"), - "user_name": obj.get("userName"), - "name": ApiV1ScimUsersGet200ResponseResourcesInnerName.from_dict(obj.get("name")) if obj.get("name") is not None else None, - "emails": [ApiV1ScimUsersPostRequestEmailsInner.from_dict(_item) for _item in obj.get("emails")] if obj.get("emails") is not None else None, - "display_name": obj.get("displayName"), - "active": obj.get("active"), - "groups": [ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner.from_dict(_item) for _item in obj.get("groups")] if obj.get("groups") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_org_membership_id_put_request.py b/infisicalapi_client/models/api_v1_scim_users_org_membership_id_put_request.py deleted file mode 100644 index 0ffa396..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_org_membership_id_put_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_name import ApiV1ScimUsersGet200ResponseResourcesInnerName - -class ApiV1ScimUsersOrgMembershipIdPutRequest(BaseModel): - """ - ApiV1ScimUsersOrgMembershipIdPutRequest - """ - schemas: conlist(StrictStr) = Field(...) - id: StrictStr = Field(...) - user_name: StrictStr = Field(default=..., alias="userName") - name: ApiV1ScimUsersGet200ResponseResourcesInnerName = Field(...) - display_name: StrictStr = Field(default=..., alias="displayName") - active: StrictBool = Field(...) - __properties = ["schemas", "id", "userName", "name", "displayName", "active"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersOrgMembershipIdPutRequest: - """Create an instance of ApiV1ScimUsersOrgMembershipIdPutRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of name - if self.name: - _dict['name'] = self.name.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersOrgMembershipIdPutRequest: - """Create an instance of ApiV1ScimUsersOrgMembershipIdPutRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersOrgMembershipIdPutRequest.parse_obj(obj) - - _obj = ApiV1ScimUsersOrgMembershipIdPutRequest.parse_obj({ - "schemas": obj.get("schemas"), - "id": obj.get("id"), - "user_name": obj.get("userName"), - "name": ApiV1ScimUsersGet200ResponseResourcesInnerName.from_dict(obj.get("name")) if obj.get("name") is not None else None, - "display_name": obj.get("displayName"), - "active": obj.get("active") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_post200_response.py b/infisicalapi_client/models/api_v1_scim_users_post200_response.py deleted file mode 100644 index c1a746c..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_post200_response.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_name import ApiV1ScimUsersGet200ResponseResourcesInnerName -from infisicalapi_client.models.api_v1_scim_users_post_request_emails_inner import ApiV1ScimUsersPostRequestEmailsInner - -class ApiV1ScimUsersPost200Response(BaseModel): - """ - ApiV1ScimUsersPost200Response - """ - schemas: conlist(StrictStr) = Field(...) - id: StrictStr = Field(...) - user_name: StrictStr = Field(default=..., alias="userName") - name: ApiV1ScimUsersGet200ResponseResourcesInnerName = Field(...) - emails: conlist(ApiV1ScimUsersPostRequestEmailsInner) = Field(...) - display_name: StrictStr = Field(default=..., alias="displayName") - active: StrictBool = Field(...) - __properties = ["schemas", "id", "userName", "name", "emails", "displayName", "active"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersPost200Response: - """Create an instance of ApiV1ScimUsersPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of name - if self.name: - _dict['name'] = self.name.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in emails (list) - _items = [] - if self.emails: - for _item in self.emails: - if _item: - _items.append(_item.to_dict()) - _dict['emails'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersPost200Response: - """Create an instance of ApiV1ScimUsersPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersPost200Response.parse_obj(obj) - - _obj = ApiV1ScimUsersPost200Response.parse_obj({ - "schemas": obj.get("schemas"), - "id": obj.get("id"), - "user_name": obj.get("userName"), - "name": ApiV1ScimUsersGet200ResponseResourcesInnerName.from_dict(obj.get("name")) if obj.get("name") is not None else None, - "emails": [ApiV1ScimUsersPostRequestEmailsInner.from_dict(_item) for _item in obj.get("emails")] if obj.get("emails") is not None else None, - "display_name": obj.get("displayName"), - "active": obj.get("active") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_post_request.py b/infisicalapi_client/models/api_v1_scim_users_post_request.py deleted file mode 100644 index fdd94b3..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_post_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_name import ApiV1ScimUsersGet200ResponseResourcesInnerName -from infisicalapi_client.models.api_v1_scim_users_post_request_emails_inner import ApiV1ScimUsersPostRequestEmailsInner - -class ApiV1ScimUsersPostRequest(BaseModel): - """ - ApiV1ScimUsersPostRequest - """ - schemas: conlist(StrictStr) = Field(...) - user_name: StrictStr = Field(default=..., alias="userName") - name: ApiV1ScimUsersGet200ResponseResourcesInnerName = Field(...) - emails: Optional[conlist(ApiV1ScimUsersPostRequestEmailsInner)] = None - active: StrictBool = Field(...) - __properties = ["schemas", "userName", "name", "emails", "active"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersPostRequest: - """Create an instance of ApiV1ScimUsersPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of name - if self.name: - _dict['name'] = self.name.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in emails (list) - _items = [] - if self.emails: - for _item in self.emails: - if _item: - _items.append(_item.to_dict()) - _dict['emails'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersPostRequest: - """Create an instance of ApiV1ScimUsersPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersPostRequest.parse_obj(obj) - - _obj = ApiV1ScimUsersPostRequest.parse_obj({ - "schemas": obj.get("schemas"), - "user_name": obj.get("userName"), - "name": ApiV1ScimUsersGet200ResponseResourcesInnerName.from_dict(obj.get("name")) if obj.get("name") is not None else None, - "emails": [ApiV1ScimUsersPostRequestEmailsInner.from_dict(_item) for _item in obj.get("emails")] if obj.get("emails") is not None else None, - "active": obj.get("active") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_scim_users_post_request_emails_inner.py b/infisicalapi_client/models/api_v1_scim_users_post_request_emails_inner.py deleted file mode 100644 index e5f24eb..0000000 --- a/infisicalapi_client/models/api_v1_scim_users_post_request_emails_inner.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1ScimUsersPostRequestEmailsInner(BaseModel): - """ - ApiV1ScimUsersPostRequestEmailsInner - """ - primary: StrictBool = Field(...) - value: StrictStr = Field(...) - type: StrictStr = Field(...) - __properties = ["primary", "value", "type"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1ScimUsersPostRequestEmailsInner: - """Create an instance of ApiV1ScimUsersPostRequestEmailsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1ScimUsersPostRequestEmailsInner: - """Create an instance of ApiV1ScimUsersPostRequestEmailsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1ScimUsersPostRequestEmailsInner.parse_obj(obj) - - _obj = ApiV1ScimUsersPostRequestEmailsInner.parse_obj({ - "primary": obj.get("primary"), - "value": obj.get("value"), - "type": obj.get("type") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_count_get200_response.py b/infisicalapi_client/models/api_v1_secret_approval_requests_count_get200_response.py deleted file mode 100644 index 8f4313d..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_count_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response_approvals import ApiV1SecretApprovalRequestsCountGet200ResponseApprovals - -class ApiV1SecretApprovalRequestsCountGet200Response(BaseModel): - """ - ApiV1SecretApprovalRequestsCountGet200Response - """ - approvals: ApiV1SecretApprovalRequestsCountGet200ResponseApprovals = Field(...) - __properties = ["approvals"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsCountGet200Response: - """Create an instance of ApiV1SecretApprovalRequestsCountGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of approvals - if self.approvals: - _dict['approvals'] = self.approvals.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsCountGet200Response: - """Create an instance of ApiV1SecretApprovalRequestsCountGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsCountGet200Response.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsCountGet200Response.parse_obj({ - "approvals": ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.from_dict(obj.get("approvals")) if obj.get("approvals") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_count_get200_response_approvals.py b/infisicalapi_client/models/api_v1_secret_approval_requests_count_get200_response_approvals.py deleted file mode 100644 index 4a0c360..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_count_get200_response_approvals.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, StrictFloat, StrictInt - -class ApiV1SecretApprovalRequestsCountGet200ResponseApprovals(BaseModel): - """ - ApiV1SecretApprovalRequestsCountGet200ResponseApprovals - """ - open: Optional[Union[StrictFloat, StrictInt]] = 0 - closed: Optional[Union[StrictFloat, StrictInt]] = 0 - __properties = ["open", "closed"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsCountGet200ResponseApprovals: - """Create an instance of ApiV1SecretApprovalRequestsCountGet200ResponseApprovals from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsCountGet200ResponseApprovals: - """Create an instance of ApiV1SecretApprovalRequestsCountGet200ResponseApprovals from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsCountGet200ResponseApprovals.parse_obj({ - "open": obj.get("open") if obj.get("open") is not None else 0, - "closed": obj.get("closed") if obj.get("closed") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response.py b/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response.py deleted file mode 100644 index 3fe33ca..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner - -class ApiV1SecretApprovalRequestsGet200Response(BaseModel): - """ - ApiV1SecretApprovalRequestsGet200Response - """ - approvals: conlist(ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner) = Field(...) - __properties = ["approvals"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsGet200Response: - """Create an instance of ApiV1SecretApprovalRequestsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in approvals (list) - _items = [] - if self.approvals: - for _item in self.approvals: - if _item: - _items.append(_item.to_dict()) - _dict['approvals'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsGet200Response: - """Create an instance of ApiV1SecretApprovalRequestsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsGet200Response.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsGet200Response.parse_obj({ - "approvals": [ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.from_dict(_item) for _item in obj.get("approvals")] if obj.get("approvals") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner.py b/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner.py deleted file mode 100644 index 9ab8bad..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner.py +++ /dev/null @@ -1,151 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_policy import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner - -class ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner(BaseModel): - """ - ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner - """ - id: StrictStr = Field(...) - policy_id: StrictStr = Field(default=..., alias="policyId") - has_merged: Optional[StrictBool] = Field(default=False, alias="hasMerged") - status: Optional[StrictStr] = 'open' - conflicts: Optional[Any] = None - slug: StrictStr = Field(...) - folder_id: StrictStr = Field(default=..., alias="folderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - is_replicated: Optional[StrictBool] = Field(default=None, alias="isReplicated") - committer_user_id: StrictStr = Field(default=..., alias="committerUserId") - status_changed_by_user_id: Optional[StrictStr] = Field(default=None, alias="statusChangedByUserId") - bypass_reason: Optional[StrictStr] = Field(default=None, alias="bypassReason") - policy: ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy = Field(...) - committer_user: ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser = Field(default=..., alias="committerUser") - commits: conlist(ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner) = Field(...) - environment: StrictStr = Field(...) - reviewers: conlist(ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner) = Field(...) - approvers: conlist(StrictStr) = Field(...) - __properties = ["id", "policyId", "hasMerged", "status", "conflicts", "slug", "folderId", "createdAt", "updatedAt", "isReplicated", "committerUserId", "statusChangedByUserId", "bypassReason", "policy", "committerUser", "commits", "environment", "reviewers", "approvers"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner: - """Create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of policy - if self.policy: - _dict['policy'] = self.policy.to_dict() - # override the default output from pydantic by calling `to_dict()` of committer_user - if self.committer_user: - _dict['committerUser'] = self.committer_user.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in commits (list) - _items = [] - if self.commits: - for _item in self.commits: - if _item: - _items.append(_item.to_dict()) - _dict['commits'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in reviewers (list) - _items = [] - if self.reviewers: - for _item in self.reviewers: - if _item: - _items.append(_item.to_dict()) - _dict['reviewers'] = _items - # set to None if conflicts (nullable) is None - # and __fields_set__ contains the field - if self.conflicts is None and "conflicts" in self.__fields_set__: - _dict['conflicts'] = None - - # set to None if is_replicated (nullable) is None - # and __fields_set__ contains the field - if self.is_replicated is None and "is_replicated" in self.__fields_set__: - _dict['isReplicated'] = None - - # set to None if status_changed_by_user_id (nullable) is None - # and __fields_set__ contains the field - if self.status_changed_by_user_id is None and "status_changed_by_user_id" in self.__fields_set__: - _dict['statusChangedByUserId'] = None - - # set to None if bypass_reason (nullable) is None - # and __fields_set__ contains the field - if self.bypass_reason is None and "bypass_reason" in self.__fields_set__: - _dict['bypassReason'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner: - """Create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner.parse_obj({ - "id": obj.get("id"), - "policy_id": obj.get("policyId"), - "has_merged": obj.get("hasMerged") if obj.get("hasMerged") is not None else False, - "status": obj.get("status") if obj.get("status") is not None else 'open', - "conflicts": obj.get("conflicts"), - "slug": obj.get("slug"), - "folder_id": obj.get("folderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "is_replicated": obj.get("isReplicated"), - "committer_user_id": obj.get("committerUserId"), - "status_changed_by_user_id": obj.get("statusChangedByUserId"), - "bypass_reason": obj.get("bypassReason"), - "policy": ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.from_dict(obj.get("policy")) if obj.get("policy") is not None else None, - "committer_user": ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.from_dict(obj.get("committerUser")) if obj.get("committerUser") is not None else None, - "commits": [ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.from_dict(_item) for _item in obj.get("commits")] if obj.get("commits") is not None else None, - "environment": obj.get("environment"), - "reviewers": [ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.from_dict(_item) for _item in obj.get("reviewers")] if obj.get("reviewers") is not None else None, - "approvers": obj.get("approvers") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner.py b/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner.py deleted file mode 100644 index eab7cdd..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner(BaseModel): - """ - ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner - """ - op: StrictStr = Field(...) - secret_id: Optional[StrictStr] = Field(default=None, alias="secretId") - __properties = ["op", "secretId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner: - """Create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_id (nullable) is None - # and __fields_set__ contains the field - if self.secret_id is None and "secret_id" in self.__fields_set__: - _dict['secretId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner: - """Create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner.parse_obj({ - "op": obj.get("op"), - "secret_id": obj.get("secretId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user.py b/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user.py deleted file mode 100644 index 6fa7836..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser(BaseModel): - """ - ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser - """ - user_id: StrictStr = Field(default=..., alias="userId") - email: Optional[StrictStr] = None - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - username: StrictStr = Field(...) - __properties = ["userId", "email", "firstName", "lastName", "username"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser: - """Create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser: - """Create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.parse_obj({ - "user_id": obj.get("userId"), - "email": obj.get("email"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "username": obj.get("username") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_policy.py b/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_policy.py deleted file mode 100644 index 848b776..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_policy.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist - -class ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy(BaseModel): - """ - ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - approvals: Union[StrictFloat, StrictInt] = Field(...) - approvers: conlist(StrictStr) = Field(...) - secret_path: Optional[StrictStr] = Field(default=None, alias="secretPath") - enforcement_level: StrictStr = Field(default=..., alias="enforcementLevel") - __properties = ["id", "name", "approvals", "approvers", "secretPath", "enforcementLevel"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy: - """Create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_path (nullable) is None - # and __fields_set__ contains the field - if self.secret_path is None and "secret_path" in self.__fields_set__: - _dict['secretPath'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy: - """Create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "approvals": obj.get("approvals"), - "approvers": obj.get("approvers"), - "secret_path": obj.get("secretPath"), - "enforcement_level": obj.get("enforcementLevel") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner.py b/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner.py deleted file mode 100644 index 7696b4c..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner(BaseModel): - """ - ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner - """ - user_id: StrictStr = Field(default=..., alias="userId") - status: StrictStr = Field(...) - __properties = ["userId", "status"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner: - """Create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner: - """Create an instance of ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner.parse_obj({ - "user_id": obj.get("userId"), - "status": obj.get("status") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response.py deleted file mode 100644 index ca2e39b..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval import ApiV1SecretApprovalRequestsIdGet200ResponseApproval - -class ApiV1SecretApprovalRequestsIdGet200Response(BaseModel): - """ - ApiV1SecretApprovalRequestsIdGet200Response - """ - approval: ApiV1SecretApprovalRequestsIdGet200ResponseApproval = Field(...) - __properties = ["approval"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdGet200Response: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of approval - if self.approval: - _dict['approval'] = self.approval.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdGet200Response: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdGet200Response.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdGet200Response.parse_obj({ - "approval": ApiV1SecretApprovalRequestsIdGet200ResponseApproval.from_dict(obj.get("approval")) if obj.get("approval") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval.py deleted file mode 100644 index e88fea5..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval.py +++ /dev/null @@ -1,156 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_policy import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner - -class ApiV1SecretApprovalRequestsIdGet200ResponseApproval(BaseModel): - """ - ApiV1SecretApprovalRequestsIdGet200ResponseApproval - """ - id: StrictStr = Field(...) - policy_id: StrictStr = Field(default=..., alias="policyId") - has_merged: Optional[StrictBool] = Field(default=False, alias="hasMerged") - status: Optional[StrictStr] = 'open' - conflicts: Optional[Any] = None - slug: StrictStr = Field(...) - folder_id: StrictStr = Field(default=..., alias="folderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - is_replicated: Optional[StrictBool] = Field(default=None, alias="isReplicated") - committer_user_id: StrictStr = Field(default=..., alias="committerUserId") - status_changed_by_user_id: Optional[StrictStr] = Field(default=None, alias="statusChangedByUserId") - bypass_reason: Optional[StrictStr] = Field(default=None, alias="bypassReason") - policy: ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy = Field(...) - environment: StrictStr = Field(...) - status_changed_by_user: Optional[ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser] = Field(default=None, alias="statusChangedByUser") - committer_user: ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser = Field(default=..., alias="committerUser") - reviewers: conlist(ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner) = Field(...) - secret_path: StrictStr = Field(default=..., alias="secretPath") - commits: conlist(ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner) = Field(...) - __properties = ["id", "policyId", "hasMerged", "status", "conflicts", "slug", "folderId", "createdAt", "updatedAt", "isReplicated", "committerUserId", "statusChangedByUserId", "bypassReason", "policy", "environment", "statusChangedByUser", "committerUser", "reviewers", "secretPath", "commits"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdGet200ResponseApproval: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApproval from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of policy - if self.policy: - _dict['policy'] = self.policy.to_dict() - # override the default output from pydantic by calling `to_dict()` of status_changed_by_user - if self.status_changed_by_user: - _dict['statusChangedByUser'] = self.status_changed_by_user.to_dict() - # override the default output from pydantic by calling `to_dict()` of committer_user - if self.committer_user: - _dict['committerUser'] = self.committer_user.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in reviewers (list) - _items = [] - if self.reviewers: - for _item in self.reviewers: - if _item: - _items.append(_item.to_dict()) - _dict['reviewers'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in commits (list) - _items = [] - if self.commits: - for _item in self.commits: - if _item: - _items.append(_item.to_dict()) - _dict['commits'] = _items - # set to None if conflicts (nullable) is None - # and __fields_set__ contains the field - if self.conflicts is None and "conflicts" in self.__fields_set__: - _dict['conflicts'] = None - - # set to None if is_replicated (nullable) is None - # and __fields_set__ contains the field - if self.is_replicated is None and "is_replicated" in self.__fields_set__: - _dict['isReplicated'] = None - - # set to None if status_changed_by_user_id (nullable) is None - # and __fields_set__ contains the field - if self.status_changed_by_user_id is None and "status_changed_by_user_id" in self.__fields_set__: - _dict['statusChangedByUserId'] = None - - # set to None if bypass_reason (nullable) is None - # and __fields_set__ contains the field - if self.bypass_reason is None and "bypass_reason" in self.__fields_set__: - _dict['bypassReason'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdGet200ResponseApproval: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApproval from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdGet200ResponseApproval.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdGet200ResponseApproval.parse_obj({ - "id": obj.get("id"), - "policy_id": obj.get("policyId"), - "has_merged": obj.get("hasMerged") if obj.get("hasMerged") is not None else False, - "status": obj.get("status") if obj.get("status") is not None else 'open', - "conflicts": obj.get("conflicts"), - "slug": obj.get("slug"), - "folder_id": obj.get("folderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "is_replicated": obj.get("isReplicated"), - "committer_user_id": obj.get("committerUserId"), - "status_changed_by_user_id": obj.get("statusChangedByUserId"), - "bypass_reason": obj.get("bypassReason"), - "policy": ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.from_dict(obj.get("policy")) if obj.get("policy") is not None else None, - "environment": obj.get("environment"), - "status_changed_by_user": ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.from_dict(obj.get("statusChangedByUser")) if obj.get("statusChangedByUser") is not None else None, - "committer_user": ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.from_dict(obj.get("committerUser")) if obj.get("committerUser") is not None else None, - "reviewers": [ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.from_dict(_item) for _item in obj.get("reviewers")] if obj.get("reviewers") is not None else None, - "secret_path": obj.get("secretPath"), - "commits": [ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.from_dict(_item) for _item in obj.get("commits")] if obj.get("commits") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner.py deleted file mode 100644 index 18cb454..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner - -class ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner(BaseModel): - """ - ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner - """ - id: StrictStr = Field(...) - secret_key: StrictStr = Field(default=..., alias="secretKey") - secret_value: StrictStr = Field(default=..., alias="secretValue") - secret_comment: StrictStr = Field(default=..., alias="secretComment") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - metadata: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - op: StrictStr = Field(...) - tags: Optional[conlist(ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner)] = None - secret: Optional[ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret] = None - secret_version: Optional[ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion] = Field(default=None, alias="secretVersion") - __properties = ["id", "secretKey", "secretValue", "secretComment", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "metadata", "createdAt", "updatedAt", "op", "tags", "secret", "secretVersion"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item in self.tags: - if _item: - _items.append(_item.to_dict()) - _dict['tags'] = _items - # override the default output from pydantic by calling `to_dict()` of secret - if self.secret: - _dict['secret'] = self.secret.to_dict() - # override the default output from pydantic by calling `to_dict()` of secret_version - if self.secret_version: - _dict['secretVersion'] = self.secret_version.to_dict() - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - # set to None if secret (nullable) is None - # and __fields_set__ contains the field - if self.secret is None and "secret" in self.__fields_set__: - _dict['secret'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner.parse_obj({ - "id": obj.get("id"), - "secret_key": obj.get("secretKey"), - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "metadata": obj.get("metadata"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "op": obj.get("op"), - "tags": [ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.from_dict(_item) for _item in obj.get("tags")] if obj.get("tags") is not None else None, - "secret": ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.from_dict(obj.get("secret")) if obj.get("secret") is not None else None, - "secret_version": ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.from_dict(obj.get("secretVersion")) if obj.get("secretVersion") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret.py deleted file mode 100644 index feea971..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret(BaseModel): - """ - ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret - """ - id: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - secret_key: StrictStr = Field(default=..., alias="secretKey") - secret_value: Optional[StrictStr] = Field(default=None, alias="secretValue") - secret_comment: Optional[StrictStr] = Field(default=None, alias="secretComment") - __properties = ["id", "version", "secretKey", "secretValue", "secretComment"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version"), - "secret_key": obj.get("secretKey"), - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version.py deleted file mode 100644 index 6072748..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner - -class ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion(BaseModel): - """ - ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion - """ - id: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - secret_key: StrictStr = Field(default=..., alias="secretKey") - secret_value: Optional[StrictStr] = Field(default=None, alias="secretValue") - secret_comment: Optional[StrictStr] = Field(default=None, alias="secretComment") - tags: Optional[conlist(ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner)] = None - __properties = ["id", "version", "secretKey", "secretValue", "secretComment", "tags"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item in self.tags: - if _item: - _items.append(_item.to_dict()) - _dict['tags'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version"), - "secret_key": obj.get("secretKey"), - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment"), - "tags": [ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.from_dict(_item) for _item in obj.get("tags")] if obj.get("tags") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_policy.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_policy.py deleted file mode 100644 index 9c59cbe..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_policy.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser - -class ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy(BaseModel): - """ - ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - approvals: Union[StrictFloat, StrictInt] = Field(...) - approvers: conlist(ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser) = Field(...) - secret_path: Optional[StrictStr] = Field(default=None, alias="secretPath") - enforcement_level: StrictStr = Field(default=..., alias="enforcementLevel") - __properties = ["id", "name", "approvals", "approvers", "secretPath", "enforcementLevel"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in approvers (list) - _items = [] - if self.approvers: - for _item in self.approvers: - if _item: - _items.append(_item.to_dict()) - _dict['approvers'] = _items - # set to None if secret_path (nullable) is None - # and __fields_set__ contains the field - if self.secret_path is None and "secret_path" in self.__fields_set__: - _dict['secretPath'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "approvals": obj.get("approvals"), - "approvers": [ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser.from_dict(_item) for _item in obj.get("approvers")] if obj.get("approvers") is not None else None, - "secret_path": obj.get("secretPath"), - "enforcement_level": obj.get("enforcementLevel") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner.py deleted file mode 100644 index ecbaf38..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner(BaseModel): - """ - ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner - """ - user_id: StrictStr = Field(default=..., alias="userId") - email: Optional[StrictStr] = None - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - username: StrictStr = Field(...) - status: StrictStr = Field(...) - __properties = ["userId", "email", "firstName", "lastName", "username", "status"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner: - """Create an instance of ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner.parse_obj({ - "user_id": obj.get("userId"), - "email": obj.get("email"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "username": obj.get("username"), - "status": obj.get("status") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post200_response.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post200_response.py deleted file mode 100644 index 8e80f17..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response_approval import ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval - -class ApiV1SecretApprovalRequestsIdMergePost200Response(BaseModel): - """ - ApiV1SecretApprovalRequestsIdMergePost200Response - """ - approval: ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval = Field(...) - __properties = ["approval"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdMergePost200Response: - """Create an instance of ApiV1SecretApprovalRequestsIdMergePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of approval - if self.approval: - _dict['approval'] = self.approval.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdMergePost200Response: - """Create an instance of ApiV1SecretApprovalRequestsIdMergePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdMergePost200Response.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdMergePost200Response.parse_obj({ - "approval": ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.from_dict(obj.get("approval")) if obj.get("approval") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post200_response_approval.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post200_response_approval.py deleted file mode 100644 index 1dd36dc..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post200_response_approval.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval(BaseModel): - """ - ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval - """ - id: StrictStr = Field(...) - policy_id: StrictStr = Field(default=..., alias="policyId") - has_merged: Optional[StrictBool] = Field(default=False, alias="hasMerged") - status: Optional[StrictStr] = 'open' - conflicts: Optional[Any] = None - slug: StrictStr = Field(...) - folder_id: StrictStr = Field(default=..., alias="folderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - is_replicated: Optional[StrictBool] = Field(default=None, alias="isReplicated") - committer_user_id: StrictStr = Field(default=..., alias="committerUserId") - status_changed_by_user_id: Optional[StrictStr] = Field(default=None, alias="statusChangedByUserId") - bypass_reason: Optional[StrictStr] = Field(default=None, alias="bypassReason") - __properties = ["id", "policyId", "hasMerged", "status", "conflicts", "slug", "folderId", "createdAt", "updatedAt", "isReplicated", "committerUserId", "statusChangedByUserId", "bypassReason"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval: - """Create an instance of ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if conflicts (nullable) is None - # and __fields_set__ contains the field - if self.conflicts is None and "conflicts" in self.__fields_set__: - _dict['conflicts'] = None - - # set to None if is_replicated (nullable) is None - # and __fields_set__ contains the field - if self.is_replicated is None and "is_replicated" in self.__fields_set__: - _dict['isReplicated'] = None - - # set to None if status_changed_by_user_id (nullable) is None - # and __fields_set__ contains the field - if self.status_changed_by_user_id is None and "status_changed_by_user_id" in self.__fields_set__: - _dict['statusChangedByUserId'] = None - - # set to None if bypass_reason (nullable) is None - # and __fields_set__ contains the field - if self.bypass_reason is None and "bypass_reason" in self.__fields_set__: - _dict['bypassReason'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval: - """Create an instance of ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.parse_obj({ - "id": obj.get("id"), - "policy_id": obj.get("policyId"), - "has_merged": obj.get("hasMerged") if obj.get("hasMerged") is not None else False, - "status": obj.get("status") if obj.get("status") is not None else 'open', - "conflicts": obj.get("conflicts"), - "slug": obj.get("slug"), - "folder_id": obj.get("folderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "is_replicated": obj.get("isReplicated"), - "committer_user_id": obj.get("committerUserId"), - "status_changed_by_user_id": obj.get("statusChangedByUserId"), - "bypass_reason": obj.get("bypassReason") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post_request.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post_request.py deleted file mode 100644 index dd56708..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretApprovalRequestsIdMergePostRequest(BaseModel): - """ - ApiV1SecretApprovalRequestsIdMergePostRequest - """ - bypass_reason: Optional[StrictStr] = Field(default=None, alias="bypassReason") - __properties = ["bypassReason"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdMergePostRequest: - """Create an instance of ApiV1SecretApprovalRequestsIdMergePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdMergePostRequest: - """Create an instance of ApiV1SecretApprovalRequestsIdMergePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdMergePostRequest.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdMergePostRequest.parse_obj({ - "bypass_reason": obj.get("bypassReason") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post200_response.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post200_response.py deleted file mode 100644 index 0750056..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response_review import ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview - -class ApiV1SecretApprovalRequestsIdReviewPost200Response(BaseModel): - """ - ApiV1SecretApprovalRequestsIdReviewPost200Response - """ - review: ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview = Field(...) - __properties = ["review"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdReviewPost200Response: - """Create an instance of ApiV1SecretApprovalRequestsIdReviewPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of review - if self.review: - _dict['review'] = self.review.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdReviewPost200Response: - """Create an instance of ApiV1SecretApprovalRequestsIdReviewPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdReviewPost200Response.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdReviewPost200Response.parse_obj({ - "review": ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.from_dict(obj.get("review")) if obj.get("review") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post200_response_review.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post200_response_review.py deleted file mode 100644 index 90b61ef..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post200_response_review.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview(BaseModel): - """ - ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview - """ - id: StrictStr = Field(...) - status: StrictStr = Field(...) - request_id: StrictStr = Field(default=..., alias="requestId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - reviewer_user_id: StrictStr = Field(default=..., alias="reviewerUserId") - __properties = ["id", "status", "requestId", "createdAt", "updatedAt", "reviewerUserId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview: - """Create an instance of ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview: - """Create an instance of ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview.parse_obj({ - "id": obj.get("id"), - "status": obj.get("status"), - "request_id": obj.get("requestId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "reviewer_user_id": obj.get("reviewerUserId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post_request.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post_request.py deleted file mode 100644 index aab053d..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post_request.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV1SecretApprovalRequestsIdReviewPostRequest(BaseModel): - """ - ApiV1SecretApprovalRequestsIdReviewPostRequest - """ - status: StrictStr = Field(...) - __properties = ["status"] - - @validator('status') - def status_validate_enum(cls, value): - """Validates the enum""" - if value not in ('approved', 'rejected'): - raise ValueError("must be one of enum values ('approved', 'rejected')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdReviewPostRequest: - """Create an instance of ApiV1SecretApprovalRequestsIdReviewPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdReviewPostRequest: - """Create an instance of ApiV1SecretApprovalRequestsIdReviewPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdReviewPostRequest.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdReviewPostRequest.parse_obj({ - "status": obj.get("status") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approval_requests_id_status_post_request.py b/infisicalapi_client/models/api_v1_secret_approval_requests_id_status_post_request.py deleted file mode 100644 index 00fcb53..0000000 --- a/infisicalapi_client/models/api_v1_secret_approval_requests_id_status_post_request.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV1SecretApprovalRequestsIdStatusPostRequest(BaseModel): - """ - ApiV1SecretApprovalRequestsIdStatusPostRequest - """ - status: StrictStr = Field(...) - __properties = ["status"] - - @validator('status') - def status_validate_enum(cls, value): - """Validates the enum""" - if value not in ('open', 'close'): - raise ValueError("must be one of enum values ('open', 'close')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalRequestsIdStatusPostRequest: - """Create an instance of ApiV1SecretApprovalRequestsIdStatusPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalRequestsIdStatusPostRequest: - """Create an instance of ApiV1SecretApprovalRequestsIdStatusPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalRequestsIdStatusPostRequest.parse_obj(obj) - - _obj = ApiV1SecretApprovalRequestsIdStatusPostRequest.parse_obj({ - "status": obj.get("status") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approvals_board_get200_response.py b/infisicalapi_client/models/api_v1_secret_approvals_board_get200_response.py deleted file mode 100644 index 65de3b0..0000000 --- a/infisicalapi_client/models/api_v1_secret_approvals_board_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInner - -class ApiV1SecretApprovalsBoardGet200Response(BaseModel): - """ - ApiV1SecretApprovalsBoardGet200Response - """ - policy: Optional[ApiV1SecretApprovalsGet200ResponseApprovalsInner] = None - __properties = ["policy"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalsBoardGet200Response: - """Create an instance of ApiV1SecretApprovalsBoardGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of policy - if self.policy: - _dict['policy'] = self.policy.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalsBoardGet200Response: - """Create an instance of ApiV1SecretApprovalsBoardGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalsBoardGet200Response.parse_obj(obj) - - _obj = ApiV1SecretApprovalsBoardGet200Response.parse_obj({ - "policy": ApiV1SecretApprovalsGet200ResponseApprovalsInner.from_dict(obj.get("policy")) if obj.get("policy") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approvals_get200_response.py b/infisicalapi_client/models/api_v1_secret_approvals_get200_response.py deleted file mode 100644 index 59f6c8f..0000000 --- a/infisicalapi_client/models/api_v1_secret_approvals_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInner - -class ApiV1SecretApprovalsGet200Response(BaseModel): - """ - ApiV1SecretApprovalsGet200Response - """ - approvals: conlist(ApiV1SecretApprovalsGet200ResponseApprovalsInner) = Field(...) - __properties = ["approvals"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalsGet200Response: - """Create an instance of ApiV1SecretApprovalsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in approvals (list) - _items = [] - if self.approvals: - for _item in self.approvals: - if _item: - _items.append(_item.to_dict()) - _dict['approvals'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalsGet200Response: - """Create an instance of ApiV1SecretApprovalsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalsGet200Response.parse_obj(obj) - - _obj = ApiV1SecretApprovalsGet200Response.parse_obj({ - "approvals": [ApiV1SecretApprovalsGet200ResponseApprovalsInner.from_dict(_item) for _item in obj.get("approvals")] if obj.get("approvals") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner.py b/infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner.py deleted file mode 100644 index c8effae..0000000 --- a/infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner - -class ApiV1SecretApprovalsGet200ResponseApprovalsInner(BaseModel): - """ - ApiV1SecretApprovalsGet200ResponseApprovalsInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - secret_path: Optional[StrictStr] = Field(default=None, alias="secretPath") - approvals: Optional[Union[StrictFloat, StrictInt]] = 1 - env_id: StrictStr = Field(default=..., alias="envId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - enforcement_level: Optional[StrictStr] = Field(default='hard', alias="enforcementLevel") - environment: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(...) - project_id: StrictStr = Field(default=..., alias="projectId") - user_approvers: conlist(ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner) = Field(default=..., alias="userApprovers") - __properties = ["id", "name", "secretPath", "approvals", "envId", "createdAt", "updatedAt", "enforcementLevel", "environment", "projectId", "userApprovers"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalsGet200ResponseApprovalsInner: - """Create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in user_approvers (list) - _items = [] - if self.user_approvers: - for _item in self.user_approvers: - if _item: - _items.append(_item.to_dict()) - _dict['userApprovers'] = _items - # set to None if secret_path (nullable) is None - # and __fields_set__ contains the field - if self.secret_path is None and "secret_path" in self.__fields_set__: - _dict['secretPath'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalsGet200ResponseApprovalsInner: - """Create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalsGet200ResponseApprovalsInner.parse_obj(obj) - - _obj = ApiV1SecretApprovalsGet200ResponseApprovalsInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "secret_path": obj.get("secretPath"), - "approvals": obj.get("approvals") if obj.get("approvals") is not None else 1, - "env_id": obj.get("envId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "enforcement_level": obj.get("enforcementLevel") if obj.get("enforcementLevel") is not None else 'hard', - "environment": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None, - "project_id": obj.get("projectId"), - "user_approvers": [ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.from_dict(_item) for _item in obj.get("userApprovers")] if obj.get("userApprovers") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner_environment.py b/infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner_environment.py deleted file mode 100644 index 6cd3a6c..0000000 --- a/infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner_environment.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment(BaseModel): - """ - ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - __properties = ["id", "name", "slug"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment: - """Create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment: - """Create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.parse_obj(obj) - - _obj = ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "slug": obj.get("slug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner.py b/infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner.py deleted file mode 100644 index e4064ec..0000000 --- a/infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner(BaseModel): - """ - ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner - """ - user_id: StrictStr = Field(default=..., alias="userId") - __properties = ["userId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner: - """Create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner: - """Create an instance of ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.parse_obj(obj) - - _obj = ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner.parse_obj({ - "user_id": obj.get("userId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approvals_post200_response.py b/infisicalapi_client/models/api_v1_secret_approvals_post200_response.py deleted file mode 100644 index 78c500c..0000000 --- a/infisicalapi_client/models/api_v1_secret_approvals_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_secret_approvals_post200_response_approval import ApiV1SecretApprovalsPost200ResponseApproval - -class ApiV1SecretApprovalsPost200Response(BaseModel): - """ - ApiV1SecretApprovalsPost200Response - """ - approval: ApiV1SecretApprovalsPost200ResponseApproval = Field(...) - __properties = ["approval"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalsPost200Response: - """Create an instance of ApiV1SecretApprovalsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of approval - if self.approval: - _dict['approval'] = self.approval.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalsPost200Response: - """Create an instance of ApiV1SecretApprovalsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalsPost200Response.parse_obj(obj) - - _obj = ApiV1SecretApprovalsPost200Response.parse_obj({ - "approval": ApiV1SecretApprovalsPost200ResponseApproval.from_dict(obj.get("approval")) if obj.get("approval") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approvals_post200_response_approval.py b/infisicalapi_client/models/api_v1_secret_approvals_post200_response_approval.py deleted file mode 100644 index 21da4e7..0000000 --- a/infisicalapi_client/models/api_v1_secret_approvals_post200_response_approval.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - -class ApiV1SecretApprovalsPost200ResponseApproval(BaseModel): - """ - ApiV1SecretApprovalsPost200ResponseApproval - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - secret_path: Optional[StrictStr] = Field(default=None, alias="secretPath") - approvals: Optional[Union[StrictFloat, StrictInt]] = 1 - env_id: StrictStr = Field(default=..., alias="envId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - enforcement_level: Optional[StrictStr] = Field(default='hard', alias="enforcementLevel") - environment: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(...) - project_id: StrictStr = Field(default=..., alias="projectId") - __properties = ["id", "name", "secretPath", "approvals", "envId", "createdAt", "updatedAt", "enforcementLevel", "environment", "projectId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalsPost200ResponseApproval: - """Create an instance of ApiV1SecretApprovalsPost200ResponseApproval from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - # set to None if secret_path (nullable) is None - # and __fields_set__ contains the field - if self.secret_path is None and "secret_path" in self.__fields_set__: - _dict['secretPath'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalsPost200ResponseApproval: - """Create an instance of ApiV1SecretApprovalsPost200ResponseApproval from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalsPost200ResponseApproval.parse_obj(obj) - - _obj = ApiV1SecretApprovalsPost200ResponseApproval.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "secret_path": obj.get("secretPath"), - "approvals": obj.get("approvals") if obj.get("approvals") is not None else 1, - "env_id": obj.get("envId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "enforcement_level": obj.get("enforcementLevel") if obj.get("enforcementLevel") is not None else 'hard', - "environment": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None, - "project_id": obj.get("projectId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approvals_post_request.py b/infisicalapi_client/models/api_v1_secret_approvals_post_request.py deleted file mode 100644 index 5cd5b24..0000000 --- a/infisicalapi_client/models/api_v1_secret_approvals_post_request.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint, conlist, validator - -class ApiV1SecretApprovalsPostRequest(BaseModel): - """ - ApiV1SecretApprovalsPostRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - name: Optional[StrictStr] = None - environment: StrictStr = Field(...) - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - approvers: conlist(StrictStr, min_items=1) = Field(...) - approvals: Optional[Union[confloat(ge=1, strict=True), conint(ge=1, strict=True)]] = 1 - enforcement_level: Optional[StrictStr] = Field(default='hard', alias="enforcementLevel") - __properties = ["workspaceId", "name", "environment", "secretPath", "approvers", "approvals", "enforcementLevel"] - - @validator('enforcement_level') - def enforcement_level_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('hard', 'soft'): - raise ValueError("must be one of enum values ('hard', 'soft')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalsPostRequest: - """Create an instance of ApiV1SecretApprovalsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_path (nullable) is None - # and __fields_set__ contains the field - if self.secret_path is None and "secret_path" in self.__fields_set__: - _dict['secretPath'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalsPostRequest: - """Create an instance of ApiV1SecretApprovalsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalsPostRequest.parse_obj(obj) - - _obj = ApiV1SecretApprovalsPostRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "name": obj.get("name"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "approvers": obj.get("approvers"), - "approvals": obj.get("approvals") if obj.get("approvals") is not None else 1, - "enforcement_level": obj.get("enforcementLevel") if obj.get("enforcementLevel") is not None else 'hard' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_approvals_sap_id_patch_request.py b/infisicalapi_client/models/api_v1_secret_approvals_sap_id_patch_request.py deleted file mode 100644 index 132810c..0000000 --- a/infisicalapi_client/models/api_v1_secret_approvals_sap_id_patch_request.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint, conlist, validator - -class ApiV1SecretApprovalsSapIdPatchRequest(BaseModel): - """ - ApiV1SecretApprovalsSapIdPatchRequest - """ - name: Optional[StrictStr] = None - approvers: conlist(StrictStr, min_items=1) = Field(...) - approvals: Optional[Union[confloat(ge=1, strict=True), conint(ge=1, strict=True)]] = 1 - secret_path: Optional[StrictStr] = Field(default=None, alias="secretPath") - enforcement_level: Optional[StrictStr] = Field(default=None, alias="enforcementLevel") - __properties = ["name", "approvers", "approvals", "secretPath", "enforcementLevel"] - - @validator('enforcement_level') - def enforcement_level_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('hard', 'soft'): - raise ValueError("must be one of enum values ('hard', 'soft')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretApprovalsSapIdPatchRequest: - """Create an instance of ApiV1SecretApprovalsSapIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_path (nullable) is None - # and __fields_set__ contains the field - if self.secret_path is None and "secret_path" in self.__fields_set__: - _dict['secretPath'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretApprovalsSapIdPatchRequest: - """Create an instance of ApiV1SecretApprovalsSapIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretApprovalsSapIdPatchRequest.parse_obj(obj) - - _obj = ApiV1SecretApprovalsSapIdPatchRequest.parse_obj({ - "name": obj.get("name"), - "approvers": obj.get("approvers"), - "approvals": obj.get("approvals") if obj.get("approvals") is not None else 1, - "secret_path": obj.get("secretPath"), - "enforcement_level": obj.get("enforcementLevel") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_get200_response.py b/infisicalapi_client/models/api_v1_secret_imports_get200_response.py deleted file mode 100644 index b3fb09c..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_get200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner import ApiV1SecretImportsGet200ResponseSecretImportsInner - -class ApiV1SecretImportsGet200Response(BaseModel): - """ - ApiV1SecretImportsGet200Response - """ - message: StrictStr = Field(...) - secret_imports: conlist(ApiV1SecretImportsGet200ResponseSecretImportsInner) = Field(default=..., alias="secretImports") - __properties = ["message", "secretImports"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsGet200Response: - """Create an instance of ApiV1SecretImportsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secret_imports (list) - _items = [] - if self.secret_imports: - for _item in self.secret_imports: - if _item: - _items.append(_item.to_dict()) - _dict['secretImports'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsGet200Response: - """Create an instance of ApiV1SecretImportsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsGet200Response.parse_obj(obj) - - _obj = ApiV1SecretImportsGet200Response.parse_obj({ - "message": obj.get("message"), - "secret_imports": [ApiV1SecretImportsGet200ResponseSecretImportsInner.from_dict(_item) for _item in obj.get("secretImports")] if obj.get("secretImports") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_get200_response_secret_imports_inner.py b/infisicalapi_client/models/api_v1_secret_imports_get200_response_secret_imports_inner.py deleted file mode 100644 index faa88e4..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_get200_response_secret_imports_inner.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner_import_env import ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv - -class ApiV1SecretImportsGet200ResponseSecretImportsInner(BaseModel): - """ - ApiV1SecretImportsGet200ResponseSecretImportsInner - """ - id: StrictStr = Field(...) - version: Optional[Union[StrictFloat, StrictInt]] = 1 - import_path: StrictStr = Field(default=..., alias="importPath") - position: Union[StrictFloat, StrictInt] = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - folder_id: StrictStr = Field(default=..., alias="folderId") - is_replication: Optional[StrictBool] = Field(default=False, alias="isReplication") - is_replication_success: Optional[StrictBool] = Field(default=None, alias="isReplicationSuccess") - replication_status: Optional[StrictStr] = Field(default=None, alias="replicationStatus") - last_replicated: Optional[datetime] = Field(default=None, alias="lastReplicated") - is_reserved: Optional[StrictBool] = Field(default=False, alias="isReserved") - import_env: ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv = Field(default=..., alias="importEnv") - __properties = ["id", "version", "importPath", "position", "createdAt", "updatedAt", "folderId", "isReplication", "isReplicationSuccess", "replicationStatus", "lastReplicated", "isReserved", "importEnv"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsGet200ResponseSecretImportsInner: - """Create an instance of ApiV1SecretImportsGet200ResponseSecretImportsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of import_env - if self.import_env: - _dict['importEnv'] = self.import_env.to_dict() - # set to None if version (nullable) is None - # and __fields_set__ contains the field - if self.version is None and "version" in self.__fields_set__: - _dict['version'] = None - - # set to None if is_replication (nullable) is None - # and __fields_set__ contains the field - if self.is_replication is None and "is_replication" in self.__fields_set__: - _dict['isReplication'] = None - - # set to None if is_replication_success (nullable) is None - # and __fields_set__ contains the field - if self.is_replication_success is None and "is_replication_success" in self.__fields_set__: - _dict['isReplicationSuccess'] = None - - # set to None if replication_status (nullable) is None - # and __fields_set__ contains the field - if self.replication_status is None and "replication_status" in self.__fields_set__: - _dict['replicationStatus'] = None - - # set to None if last_replicated (nullable) is None - # and __fields_set__ contains the field - if self.last_replicated is None and "last_replicated" in self.__fields_set__: - _dict['lastReplicated'] = None - - # set to None if is_reserved (nullable) is None - # and __fields_set__ contains the field - if self.is_reserved is None and "is_reserved" in self.__fields_set__: - _dict['isReserved'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsGet200ResponseSecretImportsInner: - """Create an instance of ApiV1SecretImportsGet200ResponseSecretImportsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsGet200ResponseSecretImportsInner.parse_obj(obj) - - _obj = ApiV1SecretImportsGet200ResponseSecretImportsInner.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version") if obj.get("version") is not None else 1, - "import_path": obj.get("importPath"), - "position": obj.get("position"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "folder_id": obj.get("folderId"), - "is_replication": obj.get("isReplication") if obj.get("isReplication") is not None else False, - "is_replication_success": obj.get("isReplicationSuccess"), - "replication_status": obj.get("replicationStatus"), - "last_replicated": obj.get("lastReplicated"), - "is_reserved": obj.get("isReserved") if obj.get("isReserved") is not None else False, - "import_env": ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.from_dict(obj.get("importEnv")) if obj.get("importEnv") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_get200_response_secret_imports_inner_import_env.py b/infisicalapi_client/models/api_v1_secret_imports_get200_response_secret_imports_inner_import_env.py deleted file mode 100644 index e51b206..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_get200_response_secret_imports_inner_import_env.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv(BaseModel): - """ - ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv - """ - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - id: StrictStr = Field(...) - __properties = ["name", "slug", "id"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv: - """Create an instance of ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv: - """Create an instance of ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.parse_obj(obj) - - _obj = ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.parse_obj({ - "name": obj.get("name"), - "slug": obj.get("slug"), - "id": obj.get("id") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_post200_response.py b/infisicalapi_client/models/api_v1_secret_imports_post200_response.py deleted file mode 100644 index 8c2eed1..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_post200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner import ApiV1SecretImportsGet200ResponseSecretImportsInner - -class ApiV1SecretImportsPost200Response(BaseModel): - """ - ApiV1SecretImportsPost200Response - """ - message: StrictStr = Field(...) - secret_import: ApiV1SecretImportsGet200ResponseSecretImportsInner = Field(default=..., alias="secretImport") - __properties = ["message", "secretImport"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsPost200Response: - """Create an instance of ApiV1SecretImportsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_import - if self.secret_import: - _dict['secretImport'] = self.secret_import.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsPost200Response: - """Create an instance of ApiV1SecretImportsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsPost200Response.parse_obj(obj) - - _obj = ApiV1SecretImportsPost200Response.parse_obj({ - "message": obj.get("message"), - "secret_import": ApiV1SecretImportsGet200ResponseSecretImportsInner.from_dict(obj.get("secretImport")) if obj.get("secretImport") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_post_request.py b/infisicalapi_client/models/api_v1_secret_imports_post_request.py deleted file mode 100644 index 712b52c..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_post_request.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr -from infisicalapi_client.models.api_v1_secret_imports_post_request_import import ApiV1SecretImportsPostRequestImport - -class ApiV1SecretImportsPostRequest(BaseModel): - """ - ApiV1SecretImportsPostRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project you are working in.") - environment: StrictStr = Field(default=..., description="The slug of the environment to import into.") - path: Optional[StrictStr] = Field(default='/', description="The path to import into.") - var_import: ApiV1SecretImportsPostRequestImport = Field(default=..., alias="import") - is_replication: Optional[StrictBool] = Field(default=False, alias="isReplication", description="When true, secrets from the source will be automatically sent to the destination. If approval policies exist at the destination, the secrets will be sent as approval requests instead of being applied immediately.") - __properties = ["workspaceId", "environment", "path", "import", "isReplication"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsPostRequest: - """Create an instance of ApiV1SecretImportsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of var_import - if self.var_import: - _dict['import'] = self.var_import.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsPostRequest: - """Create an instance of ApiV1SecretImportsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsPostRequest.parse_obj(obj) - - _obj = ApiV1SecretImportsPostRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "var_import": ApiV1SecretImportsPostRequestImport.from_dict(obj.get("import")) if obj.get("import") is not None else None, - "is_replication": obj.get("isReplication") if obj.get("isReplication") is not None else False - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_post_request_import.py b/infisicalapi_client/models/api_v1_secret_imports_post_request_import.py deleted file mode 100644 index 3f6d0af..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_post_request_import.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretImportsPostRequestImport(BaseModel): - """ - ApiV1SecretImportsPostRequestImport - """ - environment: StrictStr = Field(default=..., description="The slug of the environment to import from.") - path: StrictStr = Field(default=..., description="The path to import from.") - __properties = ["environment", "path"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsPostRequestImport: - """Create an instance of ApiV1SecretImportsPostRequestImport from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsPostRequestImport: - """Create an instance of ApiV1SecretImportsPostRequestImport from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsPostRequestImport.parse_obj(obj) - - _obj = ApiV1SecretImportsPostRequestImport.parse_obj({ - "environment": obj.get("environment"), - "path": obj.get("path") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_delete_request.py b/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_delete_request.py deleted file mode 100644 index ac7ad3f..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_delete_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretImportsSecretImportIdDeleteRequest(BaseModel): - """ - ApiV1SecretImportsSecretImportIdDeleteRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project to delete the secret import from.") - environment: StrictStr = Field(default=..., description="The slug of the environment where the secret import is located.") - path: Optional[StrictStr] = Field(default='/', description="The path of the secret import to delete.") - __properties = ["workspaceId", "environment", "path"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsSecretImportIdDeleteRequest: - """Create an instance of ApiV1SecretImportsSecretImportIdDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsSecretImportIdDeleteRequest: - """Create an instance of ApiV1SecretImportsSecretImportIdDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsSecretImportIdDeleteRequest.parse_obj(obj) - - _obj = ApiV1SecretImportsSecretImportIdDeleteRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "path": obj.get("path") if obj.get("path") is not None else '/' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_patch_request.py b/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_patch_request.py deleted file mode 100644 index a37d156..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_patch_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request_import import ApiV1SecretImportsSecretImportIdPatchRequestImport - -class ApiV1SecretImportsSecretImportIdPatchRequest(BaseModel): - """ - ApiV1SecretImportsSecretImportIdPatchRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project where the secret import is located.") - environment: StrictStr = Field(default=..., description="The slug of the environment where the secret import is located.") - path: Optional[StrictStr] = Field(default='/', description="The path of the secret import to update.") - var_import: ApiV1SecretImportsSecretImportIdPatchRequestImport = Field(default=..., alias="import") - __properties = ["workspaceId", "environment", "path", "import"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsSecretImportIdPatchRequest: - """Create an instance of ApiV1SecretImportsSecretImportIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of var_import - if self.var_import: - _dict['import'] = self.var_import.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsSecretImportIdPatchRequest: - """Create an instance of ApiV1SecretImportsSecretImportIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsSecretImportIdPatchRequest.parse_obj(obj) - - _obj = ApiV1SecretImportsSecretImportIdPatchRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "path": obj.get("path") if obj.get("path") is not None else '/', - "var_import": ApiV1SecretImportsSecretImportIdPatchRequestImport.from_dict(obj.get("import")) if obj.get("import") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_patch_request_import.py b/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_patch_request_import.py deleted file mode 100644 index 035cf7d..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_patch_request_import.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1SecretImportsSecretImportIdPatchRequestImport(BaseModel): - """ - ApiV1SecretImportsSecretImportIdPatchRequestImport - """ - environment: Optional[StrictStr] = Field(default=None, description="The new environment slug to import from.") - path: Optional[StrictStr] = Field(default=None, description="The new path to import from.") - position: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The new position of the secret import. The lowest number will be displayed as the first import.") - __properties = ["environment", "path", "position"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsSecretImportIdPatchRequestImport: - """Create an instance of ApiV1SecretImportsSecretImportIdPatchRequestImport from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsSecretImportIdPatchRequestImport: - """Create an instance of ApiV1SecretImportsSecretImportIdPatchRequestImport from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsSecretImportIdPatchRequestImport.parse_obj(obj) - - _obj = ApiV1SecretImportsSecretImportIdPatchRequestImport.parse_obj({ - "environment": obj.get("environment"), - "path": obj.get("path"), - "position": obj.get("position") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_replication_resync_post_request.py b/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_replication_resync_post_request.py deleted file mode 100644 index 4134c0d..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_secret_import_id_replication_resync_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest(BaseModel): - """ - ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project where the secret import is located.") - environment: StrictStr = Field(default=..., description="The slug of the environment where the secret import is located.") - path: Optional[StrictStr] = Field(default='/', description="The path of the secret import to update.") - __properties = ["workspaceId", "environment", "path"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest: - """Create an instance of ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest: - """Create an instance of ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.parse_obj(obj) - - _obj = ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "path": obj.get("path") if obj.get("path") is not None else '/' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response.py b/infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response.py deleted file mode 100644 index 05749d7..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInner - -class ApiV1SecretImportsSecretsGet200Response(BaseModel): - """ - ApiV1SecretImportsSecretsGet200Response - """ - secrets: conlist(ApiV1SecretImportsSecretsGet200ResponseSecretsInner) = Field(...) - __properties = ["secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsSecretsGet200Response: - """Create an instance of ApiV1SecretImportsSecretsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsSecretsGet200Response: - """Create an instance of ApiV1SecretImportsSecretsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsSecretsGet200Response.parse_obj(obj) - - _obj = ApiV1SecretImportsSecretsGet200Response.parse_obj({ - "secrets": [ApiV1SecretImportsSecretsGet200ResponseSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response_secrets_inner.py b/infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response_secrets_inner.py deleted file mode 100644 index 0c8b1af..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response_secrets_inner.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner - -class ApiV1SecretImportsSecretsGet200ResponseSecretsInner(BaseModel): - """ - ApiV1SecretImportsSecretsGet200ResponseSecretsInner - """ - secret_path: StrictStr = Field(default=..., alias="secretPath") - environment: StrictStr = Field(...) - environment_info: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(default=..., alias="environmentInfo") - folder_id: Optional[StrictStr] = Field(default=None, alias="folderId") - secrets: conlist(ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner) = Field(...) - __properties = ["secretPath", "environment", "environmentInfo", "folderId", "secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsSecretsGet200ResponseSecretsInner: - """Create an instance of ApiV1SecretImportsSecretsGet200ResponseSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment_info - if self.environment_info: - _dict['environmentInfo'] = self.environment_info.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsSecretsGet200ResponseSecretsInner: - """Create an instance of ApiV1SecretImportsSecretsGet200ResponseSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsSecretsGet200ResponseSecretsInner.parse_obj(obj) - - _obj = ApiV1SecretImportsSecretsGet200ResponseSecretsInner.parse_obj({ - "secret_path": obj.get("secretPath"), - "environment": obj.get("environment"), - "environment_info": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environmentInfo")) if obj.get("environmentInfo") is not None else None, - "folder_id": obj.get("folderId"), - "secrets": [ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner.py b/infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner.py deleted file mode 100644 index 2c1510f..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner.py +++ /dev/null @@ -1,153 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner(BaseModel): - """ - ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner - """ - id: StrictStr = Field(...) - version: Optional[Union[StrictFloat, StrictInt]] = 1 - type: Optional[StrictStr] = 'shared' - secret_key_ciphertext: StrictStr = Field(default=..., alias="secretKeyCiphertext") - secret_key_iv: StrictStr = Field(default=..., alias="secretKeyIV") - secret_key_tag: StrictStr = Field(default=..., alias="secretKeyTag") - secret_value_ciphertext: StrictStr = Field(default=..., alias="secretValueCiphertext") - secret_value_iv: StrictStr = Field(default=..., alias="secretValueIV") - secret_value_tag: StrictStr = Field(default=..., alias="secretValueTag") - secret_comment_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretCommentCiphertext") - secret_comment_iv: Optional[StrictStr] = Field(default=None, alias="secretCommentIV") - secret_comment_tag: Optional[StrictStr] = Field(default=None, alias="secretCommentTag") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - algorithm: Optional[StrictStr] = 'aes-256-gcm' - key_encoding: Optional[StrictStr] = Field(default='utf8', alias="keyEncoding") - metadata: Optional[Any] = None - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - folder_id: StrictStr = Field(default=..., alias="folderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "version", "type", "secretKeyCiphertext", "secretKeyIV", "secretKeyTag", "secretValueCiphertext", "secretValueIV", "secretValueTag", "secretCommentCiphertext", "secretCommentIV", "secretCommentTag", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "algorithm", "keyEncoding", "metadata", "userId", "folderId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner: - """Create an instance of ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_comment_ciphertext (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_ciphertext is None and "secret_comment_ciphertext" in self.__fields_set__: - _dict['secretCommentCiphertext'] = None - - # set to None if secret_comment_iv (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_iv is None and "secret_comment_iv" in self.__fields_set__: - _dict['secretCommentIV'] = None - - # set to None if secret_comment_tag (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_tag is None and "secret_comment_tag" in self.__fields_set__: - _dict['secretCommentTag'] = None - - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner: - """Create an instance of ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.parse_obj(obj) - - _obj = ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version") if obj.get("version") is not None else 1, - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_key_ciphertext": obj.get("secretKeyCiphertext"), - "secret_key_iv": obj.get("secretKeyIV"), - "secret_key_tag": obj.get("secretKeyTag"), - "secret_value_ciphertext": obj.get("secretValueCiphertext"), - "secret_value_iv": obj.get("secretValueIV"), - "secret_value_tag": obj.get("secretValueTag"), - "secret_comment_ciphertext": obj.get("secretCommentCiphertext"), - "secret_comment_iv": obj.get("secretCommentIV"), - "secret_comment_tag": obj.get("secretCommentTag"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "algorithm": obj.get("algorithm") if obj.get("algorithm") is not None else 'aes-256-gcm', - "key_encoding": obj.get("keyEncoding") if obj.get("keyEncoding") is not None else 'utf8', - "metadata": obj.get("metadata"), - "user_id": obj.get("userId"), - "folder_id": obj.get("folderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_secrets_raw_get200_response.py b/infisicalapi_client/models/api_v1_secret_imports_secrets_raw_get200_response.py deleted file mode 100644 index 0742691..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_secrets_raw_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response_secrets_inner import ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner - -class ApiV1SecretImportsSecretsRawGet200Response(BaseModel): - """ - ApiV1SecretImportsSecretsRawGet200Response - """ - secrets: conlist(ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner) = Field(...) - __properties = ["secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsSecretsRawGet200Response: - """Create an instance of ApiV1SecretImportsSecretsRawGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsSecretsRawGet200Response: - """Create an instance of ApiV1SecretImportsSecretsRawGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsSecretsRawGet200Response.parse_obj(obj) - - _obj = ApiV1SecretImportsSecretsRawGet200Response.parse_obj({ - "secrets": [ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_imports_secrets_raw_get200_response_secrets_inner.py b/infisicalapi_client/models/api_v1_secret_imports_secrets_raw_get200_response_secrets_inner.py deleted file mode 100644 index 153c42d..0000000 --- a/infisicalapi_client/models/api_v1_secret_imports_secrets_raw_get200_response_secrets_inner.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner import ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner - -class ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner(BaseModel): - """ - ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner - """ - secret_path: StrictStr = Field(default=..., alias="secretPath") - environment: StrictStr = Field(...) - environment_info: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(default=..., alias="environmentInfo") - folder_id: Optional[StrictStr] = Field(default=None, alias="folderId") - secrets: conlist(ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner) = Field(...) - __properties = ["secretPath", "environment", "environmentInfo", "folderId", "secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner: - """Create an instance of ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment_info - if self.environment_info: - _dict['environmentInfo'] = self.environment_info.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner: - """Create an instance of ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.parse_obj(obj) - - _obj = ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner.parse_obj({ - "secret_path": obj.get("secretPath"), - "environment": obj.get("environment"), - "environment_info": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environmentInfo")) if obj.get("environmentInfo") is not None else None, - "folder_id": obj.get("folderId"), - "secrets": [ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotation_providers_workspace_id_get200_response.py b/infisicalapi_client/models/api_v1_secret_rotation_providers_workspace_id_get200_response.py deleted file mode 100644 index 90866b9..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotation_providers_workspace_id_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner import ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner - -class ApiV1SecretRotationProvidersWorkspaceIdGet200Response(BaseModel): - """ - ApiV1SecretRotationProvidersWorkspaceIdGet200Response - """ - providers: conlist(ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner) = Field(...) - __properties = ["providers"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationProvidersWorkspaceIdGet200Response: - """Create an instance of ApiV1SecretRotationProvidersWorkspaceIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in providers (list) - _items = [] - if self.providers: - for _item in self.providers: - if _item: - _items.append(_item.to_dict()) - _dict['providers'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationProvidersWorkspaceIdGet200Response: - """Create an instance of ApiV1SecretRotationProvidersWorkspaceIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationProvidersWorkspaceIdGet200Response.parse_obj(obj) - - _obj = ApiV1SecretRotationProvidersWorkspaceIdGet200Response.parse_obj({ - "providers": [ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.from_dict(_item) for _item in obj.get("providers")] if obj.get("providers") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner.py b/infisicalapi_client/models/api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner.py deleted file mode 100644 index 4538861..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner(BaseModel): - """ - ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner - """ - name: StrictStr = Field(...) - title: StrictStr = Field(...) - image: Optional[StrictStr] = None - description: Optional[StrictStr] = None - template: Optional[Any] = None - __properties = ["name", "title", "image", "description", "template"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner: - """Create an instance of ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if template (nullable) is None - # and __fields_set__ contains the field - if self.template is None and "template" in self.__fields_set__: - _dict['template'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner: - """Create an instance of ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.parse_obj(obj) - - _obj = ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner.parse_obj({ - "name": obj.get("name"), - "title": obj.get("title"), - "image": obj.get("image"), - "description": obj.get("description"), - "template": obj.get("template") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_get200_response.py b/infisicalapi_client/models/api_v1_secret_rotations_get200_response.py deleted file mode 100644 index 4700dfb..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner import ApiV1SecretRotationsGet200ResponseSecretRotationsInner - -class ApiV1SecretRotationsGet200Response(BaseModel): - """ - ApiV1SecretRotationsGet200Response - """ - secret_rotations: conlist(ApiV1SecretRotationsGet200ResponseSecretRotationsInner) = Field(default=..., alias="secretRotations") - __properties = ["secretRotations"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsGet200Response: - """Create an instance of ApiV1SecretRotationsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secret_rotations (list) - _items = [] - if self.secret_rotations: - for _item in self.secret_rotations: - if _item: - _items.append(_item.to_dict()) - _dict['secretRotations'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsGet200Response: - """Create an instance of ApiV1SecretRotationsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsGet200Response.parse_obj(obj) - - _obj = ApiV1SecretRotationsGet200Response.parse_obj({ - "secret_rotations": [ApiV1SecretRotationsGet200ResponseSecretRotationsInner.from_dict(_item) for _item in obj.get("secretRotations")] if obj.get("secretRotations") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner.py b/infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner.py deleted file mode 100644 index 371c6b6..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner.py +++ /dev/null @@ -1,155 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner import ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner - -class ApiV1SecretRotationsGet200ResponseSecretRotationsInner(BaseModel): - """ - ApiV1SecretRotationsGet200ResponseSecretRotationsInner - """ - id: StrictStr = Field(...) - provider: StrictStr = Field(...) - secret_path: StrictStr = Field(default=..., alias="secretPath") - interval: Union[StrictFloat, StrictInt] = Field(...) - last_rotated_at: Optional[datetime] = Field(default=None, alias="lastRotatedAt") - status: Optional[StrictStr] = None - status_message: Optional[StrictStr] = Field(default=None, alias="statusMessage") - encrypted_data: Optional[StrictStr] = Field(default=None, alias="encryptedData") - encrypted_data_iv: Optional[StrictStr] = Field(default=None, alias="encryptedDataIV") - encrypted_data_tag: Optional[StrictStr] = Field(default=None, alias="encryptedDataTag") - algorithm: Optional[StrictStr] = None - key_encoding: Optional[StrictStr] = Field(default=None, alias="keyEncoding") - env_id: StrictStr = Field(default=..., alias="envId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - environment: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(...) - outputs: conlist(ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner) = Field(...) - __properties = ["id", "provider", "secretPath", "interval", "lastRotatedAt", "status", "statusMessage", "encryptedData", "encryptedDataIV", "encryptedDataTag", "algorithm", "keyEncoding", "envId", "createdAt", "updatedAt", "environment", "outputs"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsGet200ResponseSecretRotationsInner: - """Create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in outputs (list) - _items = [] - if self.outputs: - for _item in self.outputs: - if _item: - _items.append(_item.to_dict()) - _dict['outputs'] = _items - # set to None if last_rotated_at (nullable) is None - # and __fields_set__ contains the field - if self.last_rotated_at is None and "last_rotated_at" in self.__fields_set__: - _dict['lastRotatedAt'] = None - - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - # set to None if status_message (nullable) is None - # and __fields_set__ contains the field - if self.status_message is None and "status_message" in self.__fields_set__: - _dict['statusMessage'] = None - - # set to None if encrypted_data (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_data is None and "encrypted_data" in self.__fields_set__: - _dict['encryptedData'] = None - - # set to None if encrypted_data_iv (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_data_iv is None and "encrypted_data_iv" in self.__fields_set__: - _dict['encryptedDataIV'] = None - - # set to None if encrypted_data_tag (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_data_tag is None and "encrypted_data_tag" in self.__fields_set__: - _dict['encryptedDataTag'] = None - - # set to None if algorithm (nullable) is None - # and __fields_set__ contains the field - if self.algorithm is None and "algorithm" in self.__fields_set__: - _dict['algorithm'] = None - - # set to None if key_encoding (nullable) is None - # and __fields_set__ contains the field - if self.key_encoding is None and "key_encoding" in self.__fields_set__: - _dict['keyEncoding'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsGet200ResponseSecretRotationsInner: - """Create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsGet200ResponseSecretRotationsInner.parse_obj(obj) - - _obj = ApiV1SecretRotationsGet200ResponseSecretRotationsInner.parse_obj({ - "id": obj.get("id"), - "provider": obj.get("provider"), - "secret_path": obj.get("secretPath"), - "interval": obj.get("interval"), - "last_rotated_at": obj.get("lastRotatedAt"), - "status": obj.get("status"), - "status_message": obj.get("statusMessage"), - "encrypted_data": obj.get("encryptedData"), - "encrypted_data_iv": obj.get("encryptedDataIV"), - "encrypted_data_tag": obj.get("encryptedDataTag"), - "algorithm": obj.get("algorithm"), - "key_encoding": obj.get("keyEncoding"), - "env_id": obj.get("envId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "environment": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None, - "outputs": [ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.from_dict(_item) for _item in obj.get("outputs")] if obj.get("outputs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner.py b/infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner.py deleted file mode 100644 index c427e56..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret import ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret - -class ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner(BaseModel): - """ - ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner - """ - key: StrictStr = Field(...) - secret: ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret = Field(...) - __properties = ["key", "secret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner: - """Create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret - if self.secret: - _dict['secret'] = self.secret.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner: - """Create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.parse_obj(obj) - - _obj = ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner.parse_obj({ - "key": obj.get("key"), - "secret": ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.from_dict(obj.get("secret")) if obj.get("secret") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret.py b/infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret.py deleted file mode 100644 index 45a9362..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret(BaseModel): - """ - ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret - """ - secret_key: StrictStr = Field(default=..., alias="secretKey") - id: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - __properties = ["secretKey", "id", "version"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret: - """Create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret: - """Create an instance of ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.parse_obj(obj) - - _obj = ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret.parse_obj({ - "secret_key": obj.get("secretKey"), - "id": obj.get("id"), - "version": obj.get("version") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_post200_response.py b/infisicalapi_client/models/api_v1_secret_rotations_post200_response.py deleted file mode 100644 index ec6f768..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_secret_rotations_post200_response_secret_rotation import ApiV1SecretRotationsPost200ResponseSecretRotation - -class ApiV1SecretRotationsPost200Response(BaseModel): - """ - ApiV1SecretRotationsPost200Response - """ - secret_rotation: ApiV1SecretRotationsPost200ResponseSecretRotation = Field(default=..., alias="secretRotation") - __properties = ["secretRotation"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsPost200Response: - """Create an instance of ApiV1SecretRotationsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_rotation - if self.secret_rotation: - _dict['secretRotation'] = self.secret_rotation.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsPost200Response: - """Create an instance of ApiV1SecretRotationsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsPost200Response.parse_obj(obj) - - _obj = ApiV1SecretRotationsPost200Response.parse_obj({ - "secret_rotation": ApiV1SecretRotationsPost200ResponseSecretRotation.from_dict(obj.get("secretRotation")) if obj.get("secretRotation") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_post200_response_secret_rotation.py b/infisicalapi_client/models/api_v1_secret_rotations_post200_response_secret_rotation.py deleted file mode 100644 index a541196..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_post200_response_secret_rotation.py +++ /dev/null @@ -1,155 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment -from infisicalapi_client.models.api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner import ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner - -class ApiV1SecretRotationsPost200ResponseSecretRotation(BaseModel): - """ - ApiV1SecretRotationsPost200ResponseSecretRotation - """ - id: StrictStr = Field(...) - provider: StrictStr = Field(...) - secret_path: StrictStr = Field(default=..., alias="secretPath") - interval: Union[StrictFloat, StrictInt] = Field(...) - last_rotated_at: Optional[datetime] = Field(default=None, alias="lastRotatedAt") - status: Optional[StrictStr] = None - status_message: Optional[StrictStr] = Field(default=None, alias="statusMessage") - encrypted_data: Optional[StrictStr] = Field(default=None, alias="encryptedData") - encrypted_data_iv: Optional[StrictStr] = Field(default=None, alias="encryptedDataIV") - encrypted_data_tag: Optional[StrictStr] = Field(default=None, alias="encryptedDataTag") - algorithm: Optional[StrictStr] = None - key_encoding: Optional[StrictStr] = Field(default=None, alias="keyEncoding") - env_id: StrictStr = Field(default=..., alias="envId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - environment: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(...) - outputs: conlist(ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner) = Field(...) - __properties = ["id", "provider", "secretPath", "interval", "lastRotatedAt", "status", "statusMessage", "encryptedData", "encryptedDataIV", "encryptedDataTag", "algorithm", "keyEncoding", "envId", "createdAt", "updatedAt", "environment", "outputs"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsPost200ResponseSecretRotation: - """Create an instance of ApiV1SecretRotationsPost200ResponseSecretRotation from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in outputs (list) - _items = [] - if self.outputs: - for _item in self.outputs: - if _item: - _items.append(_item.to_dict()) - _dict['outputs'] = _items - # set to None if last_rotated_at (nullable) is None - # and __fields_set__ contains the field - if self.last_rotated_at is None and "last_rotated_at" in self.__fields_set__: - _dict['lastRotatedAt'] = None - - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - # set to None if status_message (nullable) is None - # and __fields_set__ contains the field - if self.status_message is None and "status_message" in self.__fields_set__: - _dict['statusMessage'] = None - - # set to None if encrypted_data (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_data is None and "encrypted_data" in self.__fields_set__: - _dict['encryptedData'] = None - - # set to None if encrypted_data_iv (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_data_iv is None and "encrypted_data_iv" in self.__fields_set__: - _dict['encryptedDataIV'] = None - - # set to None if encrypted_data_tag (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_data_tag is None and "encrypted_data_tag" in self.__fields_set__: - _dict['encryptedDataTag'] = None - - # set to None if algorithm (nullable) is None - # and __fields_set__ contains the field - if self.algorithm is None and "algorithm" in self.__fields_set__: - _dict['algorithm'] = None - - # set to None if key_encoding (nullable) is None - # and __fields_set__ contains the field - if self.key_encoding is None and "key_encoding" in self.__fields_set__: - _dict['keyEncoding'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsPost200ResponseSecretRotation: - """Create an instance of ApiV1SecretRotationsPost200ResponseSecretRotation from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsPost200ResponseSecretRotation.parse_obj(obj) - - _obj = ApiV1SecretRotationsPost200ResponseSecretRotation.parse_obj({ - "id": obj.get("id"), - "provider": obj.get("provider"), - "secret_path": obj.get("secretPath"), - "interval": obj.get("interval"), - "last_rotated_at": obj.get("lastRotatedAt"), - "status": obj.get("status"), - "status_message": obj.get("statusMessage"), - "encrypted_data": obj.get("encryptedData"), - "encrypted_data_iv": obj.get("encryptedDataIV"), - "encrypted_data_tag": obj.get("encryptedDataTag"), - "algorithm": obj.get("algorithm"), - "key_encoding": obj.get("keyEncoding"), - "env_id": obj.get("envId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "environment": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None, - "outputs": [ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.from_dict(_item) for _item in obj.get("outputs")] if obj.get("outputs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner.py b/infisicalapi_client/models/api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner.py deleted file mode 100644 index 39843f6..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner(BaseModel): - """ - ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner - """ - id: StrictStr = Field(...) - key: StrictStr = Field(...) - secret_id: StrictStr = Field(default=..., alias="secretId") - rotation_id: StrictStr = Field(default=..., alias="rotationId") - __properties = ["id", "key", "secretId", "rotationId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner: - """Create an instance of ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner: - """Create an instance of ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.parse_obj(obj) - - _obj = ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner.parse_obj({ - "id": obj.get("id"), - "key": obj.get("key"), - "secret_id": obj.get("secretId"), - "rotation_id": obj.get("rotationId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_post_request.py b/infisicalapi_client/models/api_v1_secret_rotations_post_request.py deleted file mode 100644 index b57b2ad..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_post_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, Dict, Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint - -class ApiV1SecretRotationsPostRequest(BaseModel): - """ - ApiV1SecretRotationsPostRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - secret_path: StrictStr = Field(default=..., alias="secretPath") - environment: StrictStr = Field(...) - interval: Union[confloat(ge=1, strict=True), conint(ge=1, strict=True)] = Field(...) - provider: StrictStr = Field(...) - custom_provider: Optional[StrictStr] = Field(default=None, alias="customProvider") - inputs: Dict[str, Any] = Field(...) - outputs: Dict[str, StrictStr] = Field(...) - __properties = ["workspaceId", "secretPath", "environment", "interval", "provider", "customProvider", "inputs", "outputs"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsPostRequest: - """Create an instance of ApiV1SecretRotationsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsPostRequest: - """Create an instance of ApiV1SecretRotationsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsPostRequest.parse_obj(obj) - - _obj = ApiV1SecretRotationsPostRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "secret_path": obj.get("secretPath"), - "environment": obj.get("environment"), - "interval": obj.get("interval"), - "provider": obj.get("provider"), - "custom_provider": obj.get("customProvider"), - "inputs": obj.get("inputs"), - "outputs": obj.get("outputs") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_restart_post200_response.py b/infisicalapi_client/models/api_v1_secret_rotations_restart_post200_response.py deleted file mode 100644 index 8ca545b..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_restart_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response_secret_rotation import ApiV1SecretRotationsRestartPost200ResponseSecretRotation - -class ApiV1SecretRotationsRestartPost200Response(BaseModel): - """ - ApiV1SecretRotationsRestartPost200Response - """ - secret_rotation: ApiV1SecretRotationsRestartPost200ResponseSecretRotation = Field(default=..., alias="secretRotation") - __properties = ["secretRotation"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsRestartPost200Response: - """Create an instance of ApiV1SecretRotationsRestartPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_rotation - if self.secret_rotation: - _dict['secretRotation'] = self.secret_rotation.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsRestartPost200Response: - """Create an instance of ApiV1SecretRotationsRestartPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsRestartPost200Response.parse_obj(obj) - - _obj = ApiV1SecretRotationsRestartPost200Response.parse_obj({ - "secret_rotation": ApiV1SecretRotationsRestartPost200ResponseSecretRotation.from_dict(obj.get("secretRotation")) if obj.get("secretRotation") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_restart_post200_response_secret_rotation.py b/infisicalapi_client/models/api_v1_secret_rotations_restart_post200_response_secret_rotation.py deleted file mode 100644 index 83f4b61..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_restart_post200_response_secret_rotation.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - -class ApiV1SecretRotationsRestartPost200ResponseSecretRotation(BaseModel): - """ - ApiV1SecretRotationsRestartPost200ResponseSecretRotation - """ - id: StrictStr = Field(...) - provider: StrictStr = Field(...) - secret_path: StrictStr = Field(default=..., alias="secretPath") - interval: Union[StrictFloat, StrictInt] = Field(...) - last_rotated_at: Optional[datetime] = Field(default=None, alias="lastRotatedAt") - status: Optional[StrictStr] = None - status_message: Optional[StrictStr] = Field(default=None, alias="statusMessage") - encrypted_data: Optional[StrictStr] = Field(default=None, alias="encryptedData") - encrypted_data_iv: Optional[StrictStr] = Field(default=None, alias="encryptedDataIV") - encrypted_data_tag: Optional[StrictStr] = Field(default=None, alias="encryptedDataTag") - algorithm: Optional[StrictStr] = None - key_encoding: Optional[StrictStr] = Field(default=None, alias="keyEncoding") - env_id: StrictStr = Field(default=..., alias="envId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - environment: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(...) - __properties = ["id", "provider", "secretPath", "interval", "lastRotatedAt", "status", "statusMessage", "encryptedData", "encryptedDataIV", "encryptedDataTag", "algorithm", "keyEncoding", "envId", "createdAt", "updatedAt", "environment"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsRestartPost200ResponseSecretRotation: - """Create an instance of ApiV1SecretRotationsRestartPost200ResponseSecretRotation from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - # set to None if last_rotated_at (nullable) is None - # and __fields_set__ contains the field - if self.last_rotated_at is None and "last_rotated_at" in self.__fields_set__: - _dict['lastRotatedAt'] = None - - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - # set to None if status_message (nullable) is None - # and __fields_set__ contains the field - if self.status_message is None and "status_message" in self.__fields_set__: - _dict['statusMessage'] = None - - # set to None if encrypted_data (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_data is None and "encrypted_data" in self.__fields_set__: - _dict['encryptedData'] = None - - # set to None if encrypted_data_iv (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_data_iv is None and "encrypted_data_iv" in self.__fields_set__: - _dict['encryptedDataIV'] = None - - # set to None if encrypted_data_tag (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_data_tag is None and "encrypted_data_tag" in self.__fields_set__: - _dict['encryptedDataTag'] = None - - # set to None if algorithm (nullable) is None - # and __fields_set__ contains the field - if self.algorithm is None and "algorithm" in self.__fields_set__: - _dict['algorithm'] = None - - # set to None if key_encoding (nullable) is None - # and __fields_set__ contains the field - if self.key_encoding is None and "key_encoding" in self.__fields_set__: - _dict['keyEncoding'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsRestartPost200ResponseSecretRotation: - """Create an instance of ApiV1SecretRotationsRestartPost200ResponseSecretRotation from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsRestartPost200ResponseSecretRotation.parse_obj(obj) - - _obj = ApiV1SecretRotationsRestartPost200ResponseSecretRotation.parse_obj({ - "id": obj.get("id"), - "provider": obj.get("provider"), - "secret_path": obj.get("secretPath"), - "interval": obj.get("interval"), - "last_rotated_at": obj.get("lastRotatedAt"), - "status": obj.get("status"), - "status_message": obj.get("statusMessage"), - "encrypted_data": obj.get("encryptedData"), - "encrypted_data_iv": obj.get("encryptedDataIV"), - "encrypted_data_tag": obj.get("encryptedDataTag"), - "algorithm": obj.get("algorithm"), - "key_encoding": obj.get("keyEncoding"), - "env_id": obj.get("envId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "environment": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_rotations_restart_post_request.py b/infisicalapi_client/models/api_v1_secret_rotations_restart_post_request.py deleted file mode 100644 index bfce9d6..0000000 --- a/infisicalapi_client/models/api_v1_secret_rotations_restart_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretRotationsRestartPostRequest(BaseModel): - """ - ApiV1SecretRotationsRestartPostRequest - """ - id: StrictStr = Field(...) - __properties = ["id"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretRotationsRestartPostRequest: - """Create an instance of ApiV1SecretRotationsRestartPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretRotationsRestartPostRequest: - """Create an instance of ApiV1SecretRotationsRestartPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretRotationsRestartPostRequest.parse_obj(obj) - - _obj = ApiV1SecretRotationsRestartPostRequest.parse_obj({ - "id": obj.get("id") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_scanning_create_installation_session_organization_post200_response.py b/infisicalapi_client/models/api_v1_secret_scanning_create_installation_session_organization_post200_response.py deleted file mode 100644 index fd14a1b..0000000 --- a/infisicalapi_client/models/api_v1_secret_scanning_create_installation_session_organization_post200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response(BaseModel): - """ - ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response - """ - session_id: StrictStr = Field(default=..., alias="sessionId") - __properties = ["sessionId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response: - """Create an instance of ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response: - """Create an instance of ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.parse_obj(obj) - - _obj = ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response.parse_obj({ - "session_id": obj.get("sessionId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_scanning_create_installation_session_organization_post_request.py b/infisicalapi_client/models/api_v1_secret_scanning_create_installation_session_organization_post_request.py deleted file mode 100644 index 4d11c24..0000000 --- a/infisicalapi_client/models/api_v1_secret_scanning_create_installation_session_organization_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest(BaseModel): - """ - ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest - """ - organization_id: StrictStr = Field(default=..., alias="organizationId") - __properties = ["organizationId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest: - """Create an instance of ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest: - """Create an instance of ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.parse_obj(obj) - - _obj = ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest.parse_obj({ - "organization_id": obj.get("organizationId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_scanning_installation_status_organization_organization_id_get200_response.py b/infisicalapi_client/models/api_v1_secret_scanning_installation_status_organization_organization_id_get200_response.py deleted file mode 100644 index 0cebf91..0000000 --- a/infisicalapi_client/models/api_v1_secret_scanning_installation_status_organization_organization_id_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictBool - -class ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response(BaseModel): - """ - ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response - """ - app_installation_completed: StrictBool = Field(default=..., alias="appInstallationCompleted") - __properties = ["appInstallationCompleted"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response: - """Create an instance of ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response: - """Create an instance of ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.parse_obj(obj) - - _obj = ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response.parse_obj({ - "app_installation_completed": obj.get("appInstallationCompleted") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_scanning_link_installation_post200_response.py b/infisicalapi_client/models/api_v1_secret_scanning_link_installation_post200_response.py deleted file mode 100644 index b7e705e..0000000 --- a/infisicalapi_client/models/api_v1_secret_scanning_link_installation_post200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretScanningLinkInstallationPost200Response(BaseModel): - """ - ApiV1SecretScanningLinkInstallationPost200Response - """ - id: StrictStr = Field(...) - installation_id: StrictStr = Field(default=..., alias="installationId") - user_id: StrictStr = Field(default=..., alias="userId") - org_id: StrictStr = Field(default=..., alias="orgId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "installationId", "userId", "orgId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretScanningLinkInstallationPost200Response: - """Create an instance of ApiV1SecretScanningLinkInstallationPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretScanningLinkInstallationPost200Response: - """Create an instance of ApiV1SecretScanningLinkInstallationPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretScanningLinkInstallationPost200Response.parse_obj(obj) - - _obj = ApiV1SecretScanningLinkInstallationPost200Response.parse_obj({ - "id": obj.get("id"), - "installation_id": obj.get("installationId"), - "user_id": obj.get("userId"), - "org_id": obj.get("orgId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_scanning_link_installation_post_request.py b/infisicalapi_client/models/api_v1_secret_scanning_link_installation_post_request.py deleted file mode 100644 index 9e98269..0000000 --- a/infisicalapi_client/models/api_v1_secret_scanning_link_installation_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretScanningLinkInstallationPostRequest(BaseModel): - """ - ApiV1SecretScanningLinkInstallationPostRequest - """ - installation_id: StrictStr = Field(default=..., alias="installationId") - session_id: StrictStr = Field(default=..., alias="sessionId") - __properties = ["installationId", "sessionId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretScanningLinkInstallationPostRequest: - """Create an instance of ApiV1SecretScanningLinkInstallationPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretScanningLinkInstallationPostRequest: - """Create an instance of ApiV1SecretScanningLinkInstallationPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretScanningLinkInstallationPostRequest.parse_obj(obj) - - _obj = ApiV1SecretScanningLinkInstallationPostRequest.parse_obj({ - "installation_id": obj.get("installationId"), - "session_id": obj.get("sessionId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_get200_response.py b/infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_get200_response.py deleted file mode 100644 index 644addb..0000000 --- a/infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner - -class ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response(BaseModel): - """ - ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response - """ - risks: conlist(ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner) = Field(...) - __properties = ["risks"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response: - """Create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in risks (list) - _items = [] - if self.risks: - for _item in self.risks: - if _item: - _items.append(_item.to_dict()) - _dict['risks'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response: - """Create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.parse_obj(obj) - - _obj = ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response.parse_obj({ - "risks": [ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.from_dict(_item) for _item in obj.get("risks")] if obj.get("risks") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner.py b/infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner.py deleted file mode 100644 index 65bafb1..0000000 --- a/infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner.py +++ /dev/null @@ -1,261 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist - -class ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner(BaseModel): - """ - ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner - """ - id: StrictStr = Field(...) - description: Optional[StrictStr] = None - start_line: Optional[StrictStr] = Field(default=None, alias="startLine") - end_line: Optional[StrictStr] = Field(default=None, alias="endLine") - start_column: Optional[StrictStr] = Field(default=None, alias="startColumn") - end_column: Optional[StrictStr] = Field(default=None, alias="endColumn") - file: Optional[StrictStr] = None - symlink_file: Optional[StrictStr] = Field(default=None, alias="symlinkFile") - commit: Optional[StrictStr] = None - entropy: Optional[StrictStr] = None - author: Optional[StrictStr] = None - email: Optional[StrictStr] = None - var_date: Optional[StrictStr] = Field(default=None, alias="date") - message: Optional[StrictStr] = None - tags: Optional[conlist(StrictStr)] = None - rule_id: Optional[StrictStr] = Field(default=None, alias="ruleID") - fingerprint: Optional[StrictStr] = None - finger_print_without_commit_id: Optional[StrictStr] = Field(default=None, alias="fingerPrintWithoutCommitId") - is_false_positive: Optional[StrictBool] = Field(default=False, alias="isFalsePositive") - is_resolved: Optional[StrictBool] = Field(default=False, alias="isResolved") - risk_owner: Optional[StrictStr] = Field(default=None, alias="riskOwner") - installation_id: StrictStr = Field(default=..., alias="installationId") - repository_id: Optional[StrictStr] = Field(default=None, alias="repositoryId") - repository_link: Optional[StrictStr] = Field(default=None, alias="repositoryLink") - repository_full_name: Optional[StrictStr] = Field(default=None, alias="repositoryFullName") - pusher_name: Optional[StrictStr] = Field(default=None, alias="pusherName") - pusher_email: Optional[StrictStr] = Field(default=None, alias="pusherEmail") - status: Optional[StrictStr] = None - org_id: StrictStr = Field(default=..., alias="orgId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "description", "startLine", "endLine", "startColumn", "endColumn", "file", "symlinkFile", "commit", "entropy", "author", "email", "date", "message", "tags", "ruleID", "fingerprint", "fingerPrintWithoutCommitId", "isFalsePositive", "isResolved", "riskOwner", "installationId", "repositoryId", "repositoryLink", "repositoryFullName", "pusherName", "pusherEmail", "status", "orgId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner: - """Create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if description (nullable) is None - # and __fields_set__ contains the field - if self.description is None and "description" in self.__fields_set__: - _dict['description'] = None - - # set to None if start_line (nullable) is None - # and __fields_set__ contains the field - if self.start_line is None and "start_line" in self.__fields_set__: - _dict['startLine'] = None - - # set to None if end_line (nullable) is None - # and __fields_set__ contains the field - if self.end_line is None and "end_line" in self.__fields_set__: - _dict['endLine'] = None - - # set to None if start_column (nullable) is None - # and __fields_set__ contains the field - if self.start_column is None and "start_column" in self.__fields_set__: - _dict['startColumn'] = None - - # set to None if end_column (nullable) is None - # and __fields_set__ contains the field - if self.end_column is None and "end_column" in self.__fields_set__: - _dict['endColumn'] = None - - # set to None if file (nullable) is None - # and __fields_set__ contains the field - if self.file is None and "file" in self.__fields_set__: - _dict['file'] = None - - # set to None if symlink_file (nullable) is None - # and __fields_set__ contains the field - if self.symlink_file is None and "symlink_file" in self.__fields_set__: - _dict['symlinkFile'] = None - - # set to None if commit (nullable) is None - # and __fields_set__ contains the field - if self.commit is None and "commit" in self.__fields_set__: - _dict['commit'] = None - - # set to None if entropy (nullable) is None - # and __fields_set__ contains the field - if self.entropy is None and "entropy" in self.__fields_set__: - _dict['entropy'] = None - - # set to None if author (nullable) is None - # and __fields_set__ contains the field - if self.author is None and "author" in self.__fields_set__: - _dict['author'] = None - - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if var_date (nullable) is None - # and __fields_set__ contains the field - if self.var_date is None and "var_date" in self.__fields_set__: - _dict['date'] = None - - # set to None if message (nullable) is None - # and __fields_set__ contains the field - if self.message is None and "message" in self.__fields_set__: - _dict['message'] = None - - # set to None if tags (nullable) is None - # and __fields_set__ contains the field - if self.tags is None and "tags" in self.__fields_set__: - _dict['tags'] = None - - # set to None if rule_id (nullable) is None - # and __fields_set__ contains the field - if self.rule_id is None and "rule_id" in self.__fields_set__: - _dict['ruleID'] = None - - # set to None if fingerprint (nullable) is None - # and __fields_set__ contains the field - if self.fingerprint is None and "fingerprint" in self.__fields_set__: - _dict['fingerprint'] = None - - # set to None if finger_print_without_commit_id (nullable) is None - # and __fields_set__ contains the field - if self.finger_print_without_commit_id is None and "finger_print_without_commit_id" in self.__fields_set__: - _dict['fingerPrintWithoutCommitId'] = None - - # set to None if is_false_positive (nullable) is None - # and __fields_set__ contains the field - if self.is_false_positive is None and "is_false_positive" in self.__fields_set__: - _dict['isFalsePositive'] = None - - # set to None if is_resolved (nullable) is None - # and __fields_set__ contains the field - if self.is_resolved is None and "is_resolved" in self.__fields_set__: - _dict['isResolved'] = None - - # set to None if risk_owner (nullable) is None - # and __fields_set__ contains the field - if self.risk_owner is None and "risk_owner" in self.__fields_set__: - _dict['riskOwner'] = None - - # set to None if repository_id (nullable) is None - # and __fields_set__ contains the field - if self.repository_id is None and "repository_id" in self.__fields_set__: - _dict['repositoryId'] = None - - # set to None if repository_link (nullable) is None - # and __fields_set__ contains the field - if self.repository_link is None and "repository_link" in self.__fields_set__: - _dict['repositoryLink'] = None - - # set to None if repository_full_name (nullable) is None - # and __fields_set__ contains the field - if self.repository_full_name is None and "repository_full_name" in self.__fields_set__: - _dict['repositoryFullName'] = None - - # set to None if pusher_name (nullable) is None - # and __fields_set__ contains the field - if self.pusher_name is None and "pusher_name" in self.__fields_set__: - _dict['pusherName'] = None - - # set to None if pusher_email (nullable) is None - # and __fields_set__ contains the field - if self.pusher_email is None and "pusher_email" in self.__fields_set__: - _dict['pusherEmail'] = None - - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner: - """Create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.parse_obj(obj) - - _obj = ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner.parse_obj({ - "id": obj.get("id"), - "description": obj.get("description"), - "start_line": obj.get("startLine"), - "end_line": obj.get("endLine"), - "start_column": obj.get("startColumn"), - "end_column": obj.get("endColumn"), - "file": obj.get("file"), - "symlink_file": obj.get("symlinkFile"), - "commit": obj.get("commit"), - "entropy": obj.get("entropy"), - "author": obj.get("author"), - "email": obj.get("email"), - "var_date": obj.get("date"), - "message": obj.get("message"), - "tags": obj.get("tags"), - "rule_id": obj.get("ruleID"), - "fingerprint": obj.get("fingerprint"), - "finger_print_without_commit_id": obj.get("fingerPrintWithoutCommitId"), - "is_false_positive": obj.get("isFalsePositive") if obj.get("isFalsePositive") is not None else False, - "is_resolved": obj.get("isResolved") if obj.get("isResolved") is not None else False, - "risk_owner": obj.get("riskOwner"), - "installation_id": obj.get("installationId"), - "repository_id": obj.get("repositoryId"), - "repository_link": obj.get("repositoryLink"), - "repository_full_name": obj.get("repositoryFullName"), - "pusher_name": obj.get("pusherName"), - "pusher_email": obj.get("pusherEmail"), - "status": obj.get("status"), - "org_id": obj.get("orgId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request.py b/infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request.py deleted file mode 100644 index d856261..0000000 --- a/infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest(BaseModel): - """ - ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest - """ - status: StrictStr = Field(...) - __properties = ["status"] - - @validator('status') - def status_validate_enum(cls, value): - """Validates the enum""" - if value not in ('RESOLVED_FALSE_POSITIVE', 'RESOLVED_REVOKED', 'RESOLVED_NOT_REVOKED', 'UNRESOLVED'): - raise ValueError("must be one of enum values ('RESOLVED_FALSE_POSITIVE', 'RESOLVED_REVOKED', 'RESOLVED_NOT_REVOKED', 'UNRESOLVED')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest: - """Create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest: - """Create an instance of ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.parse_obj(obj) - - _obj = ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest.parse_obj({ - "status": obj.get("status") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_secret_id_secret_versions_get200_response.py b/infisicalapi_client/models/api_v1_secret_secret_id_secret_versions_get200_response.py deleted file mode 100644 index 9e66334..0000000 --- a/infisicalapi_client/models/api_v1_secret_secret_id_secret_versions_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner import ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner - -class ApiV1SecretSecretIdSecretVersionsGet200Response(BaseModel): - """ - ApiV1SecretSecretIdSecretVersionsGet200Response - """ - secret_versions: conlist(ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner) = Field(default=..., alias="secretVersions") - __properties = ["secretVersions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSecretIdSecretVersionsGet200Response: - """Create an instance of ApiV1SecretSecretIdSecretVersionsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secret_versions (list) - _items = [] - if self.secret_versions: - for _item in self.secret_versions: - if _item: - _items.append(_item.to_dict()) - _dict['secretVersions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSecretIdSecretVersionsGet200Response: - """Create an instance of ApiV1SecretSecretIdSecretVersionsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSecretIdSecretVersionsGet200Response.parse_obj(obj) - - _obj = ApiV1SecretSecretIdSecretVersionsGet200Response.parse_obj({ - "secret_versions": [ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.from_dict(_item) for _item in obj.get("secretVersions")] if obj.get("secretVersions") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner.py b/infisicalapi_client/models/api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner.py deleted file mode 100644 index b06c951..0000000 --- a/infisicalapi_client/models/api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner(BaseModel): - """ - ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner - """ - id: StrictStr = Field(...) - id: StrictStr = Field(default=..., alias="_id") - workspace: StrictStr = Field(...) - environment: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - type: StrictStr = Field(...) - secret_key: StrictStr = Field(default=..., alias="secretKey") - secret_value: StrictStr = Field(default=..., alias="secretValue") - secret_comment: StrictStr = Field(default=..., alias="secretComment") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - metadata: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "_id", "workspace", "environment", "version", "type", "secretKey", "secretValue", "secretComment", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "metadata", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner: - """Create an instance of ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner: - """Create an instance of ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.parse_obj(obj) - - _obj = ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.parse_obj({ - "id": obj.get("id"), - "id": obj.get("_id"), - "workspace": obj.get("workspace"), - "environment": obj.get("environment"), - "version": obj.get("version"), - "type": obj.get("type"), - "secret_key": obj.get("secretKey"), - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "metadata": obj.get("metadata"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_sharing_get200_response.py b/infisicalapi_client/models/api_v1_secret_sharing_get200_response.py deleted file mode 100644 index 0dc2f77..0000000 --- a/infisicalapi_client/models/api_v1_secret_sharing_get200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, conlist -from infisicalapi_client.models.api_v1_secret_sharing_get200_response_secrets_inner import ApiV1SecretSharingGet200ResponseSecretsInner - -class ApiV1SecretSharingGet200Response(BaseModel): - """ - ApiV1SecretSharingGet200Response - """ - secrets: conlist(ApiV1SecretSharingGet200ResponseSecretsInner) = Field(...) - total_count: Union[StrictFloat, StrictInt] = Field(default=..., alias="totalCount") - __properties = ["secrets", "totalCount"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSharingGet200Response: - """Create an instance of ApiV1SecretSharingGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSharingGet200Response: - """Create an instance of ApiV1SecretSharingGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSharingGet200Response.parse_obj(obj) - - _obj = ApiV1SecretSharingGet200Response.parse_obj({ - "secrets": [ApiV1SecretSharingGet200ResponseSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None, - "total_count": obj.get("totalCount") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_sharing_get200_response_secrets_inner.py b/infisicalapi_client/models/api_v1_secret_sharing_get200_response_secrets_inner.py deleted file mode 100644 index 00ecae3..0000000 --- a/infisicalapi_client/models/api_v1_secret_sharing_get200_response_secrets_inner.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1SecretSharingGet200ResponseSecretsInner(BaseModel): - """ - ApiV1SecretSharingGet200ResponseSecretsInner - """ - id: StrictStr = Field(...) - encrypted_value: StrictStr = Field(default=..., alias="encryptedValue") - iv: StrictStr = Field(...) - tag: StrictStr = Field(...) - hashed_hex: StrictStr = Field(default=..., alias="hashedHex") - expires_at: datetime = Field(default=..., alias="expiresAt") - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - org_id: Optional[StrictStr] = Field(default=None, alias="orgId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - expires_after_views: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="expiresAfterViews") - access_type: Optional[StrictStr] = Field(default='anyone', alias="accessType") - name: Optional[StrictStr] = None - last_viewed_at: Optional[datetime] = Field(default=None, alias="lastViewedAt") - __properties = ["id", "encryptedValue", "iv", "tag", "hashedHex", "expiresAt", "userId", "orgId", "createdAt", "updatedAt", "expiresAfterViews", "accessType", "name", "lastViewedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSharingGet200ResponseSecretsInner: - """Create an instance of ApiV1SecretSharingGet200ResponseSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - # set to None if org_id (nullable) is None - # and __fields_set__ contains the field - if self.org_id is None and "org_id" in self.__fields_set__: - _dict['orgId'] = None - - # set to None if expires_after_views (nullable) is None - # and __fields_set__ contains the field - if self.expires_after_views is None and "expires_after_views" in self.__fields_set__: - _dict['expiresAfterViews'] = None - - # set to None if name (nullable) is None - # and __fields_set__ contains the field - if self.name is None and "name" in self.__fields_set__: - _dict['name'] = None - - # set to None if last_viewed_at (nullable) is None - # and __fields_set__ contains the field - if self.last_viewed_at is None and "last_viewed_at" in self.__fields_set__: - _dict['lastViewedAt'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSharingGet200ResponseSecretsInner: - """Create an instance of ApiV1SecretSharingGet200ResponseSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSharingGet200ResponseSecretsInner.parse_obj(obj) - - _obj = ApiV1SecretSharingGet200ResponseSecretsInner.parse_obj({ - "id": obj.get("id"), - "encrypted_value": obj.get("encryptedValue"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "hashed_hex": obj.get("hashedHex"), - "expires_at": obj.get("expiresAt"), - "user_id": obj.get("userId"), - "org_id": obj.get("orgId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "expires_after_views": obj.get("expiresAfterViews"), - "access_type": obj.get("accessType") if obj.get("accessType") is not None else 'anyone', - "name": obj.get("name"), - "last_viewed_at": obj.get("lastViewedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_sharing_post200_response.py b/infisicalapi_client/models/api_v1_secret_sharing_post200_response.py deleted file mode 100644 index adb9edd..0000000 --- a/infisicalapi_client/models/api_v1_secret_sharing_post200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretSharingPost200Response(BaseModel): - """ - ApiV1SecretSharingPost200Response - """ - id: StrictStr = Field(...) - __properties = ["id"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSharingPost200Response: - """Create an instance of ApiV1SecretSharingPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSharingPost200Response: - """Create an instance of ApiV1SecretSharingPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSharingPost200Response.parse_obj(obj) - - _obj = ApiV1SecretSharingPost200Response.parse_obj({ - "id": obj.get("id") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_sharing_post_request.py b/infisicalapi_client/models/api_v1_secret_sharing_post_request.py deleted file mode 100644 index 13eeff9..0000000 --- a/infisicalapi_client/models/api_v1_secret_sharing_post_request.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint, constr, validator - -class ApiV1SecretSharingPostRequest(BaseModel): - """ - ApiV1SecretSharingPostRequest - """ - name: Optional[constr(strict=True, max_length=50)] = None - encrypted_value: StrictStr = Field(default=..., alias="encryptedValue") - hashed_hex: StrictStr = Field(default=..., alias="hashedHex") - iv: StrictStr = Field(...) - tag: StrictStr = Field(...) - expires_at: StrictStr = Field(default=..., alias="expiresAt") - expires_after_views: Optional[Union[confloat(ge=1, strict=True), conint(ge=1, strict=True)]] = Field(default=None, alias="expiresAfterViews") - access_type: Optional[StrictStr] = Field(default='organization', alias="accessType") - __properties = ["name", "encryptedValue", "hashedHex", "iv", "tag", "expiresAt", "expiresAfterViews", "accessType"] - - @validator('access_type') - def access_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('anyone', 'organization'): - raise ValueError("must be one of enum values ('anyone', 'organization')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSharingPostRequest: - """Create an instance of ApiV1SecretSharingPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSharingPostRequest: - """Create an instance of ApiV1SecretSharingPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSharingPostRequest.parse_obj(obj) - - _obj = ApiV1SecretSharingPostRequest.parse_obj({ - "name": obj.get("name"), - "encrypted_value": obj.get("encryptedValue"), - "hashed_hex": obj.get("hashedHex"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "expires_at": obj.get("expiresAt"), - "expires_after_views": obj.get("expiresAfterViews"), - "access_type": obj.get("accessType") if obj.get("accessType") is not None else 'organization' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_sharing_public_id_get200_response.py b/infisicalapi_client/models/api_v1_secret_sharing_public_id_get200_response.py deleted file mode 100644 index 1bfc8e1..0000000 --- a/infisicalapi_client/models/api_v1_secret_sharing_public_id_get200_response.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1SecretSharingPublicIdGet200Response(BaseModel): - """ - ApiV1SecretSharingPublicIdGet200Response - """ - encrypted_value: StrictStr = Field(default=..., alias="encryptedValue") - iv: StrictStr = Field(...) - tag: StrictStr = Field(...) - expires_at: datetime = Field(default=..., alias="expiresAt") - expires_after_views: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="expiresAfterViews") - access_type: Optional[StrictStr] = Field(default='anyone', alias="accessType") - org_name: Optional[StrictStr] = Field(default=None, alias="orgName") - __properties = ["encryptedValue", "iv", "tag", "expiresAt", "expiresAfterViews", "accessType", "orgName"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSharingPublicIdGet200Response: - """Create an instance of ApiV1SecretSharingPublicIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if expires_after_views (nullable) is None - # and __fields_set__ contains the field - if self.expires_after_views is None and "expires_after_views" in self.__fields_set__: - _dict['expiresAfterViews'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSharingPublicIdGet200Response: - """Create an instance of ApiV1SecretSharingPublicIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSharingPublicIdGet200Response.parse_obj(obj) - - _obj = ApiV1SecretSharingPublicIdGet200Response.parse_obj({ - "encrypted_value": obj.get("encryptedValue"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "expires_at": obj.get("expiresAt"), - "expires_after_views": obj.get("expiresAfterViews"), - "access_type": obj.get("accessType") if obj.get("accessType") is not None else 'anyone', - "org_name": obj.get("orgName") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_sharing_public_post_request.py b/infisicalapi_client/models/api_v1_secret_sharing_public_post_request.py deleted file mode 100644 index 6460bf3..0000000 --- a/infisicalapi_client/models/api_v1_secret_sharing_public_post_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictStr, confloat, conint - -class ApiV1SecretSharingPublicPostRequest(BaseModel): - """ - ApiV1SecretSharingPublicPostRequest - """ - encrypted_value: StrictStr = Field(default=..., alias="encryptedValue") - hashed_hex: StrictStr = Field(default=..., alias="hashedHex") - iv: StrictStr = Field(...) - tag: StrictStr = Field(...) - expires_at: StrictStr = Field(default=..., alias="expiresAt") - expires_after_views: Optional[Union[confloat(ge=1, strict=True), conint(ge=1, strict=True)]] = Field(default=None, alias="expiresAfterViews") - __properties = ["encryptedValue", "hashedHex", "iv", "tag", "expiresAt", "expiresAfterViews"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSharingPublicPostRequest: - """Create an instance of ApiV1SecretSharingPublicPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSharingPublicPostRequest: - """Create an instance of ApiV1SecretSharingPublicPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSharingPublicPostRequest.parse_obj(obj) - - _obj = ApiV1SecretSharingPublicPostRequest.parse_obj({ - "encrypted_value": obj.get("encryptedValue"), - "hashed_hex": obj.get("hashedHex"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "expires_at": obj.get("expiresAt"), - "expires_after_views": obj.get("expiresAfterViews") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response.py b/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response.py deleted file mode 100644 index d489cd4..0000000 --- a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot - -class ApiV1SecretSnapshotSecretSnapshotIdGet200Response(BaseModel): - """ - ApiV1SecretSnapshotSecretSnapshotIdGet200Response - """ - secret_snapshot: ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot = Field(default=..., alias="secretSnapshot") - __properties = ["secretSnapshot"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSnapshotSecretSnapshotIdGet200Response: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_snapshot - if self.secret_snapshot: - _dict['secretSnapshot'] = self.secret_snapshot.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSnapshotSecretSnapshotIdGet200Response: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSnapshotSecretSnapshotIdGet200Response.parse_obj(obj) - - _obj = ApiV1SecretSnapshotSecretSnapshotIdGet200Response.parse_obj({ - "secret_snapshot": ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.from_dict(obj.get("secretSnapshot")) if obj.get("secretSnapshot") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot.py b/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot.py deleted file mode 100644 index 805e900..0000000 --- a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner - -class ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot(BaseModel): - """ - ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot - """ - id: StrictStr = Field(...) - project_id: StrictStr = Field(default=..., alias="projectId") - environment: ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment = Field(...) - secret_versions: conlist(ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner) = Field(default=..., alias="secretVersions") - folder_version: conlist(ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner) = Field(default=..., alias="folderVersion") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "projectId", "environment", "secretVersions", "folderVersion", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in secret_versions (list) - _items = [] - if self.secret_versions: - for _item in self.secret_versions: - if _item: - _items.append(_item.to_dict()) - _dict['secretVersions'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in folder_version (list) - _items = [] - if self.folder_version: - for _item in self.folder_version: - if _item: - _items.append(_item.to_dict()) - _dict['folderVersion'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.parse_obj(obj) - - _obj = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot.parse_obj({ - "id": obj.get("id"), - "project_id": obj.get("projectId"), - "environment": ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None, - "secret_versions": [ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.from_dict(_item) for _item in obj.get("secretVersions")] if obj.get("secretVersions") is not None else None, - "folder_version": [ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.from_dict(_item) for _item in obj.get("folderVersion")] if obj.get("folderVersion") is not None else None, - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment.py b/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment.py deleted file mode 100644 index 560fd3f..0000000 --- a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment(BaseModel): - """ - ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment - """ - id: StrictStr = Field(...) - slug: StrictStr = Field(...) - name: StrictStr = Field(...) - __properties = ["id", "slug", "name"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.parse_obj(obj) - - _obj = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment.parse_obj({ - "id": obj.get("id"), - "slug": obj.get("slug"), - "name": obj.get("name") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner.py b/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner.py deleted file mode 100644 index 659da73..0000000 --- a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner(BaseModel): - """ - ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - __properties = ["id", "name"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.parse_obj(obj) - - _obj = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner.py b/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner.py deleted file mode 100644 index 9e1fb26..0000000 --- a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner - -class ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner(BaseModel): - """ - ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner - """ - id: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - secret_key: StrictStr = Field(default=..., alias="secretKey") - secret_value: StrictStr = Field(default=..., alias="secretValue") - secret_comment: StrictStr = Field(default=..., alias="secretComment") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - metadata: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - secret_id: StrictStr = Field(default=..., alias="secretId") - tags: conlist(ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner) = Field(...) - __properties = ["id", "version", "secretKey", "secretValue", "secretComment", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "metadata", "createdAt", "updatedAt", "secretId", "tags"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item in self.tags: - if _item: - _items.append(_item.to_dict()) - _dict['tags'] = _items - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.parse_obj(obj) - - _obj = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version"), - "secret_key": obj.get("secretKey"), - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "metadata": obj.get("metadata"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "secret_id": obj.get("secretId"), - "tags": [ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.from_dict(_item) for _item in obj.get("tags")] if obj.get("tags") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner.py b/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner.py deleted file mode 100644 index 2365a18..0000000 --- a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner(BaseModel): - """ - ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner - """ - id: StrictStr = Field(...) - slug: StrictStr = Field(...) - color: Optional[StrictStr] = None - __properties = ["id", "slug", "color"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if color (nullable) is None - # and __fields_set__ contains the field - if self.color is None and "color" in self.__fields_set__: - _dict['color'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.parse_obj(obj) - - _obj = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner.parse_obj({ - "id": obj.get("id"), - "slug": obj.get("slug"), - "color": obj.get("color") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response.py b/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response.py deleted file mode 100644 index 9a62cbe..0000000 --- a/infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner - -class ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response(BaseModel): - """ - ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response - """ - secret_snapshot: ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner = Field(default=..., alias="secretSnapshot") - __properties = ["secretSnapshot"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_snapshot - if self.secret_snapshot: - _dict['secretSnapshot'] = self.secret_snapshot.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response: - """Create an instance of ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.parse_obj(obj) - - _obj = ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response.parse_obj({ - "secret_snapshot": ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.from_dict(obj.get("secretSnapshot")) if obj.get("secretSnapshot") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_sso_config_get200_response.py b/infisicalapi_client/models/api_v1_sso_config_get200_response.py deleted file mode 100644 index aa6832e..0000000 --- a/infisicalapi_client/models/api_v1_sso_config_get200_response.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1SsoConfigGet200Response(BaseModel): - """ - ApiV1SsoConfigGet200Response - """ - id: StrictStr = Field(...) - organization: StrictStr = Field(...) - org_id: StrictStr = Field(default=..., alias="orgId") - auth_provider: StrictStr = Field(default=..., alias="authProvider") - is_active: StrictBool = Field(default=..., alias="isActive") - entry_point: StrictStr = Field(default=..., alias="entryPoint") - issuer: StrictStr = Field(...) - cert: StrictStr = Field(...) - last_used: Optional[datetime] = Field(default=None, alias="lastUsed") - __properties = ["id", "organization", "orgId", "authProvider", "isActive", "entryPoint", "issuer", "cert", "lastUsed"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SsoConfigGet200Response: - """Create an instance of ApiV1SsoConfigGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if last_used (nullable) is None - # and __fields_set__ contains the field - if self.last_used is None and "last_used" in self.__fields_set__: - _dict['lastUsed'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SsoConfigGet200Response: - """Create an instance of ApiV1SsoConfigGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SsoConfigGet200Response.parse_obj(obj) - - _obj = ApiV1SsoConfigGet200Response.parse_obj({ - "id": obj.get("id"), - "organization": obj.get("organization"), - "org_id": obj.get("orgId"), - "auth_provider": obj.get("authProvider"), - "is_active": obj.get("isActive"), - "entry_point": obj.get("entryPoint"), - "issuer": obj.get("issuer"), - "cert": obj.get("cert"), - "last_used": obj.get("lastUsed") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_sso_config_patch_request.py b/infisicalapi_client/models/api_v1_sso_config_patch_request.py deleted file mode 100644 index 259da8b..0000000 --- a/infisicalapi_client/models/api_v1_sso_config_patch_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, validator - -class ApiV1SsoConfigPatchRequest(BaseModel): - """ - ApiV1SsoConfigPatchRequest - """ - auth_provider: Optional[StrictStr] = Field(default=None, alias="authProvider") - is_active: Optional[StrictBool] = Field(default=None, alias="isActive") - entry_point: Optional[StrictStr] = Field(default=None, alias="entryPoint") - issuer: Optional[StrictStr] = None - cert: Optional[StrictStr] = None - organization_id: StrictStr = Field(default=..., alias="organizationId") - __properties = ["authProvider", "isActive", "entryPoint", "issuer", "cert", "organizationId"] - - @validator('auth_provider') - def auth_provider_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('okta-saml', 'azure-saml', 'jumpcloud-saml', 'google-saml', 'keycloak-saml'): - raise ValueError("must be one of enum values ('okta-saml', 'azure-saml', 'jumpcloud-saml', 'google-saml', 'keycloak-saml')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SsoConfigPatchRequest: - """Create an instance of ApiV1SsoConfigPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SsoConfigPatchRequest: - """Create an instance of ApiV1SsoConfigPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SsoConfigPatchRequest.parse_obj(obj) - - _obj = ApiV1SsoConfigPatchRequest.parse_obj({ - "auth_provider": obj.get("authProvider"), - "is_active": obj.get("isActive"), - "entry_point": obj.get("entryPoint"), - "issuer": obj.get("issuer"), - "cert": obj.get("cert"), - "organization_id": obj.get("organizationId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_sso_config_post200_response.py b/infisicalapi_client/models/api_v1_sso_config_post200_response.py deleted file mode 100644 index 3da8ad2..0000000 --- a/infisicalapi_client/models/api_v1_sso_config_post200_response.py +++ /dev/null @@ -1,151 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1SsoConfigPost200Response(BaseModel): - """ - ApiV1SsoConfigPost200Response - """ - id: StrictStr = Field(...) - auth_provider: StrictStr = Field(default=..., alias="authProvider") - is_active: StrictBool = Field(default=..., alias="isActive") - encrypted_entry_point: Optional[StrictStr] = Field(default=None, alias="encryptedEntryPoint") - entry_point_iv: Optional[StrictStr] = Field(default=None, alias="entryPointIV") - entry_point_tag: Optional[StrictStr] = Field(default=None, alias="entryPointTag") - encrypted_issuer: Optional[StrictStr] = Field(default=None, alias="encryptedIssuer") - issuer_tag: Optional[StrictStr] = Field(default=None, alias="issuerTag") - issuer_iv: Optional[StrictStr] = Field(default=None, alias="issuerIV") - encrypted_cert: Optional[StrictStr] = Field(default=None, alias="encryptedCert") - cert_iv: Optional[StrictStr] = Field(default=None, alias="certIV") - cert_tag: Optional[StrictStr] = Field(default=None, alias="certTag") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - org_id: StrictStr = Field(default=..., alias="orgId") - last_used: Optional[datetime] = Field(default=None, alias="lastUsed") - __properties = ["id", "authProvider", "isActive", "encryptedEntryPoint", "entryPointIV", "entryPointTag", "encryptedIssuer", "issuerTag", "issuerIV", "encryptedCert", "certIV", "certTag", "createdAt", "updatedAt", "orgId", "lastUsed"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SsoConfigPost200Response: - """Create an instance of ApiV1SsoConfigPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if encrypted_entry_point (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_entry_point is None and "encrypted_entry_point" in self.__fields_set__: - _dict['encryptedEntryPoint'] = None - - # set to None if entry_point_iv (nullable) is None - # and __fields_set__ contains the field - if self.entry_point_iv is None and "entry_point_iv" in self.__fields_set__: - _dict['entryPointIV'] = None - - # set to None if entry_point_tag (nullable) is None - # and __fields_set__ contains the field - if self.entry_point_tag is None and "entry_point_tag" in self.__fields_set__: - _dict['entryPointTag'] = None - - # set to None if encrypted_issuer (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_issuer is None and "encrypted_issuer" in self.__fields_set__: - _dict['encryptedIssuer'] = None - - # set to None if issuer_tag (nullable) is None - # and __fields_set__ contains the field - if self.issuer_tag is None and "issuer_tag" in self.__fields_set__: - _dict['issuerTag'] = None - - # set to None if issuer_iv (nullable) is None - # and __fields_set__ contains the field - if self.issuer_iv is None and "issuer_iv" in self.__fields_set__: - _dict['issuerIV'] = None - - # set to None if encrypted_cert (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_cert is None and "encrypted_cert" in self.__fields_set__: - _dict['encryptedCert'] = None - - # set to None if cert_iv (nullable) is None - # and __fields_set__ contains the field - if self.cert_iv is None and "cert_iv" in self.__fields_set__: - _dict['certIV'] = None - - # set to None if cert_tag (nullable) is None - # and __fields_set__ contains the field - if self.cert_tag is None and "cert_tag" in self.__fields_set__: - _dict['certTag'] = None - - # set to None if last_used (nullable) is None - # and __fields_set__ contains the field - if self.last_used is None and "last_used" in self.__fields_set__: - _dict['lastUsed'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SsoConfigPost200Response: - """Create an instance of ApiV1SsoConfigPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SsoConfigPost200Response.parse_obj(obj) - - _obj = ApiV1SsoConfigPost200Response.parse_obj({ - "id": obj.get("id"), - "auth_provider": obj.get("authProvider"), - "is_active": obj.get("isActive"), - "encrypted_entry_point": obj.get("encryptedEntryPoint"), - "entry_point_iv": obj.get("entryPointIV"), - "entry_point_tag": obj.get("entryPointTag"), - "encrypted_issuer": obj.get("encryptedIssuer"), - "issuer_tag": obj.get("issuerTag"), - "issuer_iv": obj.get("issuerIV"), - "encrypted_cert": obj.get("encryptedCert"), - "cert_iv": obj.get("certIV"), - "cert_tag": obj.get("certTag"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "org_id": obj.get("orgId"), - "last_used": obj.get("lastUsed") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_sso_config_post_request.py b/infisicalapi_client/models/api_v1_sso_config_post_request.py deleted file mode 100644 index d01a607..0000000 --- a/infisicalapi_client/models/api_v1_sso_config_post_request.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictBool, StrictStr, validator - -class ApiV1SsoConfigPostRequest(BaseModel): - """ - ApiV1SsoConfigPostRequest - """ - organization_id: StrictStr = Field(default=..., alias="organizationId") - auth_provider: StrictStr = Field(default=..., alias="authProvider") - is_active: StrictBool = Field(default=..., alias="isActive") - entry_point: StrictStr = Field(default=..., alias="entryPoint") - issuer: StrictStr = Field(...) - cert: StrictStr = Field(...) - __properties = ["organizationId", "authProvider", "isActive", "entryPoint", "issuer", "cert"] - - @validator('auth_provider') - def auth_provider_validate_enum(cls, value): - """Validates the enum""" - if value not in ('okta-saml', 'azure-saml', 'jumpcloud-saml', 'google-saml', 'keycloak-saml'): - raise ValueError("must be one of enum values ('okta-saml', 'azure-saml', 'jumpcloud-saml', 'google-saml', 'keycloak-saml')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SsoConfigPostRequest: - """Create an instance of ApiV1SsoConfigPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SsoConfigPostRequest: - """Create an instance of ApiV1SsoConfigPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SsoConfigPostRequest.parse_obj(obj) - - _obj = ApiV1SsoConfigPostRequest.parse_obj({ - "organization_id": obj.get("organizationId"), - "auth_provider": obj.get("authProvider"), - "is_active": obj.get("isActive"), - "entry_point": obj.get("entryPoint"), - "issuer": obj.get("issuer"), - "cert": obj.get("cert") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_sso_oidc_config_get200_response.py b/infisicalapi_client/models/api_v1_sso_oidc_config_get200_response.py deleted file mode 100644 index 1292d26..0000000 --- a/infisicalapi_client/models/api_v1_sso_oidc_config_get200_response.py +++ /dev/null @@ -1,130 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1SsoOidcConfigGet200Response(BaseModel): - """ - ApiV1SsoOidcConfigGet200Response - """ - id: StrictStr = Field(...) - issuer: Optional[StrictStr] = None - authorization_endpoint: Optional[StrictStr] = Field(default=None, alias="authorizationEndpoint") - jwks_uri: Optional[StrictStr] = Field(default=None, alias="jwksUri") - token_endpoint: Optional[StrictStr] = Field(default=None, alias="tokenEndpoint") - userinfo_endpoint: Optional[StrictStr] = Field(default=None, alias="userinfoEndpoint") - configuration_type: StrictStr = Field(default=..., alias="configurationType") - discovery_url: Optional[StrictStr] = Field(default=None, alias="discoveryURL") - is_active: StrictBool = Field(default=..., alias="isActive") - org_id: StrictStr = Field(default=..., alias="orgId") - allowed_email_domains: Optional[StrictStr] = Field(default=None, alias="allowedEmailDomains") - client_id: StrictStr = Field(default=..., alias="clientId") - client_secret: StrictStr = Field(default=..., alias="clientSecret") - __properties = ["id", "issuer", "authorizationEndpoint", "jwksUri", "tokenEndpoint", "userinfoEndpoint", "configurationType", "discoveryURL", "isActive", "orgId", "allowedEmailDomains", "clientId", "clientSecret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SsoOidcConfigGet200Response: - """Create an instance of ApiV1SsoOidcConfigGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if issuer (nullable) is None - # and __fields_set__ contains the field - if self.issuer is None and "issuer" in self.__fields_set__: - _dict['issuer'] = None - - # set to None if authorization_endpoint (nullable) is None - # and __fields_set__ contains the field - if self.authorization_endpoint is None and "authorization_endpoint" in self.__fields_set__: - _dict['authorizationEndpoint'] = None - - # set to None if jwks_uri (nullable) is None - # and __fields_set__ contains the field - if self.jwks_uri is None and "jwks_uri" in self.__fields_set__: - _dict['jwksUri'] = None - - # set to None if token_endpoint (nullable) is None - # and __fields_set__ contains the field - if self.token_endpoint is None and "token_endpoint" in self.__fields_set__: - _dict['tokenEndpoint'] = None - - # set to None if userinfo_endpoint (nullable) is None - # and __fields_set__ contains the field - if self.userinfo_endpoint is None and "userinfo_endpoint" in self.__fields_set__: - _dict['userinfoEndpoint'] = None - - # set to None if discovery_url (nullable) is None - # and __fields_set__ contains the field - if self.discovery_url is None and "discovery_url" in self.__fields_set__: - _dict['discoveryURL'] = None - - # set to None if allowed_email_domains (nullable) is None - # and __fields_set__ contains the field - if self.allowed_email_domains is None and "allowed_email_domains" in self.__fields_set__: - _dict['allowedEmailDomains'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SsoOidcConfigGet200Response: - """Create an instance of ApiV1SsoOidcConfigGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SsoOidcConfigGet200Response.parse_obj(obj) - - _obj = ApiV1SsoOidcConfigGet200Response.parse_obj({ - "id": obj.get("id"), - "issuer": obj.get("issuer"), - "authorization_endpoint": obj.get("authorizationEndpoint"), - "jwks_uri": obj.get("jwksUri"), - "token_endpoint": obj.get("tokenEndpoint"), - "userinfo_endpoint": obj.get("userinfoEndpoint"), - "configuration_type": obj.get("configurationType"), - "discovery_url": obj.get("discoveryURL"), - "is_active": obj.get("isActive"), - "org_id": obj.get("orgId"), - "allowed_email_domains": obj.get("allowedEmailDomains"), - "client_id": obj.get("clientId"), - "client_secret": obj.get("clientSecret") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_sso_oidc_config_patch200_response.py b/infisicalapi_client/models/api_v1_sso_oidc_config_patch200_response.py deleted file mode 100644 index 149b6ee..0000000 --- a/infisicalapi_client/models/api_v1_sso_oidc_config_patch200_response.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1SsoOidcConfigPatch200Response(BaseModel): - """ - ApiV1SsoOidcConfigPatch200Response - """ - id: StrictStr = Field(...) - issuer: Optional[StrictStr] = None - authorization_endpoint: Optional[StrictStr] = Field(default=None, alias="authorizationEndpoint") - configuration_type: StrictStr = Field(default=..., alias="configurationType") - discovery_url: Optional[StrictStr] = Field(default=None, alias="discoveryURL") - jwks_uri: Optional[StrictStr] = Field(default=None, alias="jwksUri") - token_endpoint: Optional[StrictStr] = Field(default=None, alias="tokenEndpoint") - userinfo_endpoint: Optional[StrictStr] = Field(default=None, alias="userinfoEndpoint") - org_id: StrictStr = Field(default=..., alias="orgId") - allowed_email_domains: Optional[StrictStr] = Field(default=None, alias="allowedEmailDomains") - is_active: StrictBool = Field(default=..., alias="isActive") - __properties = ["id", "issuer", "authorizationEndpoint", "configurationType", "discoveryURL", "jwksUri", "tokenEndpoint", "userinfoEndpoint", "orgId", "allowedEmailDomains", "isActive"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SsoOidcConfigPatch200Response: - """Create an instance of ApiV1SsoOidcConfigPatch200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if issuer (nullable) is None - # and __fields_set__ contains the field - if self.issuer is None and "issuer" in self.__fields_set__: - _dict['issuer'] = None - - # set to None if authorization_endpoint (nullable) is None - # and __fields_set__ contains the field - if self.authorization_endpoint is None and "authorization_endpoint" in self.__fields_set__: - _dict['authorizationEndpoint'] = None - - # set to None if discovery_url (nullable) is None - # and __fields_set__ contains the field - if self.discovery_url is None and "discovery_url" in self.__fields_set__: - _dict['discoveryURL'] = None - - # set to None if jwks_uri (nullable) is None - # and __fields_set__ contains the field - if self.jwks_uri is None and "jwks_uri" in self.__fields_set__: - _dict['jwksUri'] = None - - # set to None if token_endpoint (nullable) is None - # and __fields_set__ contains the field - if self.token_endpoint is None and "token_endpoint" in self.__fields_set__: - _dict['tokenEndpoint'] = None - - # set to None if userinfo_endpoint (nullable) is None - # and __fields_set__ contains the field - if self.userinfo_endpoint is None and "userinfo_endpoint" in self.__fields_set__: - _dict['userinfoEndpoint'] = None - - # set to None if allowed_email_domains (nullable) is None - # and __fields_set__ contains the field - if self.allowed_email_domains is None and "allowed_email_domains" in self.__fields_set__: - _dict['allowedEmailDomains'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SsoOidcConfigPatch200Response: - """Create an instance of ApiV1SsoOidcConfigPatch200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SsoOidcConfigPatch200Response.parse_obj(obj) - - _obj = ApiV1SsoOidcConfigPatch200Response.parse_obj({ - "id": obj.get("id"), - "issuer": obj.get("issuer"), - "authorization_endpoint": obj.get("authorizationEndpoint"), - "configuration_type": obj.get("configurationType"), - "discovery_url": obj.get("discoveryURL"), - "jwks_uri": obj.get("jwksUri"), - "token_endpoint": obj.get("tokenEndpoint"), - "userinfo_endpoint": obj.get("userinfoEndpoint"), - "org_id": obj.get("orgId"), - "allowed_email_domains": obj.get("allowedEmailDomains"), - "is_active": obj.get("isActive") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_sso_oidc_config_patch_request.py b/infisicalapi_client/models/api_v1_sso_oidc_config_patch_request.py deleted file mode 100644 index 738ff13..0000000 --- a/infisicalapi_client/models/api_v1_sso_oidc_config_patch_request.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, validator - -class ApiV1SsoOidcConfigPatchRequest(BaseModel): - """ - ApiV1SsoOidcConfigPatchRequest - """ - allowed_email_domains: Optional[StrictStr] = Field(default='', alias="allowedEmailDomains") - discovery_url: Optional[StrictStr] = Field(default=None, alias="discoveryURL") - configuration_type: Optional[StrictStr] = Field(default=None, alias="configurationType") - issuer: Optional[StrictStr] = None - authorization_endpoint: Optional[StrictStr] = Field(default=None, alias="authorizationEndpoint") - jwks_uri: Optional[StrictStr] = Field(default=None, alias="jwksUri") - token_endpoint: Optional[StrictStr] = Field(default=None, alias="tokenEndpoint") - userinfo_endpoint: Optional[StrictStr] = Field(default=None, alias="userinfoEndpoint") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - is_active: Optional[StrictBool] = Field(default=None, alias="isActive") - org_slug: StrictStr = Field(default=..., alias="orgSlug") - __properties = ["allowedEmailDomains", "discoveryURL", "configurationType", "issuer", "authorizationEndpoint", "jwksUri", "tokenEndpoint", "userinfoEndpoint", "clientId", "clientSecret", "isActive", "orgSlug"] - - @validator('configuration_type') - def configuration_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('custom', 'discoveryURL'): - raise ValueError("must be one of enum values ('custom', 'discoveryURL')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SsoOidcConfigPatchRequest: - """Create an instance of ApiV1SsoOidcConfigPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SsoOidcConfigPatchRequest: - """Create an instance of ApiV1SsoOidcConfigPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SsoOidcConfigPatchRequest.parse_obj(obj) - - _obj = ApiV1SsoOidcConfigPatchRequest.parse_obj({ - "allowed_email_domains": obj.get("allowedEmailDomains") if obj.get("allowedEmailDomains") is not None else '', - "discovery_url": obj.get("discoveryURL"), - "configuration_type": obj.get("configurationType"), - "issuer": obj.get("issuer"), - "authorization_endpoint": obj.get("authorizationEndpoint"), - "jwks_uri": obj.get("jwksUri"), - "token_endpoint": obj.get("tokenEndpoint"), - "userinfo_endpoint": obj.get("userinfoEndpoint"), - "client_id": obj.get("clientId"), - "client_secret": obj.get("clientSecret"), - "is_active": obj.get("isActive"), - "org_slug": obj.get("orgSlug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_sso_oidc_config_post200_response.py b/infisicalapi_client/models/api_v1_sso_oidc_config_post200_response.py deleted file mode 100644 index c7706c8..0000000 --- a/infisicalapi_client/models/api_v1_sso_oidc_config_post200_response.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1SsoOidcConfigPost200Response(BaseModel): - """ - ApiV1SsoOidcConfigPost200Response - """ - id: StrictStr = Field(...) - issuer: Optional[StrictStr] = None - authorization_endpoint: Optional[StrictStr] = Field(default=None, alias="authorizationEndpoint") - configuration_type: StrictStr = Field(default=..., alias="configurationType") - discovery_url: Optional[StrictStr] = Field(default=None, alias="discoveryURL") - jwks_uri: Optional[StrictStr] = Field(default=None, alias="jwksUri") - token_endpoint: Optional[StrictStr] = Field(default=None, alias="tokenEndpoint") - userinfo_endpoint: Optional[StrictStr] = Field(default=None, alias="userinfoEndpoint") - org_id: StrictStr = Field(default=..., alias="orgId") - is_active: StrictBool = Field(default=..., alias="isActive") - allowed_email_domains: Optional[StrictStr] = Field(default=None, alias="allowedEmailDomains") - __properties = ["id", "issuer", "authorizationEndpoint", "configurationType", "discoveryURL", "jwksUri", "tokenEndpoint", "userinfoEndpoint", "orgId", "isActive", "allowedEmailDomains"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SsoOidcConfigPost200Response: - """Create an instance of ApiV1SsoOidcConfigPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if issuer (nullable) is None - # and __fields_set__ contains the field - if self.issuer is None and "issuer" in self.__fields_set__: - _dict['issuer'] = None - - # set to None if authorization_endpoint (nullable) is None - # and __fields_set__ contains the field - if self.authorization_endpoint is None and "authorization_endpoint" in self.__fields_set__: - _dict['authorizationEndpoint'] = None - - # set to None if discovery_url (nullable) is None - # and __fields_set__ contains the field - if self.discovery_url is None and "discovery_url" in self.__fields_set__: - _dict['discoveryURL'] = None - - # set to None if jwks_uri (nullable) is None - # and __fields_set__ contains the field - if self.jwks_uri is None and "jwks_uri" in self.__fields_set__: - _dict['jwksUri'] = None - - # set to None if token_endpoint (nullable) is None - # and __fields_set__ contains the field - if self.token_endpoint is None and "token_endpoint" in self.__fields_set__: - _dict['tokenEndpoint'] = None - - # set to None if userinfo_endpoint (nullable) is None - # and __fields_set__ contains the field - if self.userinfo_endpoint is None and "userinfo_endpoint" in self.__fields_set__: - _dict['userinfoEndpoint'] = None - - # set to None if allowed_email_domains (nullable) is None - # and __fields_set__ contains the field - if self.allowed_email_domains is None and "allowed_email_domains" in self.__fields_set__: - _dict['allowedEmailDomains'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SsoOidcConfigPost200Response: - """Create an instance of ApiV1SsoOidcConfigPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SsoOidcConfigPost200Response.parse_obj(obj) - - _obj = ApiV1SsoOidcConfigPost200Response.parse_obj({ - "id": obj.get("id"), - "issuer": obj.get("issuer"), - "authorization_endpoint": obj.get("authorizationEndpoint"), - "configuration_type": obj.get("configurationType"), - "discovery_url": obj.get("discoveryURL"), - "jwks_uri": obj.get("jwksUri"), - "token_endpoint": obj.get("tokenEndpoint"), - "userinfo_endpoint": obj.get("userinfoEndpoint"), - "org_id": obj.get("orgId"), - "is_active": obj.get("isActive"), - "allowed_email_domains": obj.get("allowedEmailDomains") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_sso_oidc_config_post_request.py b/infisicalapi_client/models/api_v1_sso_oidc_config_post_request.py deleted file mode 100644 index a09f425..0000000 --- a/infisicalapi_client/models/api_v1_sso_oidc_config_post_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, validator - -class ApiV1SsoOidcConfigPostRequest(BaseModel): - """ - ApiV1SsoOidcConfigPostRequest - """ - allowed_email_domains: Optional[StrictStr] = Field(default='', alias="allowedEmailDomains") - configuration_type: StrictStr = Field(default=..., alias="configurationType") - issuer: Optional[StrictStr] = '' - discovery_url: Optional[StrictStr] = Field(default='', alias="discoveryURL") - authorization_endpoint: Optional[StrictStr] = Field(default='', alias="authorizationEndpoint") - jwks_uri: Optional[StrictStr] = Field(default='', alias="jwksUri") - token_endpoint: Optional[StrictStr] = Field(default='', alias="tokenEndpoint") - userinfo_endpoint: Optional[StrictStr] = Field(default='', alias="userinfoEndpoint") - client_id: StrictStr = Field(default=..., alias="clientId") - client_secret: StrictStr = Field(default=..., alias="clientSecret") - is_active: StrictBool = Field(default=..., alias="isActive") - org_slug: StrictStr = Field(default=..., alias="orgSlug") - __properties = ["allowedEmailDomains", "configurationType", "issuer", "discoveryURL", "authorizationEndpoint", "jwksUri", "tokenEndpoint", "userinfoEndpoint", "clientId", "clientSecret", "isActive", "orgSlug"] - - @validator('configuration_type') - def configuration_type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('custom', 'discoveryURL'): - raise ValueError("must be one of enum values ('custom', 'discoveryURL')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SsoOidcConfigPostRequest: - """Create an instance of ApiV1SsoOidcConfigPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SsoOidcConfigPostRequest: - """Create an instance of ApiV1SsoOidcConfigPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SsoOidcConfigPostRequest.parse_obj(obj) - - _obj = ApiV1SsoOidcConfigPostRequest.parse_obj({ - "allowed_email_domains": obj.get("allowedEmailDomains") if obj.get("allowedEmailDomains") is not None else '', - "configuration_type": obj.get("configurationType"), - "issuer": obj.get("issuer") if obj.get("issuer") is not None else '', - "discovery_url": obj.get("discoveryURL") if obj.get("discoveryURL") is not None else '', - "authorization_endpoint": obj.get("authorizationEndpoint") if obj.get("authorizationEndpoint") is not None else '', - "jwks_uri": obj.get("jwksUri") if obj.get("jwksUri") is not None else '', - "token_endpoint": obj.get("tokenEndpoint") if obj.get("tokenEndpoint") is not None else '', - "userinfo_endpoint": obj.get("userinfoEndpoint") if obj.get("userinfoEndpoint") is not None else '', - "client_id": obj.get("clientId"), - "client_secret": obj.get("clientSecret"), - "is_active": obj.get("isActive"), - "org_slug": obj.get("orgSlug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_sso_token_exchange_post_request.py b/infisicalapi_client/models/api_v1_sso_token_exchange_post_request.py deleted file mode 100644 index a576efb..0000000 --- a/infisicalapi_client/models/api_v1_sso_token_exchange_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1SsoTokenExchangePostRequest(BaseModel): - """ - ApiV1SsoTokenExchangePostRequest - """ - provider_auth_token: StrictStr = Field(default=..., alias="providerAuthToken") - email: StrictStr = Field(...) - __properties = ["providerAuthToken", "email"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1SsoTokenExchangePostRequest: - """Create an instance of ApiV1SsoTokenExchangePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1SsoTokenExchangePostRequest: - """Create an instance of ApiV1SsoTokenExchangePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1SsoTokenExchangePostRequest.parse_obj(obj) - - _obj = ApiV1SsoTokenExchangePostRequest.parse_obj({ - "provider_auth_token": obj.get("providerAuthToken"), - "email": obj.get("email") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_action_get200_response.py b/infisicalapi_client/models/api_v1_user_action_get200_response.py deleted file mode 100644 index 0e996a0..0000000 --- a/infisicalapi_client/models/api_v1_user_action_get200_response.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_user_action_get200_response_user_action import ApiV1UserActionGet200ResponseUserAction - -class ApiV1UserActionGet200Response(BaseModel): - """ - ApiV1UserActionGet200Response - """ - user_action: Optional[ApiV1UserActionGet200ResponseUserAction] = Field(default=None, alias="userAction") - __properties = ["userAction"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserActionGet200Response: - """Create an instance of ApiV1UserActionGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user_action - if self.user_action: - _dict['userAction'] = self.user_action.to_dict() - # set to None if user_action (nullable) is None - # and __fields_set__ contains the field - if self.user_action is None and "user_action" in self.__fields_set__: - _dict['userAction'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserActionGet200Response: - """Create an instance of ApiV1UserActionGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserActionGet200Response.parse_obj(obj) - - _obj = ApiV1UserActionGet200Response.parse_obj({ - "user_action": ApiV1UserActionGet200ResponseUserAction.from_dict(obj.get("userAction")) if obj.get("userAction") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_action_get200_response_user_action.py b/infisicalapi_client/models/api_v1_user_action_get200_response_user_action.py deleted file mode 100644 index aba6878..0000000 --- a/infisicalapi_client/models/api_v1_user_action_get200_response_user_action.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1UserActionGet200ResponseUserAction(BaseModel): - """ - ApiV1UserActionGet200ResponseUserAction - """ - id: StrictStr = Field(...) - action: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - user_id: StrictStr = Field(default=..., alias="userId") - __properties = ["id", "action", "createdAt", "updatedAt", "userId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserActionGet200ResponseUserAction: - """Create an instance of ApiV1UserActionGet200ResponseUserAction from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserActionGet200ResponseUserAction: - """Create an instance of ApiV1UserActionGet200ResponseUserAction from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserActionGet200ResponseUserAction.parse_obj(obj) - - _obj = ApiV1UserActionGet200ResponseUserAction.parse_obj({ - "id": obj.get("id"), - "action": obj.get("action"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "user_id": obj.get("userId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_action_post200_response.py b/infisicalapi_client/models/api_v1_user_action_post200_response.py deleted file mode 100644 index c9a63cd..0000000 --- a/infisicalapi_client/models/api_v1_user_action_post200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_user_action_post200_response_user_action import ApiV1UserActionPost200ResponseUserAction - -class ApiV1UserActionPost200Response(BaseModel): - """ - ApiV1UserActionPost200Response - """ - message: StrictStr = Field(...) - user_action: ApiV1UserActionPost200ResponseUserAction = Field(default=..., alias="userAction") - __properties = ["message", "userAction"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserActionPost200Response: - """Create an instance of ApiV1UserActionPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user_action - if self.user_action: - _dict['userAction'] = self.user_action.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserActionPost200Response: - """Create an instance of ApiV1UserActionPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserActionPost200Response.parse_obj(obj) - - _obj = ApiV1UserActionPost200Response.parse_obj({ - "message": obj.get("message"), - "user_action": ApiV1UserActionPost200ResponseUserAction.from_dict(obj.get("userAction")) if obj.get("userAction") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_action_post200_response_user_action.py b/infisicalapi_client/models/api_v1_user_action_post200_response_user_action.py deleted file mode 100644 index 4681ec4..0000000 --- a/infisicalapi_client/models/api_v1_user_action_post200_response_user_action.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1UserActionPost200ResponseUserAction(BaseModel): - """ - ApiV1UserActionPost200ResponseUserAction - """ - id: StrictStr = Field(...) - action: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - user_id: StrictStr = Field(default=..., alias="userId") - __properties = ["id", "action", "createdAt", "updatedAt", "userId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserActionPost200ResponseUserAction: - """Create an instance of ApiV1UserActionPost200ResponseUserAction from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserActionPost200ResponseUserAction: - """Create an instance of ApiV1UserActionPost200ResponseUserAction from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserActionPost200ResponseUserAction.parse_obj(obj) - - _obj = ApiV1UserActionPost200ResponseUserAction.parse_obj({ - "id": obj.get("id"), - "action": obj.get("action"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "user_id": obj.get("userId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_action_post_request.py b/infisicalapi_client/models/api_v1_user_action_post_request.py deleted file mode 100644 index a069897..0000000 --- a/infisicalapi_client/models/api_v1_user_action_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1UserActionPostRequest(BaseModel): - """ - ApiV1UserActionPostRequest - """ - action: StrictStr = Field(...) - __properties = ["action"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserActionPostRequest: - """Create an instance of ApiV1UserActionPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserActionPostRequest: - """Create an instance of ApiV1UserActionPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserActionPostRequest.parse_obj(obj) - - _obj = ApiV1UserActionPostRequest.parse_obj({ - "action": obj.get("action") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_engagement_me_wish_post_request.py b/infisicalapi_client/models/api_v1_user_engagement_me_wish_post_request.py deleted file mode 100644 index b8627c1..0000000 --- a/infisicalapi_client/models/api_v1_user_engagement_me_wish_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, constr - -class ApiV1UserEngagementMeWishPostRequest(BaseModel): - """ - ApiV1UserEngagementMeWishPostRequest - """ - text: constr(strict=True, min_length=1) = Field(...) - __properties = ["text"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserEngagementMeWishPostRequest: - """Create an instance of ApiV1UserEngagementMeWishPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserEngagementMeWishPostRequest: - """Create an instance of ApiV1UserEngagementMeWishPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserEngagementMeWishPostRequest.parse_obj(obj) - - _obj = ApiV1UserEngagementMeWishPostRequest.parse_obj({ - "text": obj.get("text") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_get200_response.py b/infisicalapi_client/models/api_v1_user_get200_response.py deleted file mode 100644 index d980116..0000000 --- a/infisicalapi_client/models/api_v1_user_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_user_get200_response_user import ApiV1UserGet200ResponseUser - -class ApiV1UserGet200Response(BaseModel): - """ - ApiV1UserGet200Response - """ - user: ApiV1UserGet200ResponseUser = Field(...) - __properties = ["user"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserGet200Response: - """Create an instance of ApiV1UserGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserGet200Response: - """Create an instance of ApiV1UserGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserGet200Response.parse_obj(obj) - - _obj = ApiV1UserGet200Response.parse_obj({ - "user": ApiV1UserGet200ResponseUser.from_dict(obj.get("user")) if obj.get("user") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_get200_response_user.py b/infisicalapi_client/models/api_v1_user_get200_response_user.py deleted file mode 100644 index 6644cf2..0000000 --- a/infisicalapi_client/models/api_v1_user_get200_response_user.py +++ /dev/null @@ -1,233 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist - -class ApiV1UserGet200ResponseUser(BaseModel): - """ - ApiV1UserGet200ResponseUser - """ - id: StrictStr = Field(...) - email: Optional[StrictStr] = None - auth_methods: Optional[conlist(StrictStr)] = Field(default=None, alias="authMethods") - super_admin: Optional[StrictBool] = Field(default=False, alias="superAdmin") - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - is_accepted: Optional[StrictBool] = Field(default=False, alias="isAccepted") - is_mfa_enabled: Optional[StrictBool] = Field(default=False, alias="isMfaEnabled") - mfa_methods: Optional[conlist(StrictStr)] = Field(default=None, alias="mfaMethods") - devices: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - is_ghost: Optional[StrictBool] = Field(default=False, alias="isGhost") - username: StrictStr = Field(...) - is_email_verified: Optional[StrictBool] = Field(default=False, alias="isEmailVerified") - consecutive_failed_mfa_attempts: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="consecutiveFailedMfaAttempts") - is_locked: Optional[StrictBool] = Field(default=False, alias="isLocked") - temporary_lock_date_end: Optional[datetime] = Field(default=None, alias="temporaryLockDateEnd") - consecutive_failed_password_attempts: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="consecutiveFailedPasswordAttempts") - client_public_key: Optional[StrictStr] = Field(default=None, alias="clientPublicKey") - server_private_key: Optional[StrictStr] = Field(default=None, alias="serverPrivateKey") - encryption_version: Optional[Union[StrictFloat, StrictInt]] = Field(default=2, alias="encryptionVersion") - protected_key: Optional[StrictStr] = Field(default=None, alias="protectedKey") - protected_key_iv: Optional[StrictStr] = Field(default=None, alias="protectedKeyIV") - protected_key_tag: Optional[StrictStr] = Field(default=None, alias="protectedKeyTag") - public_key: StrictStr = Field(default=..., alias="publicKey") - encrypted_private_key: StrictStr = Field(default=..., alias="encryptedPrivateKey") - iv: StrictStr = Field(...) - tag: StrictStr = Field(...) - salt: StrictStr = Field(...) - verifier: StrictStr = Field(...) - user_id: StrictStr = Field(default=..., alias="userId") - __properties = ["id", "email", "authMethods", "superAdmin", "firstName", "lastName", "isAccepted", "isMfaEnabled", "mfaMethods", "devices", "createdAt", "updatedAt", "isGhost", "username", "isEmailVerified", "consecutiveFailedMfaAttempts", "isLocked", "temporaryLockDateEnd", "consecutiveFailedPasswordAttempts", "clientPublicKey", "serverPrivateKey", "encryptionVersion", "protectedKey", "protectedKeyIV", "protectedKeyTag", "publicKey", "encryptedPrivateKey", "iv", "tag", "salt", "verifier", "userId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserGet200ResponseUser: - """Create an instance of ApiV1UserGet200ResponseUser from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if auth_methods (nullable) is None - # and __fields_set__ contains the field - if self.auth_methods is None and "auth_methods" in self.__fields_set__: - _dict['authMethods'] = None - - # set to None if super_admin (nullable) is None - # and __fields_set__ contains the field - if self.super_admin is None and "super_admin" in self.__fields_set__: - _dict['superAdmin'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - # set to None if is_accepted (nullable) is None - # and __fields_set__ contains the field - if self.is_accepted is None and "is_accepted" in self.__fields_set__: - _dict['isAccepted'] = None - - # set to None if is_mfa_enabled (nullable) is None - # and __fields_set__ contains the field - if self.is_mfa_enabled is None and "is_mfa_enabled" in self.__fields_set__: - _dict['isMfaEnabled'] = None - - # set to None if mfa_methods (nullable) is None - # and __fields_set__ contains the field - if self.mfa_methods is None and "mfa_methods" in self.__fields_set__: - _dict['mfaMethods'] = None - - # set to None if devices (nullable) is None - # and __fields_set__ contains the field - if self.devices is None and "devices" in self.__fields_set__: - _dict['devices'] = None - - # set to None if is_email_verified (nullable) is None - # and __fields_set__ contains the field - if self.is_email_verified is None and "is_email_verified" in self.__fields_set__: - _dict['isEmailVerified'] = None - - # set to None if consecutive_failed_mfa_attempts (nullable) is None - # and __fields_set__ contains the field - if self.consecutive_failed_mfa_attempts is None and "consecutive_failed_mfa_attempts" in self.__fields_set__: - _dict['consecutiveFailedMfaAttempts'] = None - - # set to None if is_locked (nullable) is None - # and __fields_set__ contains the field - if self.is_locked is None and "is_locked" in self.__fields_set__: - _dict['isLocked'] = None - - # set to None if temporary_lock_date_end (nullable) is None - # and __fields_set__ contains the field - if self.temporary_lock_date_end is None and "temporary_lock_date_end" in self.__fields_set__: - _dict['temporaryLockDateEnd'] = None - - # set to None if consecutive_failed_password_attempts (nullable) is None - # and __fields_set__ contains the field - if self.consecutive_failed_password_attempts is None and "consecutive_failed_password_attempts" in self.__fields_set__: - _dict['consecutiveFailedPasswordAttempts'] = None - - # set to None if client_public_key (nullable) is None - # and __fields_set__ contains the field - if self.client_public_key is None and "client_public_key" in self.__fields_set__: - _dict['clientPublicKey'] = None - - # set to None if server_private_key (nullable) is None - # and __fields_set__ contains the field - if self.server_private_key is None and "server_private_key" in self.__fields_set__: - _dict['serverPrivateKey'] = None - - # set to None if encryption_version (nullable) is None - # and __fields_set__ contains the field - if self.encryption_version is None and "encryption_version" in self.__fields_set__: - _dict['encryptionVersion'] = None - - # set to None if protected_key (nullable) is None - # and __fields_set__ contains the field - if self.protected_key is None and "protected_key" in self.__fields_set__: - _dict['protectedKey'] = None - - # set to None if protected_key_iv (nullable) is None - # and __fields_set__ contains the field - if self.protected_key_iv is None and "protected_key_iv" in self.__fields_set__: - _dict['protectedKeyIV'] = None - - # set to None if protected_key_tag (nullable) is None - # and __fields_set__ contains the field - if self.protected_key_tag is None and "protected_key_tag" in self.__fields_set__: - _dict['protectedKeyTag'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserGet200ResponseUser: - """Create an instance of ApiV1UserGet200ResponseUser from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserGet200ResponseUser.parse_obj(obj) - - _obj = ApiV1UserGet200ResponseUser.parse_obj({ - "id": obj.get("id"), - "email": obj.get("email"), - "auth_methods": obj.get("authMethods"), - "super_admin": obj.get("superAdmin") if obj.get("superAdmin") is not None else False, - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "is_accepted": obj.get("isAccepted") if obj.get("isAccepted") is not None else False, - "is_mfa_enabled": obj.get("isMfaEnabled") if obj.get("isMfaEnabled") is not None else False, - "mfa_methods": obj.get("mfaMethods"), - "devices": obj.get("devices"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "is_ghost": obj.get("isGhost") if obj.get("isGhost") is not None else False, - "username": obj.get("username"), - "is_email_verified": obj.get("isEmailVerified") if obj.get("isEmailVerified") is not None else False, - "consecutive_failed_mfa_attempts": obj.get("consecutiveFailedMfaAttempts") if obj.get("consecutiveFailedMfaAttempts") is not None else 0, - "is_locked": obj.get("isLocked") if obj.get("isLocked") is not None else False, - "temporary_lock_date_end": obj.get("temporaryLockDateEnd"), - "consecutive_failed_password_attempts": obj.get("consecutiveFailedPasswordAttempts") if obj.get("consecutiveFailedPasswordAttempts") is not None else 0, - "client_public_key": obj.get("clientPublicKey"), - "server_private_key": obj.get("serverPrivateKey"), - "encryption_version": obj.get("encryptionVersion") if obj.get("encryptionVersion") is not None else 2, - "protected_key": obj.get("protectedKey"), - "protected_key_iv": obj.get("protectedKeyIV"), - "protected_key_tag": obj.get("protectedKeyTag"), - "public_key": obj.get("publicKey"), - "encrypted_private_key": obj.get("encryptedPrivateKey"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "salt": obj.get("salt"), - "verifier": obj.get("verifier"), - "user_id": obj.get("userId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_me_project_favorites_get200_response.py b/infisicalapi_client/models/api_v1_user_me_project_favorites_get200_response.py deleted file mode 100644 index 120512f..0000000 --- a/infisicalapi_client/models/api_v1_user_me_project_favorites_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist - -class ApiV1UserMeProjectFavoritesGet200Response(BaseModel): - """ - ApiV1UserMeProjectFavoritesGet200Response - """ - project_favorites: conlist(StrictStr) = Field(default=..., alias="projectFavorites") - __properties = ["projectFavorites"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserMeProjectFavoritesGet200Response: - """Create an instance of ApiV1UserMeProjectFavoritesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserMeProjectFavoritesGet200Response: - """Create an instance of ApiV1UserMeProjectFavoritesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserMeProjectFavoritesGet200Response.parse_obj(obj) - - _obj = ApiV1UserMeProjectFavoritesGet200Response.parse_obj({ - "project_favorites": obj.get("projectFavorites") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_me_project_favorites_put_request.py b/infisicalapi_client/models/api_v1_user_me_project_favorites_put_request.py deleted file mode 100644 index 7f907fe..0000000 --- a/infisicalapi_client/models/api_v1_user_me_project_favorites_put_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist - -class ApiV1UserMeProjectFavoritesPutRequest(BaseModel): - """ - ApiV1UserMeProjectFavoritesPutRequest - """ - org_id: StrictStr = Field(default=..., alias="orgId") - project_favorites: conlist(StrictStr) = Field(default=..., alias="projectFavorites") - __properties = ["orgId", "projectFavorites"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserMeProjectFavoritesPutRequest: - """Create an instance of ApiV1UserMeProjectFavoritesPutRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserMeProjectFavoritesPutRequest: - """Create an instance of ApiV1UserMeProjectFavoritesPutRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserMeProjectFavoritesPutRequest.parse_obj(obj) - - _obj = ApiV1UserMeProjectFavoritesPutRequest.parse_obj({ - "org_id": obj.get("orgId"), - "project_favorites": obj.get("projectFavorites") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_user_private_key_get200_response.py b/infisicalapi_client/models/api_v1_user_private_key_get200_response.py deleted file mode 100644 index 024fd47..0000000 --- a/infisicalapi_client/models/api_v1_user_private_key_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1UserPrivateKeyGet200Response(BaseModel): - """ - ApiV1UserPrivateKeyGet200Response - """ - private_key: StrictStr = Field(default=..., alias="privateKey") - __properties = ["privateKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1UserPrivateKeyGet200Response: - """Create an instance of ApiV1UserPrivateKeyGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1UserPrivateKeyGet200Response: - """Create an instance of ApiV1UserPrivateKeyGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1UserPrivateKeyGet200Response.parse_obj(obj) - - _obj = ApiV1UserPrivateKeyGet200Response.parse_obj({ - "private_key": obj.get("privateKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_webhooks_get200_response.py b/infisicalapi_client/models/api_v1_webhooks_get200_response.py deleted file mode 100644 index 47e27d1..0000000 --- a/infisicalapi_client/models/api_v1_webhooks_get200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_webhooks_get200_response_webhooks_inner import ApiV1WebhooksGet200ResponseWebhooksInner - -class ApiV1WebhooksGet200Response(BaseModel): - """ - ApiV1WebhooksGet200Response - """ - message: StrictStr = Field(...) - webhooks: conlist(ApiV1WebhooksGet200ResponseWebhooksInner) = Field(...) - __properties = ["message", "webhooks"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WebhooksGet200Response: - """Create an instance of ApiV1WebhooksGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in webhooks (list) - _items = [] - if self.webhooks: - for _item in self.webhooks: - if _item: - _items.append(_item.to_dict()) - _dict['webhooks'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WebhooksGet200Response: - """Create an instance of ApiV1WebhooksGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WebhooksGet200Response.parse_obj(obj) - - _obj = ApiV1WebhooksGet200Response.parse_obj({ - "message": obj.get("message"), - "webhooks": [ApiV1WebhooksGet200ResponseWebhooksInner.from_dict(_item) for _item in obj.get("webhooks")] if obj.get("webhooks") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_webhooks_get200_response_webhooks_inner.py b/infisicalapi_client/models/api_v1_webhooks_get200_response_webhooks_inner.py deleted file mode 100644 index 43d2360..0000000 --- a/infisicalapi_client/models/api_v1_webhooks_get200_response_webhooks_inner.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - -class ApiV1WebhooksGet200ResponseWebhooksInner(BaseModel): - """ - ApiV1WebhooksGet200ResponseWebhooksInner - """ - id: StrictStr = Field(...) - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - last_status: Optional[StrictStr] = Field(default=None, alias="lastStatus") - last_run_error_message: Optional[StrictStr] = Field(default=None, alias="lastRunErrorMessage") - is_disabled: Optional[StrictBool] = Field(default=False, alias="isDisabled") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - env_id: StrictStr = Field(default=..., alias="envId") - type: Optional[StrictStr] = 'general' - project_id: StrictStr = Field(default=..., alias="projectId") - environment: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(...) - url: StrictStr = Field(...) - __properties = ["id", "secretPath", "lastStatus", "lastRunErrorMessage", "isDisabled", "createdAt", "updatedAt", "envId", "type", "projectId", "environment", "url"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WebhooksGet200ResponseWebhooksInner: - """Create an instance of ApiV1WebhooksGet200ResponseWebhooksInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - # set to None if last_status (nullable) is None - # and __fields_set__ contains the field - if self.last_status is None and "last_status" in self.__fields_set__: - _dict['lastStatus'] = None - - # set to None if last_run_error_message (nullable) is None - # and __fields_set__ contains the field - if self.last_run_error_message is None and "last_run_error_message" in self.__fields_set__: - _dict['lastRunErrorMessage'] = None - - # set to None if type (nullable) is None - # and __fields_set__ contains the field - if self.type is None and "type" in self.__fields_set__: - _dict['type'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WebhooksGet200ResponseWebhooksInner: - """Create an instance of ApiV1WebhooksGet200ResponseWebhooksInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WebhooksGet200ResponseWebhooksInner.parse_obj(obj) - - _obj = ApiV1WebhooksGet200ResponseWebhooksInner.parse_obj({ - "id": obj.get("id"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "last_status": obj.get("lastStatus"), - "last_run_error_message": obj.get("lastRunErrorMessage"), - "is_disabled": obj.get("isDisabled") if obj.get("isDisabled") is not None else False, - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "env_id": obj.get("envId"), - "type": obj.get("type") if obj.get("type") is not None else 'general', - "project_id": obj.get("projectId"), - "environment": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None, - "url": obj.get("url") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_webhooks_post200_response.py b/infisicalapi_client/models/api_v1_webhooks_post200_response.py deleted file mode 100644 index 4b51d68..0000000 --- a/infisicalapi_client/models/api_v1_webhooks_post200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_webhooks_post200_response_webhook import ApiV1WebhooksPost200ResponseWebhook - -class ApiV1WebhooksPost200Response(BaseModel): - """ - ApiV1WebhooksPost200Response - """ - message: StrictStr = Field(...) - webhook: ApiV1WebhooksPost200ResponseWebhook = Field(...) - __properties = ["message", "webhook"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WebhooksPost200Response: - """Create an instance of ApiV1WebhooksPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of webhook - if self.webhook: - _dict['webhook'] = self.webhook.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WebhooksPost200Response: - """Create an instance of ApiV1WebhooksPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WebhooksPost200Response.parse_obj(obj) - - _obj = ApiV1WebhooksPost200Response.parse_obj({ - "message": obj.get("message"), - "webhook": ApiV1WebhooksPost200ResponseWebhook.from_dict(obj.get("webhook")) if obj.get("webhook") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_webhooks_post200_response_webhook.py b/infisicalapi_client/models/api_v1_webhooks_post200_response_webhook.py deleted file mode 100644 index 6004cd9..0000000 --- a/infisicalapi_client/models/api_v1_webhooks_post200_response_webhook.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - -class ApiV1WebhooksPost200ResponseWebhook(BaseModel): - """ - ApiV1WebhooksPost200ResponseWebhook - """ - id: StrictStr = Field(...) - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - last_status: Optional[StrictStr] = Field(default=None, alias="lastStatus") - last_run_error_message: Optional[StrictStr] = Field(default=None, alias="lastRunErrorMessage") - is_disabled: Optional[StrictBool] = Field(default=False, alias="isDisabled") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - env_id: StrictStr = Field(default=..., alias="envId") - type: Optional[StrictStr] = 'general' - project_id: StrictStr = Field(default=..., alias="projectId") - environment: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(...) - __properties = ["id", "secretPath", "lastStatus", "lastRunErrorMessage", "isDisabled", "createdAt", "updatedAt", "envId", "type", "projectId", "environment"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WebhooksPost200ResponseWebhook: - """Create an instance of ApiV1WebhooksPost200ResponseWebhook from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - # set to None if last_status (nullable) is None - # and __fields_set__ contains the field - if self.last_status is None and "last_status" in self.__fields_set__: - _dict['lastStatus'] = None - - # set to None if last_run_error_message (nullable) is None - # and __fields_set__ contains the field - if self.last_run_error_message is None and "last_run_error_message" in self.__fields_set__: - _dict['lastRunErrorMessage'] = None - - # set to None if type (nullable) is None - # and __fields_set__ contains the field - if self.type is None and "type" in self.__fields_set__: - _dict['type'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WebhooksPost200ResponseWebhook: - """Create an instance of ApiV1WebhooksPost200ResponseWebhook from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WebhooksPost200ResponseWebhook.parse_obj(obj) - - _obj = ApiV1WebhooksPost200ResponseWebhook.parse_obj({ - "id": obj.get("id"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "last_status": obj.get("lastStatus"), - "last_run_error_message": obj.get("lastRunErrorMessage"), - "is_disabled": obj.get("isDisabled") if obj.get("isDisabled") is not None else False, - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "env_id": obj.get("envId"), - "type": obj.get("type") if obj.get("type") is not None else 'general', - "project_id": obj.get("projectId"), - "environment": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_webhooks_post_request.py b/infisicalapi_client/models/api_v1_webhooks_post_request.py deleted file mode 100644 index ed07597..0000000 --- a/infisicalapi_client/models/api_v1_webhooks_post_request.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV1WebhooksPostRequest(BaseModel): - """ - ApiV1WebhooksPostRequest - """ - type: Optional[StrictStr] = 'general' - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - environment: StrictStr = Field(...) - webhook_url: StrictStr = Field(default=..., alias="webhookUrl") - webhook_secret_key: Optional[StrictStr] = Field(default=None, alias="webhookSecretKey") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - __properties = ["type", "workspaceId", "environment", "webhookUrl", "webhookSecretKey", "secretPath"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('general', 'slack'): - raise ValueError("must be one of enum values ('general', 'slack')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WebhooksPostRequest: - """Create an instance of ApiV1WebhooksPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WebhooksPostRequest: - """Create an instance of ApiV1WebhooksPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WebhooksPostRequest.parse_obj(obj) - - _obj = ApiV1WebhooksPostRequest.parse_obj({ - "type": obj.get("type") if obj.get("type") is not None else 'general', - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "webhook_url": obj.get("webhookUrl"), - "webhook_secret_key": obj.get("webhookSecretKey"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_webhooks_webhook_id_patch_request.py b/infisicalapi_client/models/api_v1_webhooks_webhook_id_patch_request.py deleted file mode 100644 index 081b526..0000000 --- a/infisicalapi_client/models/api_v1_webhooks_webhook_id_patch_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool - -class ApiV1WebhooksWebhookIdPatchRequest(BaseModel): - """ - ApiV1WebhooksWebhookIdPatchRequest - """ - is_disabled: Optional[StrictBool] = Field(default=False, alias="isDisabled") - __properties = ["isDisabled"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WebhooksWebhookIdPatchRequest: - """Create an instance of ApiV1WebhooksWebhookIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WebhooksWebhookIdPatchRequest: - """Create an instance of ApiV1WebhooksWebhookIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WebhooksWebhookIdPatchRequest.parse_obj(obj) - - _obj = ApiV1WebhooksWebhookIdPatchRequest.parse_obj({ - "is_disabled": obj.get("isDisabled") if obj.get("isDisabled") is not None else False - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_get200_response.py b/infisicalapi_client/models/api_v1_workspace_get200_response.py deleted file mode 100644 index 03a436a..0000000 --- a/infisicalapi_client/models/api_v1_workspace_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_get200_response_workspaces_inner import ApiV1WorkspaceGet200ResponseWorkspacesInner - -class ApiV1WorkspaceGet200Response(BaseModel): - """ - ApiV1WorkspaceGet200Response - """ - workspaces: conlist(ApiV1WorkspaceGet200ResponseWorkspacesInner) = Field(...) - __properties = ["workspaces"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceGet200Response: - """Create an instance of ApiV1WorkspaceGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in workspaces (list) - _items = [] - if self.workspaces: - for _item in self.workspaces: - if _item: - _items.append(_item.to_dict()) - _dict['workspaces'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceGet200Response: - """Create an instance of ApiV1WorkspaceGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceGet200Response.parse_obj({ - "workspaces": [ApiV1WorkspaceGet200ResponseWorkspacesInner.from_dict(_item) for _item in obj.get("workspaces")] if obj.get("workspaces") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_get200_response_workspaces_inner.py b/infisicalapi_client/models/api_v1_workspace_get200_response_workspaces_inner.py deleted file mode 100644 index 7727a5a..0000000 --- a/infisicalapi_client/models/api_v1_workspace_get200_response_workspaces_inner.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner_import_env import ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv - -class ApiV1WorkspaceGet200ResponseWorkspacesInner(BaseModel): - """ - ApiV1WorkspaceGet200ResponseWorkspacesInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - auto_capitalization: Optional[StrictBool] = Field(default=True, alias="autoCapitalization") - org_id: StrictStr = Field(default=..., alias="orgId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - version: Optional[Union[StrictFloat, StrictInt]] = 1 - upgrade_status: Optional[StrictStr] = Field(default=None, alias="upgradeStatus") - pit_version_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=10, alias="pitVersionLimit") - kms_certificate_key_id: Optional[StrictStr] = Field(default=None, alias="kmsCertificateKeyId") - audit_logs_retention_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="auditLogsRetentionDays") - id: StrictStr = Field(default=..., alias="_id") - environments: conlist(ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv) = Field(...) - __properties = ["id", "name", "slug", "autoCapitalization", "orgId", "createdAt", "updatedAt", "version", "upgradeStatus", "pitVersionLimit", "kmsCertificateKeyId", "auditLogsRetentionDays", "_id", "environments"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceGet200ResponseWorkspacesInner: - """Create an instance of ApiV1WorkspaceGet200ResponseWorkspacesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in environments (list) - _items = [] - if self.environments: - for _item in self.environments: - if _item: - _items.append(_item.to_dict()) - _dict['environments'] = _items - # set to None if auto_capitalization (nullable) is None - # and __fields_set__ contains the field - if self.auto_capitalization is None and "auto_capitalization" in self.__fields_set__: - _dict['autoCapitalization'] = None - - # set to None if upgrade_status (nullable) is None - # and __fields_set__ contains the field - if self.upgrade_status is None and "upgrade_status" in self.__fields_set__: - _dict['upgradeStatus'] = None - - # set to None if kms_certificate_key_id (nullable) is None - # and __fields_set__ contains the field - if self.kms_certificate_key_id is None and "kms_certificate_key_id" in self.__fields_set__: - _dict['kmsCertificateKeyId'] = None - - # set to None if audit_logs_retention_days (nullable) is None - # and __fields_set__ contains the field - if self.audit_logs_retention_days is None and "audit_logs_retention_days" in self.__fields_set__: - _dict['auditLogsRetentionDays'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceGet200ResponseWorkspacesInner: - """Create an instance of ApiV1WorkspaceGet200ResponseWorkspacesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceGet200ResponseWorkspacesInner.parse_obj(obj) - - _obj = ApiV1WorkspaceGet200ResponseWorkspacesInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "slug": obj.get("slug"), - "auto_capitalization": obj.get("autoCapitalization") if obj.get("autoCapitalization") is not None else True, - "org_id": obj.get("orgId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "version": obj.get("version") if obj.get("version") is not None else 1, - "upgrade_status": obj.get("upgradeStatus"), - "pit_version_limit": obj.get("pitVersionLimit") if obj.get("pitVersionLimit") is not None else 10, - "kms_certificate_key_id": obj.get("kmsCertificateKeyId"), - "audit_logs_retention_days": obj.get("auditLogsRetentionDays"), - "id": obj.get("_id"), - "environments": [ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv.from_dict(_item) for _item in obj.get("environments")] if obj.get("environments") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response.py b/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response.py deleted file mode 100644 index ad76e49..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data import ApiV1WorkspaceProjectIdPermissionsGet200ResponseData - -class ApiV1WorkspaceProjectIdPermissionsGet200Response(BaseModel): - """ - ApiV1WorkspaceProjectIdPermissionsGet200Response - """ - data: ApiV1WorkspaceProjectIdPermissionsGet200ResponseData = Field(...) - __properties = ["data"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdPermissionsGet200Response: - """Create an instance of ApiV1WorkspaceProjectIdPermissionsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of data - if self.data: - _dict['data'] = self.data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdPermissionsGet200Response: - """Create an instance of ApiV1WorkspaceProjectIdPermissionsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdPermissionsGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdPermissionsGet200Response.parse_obj({ - "data": ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.from_dict(obj.get("data")) if obj.get("data") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data.py b/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data.py deleted file mode 100644 index ed3a2e5..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data_membership import ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership - -class ApiV1WorkspaceProjectIdPermissionsGet200ResponseData(BaseModel): - """ - ApiV1WorkspaceProjectIdPermissionsGet200ResponseData - """ - membership: ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership = Field(...) - permissions: conlist(StrictStr) = Field(...) - __properties = ["membership", "permissions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdPermissionsGet200ResponseData: - """Create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseData from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of membership - if self.membership: - _dict['membership'] = self.membership.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdPermissionsGet200ResponseData: - """Create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseData from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdPermissionsGet200ResponseData.parse_obj({ - "membership": ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.from_dict(obj.get("membership")) if obj.get("membership") is not None else None, - "permissions": obj.get("permissions") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data_membership.py b/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data_membership.py deleted file mode 100644 index a1bedcb..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data_membership.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner import ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner - -class ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership(BaseModel): - """ - ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership - """ - id: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - user_id: StrictStr = Field(default=..., alias="userId") - project_id: StrictStr = Field(default=..., alias="projectId") - roles: conlist(ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner) = Field(...) - __properties = ["id", "createdAt", "updatedAt", "userId", "projectId", "roles"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership: - """Create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership: - """Create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership.parse_obj({ - "id": obj.get("id"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "user_id": obj.get("userId"), - "project_id": obj.get("projectId"), - "roles": [ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner.py b/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner.py deleted file mode 100644 index bbcd995..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner(BaseModel): - """ - ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner - """ - role: StrictStr = Field(...) - __properties = ["role"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner: - """Create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner: - """Create an instance of ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner.parse_obj({ - "role": obj.get("role") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_tags_get200_response.py b/infisicalapi_client/models/api_v1_workspace_project_id_tags_get200_response.py deleted file mode 100644 index b4405e4..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_tags_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner import ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner - -class ApiV1WorkspaceProjectIdTagsGet200Response(BaseModel): - """ - ApiV1WorkspaceProjectIdTagsGet200Response - """ - workspace_tags: conlist(ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner) = Field(default=..., alias="workspaceTags") - __properties = ["workspaceTags"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdTagsGet200Response: - """Create an instance of ApiV1WorkspaceProjectIdTagsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in workspace_tags (list) - _items = [] - if self.workspace_tags: - for _item in self.workspace_tags: - if _item: - _items.append(_item.to_dict()) - _dict['workspaceTags'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdTagsGet200Response: - """Create an instance of ApiV1WorkspaceProjectIdTagsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdTagsGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdTagsGet200Response.parse_obj({ - "workspace_tags": [ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.from_dict(_item) for _item in obj.get("workspaceTags")] if obj.get("workspaceTags") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner.py b/infisicalapi_client/models/api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner.py deleted file mode 100644 index 14f96b8..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner(BaseModel): - """ - ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner - """ - id: StrictStr = Field(...) - slug: StrictStr = Field(...) - color: Optional[StrictStr] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - created_by: Optional[StrictStr] = Field(default=None, alias="createdBy") - project_id: StrictStr = Field(default=..., alias="projectId") - created_by_actor_type: Optional[StrictStr] = Field(default='user', alias="createdByActorType") - __properties = ["id", "slug", "color", "createdAt", "updatedAt", "createdBy", "projectId", "createdByActorType"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner: - """Create an instance of ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if color (nullable) is None - # and __fields_set__ contains the field - if self.color is None and "color" in self.__fields_set__: - _dict['color'] = None - - # set to None if created_by (nullable) is None - # and __fields_set__ contains the field - if self.created_by is None and "created_by" in self.__fields_set__: - _dict['createdBy'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner: - """Create an instance of ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.parse_obj({ - "id": obj.get("id"), - "slug": obj.get("slug"), - "color": obj.get("color"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "created_by": obj.get("createdBy"), - "project_id": obj.get("projectId"), - "created_by_actor_type": obj.get("createdByActorType") if obj.get("createdByActorType") is not None else 'user' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_tags_post200_response.py b/infisicalapi_client/models/api_v1_workspace_project_id_tags_post200_response.py deleted file mode 100644 index dbebfcd..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_tags_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner import ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner - -class ApiV1WorkspaceProjectIdTagsPost200Response(BaseModel): - """ - ApiV1WorkspaceProjectIdTagsPost200Response - """ - workspace_tag: ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner = Field(default=..., alias="workspaceTag") - __properties = ["workspaceTag"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdTagsPost200Response: - """Create an instance of ApiV1WorkspaceProjectIdTagsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of workspace_tag - if self.workspace_tag: - _dict['workspaceTag'] = self.workspace_tag.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdTagsPost200Response: - """Create an instance of ApiV1WorkspaceProjectIdTagsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdTagsPost200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdTagsPost200Response.parse_obj({ - "workspace_tag": ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner.from_dict(obj.get("workspaceTag")) if obj.get("workspaceTag") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_tags_post_request.py b/infisicalapi_client/models/api_v1_workspace_project_id_tags_post_request.py deleted file mode 100644 index f03ee73..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_tags_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceProjectIdTagsPostRequest(BaseModel): - """ - ApiV1WorkspaceProjectIdTagsPostRequest - """ - slug: StrictStr = Field(default=..., description="The slug of the tag to create.") - color: StrictStr = Field(default=..., description="The color of the tag to create.") - __properties = ["slug", "color"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdTagsPostRequest: - """Create an instance of ApiV1WorkspaceProjectIdTagsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdTagsPostRequest: - """Create an instance of ApiV1WorkspaceProjectIdTagsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdTagsPostRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdTagsPostRequest.parse_obj({ - "slug": obj.get("slug"), - "color": obj.get("color") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_get200_response.py b/infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_get200_response.py deleted file mode 100644 index 6e458c9..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag import ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag - -class ApiV1WorkspaceProjectIdTagsTagIdGet200Response(BaseModel): - """ - ApiV1WorkspaceProjectIdTagsTagIdGet200Response - """ - workspace_tag: ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag = Field(default=..., alias="workspaceTag") - __properties = ["workspaceTag"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdTagsTagIdGet200Response: - """Create an instance of ApiV1WorkspaceProjectIdTagsTagIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of workspace_tag - if self.workspace_tag: - _dict['workspaceTag'] = self.workspace_tag.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdTagsTagIdGet200Response: - """Create an instance of ApiV1WorkspaceProjectIdTagsTagIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdTagsTagIdGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdTagsTagIdGet200Response.parse_obj({ - "workspace_tag": ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.from_dict(obj.get("workspaceTag")) if obj.get("workspaceTag") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag.py b/infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag.py deleted file mode 100644 index 6feb6d0..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag(BaseModel): - """ - ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag - """ - id: StrictStr = Field(...) - slug: StrictStr = Field(...) - color: Optional[StrictStr] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - created_by: Optional[StrictStr] = Field(default=None, alias="createdBy") - project_id: StrictStr = Field(default=..., alias="projectId") - created_by_actor_type: Optional[StrictStr] = Field(default='user', alias="createdByActorType") - name: StrictStr = Field(...) - __properties = ["id", "slug", "color", "createdAt", "updatedAt", "createdBy", "projectId", "createdByActorType", "name"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag: - """Create an instance of ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if color (nullable) is None - # and __fields_set__ contains the field - if self.color is None and "color" in self.__fields_set__: - _dict['color'] = None - - # set to None if created_by (nullable) is None - # and __fields_set__ contains the field - if self.created_by is None and "created_by" in self.__fields_set__: - _dict['createdBy'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag: - """Create an instance of ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag.parse_obj({ - "id": obj.get("id"), - "slug": obj.get("slug"), - "color": obj.get("color"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "created_by": obj.get("createdBy"), - "project_id": obj.get("projectId"), - "created_by_actor_type": obj.get("createdByActorType") if obj.get("createdByActorType") is not None else 'user', - "name": obj.get("name") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_patch_request.py b/infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_patch_request.py deleted file mode 100644 index e7cb953..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_patch_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceProjectIdTagsTagIdPatchRequest(BaseModel): - """ - ApiV1WorkspaceProjectIdTagsTagIdPatchRequest - """ - slug: StrictStr = Field(default=..., description="The slug of the tag to update.") - color: StrictStr = Field(default=..., description="The color of the tag to update.") - __properties = ["slug", "color"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectIdTagsTagIdPatchRequest: - """Create an instance of ApiV1WorkspaceProjectIdTagsTagIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectIdTagsTagIdPatchRequest: - """Create an instance of ApiV1WorkspaceProjectIdTagsTagIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectIdTagsTagIdPatchRequest.parse_obj({ - "slug": obj.get("slug"), - "color": obj.get("color") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_get200_response.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_get200_response.py deleted file mode 100644 index f43f3eb..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response_roles_inner import ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner - -class ApiV1WorkspaceProjectSlugRolesGet200Response(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesGet200Response - """ - roles: conlist(ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner) = Field(...) - __properties = ["roles"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesGet200Response: - """Create an instance of ApiV1WorkspaceProjectSlugRolesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesGet200Response: - """Create an instance of ApiV1WorkspaceProjectSlugRolesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesGet200Response.parse_obj({ - "roles": [ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_get200_response_roles_inner.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_get200_response_roles_inner.py deleted file mode 100644 index dbe2b68..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_get200_response_roles_inner.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - description: Optional[StrictStr] = None - slug: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - project_id: StrictStr = Field(default=..., alias="projectId") - __properties = ["id", "name", "description", "slug", "createdAt", "updatedAt", "projectId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner: - """Create an instance of ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if description (nullable) is None - # and __fields_set__ contains the field - if self.description is None and "description" in self.__fields_set__: - _dict['description'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner: - """Create an instance of ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "description": obj.get("description"), - "slug": obj.get("slug"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "project_id": obj.get("projectId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response.py deleted file mode 100644 index 50a3c87..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role import ApiV1WorkspaceProjectSlugRolesPost200ResponseRole - -class ApiV1WorkspaceProjectSlugRolesPost200Response(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesPost200Response - """ - role: ApiV1WorkspaceProjectSlugRolesPost200ResponseRole = Field(...) - __properties = ["role"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesPost200Response: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of role - if self.role: - _dict['role'] = self.role.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesPost200Response: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesPost200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesPost200Response.parse_obj({ - "role": ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.from_dict(obj.get("role")) if obj.get("role") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role.py deleted file mode 100644 index 37366e2..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner - -class ApiV1WorkspaceProjectSlugRolesPost200ResponseRole(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesPost200ResponseRole - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - description: Optional[StrictStr] = None - slug: StrictStr = Field(...) - permissions: conlist(ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner) = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - project_id: StrictStr = Field(default=..., alias="projectId") - __properties = ["id", "name", "description", "slug", "permissions", "createdAt", "updatedAt", "projectId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRole: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRole from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item in self.permissions: - if _item: - _items.append(_item.to_dict()) - _dict['permissions'] = _items - # set to None if description (nullable) is None - # and __fields_set__ contains the field - if self.description is None and "description" in self.__fields_set__: - _dict['description'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRole: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRole from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesPost200ResponseRole.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "description": obj.get("description"), - "slug": obj.get("slug"), - "permissions": [ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.from_dict(_item) for _item in obj.get("permissions")] if obj.get("permissions") is not None else None, - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "project_id": obj.get("projectId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner.py deleted file mode 100644 index be9cd83..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject - -class ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner - """ - subject: Optional[ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject] = None - action: ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject = Field(...) - conditions: Optional[ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions] = None - __properties = ["subject", "action", "conditions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of subject - if self.subject: - _dict['subject'] = self.subject.to_dict() - # override the default output from pydantic by calling `to_dict()` of action - if self.action: - _dict['action'] = self.action.to_dict() - # override the default output from pydantic by calling `to_dict()` of conditions - if self.conditions: - _dict['conditions'] = self.conditions.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner.parse_obj({ - "subject": ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.from_dict(obj.get("subject")) if obj.get("subject") is not None else None, - "action": ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.from_dict(obj.get("action")) if obj.get("action") is not None else None, - "conditions": ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.from_dict(obj.get("conditions")) if obj.get("conditions") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions.py deleted file mode 100644 index ebc1541..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath - -class ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions - """ - environment: Optional[StrictStr] = None - secret_path: Optional[ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath] = Field(default=None, alias="secretPath") - __properties = ["environment", "secretPath"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_path - if self.secret_path: - _dict['secretPath'] = self.secret_path.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions.parse_obj({ - "environment": obj.get("environment"), - "secret_path": ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.from_dict(obj.get("secretPath")) if obj.get("secretPath") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path.py deleted file mode 100644 index 5487d78..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, constr - -class ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath - """ - glob: constr(strict=True, min_length=1) = Field(default=..., alias="$glob") - __properties = ["$glob"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath.parse_obj({ - "glob": obj.get("$glob") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject.py deleted file mode 100644 index e6577b7..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, conlist, constr, validator -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV1WORKSPACEPROJECTSLUGROLESPOST200RESPONSEROLEPERMISSIONSINNERSUBJECT_ANY_OF_SCHEMAS = ["List[str]", "str"] - -class ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject - """ - - # data type: str - anyof_schema_1_validator: Optional[constr(strict=True, min_length=1)] = None - # data type: List[str] - anyof_schema_2_validator: Optional[conlist(StrictStr)] = None - if TYPE_CHECKING: - actual_instance: Union[List[str], str] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV1WORKSPACEPROJECTSLUGROLESPOST200RESPONSEROLEPERMISSIONSINNERSUBJECT_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.construct() - error_messages = [] - # validate data type: str - try: - instance.anyof_schema_1_validator = v - return v - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # validate data type: List[str] - try: - instance.anyof_schema_2_validator = v - return v - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject with anyOf schemas: List[str], str. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject: - """Returns the object represented by the json string""" - instance = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject.construct() - error_messages = [] - # deserialize data into str - try: - # validation - instance.anyof_schema_1_validator = json.loads(json_str) - # assign value to actual_instance - instance.actual_instance = instance.anyof_schema_1_validator - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # deserialize data into List[str] - try: - # validation - instance.anyof_schema_2_validator = json.loads(json_str) - # assign value to actual_instance - instance.actual_instance = instance.anyof_schema_2_validator - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject with anyOf schemas: List[str], str. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request.py deleted file mode 100644 index f23b11a..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist, constr -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner - -class ApiV1WorkspaceProjectSlugRolesPostRequest(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesPostRequest - """ - slug: constr(strict=True, min_length=1) = Field(default=..., description="The slug of the role.") - name: constr(strict=True, min_length=1) = Field(default=..., description="The name of the role.") - description: Optional[StrictStr] = Field(default=None, description="The description for the role.") - permissions: conlist(ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner) = Field(default=..., description="The permissions assigned to the role.") - __properties = ["slug", "name", "description", "permissions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesPostRequest: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item in self.permissions: - if _item: - _items.append(_item.to_dict()) - _dict['permissions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesPostRequest: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesPostRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesPostRequest.parse_obj({ - "slug": obj.get("slug"), - "name": obj.get("name"), - "description": obj.get("description"), - "permissions": [ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.from_dict(_item) for _item in obj.get("permissions")] if obj.get("permissions") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner.py deleted file mode 100644 index 2aaf4a1..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, validator -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions - -class ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner - """ - action: StrictStr = Field(default=..., description="Describe what action an entity can take. Possible actions: create, edit, delete, and read") - subject: StrictStr = Field(default=..., description="The entity this permission pertains to. Possible options: secrets, environments") - conditions: Optional[ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions] = None - __properties = ["action", "subject", "conditions"] - - @validator('action') - def action_validate_enum(cls, value): - """Validates the enum""" - if value not in ('read', 'create', 'edit', 'delete'): - raise ValueError("must be one of enum values ('read', 'create', 'edit', 'delete')") - return value - - @validator('subject') - def subject_validate_enum(cls, value): - """Validates the enum""" - if value not in ('role', 'member', 'groups', 'settings', 'integrations', 'webhooks', 'service-tokens', 'environments', 'tags', 'audit-logs', 'ip-allowlist', 'workspace', 'secrets', 'secret-folders', 'secret-rollback', 'secret-approval', 'secret-rotation', 'identity', 'certificate-authorities', 'certificates', 'kms'): - raise ValueError("must be one of enum values ('role', 'member', 'groups', 'settings', 'integrations', 'webhooks', 'service-tokens', 'environments', 'tags', 'audit-logs', 'ip-allowlist', 'workspace', 'secrets', 'secret-folders', 'secret-rollback', 'secret-approval', 'secret-rotation', 'identity', 'certificate-authorities', 'certificates', 'kms')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of conditions - if self.conditions: - _dict['conditions'] = self.conditions.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.parse_obj({ - "action": obj.get("action"), - "subject": obj.get("subject"), - "conditions": ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.from_dict(obj.get("conditions")) if obj.get("conditions") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions.py deleted file mode 100644 index 34ec0c8..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath - -class ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions(BaseModel): - """ - When specified, only matching conditions will be allowed to access given resource. # noqa: E501 - """ - environment: Optional[StrictStr] = Field(default=None, description="The environment slug this permission should allow.") - secret_path: Optional[ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath] = Field(default=None, alias="secretPath") - __properties = ["environment", "secretPath"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_path - if self.secret_path: - _dict['secretPath'] = self.secret_path.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions.parse_obj({ - "environment": obj.get("environment"), - "secret_path": ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.from_dict(obj.get("secretPath")) if obj.get("secretPath") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path.py deleted file mode 100644 index 98a1823..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, constr - -class ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath - """ - glob: constr(strict=True, min_length=1) = Field(default=..., alias="$glob", description="The secret path this permission should allow. Can be a glob pattern such as /folder-name/*/** ") - __properties = ["$glob"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath: - """Create an instance of ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath.parse_obj({ - "glob": obj.get("$glob") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_role_id_patch_request.py b/infisicalapi_client/models/api_v1_workspace_project_slug_roles_role_id_patch_request.py deleted file mode 100644 index 424bcb1..0000000 --- a/infisicalapi_client/models/api_v1_workspace_project_slug_roles_role_id_patch_request.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner - -class ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest(BaseModel): - """ - ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest - """ - slug: Optional[StrictStr] = Field(default=None, description="The slug of the role.") - name: Optional[StrictStr] = Field(default=None, description="The name of the role.") - permissions: Optional[conlist(ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner)] = Field(default=None, description="The permissions assigned to the role.") - __properties = ["slug", "name", "permissions"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest: - """Create an instance of ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item in self.permissions: - if _item: - _items.append(_item.to_dict()) - _dict['permissions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest: - """Create an instance of ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest.parse_obj({ - "slug": obj.get("slug"), - "name": obj.get("name"), - "permissions": [ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner.from_dict(_item) for _item in obj.get("permissions")] if obj.get("permissions") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response.py deleted file mode 100644 index ac08894..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist - -class ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response - """ - actors: conlist(StrictStr) = Field(...) - __properties = ["actors"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response.parse_obj({ - "actors": obj.get("actors") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response.py deleted file mode 100644 index 392c279..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner import ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner - -class ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response - """ - audit_logs: conlist(ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner) = Field(default=..., alias="auditLogs") - __properties = ["auditLogs"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in audit_logs (list) - _items = [] - if self.audit_logs: - for _item in self.audit_logs: - if _item: - _items.append(_item.to_dict()) - _dict['auditLogs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response.parse_obj({ - "audit_logs": [ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.from_dict(_item) for _item in obj.get("auditLogs")] if obj.get("auditLogs") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner.py deleted file mode 100644 index ed3d2e7..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event import ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent - -class ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner - """ - id: StrictStr = Field(...) - ip_address: Optional[StrictStr] = Field(default=None, alias="ipAddress") - user_agent: Optional[StrictStr] = Field(default=None, alias="userAgent") - user_agent_type: Optional[StrictStr] = Field(default=None, alias="userAgentType") - expires_at: Optional[datetime] = Field(default=None, alias="expiresAt") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - org_id: Optional[StrictStr] = Field(default=None, alias="orgId") - project_id: Optional[StrictStr] = Field(default=None, alias="projectId") - event: ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent = Field(...) - actor: ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent = Field(...) - __properties = ["id", "ipAddress", "userAgent", "userAgentType", "expiresAt", "createdAt", "updatedAt", "orgId", "projectId", "event", "actor"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of event - if self.event: - _dict['event'] = self.event.to_dict() - # override the default output from pydantic by calling `to_dict()` of actor - if self.actor: - _dict['actor'] = self.actor.to_dict() - # set to None if ip_address (nullable) is None - # and __fields_set__ contains the field - if self.ip_address is None and "ip_address" in self.__fields_set__: - _dict['ipAddress'] = None - - # set to None if user_agent (nullable) is None - # and __fields_set__ contains the field - if self.user_agent is None and "user_agent" in self.__fields_set__: - _dict['userAgent'] = None - - # set to None if user_agent_type (nullable) is None - # and __fields_set__ contains the field - if self.user_agent_type is None and "user_agent_type" in self.__fields_set__: - _dict['userAgentType'] = None - - # set to None if expires_at (nullable) is None - # and __fields_set__ contains the field - if self.expires_at is None and "expires_at" in self.__fields_set__: - _dict['expiresAt'] = None - - # set to None if org_id (nullable) is None - # and __fields_set__ contains the field - if self.org_id is None and "org_id" in self.__fields_set__: - _dict['orgId'] = None - - # set to None if project_id (nullable) is None - # and __fields_set__ contains the field - if self.project_id is None and "project_id" in self.__fields_set__: - _dict['projectId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner.parse_obj({ - "id": obj.get("id"), - "ip_address": obj.get("ipAddress"), - "user_agent": obj.get("userAgent"), - "user_agent_type": obj.get("userAgentType"), - "expires_at": obj.get("expiresAt"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "org_id": obj.get("orgId"), - "project_id": obj.get("projectId"), - "event": ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.from_dict(obj.get("event")) if obj.get("event") is not None else None, - "actor": ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.from_dict(obj.get("actor")) if obj.get("actor") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event.py deleted file mode 100644 index 121e6b6..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent - """ - type: StrictStr = Field(...) - metadata: Optional[Any] = None - __properties = ["type", "metadata"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent.parse_obj({ - "type": obj.get("type"), - "metadata": obj.get("metadata") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_authorizations_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_authorizations_get200_response.py deleted file mode 100644 index ce2335e..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_authorizations_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner - -class ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response - """ - authorizations: conlist(ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner) = Field(...) - __properties = ["authorizations"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in authorizations (list) - _items = [] - if self.authorizations: - for _item in self.authorizations: - if _item: - _items.append(_item.to_dict()) - _dict['authorizations'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response.parse_obj({ - "authorizations": [ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.from_dict(_item) for _item in obj.get("authorizations")] if obj.get("authorizations") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner.py deleted file mode 100644 index df4a926..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner - """ - id: StrictStr = Field(...) - project_id: StrictStr = Field(default=..., alias="projectId") - integration: StrictStr = Field(...) - team_id: Optional[StrictStr] = Field(default=None, alias="teamId") - url: Optional[StrictStr] = None - namespace: Optional[StrictStr] = None - account_id: Optional[StrictStr] = Field(default=None, alias="accountId") - metadata: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "projectId", "integration", "teamId", "url", "namespace", "accountId", "metadata", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if team_id (nullable) is None - # and __fields_set__ contains the field - if self.team_id is None and "team_id" in self.__fields_set__: - _dict['teamId'] = None - - # set to None if url (nullable) is None - # and __fields_set__ contains the field - if self.url is None and "url" in self.__fields_set__: - _dict['url'] = None - - # set to None if namespace (nullable) is None - # and __fields_set__ contains the field - if self.namespace is None and "namespace" in self.__fields_set__: - _dict['namespace'] = None - - # set to None if account_id (nullable) is None - # and __fields_set__ contains the field - if self.account_id is None and "account_id" in self.__fields_set__: - _dict['accountId'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner.parse_obj({ - "id": obj.get("id"), - "project_id": obj.get("projectId"), - "integration": obj.get("integration"), - "team_id": obj.get("teamId"), - "url": obj.get("url"), - "namespace": obj.get("namespace"), - "account_id": obj.get("accountId"), - "metadata": obj.get("metadata"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_auto_capitalization_post_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_auto_capitalization_post_request.py deleted file mode 100644 index 22ebe51..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_auto_capitalization_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictBool - -class ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest - """ - auto_capitalization: StrictBool = Field(default=..., alias="autoCapitalization") - __properties = ["autoCapitalization"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest.parse_obj({ - "auto_capitalization": obj.get("autoCapitalization") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_delete200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_delete200_response.py deleted file mode 100644 index 6a83824..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_delete200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner - -class ApiV1WorkspaceWorkspaceIdDelete200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdDelete200Response - """ - workspace: Optional[ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner] = None - __properties = ["workspace"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdDelete200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdDelete200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of workspace - if self.workspace: - _dict['workspace'] = self.workspace.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdDelete200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdDelete200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdDelete200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdDelete200Response.parse_obj({ - "workspace": ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.from_dict(obj.get("workspace")) if obj.get("workspace") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_env_id_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_env_id_get200_response.py deleted file mode 100644 index 7dd426b..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_env_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response_environment import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment - -class ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response - """ - environment: ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment = Field(...) - __properties = ["environment"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response.parse_obj({ - "environment": ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_env_id_get200_response_environment.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_env_id_get200_response_environment.py deleted file mode 100644 index 9e52c14..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_env_id_get200_response_environment.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - position: Union[StrictFloat, StrictInt] = Field(...) - project_id: StrictStr = Field(default=..., alias="projectId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "name", "slug", "position", "projectId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment: - """Create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment: - """Create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "slug": obj.get("slug"), - "position": obj.get("position"), - "project_id": obj.get("projectId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_id_patch_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_id_patch_request.py deleted file mode 100644 index 41e1ffe..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_id_patch_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest - """ - slug: Optional[StrictStr] = Field(default=None, description="The new slug of the environment.") - name: Optional[StrictStr] = Field(default=None, description="The new name of the environment.") - position: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The new position of the environment. The lowest number will be displayed as the first environment.") - __properties = ["slug", "name", "position"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest.parse_obj({ - "slug": obj.get("slug"), - "name": obj.get("name"), - "position": obj.get("position") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_post200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_post200_response.py deleted file mode 100644 index 621f026..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response_environment import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment - -class ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response - """ - message: StrictStr = Field(...) - workspace: StrictStr = Field(...) - environment: ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment = Field(...) - __properties = ["message", "workspace", "environment"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response.parse_obj({ - "message": obj.get("message"), - "workspace": obj.get("workspace"), - "environment": ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_post_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_post_request.py deleted file mode 100644 index e66b162..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_environments_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest - """ - name: StrictStr = Field(default=..., description="The name of the environment to create.") - slug: StrictStr = Field(default=..., description="The slug of the environment to create.") - __properties = ["name", "slug"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest.parse_obj({ - "name": obj.get("name"), - "slug": obj.get("slug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_get200_response.py deleted file mode 100644 index 1ffd4c9..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel -from infisicalapi_client.models.api_v1_workspace_get200_response_workspaces_inner import ApiV1WorkspaceGet200ResponseWorkspacesInner - -class ApiV1WorkspaceWorkspaceIdGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdGet200Response - """ - workspace: Optional[ApiV1WorkspaceGet200ResponseWorkspacesInner] = None - __properties = ["workspace"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of workspace - if self.workspace: - _dict['workspace'] = self.workspace.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdGet200Response.parse_obj({ - "workspace": ApiV1WorkspaceGet200ResponseWorkspacesInner.from_dict(obj.get("workspace")) if obj.get("workspace") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_integrations_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_integrations_get200_response.py deleted file mode 100644 index e112757..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_integrations_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner import ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner - -class ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response - """ - integrations: conlist(ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner) = Field(...) - __properties = ["integrations"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in integrations (list) - _items = [] - if self.integrations: - for _item in self.integrations: - if _item: - _items.append(_item.to_dict()) - _dict['integrations'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response.parse_obj({ - "integrations": [ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.from_dict(_item) for _item in obj.get("integrations")] if obj.get("integrations") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner.py deleted file mode 100644 index b80f351..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner.py +++ /dev/null @@ -1,203 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - -class ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner - """ - id: StrictStr = Field(...) - is_active: StrictBool = Field(default=..., alias="isActive") - url: Optional[StrictStr] = None - app: Optional[StrictStr] = None - app_id: Optional[StrictStr] = Field(default=None, alias="appId") - target_environment: Optional[StrictStr] = Field(default=None, alias="targetEnvironment") - target_environment_id: Optional[StrictStr] = Field(default=None, alias="targetEnvironmentId") - target_service: Optional[StrictStr] = Field(default=None, alias="targetService") - target_service_id: Optional[StrictStr] = Field(default=None, alias="targetServiceId") - owner: Optional[StrictStr] = None - path: Optional[StrictStr] = None - region: Optional[StrictStr] = None - scope: Optional[StrictStr] = None - integration: StrictStr = Field(...) - metadata: Optional[Any] = None - integration_auth_id: StrictStr = Field(default=..., alias="integrationAuthId") - env_id: StrictStr = Field(default=..., alias="envId") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - last_used: Optional[datetime] = Field(default=None, alias="lastUsed") - is_synced: Optional[StrictBool] = Field(default=None, alias="isSynced") - sync_message: Optional[StrictStr] = Field(default=None, alias="syncMessage") - last_sync_job_id: Optional[StrictStr] = Field(default=None, alias="lastSyncJobId") - environment: ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment = Field(...) - __properties = ["id", "isActive", "url", "app", "appId", "targetEnvironment", "targetEnvironmentId", "targetService", "targetServiceId", "owner", "path", "region", "scope", "integration", "metadata", "integrationAuthId", "envId", "secretPath", "createdAt", "updatedAt", "lastUsed", "isSynced", "syncMessage", "lastSyncJobId", "environment"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of environment - if self.environment: - _dict['environment'] = self.environment.to_dict() - # set to None if url (nullable) is None - # and __fields_set__ contains the field - if self.url is None and "url" in self.__fields_set__: - _dict['url'] = None - - # set to None if app (nullable) is None - # and __fields_set__ contains the field - if self.app is None and "app" in self.__fields_set__: - _dict['app'] = None - - # set to None if app_id (nullable) is None - # and __fields_set__ contains the field - if self.app_id is None and "app_id" in self.__fields_set__: - _dict['appId'] = None - - # set to None if target_environment (nullable) is None - # and __fields_set__ contains the field - if self.target_environment is None and "target_environment" in self.__fields_set__: - _dict['targetEnvironment'] = None - - # set to None if target_environment_id (nullable) is None - # and __fields_set__ contains the field - if self.target_environment_id is None and "target_environment_id" in self.__fields_set__: - _dict['targetEnvironmentId'] = None - - # set to None if target_service (nullable) is None - # and __fields_set__ contains the field - if self.target_service is None and "target_service" in self.__fields_set__: - _dict['targetService'] = None - - # set to None if target_service_id (nullable) is None - # and __fields_set__ contains the field - if self.target_service_id is None and "target_service_id" in self.__fields_set__: - _dict['targetServiceId'] = None - - # set to None if owner (nullable) is None - # and __fields_set__ contains the field - if self.owner is None and "owner" in self.__fields_set__: - _dict['owner'] = None - - # set to None if path (nullable) is None - # and __fields_set__ contains the field - if self.path is None and "path" in self.__fields_set__: - _dict['path'] = None - - # set to None if region (nullable) is None - # and __fields_set__ contains the field - if self.region is None and "region" in self.__fields_set__: - _dict['region'] = None - - # set to None if scope (nullable) is None - # and __fields_set__ contains the field - if self.scope is None and "scope" in self.__fields_set__: - _dict['scope'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - # set to None if last_used (nullable) is None - # and __fields_set__ contains the field - if self.last_used is None and "last_used" in self.__fields_set__: - _dict['lastUsed'] = None - - # set to None if is_synced (nullable) is None - # and __fields_set__ contains the field - if self.is_synced is None and "is_synced" in self.__fields_set__: - _dict['isSynced'] = None - - # set to None if sync_message (nullable) is None - # and __fields_set__ contains the field - if self.sync_message is None and "sync_message" in self.__fields_set__: - _dict['syncMessage'] = None - - # set to None if last_sync_job_id (nullable) is None - # and __fields_set__ contains the field - if self.last_sync_job_id is None and "last_sync_job_id" in self.__fields_set__: - _dict['lastSyncJobId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner.parse_obj({ - "id": obj.get("id"), - "is_active": obj.get("isActive"), - "url": obj.get("url"), - "app": obj.get("app"), - "app_id": obj.get("appId"), - "target_environment": obj.get("targetEnvironment"), - "target_environment_id": obj.get("targetEnvironmentId"), - "target_service": obj.get("targetService"), - "target_service_id": obj.get("targetServiceId"), - "owner": obj.get("owner"), - "path": obj.get("path"), - "region": obj.get("region"), - "scope": obj.get("scope"), - "integration": obj.get("integration"), - "metadata": obj.get("metadata"), - "integration_auth_id": obj.get("integrationAuthId"), - "env_id": obj.get("envId"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "last_used": obj.get("lastUsed"), - "is_synced": obj.get("isSynced"), - "sync_message": obj.get("syncMessage"), - "last_sync_job_id": obj.get("lastSyncJobId"), - "environment": ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment.from_dict(obj.get("environment")) if obj.get("environment") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_key_post_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_key_post_request.py deleted file mode 100644 index 85652d4..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_key_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request_key import ApiV1WorkspaceWorkspaceIdKeyPostRequestKey - -class ApiV1WorkspaceWorkspaceIdKeyPostRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKeyPostRequest - """ - key: ApiV1WorkspaceWorkspaceIdKeyPostRequestKey = Field(...) - __properties = ["key"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKeyPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdKeyPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of key - if self.key: - _dict['key'] = self.key.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKeyPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdKeyPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKeyPostRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKeyPostRequest.parse_obj({ - "key": ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.from_dict(obj.get("key")) if obj.get("key") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_key_post_request_key.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_key_post_request_key.py deleted file mode 100644 index 8c06f50..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_key_post_request_key.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdKeyPostRequestKey(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKeyPostRequestKey - """ - encrypted_key: StrictStr = Field(default=..., alias="encryptedKey") - nonce: StrictStr = Field(...) - user_id: StrictStr = Field(default=..., alias="userId") - __properties = ["encryptedKey", "nonce", "userId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKeyPostRequestKey: - """Create an instance of ApiV1WorkspaceWorkspaceIdKeyPostRequestKey from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKeyPostRequestKey: - """Create an instance of ApiV1WorkspaceWorkspaceIdKeyPostRequestKey from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKeyPostRequestKey.parse_obj({ - "encrypted_key": obj.get("encryptedKey"), - "nonce": obj.get("nonce"), - "user_id": obj.get("userId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_keys_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_keys_get200_response.py deleted file mode 100644 index a3abdc3..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_keys_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner import ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner - -class ApiV1WorkspaceWorkspaceIdKeysGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKeysGet200Response - """ - public_keys: conlist(ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner) = Field(default=..., alias="publicKeys") - __properties = ["publicKeys"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKeysGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdKeysGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in public_keys (list) - _items = [] - if self.public_keys: - for _item in self.public_keys: - if _item: - _items.append(_item.to_dict()) - _dict['publicKeys'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKeysGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdKeysGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKeysGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKeysGet200Response.parse_obj({ - "public_keys": [ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.from_dict(_item) for _item in obj.get("publicKeys")] if obj.get("publicKeys") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner.py deleted file mode 100644 index 5787310..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner - """ - public_key: Optional[StrictStr] = Field(default=None, alias="publicKey") - user_id: StrictStr = Field(default=..., alias="userId") - __properties = ["publicKey", "userId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner.parse_obj({ - "public_key": obj.get("publicKey"), - "user_id": obj.get("userId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_backup_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_backup_get200_response.py deleted file mode 100644 index f75436c..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_backup_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response - """ - secret_manager: StrictStr = Field(default=..., alias="secretManager") - __properties = ["secretManager"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response.parse_obj({ - "secret_manager": obj.get("secretManager") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_backup_post_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_backup_post_request.py deleted file mode 100644 index 4c83d31..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_backup_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, constr - -class ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest - """ - backup: constr(strict=True, min_length=1) = Field(...) - __properties = ["backup"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest.parse_obj({ - "backup": obj.get("backup") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_get200_response.py deleted file mode 100644 index 844fc67..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key import ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey - -class ApiV1WorkspaceWorkspaceIdKmsGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKmsGet200Response - """ - secret_manager_kms_key: ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey = Field(default=..., alias="secretManagerKmsKey") - __properties = ["secretManagerKmsKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKmsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret_manager_kms_key - if self.secret_manager_kms_key: - _dict['secretManagerKmsKey'] = self.secret_manager_kms_key.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKmsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKmsGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKmsGet200Response.parse_obj({ - "secret_manager_kms_key": ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.from_dict(obj.get("secretManagerKmsKey")) if obj.get("secretManagerKmsKey") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key.py deleted file mode 100644 index 1cb6b4c..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey - """ - id: StrictStr = Field(...) - slug: StrictStr = Field(...) - is_external: StrictBool = Field(default=..., alias="isExternal") - __properties = ["id", "slug", "isExternal"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey.parse_obj({ - "id": obj.get("id"), - "slug": obj.get("slug"), - "is_external": obj.get("isExternal") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request.py deleted file mode 100644 index 196f47a..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms - -class ApiV1WorkspaceWorkspaceIdKmsPatchRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKmsPatchRequest - """ - kms: ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms = Field(...) - __properties = ["kms"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of kms - if self.kms: - _dict['kms'] = self.kms.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKmsPatchRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKmsPatchRequest.parse_obj({ - "kms": ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.from_dict(obj.get("kms")) if obj.get("kms") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms.py deleted file mode 100644 index 21ba288..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms_any_of import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1 import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV1WORKSPACEWORKSPACEIDKMSPATCHREQUESTKMS_ANY_OF_SCHEMAS = ["ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf", "ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1"] - -class ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms - """ - - # data type: ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf - anyof_schema_1_validator: Optional[ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf] = None - # data type: ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 - anyof_schema_2_validator: Optional[ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf, ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV1WORKSPACEWORKSPACEIDKMSPATCHREQUESTKMS_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.construct() - error_messages = [] - # validate data type: ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf - if not isinstance(v, ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf`") - else: - return v - - # validate data type: ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 - if not isinstance(v, ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms with anyOf schemas: ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf, ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms: - """Returns the object represented by the json string""" - instance = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf] = None - try: - instance.actual_instance = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1] = None - try: - instance.actual_instance = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms with anyOf schemas: ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf, ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms_any_of.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms_any_of.py deleted file mode 100644 index da61221..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms_any_of.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf - """ - type: StrictStr = Field(...) - __properties = ["type"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('internal'): - raise ValueError("must be one of enum values ('internal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf.parse_obj({ - "type": obj.get("type") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1.py deleted file mode 100644 index 14cc33a..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 - """ - type: StrictStr = Field(...) - kms_id: StrictStr = Field(default=..., alias="kmsId") - __properties = ["type", "kmsId"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in ('external'): - raise ValueError("must be one of enum values ('external')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1: - """Create an instance of ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1.parse_obj({ - "type": obj.get("type"), - "kms_id": obj.get("kmsId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_details_post200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_details_post200_response.py deleted file mode 100644 index 9ff2cd5..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_details_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner - -class ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response - """ - membership: ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner = Field(...) - __properties = ["membership"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of membership - if self.membership: - _dict['membership'] = self.membership.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response.parse_obj({ - "membership": ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.from_dict(obj.get("membership")) if obj.get("membership") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_details_post_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_details_post_request.py deleted file mode 100644 index 02aa876..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_details_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, constr - -class ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest - """ - username: constr(strict=True, min_length=1) = Field(default=..., description="The username to get project membership of. Email is the default username.") - __properties = ["username"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest.parse_obj({ - "username": obj.get("username") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response.py deleted file mode 100644 index 7587429..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner - -class ApiV1WorkspaceWorkspaceIdMembershipsGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsGet200Response - """ - memberships: conlist(ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner) = Field(...) - __properties = ["memberships"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in memberships (list) - _items = [] - if self.memberships: - for _item in self.memberships: - if _item: - _items.append(_item.to_dict()) - _dict['memberships'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsGet200Response.parse_obj({ - "memberships": [ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.from_dict(_item) for _item in obj.get("memberships")] if obj.get("memberships") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner.py deleted file mode 100644 index b81b9e3..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner - -class ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner - """ - id: StrictStr = Field(...) - user_id: StrictStr = Field(default=..., alias="userId") - project_id: StrictStr = Field(default=..., alias="projectId") - user: ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser = Field(...) - roles: conlist(ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner) = Field(...) - __properties = ["id", "userId", "projectId", "user", "roles"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner.parse_obj({ - "id": obj.get("id"), - "user_id": obj.get("userId"), - "project_id": obj.get("projectId"), - "user": ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.from_dict(obj.get("user")) if obj.get("user") is not None else None, - "roles": [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user.py deleted file mode 100644 index d0e5010..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser - """ - email: Optional[StrictStr] = None - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - id: StrictStr = Field(...) - public_key: StrictStr = Field(default=..., alias="publicKey") - __properties = ["email", "firstName", "lastName", "id", "publicKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser.parse_obj({ - "email": obj.get("email"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "id": obj.get("id"), - "public_key": obj.get("publicKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch200_response.py deleted file mode 100644 index 16f06e1..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner - -class ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response - """ - roles: conlist(ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner) = Field(...) - __properties = ["roles"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response.parse_obj({ - "roles": [ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner.py deleted file mode 100644 index 46b74cb..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner - """ - id: StrictStr = Field(...) - role: StrictStr = Field(...) - project_membership_id: StrictStr = Field(default=..., alias="projectMembershipId") - custom_role_id: Optional[StrictStr] = Field(default=None, alias="customRoleId") - is_temporary: Optional[StrictBool] = Field(default=False, alias="isTemporary") - temporary_mode: Optional[StrictStr] = Field(default=None, alias="temporaryMode") - temporary_range: Optional[StrictStr] = Field(default=None, alias="temporaryRange") - temporary_access_start_time: Optional[datetime] = Field(default=None, alias="temporaryAccessStartTime") - temporary_access_end_time: Optional[datetime] = Field(default=None, alias="temporaryAccessEndTime") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "role", "projectMembershipId", "customRoleId", "isTemporary", "temporaryMode", "temporaryRange", "temporaryAccessStartTime", "temporaryAccessEndTime", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if custom_role_id (nullable) is None - # and __fields_set__ contains the field - if self.custom_role_id is None and "custom_role_id" in self.__fields_set__: - _dict['customRoleId'] = None - - # set to None if temporary_mode (nullable) is None - # and __fields_set__ contains the field - if self.temporary_mode is None and "temporary_mode" in self.__fields_set__: - _dict['temporaryMode'] = None - - # set to None if temporary_range (nullable) is None - # and __fields_set__ contains the field - if self.temporary_range is None and "temporary_range" in self.__fields_set__: - _dict['temporaryRange'] = None - - # set to None if temporary_access_start_time (nullable) is None - # and __fields_set__ contains the field - if self.temporary_access_start_time is None and "temporary_access_start_time" in self.__fields_set__: - _dict['temporaryAccessStartTime'] = None - - # set to None if temporary_access_end_time (nullable) is None - # and __fields_set__ contains the field - if self.temporary_access_end_time is None and "temporary_access_end_time" in self.__fields_set__: - _dict['temporaryAccessEndTime'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner.parse_obj({ - "id": obj.get("id"), - "role": obj.get("role"), - "project_membership_id": obj.get("projectMembershipId"), - "custom_role_id": obj.get("customRoleId"), - "is_temporary": obj.get("isTemporary") if obj.get("isTemporary") is not None else False, - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime"), - "temporary_access_end_time": obj.get("temporaryAccessEndTime"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request.py deleted file mode 100644 index 035c9b9..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner - -class ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest - """ - roles: conlist(ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner, min_items=1) = Field(default=..., description="A list of roles to update the membership to.") - __properties = ["roles"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest.parse_obj({ - "roles": [ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner.py deleted file mode 100644 index 0490a1a..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1 import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV1WORKSPACEWORKSPACEIDMEMBERSHIPSMEMBERSHIPIDPATCHREQUESTROLESINNER_ANY_OF_SCHEMAS = ["ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf", "ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1"] - -class ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner - """ - - # data type: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf - anyof_schema_1_validator: Optional[ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf] = None - # data type: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 - anyof_schema_2_validator: Optional[ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf, ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV1WORKSPACEWORKSPACEIDMEMBERSHIPSMEMBERSHIPIDPATCHREQUESTROLESINNER_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.construct() - error_messages = [] - # validate data type: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf - if not isinstance(v, ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf`") - else: - return v - - # validate data type: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 - if not isinstance(v, ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner with anyOf schemas: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf, ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner: - """Returns the object represented by the json string""" - instance = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf] = None - try: - instance.actual_instance = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1] = None - try: - instance.actual_instance = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner with anyOf schemas: ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf, ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of.py deleted file mode 100644 index 2d91c2e..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf - """ - role: StrictStr = Field(...) - is_temporary: Optional[StrictBool] = Field(default=False, alias="isTemporary") - __properties = ["role", "isTemporary"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf.parse_obj({ - "role": obj.get("role"), - "is_temporary": obj.get("isTemporary") if obj.get("isTemporary") is not None else False - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1.py deleted file mode 100644 index 173ba1d..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictBool, StrictStr, validator - -class ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 - """ - role: StrictStr = Field(...) - is_temporary: StrictBool = Field(default=..., alias="isTemporary") - temporary_mode: StrictStr = Field(default=..., alias="temporaryMode") - temporary_range: StrictStr = Field(default=..., alias="temporaryRange") - temporary_access_start_time: datetime = Field(default=..., alias="temporaryAccessStartTime") - __properties = ["role", "isTemporary", "temporaryMode", "temporaryRange", "temporaryAccessStartTime"] - - @validator('temporary_mode') - def temporary_mode_validate_enum(cls, value): - """Validates the enum""" - if value not in ('relative'): - raise ValueError("must be one of enum values ('relative')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1.parse_obj({ - "role": obj.get("role"), - "is_temporary": obj.get("isTemporary"), - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post200_response.py deleted file mode 100644 index e5e8ff8..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictBool, conlist -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response_membership import ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership - -class ApiV1WorkspaceWorkspaceIdMembershipsPost200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsPost200Response - """ - success: StrictBool = Field(...) - data: conlist(ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership) = Field(...) - __properties = ["success", "data"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsPost200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in data (list) - _items = [] - if self.data: - for _item in self.data: - if _item: - _items.append(_item.to_dict()) - _dict['data'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsPost200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsPost200Response.parse_obj({ - "success": obj.get("success"), - "data": [ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.from_dict(_item) for _item in obj.get("data")] if obj.get("data") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post_request.py deleted file mode 100644 index 3fb3865..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request_members_inner import ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner - -class ApiV1WorkspaceWorkspaceIdMembershipsPostRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsPostRequest - """ - members: conlist(ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner, min_items=1) = Field(...) - __properties = ["members"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in members (list) - _items = [] - if self.members: - for _item in self.members: - if _item: - _items.append(_item.to_dict()) - _dict['members'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsPostRequest.parse_obj({ - "members": [ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.from_dict(_item) for _item in obj.get("members")] if obj.get("members") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post_request_members_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post_request_members_inner.py deleted file mode 100644 index 9c7d644..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post_request_members_inner.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner - """ - org_membership_id: StrictStr = Field(default=..., alias="orgMembershipId") - workspace_encrypted_key: StrictStr = Field(default=..., alias="workspaceEncryptedKey") - workspace_encrypted_nonce: StrictStr = Field(default=..., alias="workspaceEncryptedNonce") - __properties = ["orgMembershipId", "workspaceEncryptedKey", "workspaceEncryptedNonce"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner.parse_obj({ - "org_membership_id": obj.get("orgMembershipId"), - "workspace_encrypted_key": obj.get("workspaceEncryptedKey"), - "workspace_encrypted_nonce": obj.get("workspaceEncryptedNonce") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_migrate_v3_post200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_migrate_v3_post200_response.py deleted file mode 100644 index 292901e..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_migrate_v3_post200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - """ - message: StrictStr = Field(...) - __properties = ["message"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response.parse_obj({ - "message": obj.get("message") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_name_post200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_name_post200_response.py deleted file mode 100644 index 3cd514d..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_name_post200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner - -class ApiV1WorkspaceWorkspaceIdNamePost200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdNamePost200Response - """ - message: StrictStr = Field(...) - workspace: ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner = Field(...) - __properties = ["message", "workspace"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdNamePost200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdNamePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of workspace - if self.workspace: - _dict['workspace'] = self.workspace.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdNamePost200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdNamePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdNamePost200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdNamePost200Response.parse_obj({ - "message": obj.get("message"), - "workspace": ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.from_dict(obj.get("workspace")) if obj.get("workspace") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_name_post_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_name_post_request.py deleted file mode 100644 index 9732364..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_name_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdNamePostRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdNamePostRequest - """ - name: StrictStr = Field(...) - __properties = ["name"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdNamePostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdNamePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdNamePostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdNamePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdNamePostRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdNamePostRequest.parse_obj({ - "name": obj.get("name") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_patch200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_patch200_response.py deleted file mode 100644 index 6e4c651..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_patch200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner - -class ApiV1WorkspaceWorkspaceIdPatch200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdPatch200Response - """ - workspace: ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner = Field(...) - __properties = ["workspace"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdPatch200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdPatch200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of workspace - if self.workspace: - _dict['workspace'] = self.workspace.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdPatch200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdPatch200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdPatch200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdPatch200Response.parse_obj({ - "workspace": ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner.from_dict(obj.get("workspace")) if obj.get("workspace") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_patch_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_patch_request.py deleted file mode 100644 index b0204cc..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_patch_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, constr - -class ApiV1WorkspaceWorkspaceIdPatchRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdPatchRequest - """ - name: Optional[constr(strict=True, max_length=64)] = Field(default=None, description="The new name of the project.") - auto_capitalization: Optional[StrictBool] = Field(default=None, alias="autoCapitalization", description="Disable or enable auto-capitalization for the project.") - __properties = ["name", "autoCapitalization"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdPatchRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdPatchRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdPatchRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdPatchRequest.parse_obj({ - "name": obj.get("name"), - "auto_capitalization": obj.get("autoCapitalization") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_count_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_count_get200_response.py deleted file mode 100644 index 3c745cd..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_count_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt - -class ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response - """ - count: Union[StrictFloat, StrictInt] = Field(...) - __properties = ["count"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response.parse_obj({ - "count": obj.get("count") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_get200_response.py deleted file mode 100644 index c9d498d..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner - -class ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response - """ - secret_snapshots: conlist(ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner) = Field(default=..., alias="secretSnapshots") - __properties = ["secretSnapshots"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secret_snapshots (list) - _items = [] - if self.secret_snapshots: - for _item in self.secret_snapshots: - if _item: - _items.append(_item.to_dict()) - _dict['secretSnapshots'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response.parse_obj({ - "secret_snapshots": [ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.from_dict(_item) for _item in obj.get("secretSnapshots")] if obj.get("secretSnapshots") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner.py deleted file mode 100644 index b4bf9e9..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner - """ - id: StrictStr = Field(...) - env_id: StrictStr = Field(default=..., alias="envId") - folder_id: StrictStr = Field(default=..., alias="folderId") - parent_folder_id: Optional[StrictStr] = Field(default=None, alias="parentFolderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "envId", "folderId", "parentFolderId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if parent_folder_id (nullable) is None - # and __fields_set__ contains the field - if self.parent_folder_id is None and "parent_folder_id" in self.__fields_set__: - _dict['parentFolderId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner.parse_obj({ - "id": obj.get("id"), - "env_id": obj.get("envId"), - "folder_id": obj.get("folderId"), - "parent_folder_id": obj.get("parentFolderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_service_token_data_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_service_token_data_get200_response.py deleted file mode 100644 index 4c8a693..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_service_token_data_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner - -class ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response - """ - service_token_data: conlist(ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner) = Field(default=..., alias="serviceTokenData") - __properties = ["serviceTokenData"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in service_token_data (list) - _items = [] - if self.service_token_data: - for _item in self.service_token_data: - if _item: - _items.append(_item.to_dict()) - _dict['serviceTokenData'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response.parse_obj({ - "service_token_data": [ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.from_dict(_item) for _item in obj.get("serviceTokenData")] if obj.get("serviceTokenData") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner.py deleted file mode 100644 index 1806688..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist - -class ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - scopes: Optional[Any] = None - permissions: conlist(StrictStr) = Field(...) - last_used: Optional[datetime] = Field(default=None, alias="lastUsed") - expires_at: Optional[datetime] = Field(default=None, alias="expiresAt") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - created_by: StrictStr = Field(default=..., alias="createdBy") - project_id: StrictStr = Field(default=..., alias="projectId") - __properties = ["id", "name", "scopes", "permissions", "lastUsed", "expiresAt", "createdAt", "updatedAt", "createdBy", "projectId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if scopes (nullable) is None - # and __fields_set__ contains the field - if self.scopes is None and "scopes" in self.__fields_set__: - _dict['scopes'] = None - - # set to None if last_used (nullable) is None - # and __fields_set__ contains the field - if self.last_used is None and "last_used" in self.__fields_set__: - _dict['lastUsed'] = None - - # set to None if expires_at (nullable) is None - # and __fields_set__ contains the field - if self.expires_at is None and "expires_at" in self.__fields_set__: - _dict['expiresAt'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "scopes": obj.get("scopes"), - "permissions": obj.get("permissions"), - "last_used": obj.get("lastUsed"), - "expires_at": obj.get("expiresAt"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "created_by": obj.get("createdBy"), - "project_id": obj.get("projectId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_get200_response.py deleted file mode 100644 index 549db26..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner - -class ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response - """ - trusted_ips: conlist(ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner) = Field(default=..., alias="trustedIps") - __properties = ["trustedIps"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in trusted_ips (list) - _items = [] - if self.trusted_ips: - for _item in self.trusted_ips: - if _item: - _items.append(_item.to_dict()) - _dict['trustedIps'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response.parse_obj({ - "trusted_ips": [ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.from_dict(_item) for _item in obj.get("trustedIps")] if obj.get("trustedIps") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner.py deleted file mode 100644 index d169af8..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner - """ - id: StrictStr = Field(...) - ip_address: StrictStr = Field(default=..., alias="ipAddress") - type: StrictStr = Field(...) - prefix: Optional[Union[StrictFloat, StrictInt]] = None - is_active: Optional[StrictBool] = Field(default=True, alias="isActive") - comment: Optional[StrictStr] = None - project_id: StrictStr = Field(default=..., alias="projectId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "ipAddress", "type", "prefix", "isActive", "comment", "projectId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if prefix (nullable) is None - # and __fields_set__ contains the field - if self.prefix is None and "prefix" in self.__fields_set__: - _dict['prefix'] = None - - # set to None if is_active (nullable) is None - # and __fields_set__ contains the field - if self.is_active is None and "is_active" in self.__fields_set__: - _dict['isActive'] = None - - # set to None if comment (nullable) is None - # and __fields_set__ contains the field - if self.comment is None and "comment" in self.__fields_set__: - _dict['comment'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.parse_obj({ - "id": obj.get("id"), - "ip_address": obj.get("ipAddress"), - "type": obj.get("type"), - "prefix": obj.get("prefix"), - "is_active": obj.get("isActive") if obj.get("isActive") is not None else True, - "comment": obj.get("comment"), - "project_id": obj.get("projectId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_post200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_post200_response.py deleted file mode 100644 index 7b9a5a1..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner - -class ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response - """ - trusted_ip: ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner = Field(default=..., alias="trustedIp") - __properties = ["trustedIp"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of trusted_ip - if self.trusted_ip: - _dict['trustedIp'] = self.trusted_ip.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response.parse_obj({ - "trusted_ip": ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner.from_dict(obj.get("trustedIp")) if obj.get("trustedIp") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_post_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_post_request.py deleted file mode 100644 index b939bb2..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest - """ - ip_address: StrictStr = Field(default=..., alias="ipAddress") - comment: Optional[StrictStr] = '' - is_active: StrictBool = Field(default=..., alias="isActive") - __properties = ["ipAddress", "comment", "isActive"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest.parse_obj({ - "ip_address": obj.get("ipAddress"), - "comment": obj.get("comment") if obj.get("comment") is not None else '', - "is_active": obj.get("isActive") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request.py deleted file mode 100644 index c5e8591..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest - """ - ip_address: StrictStr = Field(default=..., alias="ipAddress") - comment: Optional[StrictStr] = '' - __properties = ["ipAddress", "comment"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest: - """Create an instance of ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest.parse_obj({ - "ip_address": obj.get("ipAddress"), - "comment": obj.get("comment") if obj.get("comment") is not None else '' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response.py deleted file mode 100644 index c0cfd6b..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner - -class ApiV1WorkspaceWorkspaceIdUsersGet200Response(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdUsersGet200Response - """ - users: conlist(ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner) = Field(...) - __properties = ["users"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdUsersGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item in self.users: - if _item: - _items.append(_item.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdUsersGet200Response: - """Create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdUsersGet200Response.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdUsersGet200Response.parse_obj({ - "users": [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.from_dict(_item) for _item in obj.get("users")] if obj.get("users") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner.py deleted file mode 100644 index 1cdd7da..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_project import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_user import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser - -class ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner - """ - id: StrictStr = Field(...) - user_id: StrictStr = Field(default=..., alias="userId") - project_id: StrictStr = Field(default=..., alias="projectId") - user: ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser = Field(...) - project: ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject = Field(...) - roles: conlist(ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner) = Field(...) - __properties = ["id", "userId", "projectId", "user", "project", "roles"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - # override the default output from pydantic by calling `to_dict()` of project - if self.project: - _dict['project'] = self.project.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.parse_obj({ - "id": obj.get("id"), - "user_id": obj.get("userId"), - "project_id": obj.get("projectId"), - "user": ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.from_dict(obj.get("user")) if obj.get("user") is not None else None, - "project": ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.from_dict(obj.get("project")) if obj.get("project") is not None else None, - "roles": [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_project.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_project.py deleted file mode 100644 index 9139d95..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_project.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject - """ - name: StrictStr = Field(...) - id: StrictStr = Field(...) - __properties = ["name", "id"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject: - """Create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject: - """Create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject.parse_obj({ - "name": obj.get("name"), - "id": obj.get("id") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner.py deleted file mode 100644 index aa9ae4e..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner.py +++ /dev/null @@ -1,124 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner - """ - id: StrictStr = Field(...) - role: StrictStr = Field(...) - custom_role_id: Optional[StrictStr] = Field(default=None, alias="customRoleId") - custom_role_name: Optional[StrictStr] = Field(default=None, alias="customRoleName") - custom_role_slug: Optional[StrictStr] = Field(default=None, alias="customRoleSlug") - is_temporary: StrictBool = Field(default=..., alias="isTemporary") - temporary_mode: Optional[StrictStr] = Field(default=None, alias="temporaryMode") - temporary_range: Optional[StrictStr] = Field(default=None, alias="temporaryRange") - temporary_access_start_time: Optional[datetime] = Field(default=None, alias="temporaryAccessStartTime") - temporary_access_end_time: Optional[datetime] = Field(default=None, alias="temporaryAccessEndTime") - __properties = ["id", "role", "customRoleId", "customRoleName", "customRoleSlug", "isTemporary", "temporaryMode", "temporaryRange", "temporaryAccessStartTime", "temporaryAccessEndTime"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if custom_role_id (nullable) is None - # and __fields_set__ contains the field - if self.custom_role_id is None and "custom_role_id" in self.__fields_set__: - _dict['customRoleId'] = None - - # set to None if custom_role_name (nullable) is None - # and __fields_set__ contains the field - if self.custom_role_name is None and "custom_role_name" in self.__fields_set__: - _dict['customRoleName'] = None - - # set to None if custom_role_slug (nullable) is None - # and __fields_set__ contains the field - if self.custom_role_slug is None and "custom_role_slug" in self.__fields_set__: - _dict['customRoleSlug'] = None - - # set to None if temporary_mode (nullable) is None - # and __fields_set__ contains the field - if self.temporary_mode is None and "temporary_mode" in self.__fields_set__: - _dict['temporaryMode'] = None - - # set to None if temporary_range (nullable) is None - # and __fields_set__ contains the field - if self.temporary_range is None and "temporary_range" in self.__fields_set__: - _dict['temporaryRange'] = None - - # set to None if temporary_access_start_time (nullable) is None - # and __fields_set__ contains the field - if self.temporary_access_start_time is None and "temporary_access_start_time" in self.__fields_set__: - _dict['temporaryAccessStartTime'] = None - - # set to None if temporary_access_end_time (nullable) is None - # and __fields_set__ contains the field - if self.temporary_access_end_time is None and "temporary_access_end_time" in self.__fields_set__: - _dict['temporaryAccessEndTime'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner: - """Create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.parse_obj({ - "id": obj.get("id"), - "role": obj.get("role"), - "custom_role_id": obj.get("customRoleId"), - "custom_role_name": obj.get("customRoleName"), - "custom_role_slug": obj.get("customRoleSlug"), - "is_temporary": obj.get("isTemporary"), - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime"), - "temporary_access_end_time": obj.get("temporaryAccessEndTime") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_user.py b/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_user.py deleted file mode 100644 index e36b86b..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_user.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser(BaseModel): - """ - ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser - """ - email: Optional[StrictStr] = None - username: StrictStr = Field(...) - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - id: StrictStr = Field(...) - public_key: StrictStr = Field(default=..., alias="publicKey") - __properties = ["email", "username", "firstName", "lastName", "id", "publicKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser: - """Create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser: - """Create an instance of ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser.parse_obj({ - "email": obj.get("email"), - "username": obj.get("username"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "id": obj.get("id"), - "public_key": obj.get("publicKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_slug_audit_logs_retention_put_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_slug_audit_logs_retention_put_request.py deleted file mode 100644 index 1b28ba6..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_slug_audit_logs_retention_put_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Union -from pydantic import BaseModel, Field, confloat, conint - -class ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest - """ - audit_logs_retention_days: Union[confloat(ge=0, strict=True), conint(ge=0, strict=True)] = Field(default=..., alias="auditLogsRetentionDays") - __properties = ["auditLogsRetentionDays"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest: - """Create an instance of ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest: - """Create an instance of ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest.parse_obj({ - "audit_logs_retention_days": obj.get("auditLogsRetentionDays") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v1_workspace_workspace_slug_version_limit_put_request.py b/infisicalapi_client/models/api_v1_workspace_workspace_slug_version_limit_put_request.py deleted file mode 100644 index 2b6f5ef..0000000 --- a/infisicalapi_client/models/api_v1_workspace_workspace_slug_version_limit_put_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Union -from pydantic import BaseModel, Field, confloat, conint - -class ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest(BaseModel): - """ - ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest - """ - pit_version_limit: Union[confloat(le=100, ge=1, strict=True), conint(le=100, ge=1, strict=True)] = Field(default=..., alias="pitVersionLimit") - __properties = ["pitVersionLimit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest: - """Create an instance of ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest: - """Create an instance of ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.parse_obj(obj) - - _obj = ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest.parse_obj({ - "pit_version_limit": obj.get("pitVersionLimit") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_auth_mfa_verify_post200_response.py b/infisicalapi_client/models/api_v2_auth_mfa_verify_post200_response.py deleted file mode 100644 index f421124..0000000 --- a/infisicalapi_client/models/api_v2_auth_mfa_verify_post200_response.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV2AuthMfaVerifyPost200Response(BaseModel): - """ - ApiV2AuthMfaVerifyPost200Response - """ - encryption_version: Optional[Union[StrictFloat, StrictInt]] = Field(default=1, alias="encryptionVersion") - protected_key: Optional[StrictStr] = Field(default=..., alias="protectedKey") - protected_key_iv: Optional[StrictStr] = Field(default=..., alias="protectedKeyIV") - protected_key_tag: Optional[StrictStr] = Field(default=..., alias="protectedKeyTag") - public_key: StrictStr = Field(default=..., alias="publicKey") - encrypted_private_key: StrictStr = Field(default=..., alias="encryptedPrivateKey") - iv: StrictStr = Field(...) - tag: StrictStr = Field(...) - token: StrictStr = Field(...) - __properties = ["encryptionVersion", "protectedKey", "protectedKeyIV", "protectedKeyTag", "publicKey", "encryptedPrivateKey", "iv", "tag", "token"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2AuthMfaVerifyPost200Response: - """Create an instance of ApiV2AuthMfaVerifyPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if encryption_version (nullable) is None - # and __fields_set__ contains the field - if self.encryption_version is None and "encryption_version" in self.__fields_set__: - _dict['encryptionVersion'] = None - - # set to None if protected_key (nullable) is None - # and __fields_set__ contains the field - if self.protected_key is None and "protected_key" in self.__fields_set__: - _dict['protectedKey'] = None - - # set to None if protected_key_iv (nullable) is None - # and __fields_set__ contains the field - if self.protected_key_iv is None and "protected_key_iv" in self.__fields_set__: - _dict['protectedKeyIV'] = None - - # set to None if protected_key_tag (nullable) is None - # and __fields_set__ contains the field - if self.protected_key_tag is None and "protected_key_tag" in self.__fields_set__: - _dict['protectedKeyTag'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2AuthMfaVerifyPost200Response: - """Create an instance of ApiV2AuthMfaVerifyPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2AuthMfaVerifyPost200Response.parse_obj(obj) - - _obj = ApiV2AuthMfaVerifyPost200Response.parse_obj({ - "encryption_version": obj.get("encryptionVersion") if obj.get("encryptionVersion") is not None else 1, - "protected_key": obj.get("protectedKey"), - "protected_key_iv": obj.get("protectedKeyIV"), - "protected_key_tag": obj.get("protectedKeyTag"), - "public_key": obj.get("publicKey"), - "encrypted_private_key": obj.get("encryptedPrivateKey"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "token": obj.get("token") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_auth_mfa_verify_post_request.py b/infisicalapi_client/models/api_v2_auth_mfa_verify_post_request.py deleted file mode 100644 index 0f6f6d8..0000000 --- a/infisicalapi_client/models/api_v2_auth_mfa_verify_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2AuthMfaVerifyPostRequest(BaseModel): - """ - ApiV2AuthMfaVerifyPostRequest - """ - mfa_token: StrictStr = Field(default=..., alias="mfaToken") - __properties = ["mfaToken"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2AuthMfaVerifyPostRequest: - """Create an instance of ApiV2AuthMfaVerifyPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2AuthMfaVerifyPostRequest: - """Create an instance of ApiV2AuthMfaVerifyPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2AuthMfaVerifyPostRequest.parse_obj(obj) - - _obj = ApiV2AuthMfaVerifyPostRequest.parse_obj({ - "mfa_token": obj.get("mfaToken") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_org_id_identity_memberships_get200_response.py b/infisicalapi_client/models/api_v2_organizations_org_id_identity_memberships_get200_response.py deleted file mode 100644 index 6b494ad..0000000 --- a/infisicalapi_client/models/api_v2_organizations_org_id_identity_memberships_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner import ApiV1IdentitiesGet200ResponseIdentitiesInner - -class ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response(BaseModel): - """ - ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response - """ - identity_memberships: conlist(ApiV1IdentitiesGet200ResponseIdentitiesInner) = Field(default=..., alias="identityMemberships") - __properties = ["identityMemberships"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response: - """Create an instance of ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in identity_memberships (list) - _items = [] - if self.identity_memberships: - for _item in self.identity_memberships: - if _item: - _items.append(_item.to_dict()) - _dict['identityMemberships'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response: - """Create an instance of ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.parse_obj(obj) - - _obj = ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response.parse_obj({ - "identity_memberships": [ApiV1IdentitiesGet200ResponseIdentitiesInner.from_dict(_item) for _item in obj.get("identityMemberships")] if obj.get("identityMemberships") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response.py b/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response.py deleted file mode 100644 index 2c551c3..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response_users_inner import ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner - -class ApiV2OrganizationsOrganizationIdMembershipsGet200Response(BaseModel): - """ - ApiV2OrganizationsOrganizationIdMembershipsGet200Response - """ - users: conlist(ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner) = Field(...) - __properties = ["users"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdMembershipsGet200Response: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item in self.users: - if _item: - _items.append(_item.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdMembershipsGet200Response: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdMembershipsGet200Response.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdMembershipsGet200Response.parse_obj({ - "users": [ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.from_dict(_item) for _item in obj.get("users")] if obj.get("users") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response_users_inner.py b/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response_users_inner.py deleted file mode 100644 index aad9e77..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response_users_inner.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response_users_inner_user import ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser - -class ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner(BaseModel): - """ - ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner - """ - id: StrictStr = Field(...) - role: StrictStr = Field(...) - status: Optional[StrictStr] = 'invited' - invite_email: Optional[StrictStr] = Field(default=None, alias="inviteEmail") - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - org_id: StrictStr = Field(default=..., alias="orgId") - role_id: Optional[StrictStr] = Field(default=None, alias="roleId") - project_favorites: Optional[conlist(StrictStr)] = Field(default=None, alias="projectFavorites") - is_active: Optional[StrictBool] = Field(default=True, alias="isActive") - user: ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser = Field(...) - __properties = ["id", "role", "status", "inviteEmail", "userId", "orgId", "roleId", "projectFavorites", "isActive", "user"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - # set to None if invite_email (nullable) is None - # and __fields_set__ contains the field - if self.invite_email is None and "invite_email" in self.__fields_set__: - _dict['inviteEmail'] = None - - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - # set to None if role_id (nullable) is None - # and __fields_set__ contains the field - if self.role_id is None and "role_id" in self.__fields_set__: - _dict['roleId'] = None - - # set to None if project_favorites (nullable) is None - # and __fields_set__ contains the field - if self.project_favorites is None and "project_favorites" in self.__fields_set__: - _dict['projectFavorites'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner.parse_obj({ - "id": obj.get("id"), - "role": obj.get("role"), - "status": obj.get("status") if obj.get("status") is not None else 'invited', - "invite_email": obj.get("inviteEmail"), - "user_id": obj.get("userId"), - "org_id": obj.get("orgId"), - "role_id": obj.get("roleId"), - "project_favorites": obj.get("projectFavorites"), - "is_active": obj.get("isActive") if obj.get("isActive") is not None else True, - "user": ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.from_dict(obj.get("user")) if obj.get("user") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response_users_inner_user.py b/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response_users_inner_user.py deleted file mode 100644 index 95a66a2..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response_users_inner_user.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser(BaseModel): - """ - ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser - """ - username: StrictStr = Field(...) - email: Optional[StrictStr] = None - is_email_verified: Optional[StrictBool] = Field(default=False, alias="isEmailVerified") - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - id: StrictStr = Field(...) - public_key: StrictStr = Field(default=..., alias="publicKey") - __properties = ["username", "email", "isEmailVerified", "firstName", "lastName", "id", "publicKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if is_email_verified (nullable) is None - # and __fields_set__ contains the field - if self.is_email_verified is None and "is_email_verified" in self.__fields_set__: - _dict['isEmailVerified'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser.parse_obj({ - "username": obj.get("username"), - "email": obj.get("email"), - "is_email_verified": obj.get("isEmailVerified") if obj.get("isEmailVerified") is not None else False, - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "id": obj.get("id"), - "public_key": obj.get("publicKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_delete200_response.py b/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_delete200_response.py deleted file mode 100644 index 8b0bf3b..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_delete200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response_membership import ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership - -class ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response(BaseModel): - """ - ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response - """ - membership: ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership = Field(...) - __properties = ["membership"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of membership - if self.membership: - _dict['membership'] = self.membership.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response.parse_obj({ - "membership": ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership.from_dict(obj.get("membership")) if obj.get("membership") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response.py b/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response.py deleted file mode 100644 index 6eb5827..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership - -class ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response(BaseModel): - """ - ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response - """ - membership: ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership = Field(...) - __properties = ["membership"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of membership - if self.membership: - _dict['membership'] = self.membership.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response.parse_obj({ - "membership": ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.from_dict(obj.get("membership")) if obj.get("membership") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership.py b/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership.py deleted file mode 100644 index 55db3a3..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser - -class ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership(BaseModel): - """ - ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership - """ - id: StrictStr = Field(...) - role: StrictStr = Field(...) - status: Optional[StrictStr] = 'invited' - invite_email: Optional[StrictStr] = Field(default=None, alias="inviteEmail") - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - org_id: StrictStr = Field(default=..., alias="orgId") - role_id: Optional[StrictStr] = Field(default=None, alias="roleId") - project_favorites: Optional[conlist(StrictStr)] = Field(default=None, alias="projectFavorites") - is_active: Optional[StrictBool] = Field(default=True, alias="isActive") - user: ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser = Field(...) - __properties = ["id", "role", "status", "inviteEmail", "userId", "orgId", "roleId", "projectFavorites", "isActive", "user"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - # set to None if invite_email (nullable) is None - # and __fields_set__ contains the field - if self.invite_email is None and "invite_email" in self.__fields_set__: - _dict['inviteEmail'] = None - - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - # set to None if role_id (nullable) is None - # and __fields_set__ contains the field - if self.role_id is None and "role_id" in self.__fields_set__: - _dict['roleId'] = None - - # set to None if project_favorites (nullable) is None - # and __fields_set__ contains the field - if self.project_favorites is None and "project_favorites" in self.__fields_set__: - _dict['projectFavorites'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership.parse_obj({ - "id": obj.get("id"), - "role": obj.get("role"), - "status": obj.get("status") if obj.get("status") is not None else 'invited', - "invite_email": obj.get("inviteEmail"), - "user_id": obj.get("userId"), - "org_id": obj.get("orgId"), - "role_id": obj.get("roleId"), - "project_favorites": obj.get("projectFavorites"), - "is_active": obj.get("isActive") if obj.get("isActive") is not None else True, - "user": ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.from_dict(obj.get("user")) if obj.get("user") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user.py b/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user.py deleted file mode 100644 index 323dfe3..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser(BaseModel): - """ - ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser - """ - username: StrictStr = Field(...) - email: Optional[StrictStr] = None - is_email_verified: Optional[StrictBool] = Field(default=False, alias="isEmailVerified") - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - id: StrictStr = Field(...) - public_key: Optional[StrictStr] = Field(default=..., alias="publicKey") - __properties = ["username", "email", "isEmailVerified", "firstName", "lastName", "id", "publicKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if is_email_verified (nullable) is None - # and __fields_set__ contains the field - if self.is_email_verified is None and "is_email_verified" in self.__fields_set__: - _dict['isEmailVerified'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - # set to None if public_key (nullable) is None - # and __fields_set__ contains the field - if self.public_key is None and "public_key" in self.__fields_set__: - _dict['publicKey'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser.parse_obj({ - "username": obj.get("username"), - "email": obj.get("email"), - "is_email_verified": obj.get("isEmailVerified") if obj.get("isEmailVerified") is not None else False, - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "id": obj.get("id"), - "public_key": obj.get("publicKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_patch_request.py b/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_patch_request.py deleted file mode 100644 index 8c8afb0..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_patch_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest(BaseModel): - """ - ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest - """ - role: Optional[StrictStr] = Field(default=None, description="The new role of the membership.") - is_active: Optional[StrictBool] = Field(default=None, alias="isActive", description="The active status of the membership") - __properties = ["role", "isActive"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest.parse_obj({ - "role": obj.get("role"), - "is_active": obj.get("isActive") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response.py b/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response.py deleted file mode 100644 index 998a0b1..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner - -class ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response(BaseModel): - """ - ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response - """ - memberships: conlist(ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner) = Field(...) - __properties = ["memberships"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in memberships (list) - _items = [] - if self.memberships: - for _item in self.memberships: - if _item: - _items.append(_item.to_dict()) - _dict['memberships'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response: - """Create an instance of ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response.parse_obj({ - "memberships": [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner.from_dict(_item) for _item in obj.get("memberships")] if obj.get("memberships") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response.py b/infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response.py deleted file mode 100644 index 2335f36..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner import ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner - -class ApiV2OrganizationsOrganizationIdWorkspacesGet200Response(BaseModel): - """ - ApiV2OrganizationsOrganizationIdWorkspacesGet200Response - """ - workspaces: conlist(ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner) = Field(...) - __properties = ["workspaces"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdWorkspacesGet200Response: - """Create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in workspaces (list) - _items = [] - if self.workspaces: - for _item in self.workspaces: - if _item: - _items.append(_item.to_dict()) - _dict['workspaces'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdWorkspacesGet200Response: - """Create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdWorkspacesGet200Response.parse_obj({ - "workspaces": [ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.from_dict(_item) for _item in obj.get("workspaces")] if obj.get("workspaces") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner.py b/infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner.py deleted file mode 100644 index 49dd61a..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner import ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner - -class ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner(BaseModel): - """ - ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - organization: StrictStr = Field(...) - environments: conlist(ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner) = Field(...) - __properties = ["id", "name", "slug", "organization", "environments"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner: - """Create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in environments (list) - _items = [] - if self.environments: - for _item in self.environments: - if _item: - _items.append(_item.to_dict()) - _dict['environments'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner: - """Create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "slug": obj.get("slug"), - "organization": obj.get("organization"), - "environments": [ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.from_dict(_item) for _item in obj.get("environments")] if obj.get("environments") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner.py b/infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner.py deleted file mode 100644 index caa01c2..0000000 --- a/infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner(BaseModel): - """ - ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner - """ - name: StrictStr = Field(...) - slug: StrictStr = Field(...) - __properties = ["name", "slug"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner: - """Create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner: - """Create an instance of ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.parse_obj(obj) - - _obj = ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner.parse_obj({ - "name": obj.get("name"), - "slug": obj.get("slug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_service_token_get200_response.py b/infisicalapi_client/models/api_v2_service_token_get200_response.py deleted file mode 100644 index 9fea16d..0000000 --- a/infisicalapi_client/models/api_v2_service_token_get200_response.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v2_service_token_get200_response_user import ApiV2ServiceTokenGet200ResponseUser - -class ApiV2ServiceTokenGet200Response(BaseModel): - """ - ApiV2ServiceTokenGet200Response - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - scopes: Optional[Any] = None - permissions: conlist(StrictStr) = Field(...) - last_used: Optional[datetime] = Field(default=None, alias="lastUsed") - expires_at: Optional[datetime] = Field(default=None, alias="expiresAt") - secret_hash: StrictStr = Field(default=..., alias="secretHash") - encrypted_key: Optional[StrictStr] = Field(default=None, alias="encryptedKey") - iv: Optional[StrictStr] = None - tag: Optional[StrictStr] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - created_by: StrictStr = Field(default=..., alias="createdBy") - project_id: StrictStr = Field(default=..., alias="projectId") - workspace: StrictStr = Field(...) - user: ApiV2ServiceTokenGet200ResponseUser = Field(...) - id: StrictStr = Field(default=..., alias="_id") - v: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="__v") - __properties = ["id", "name", "scopes", "permissions", "lastUsed", "expiresAt", "secretHash", "encryptedKey", "iv", "tag", "createdAt", "updatedAt", "createdBy", "projectId", "workspace", "user", "_id", "__v"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2ServiceTokenGet200Response: - """Create an instance of ApiV2ServiceTokenGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - # set to None if scopes (nullable) is None - # and __fields_set__ contains the field - if self.scopes is None and "scopes" in self.__fields_set__: - _dict['scopes'] = None - - # set to None if last_used (nullable) is None - # and __fields_set__ contains the field - if self.last_used is None and "last_used" in self.__fields_set__: - _dict['lastUsed'] = None - - # set to None if expires_at (nullable) is None - # and __fields_set__ contains the field - if self.expires_at is None and "expires_at" in self.__fields_set__: - _dict['expiresAt'] = None - - # set to None if encrypted_key (nullable) is None - # and __fields_set__ contains the field - if self.encrypted_key is None and "encrypted_key" in self.__fields_set__: - _dict['encryptedKey'] = None - - # set to None if iv (nullable) is None - # and __fields_set__ contains the field - if self.iv is None and "iv" in self.__fields_set__: - _dict['iv'] = None - - # set to None if tag (nullable) is None - # and __fields_set__ contains the field - if self.tag is None and "tag" in self.__fields_set__: - _dict['tag'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2ServiceTokenGet200Response: - """Create an instance of ApiV2ServiceTokenGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2ServiceTokenGet200Response.parse_obj(obj) - - _obj = ApiV2ServiceTokenGet200Response.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "scopes": obj.get("scopes"), - "permissions": obj.get("permissions"), - "last_used": obj.get("lastUsed"), - "expires_at": obj.get("expiresAt"), - "secret_hash": obj.get("secretHash"), - "encrypted_key": obj.get("encryptedKey"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "created_by": obj.get("createdBy"), - "project_id": obj.get("projectId"), - "workspace": obj.get("workspace"), - "user": ApiV2ServiceTokenGet200ResponseUser.from_dict(obj.get("user")) if obj.get("user") is not None else None, - "id": obj.get("_id"), - "v": obj.get("__v") if obj.get("__v") is not None else 0 - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_service_token_get200_response_user.py b/infisicalapi_client/models/api_v2_service_token_get200_response_user.py deleted file mode 100644 index 5fd99c8..0000000 --- a/infisicalapi_client/models/api_v2_service_token_get200_response_user.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist - -class ApiV2ServiceTokenGet200ResponseUser(BaseModel): - """ - ApiV2ServiceTokenGet200ResponseUser - """ - auth_methods: Optional[conlist(StrictStr)] = Field(default=None, alias="authMethods") - id: StrictStr = Field(...) - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - devices: Optional[Any] = None - email: Optional[StrictStr] = None - first_name: Optional[StrictStr] = Field(default=None, alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - mfa_methods: Optional[conlist(StrictStr)] = Field(default=None, alias="mfaMethods") - v: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="__v") - id: StrictStr = Field(default=..., alias="_id") - __properties = ["authMethods", "id", "createdAt", "updatedAt", "devices", "email", "firstName", "lastName", "mfaMethods", "__v", "_id"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2ServiceTokenGet200ResponseUser: - """Create an instance of ApiV2ServiceTokenGet200ResponseUser from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if auth_methods (nullable) is None - # and __fields_set__ contains the field - if self.auth_methods is None and "auth_methods" in self.__fields_set__: - _dict['authMethods'] = None - - # set to None if devices (nullable) is None - # and __fields_set__ contains the field - if self.devices is None and "devices" in self.__fields_set__: - _dict['devices'] = None - - # set to None if email (nullable) is None - # and __fields_set__ contains the field - if self.email is None and "email" in self.__fields_set__: - _dict['email'] = None - - # set to None if first_name (nullable) is None - # and __fields_set__ contains the field - if self.first_name is None and "first_name" in self.__fields_set__: - _dict['firstName'] = None - - # set to None if last_name (nullable) is None - # and __fields_set__ contains the field - if self.last_name is None and "last_name" in self.__fields_set__: - _dict['lastName'] = None - - # set to None if mfa_methods (nullable) is None - # and __fields_set__ contains the field - if self.mfa_methods is None and "mfa_methods" in self.__fields_set__: - _dict['mfaMethods'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2ServiceTokenGet200ResponseUser: - """Create an instance of ApiV2ServiceTokenGet200ResponseUser from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2ServiceTokenGet200ResponseUser.parse_obj(obj) - - _obj = ApiV2ServiceTokenGet200ResponseUser.parse_obj({ - "auth_methods": obj.get("authMethods"), - "id": obj.get("id"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "devices": obj.get("devices"), - "email": obj.get("email"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "mfa_methods": obj.get("mfaMethods"), - "v": obj.get("__v") if obj.get("__v") is not None else 0, - "id": obj.get("_id") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_service_token_post200_response.py b/infisicalapi_client/models/api_v2_service_token_post200_response.py deleted file mode 100644 index f3b0f5e..0000000 --- a/infisicalapi_client/models/api_v2_service_token_post200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner - -class ApiV2ServiceTokenPost200Response(BaseModel): - """ - ApiV2ServiceTokenPost200Response - """ - service_token: StrictStr = Field(default=..., alias="serviceToken") - service_token_data: ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner = Field(default=..., alias="serviceTokenData") - __properties = ["serviceToken", "serviceTokenData"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2ServiceTokenPost200Response: - """Create an instance of ApiV2ServiceTokenPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of service_token_data - if self.service_token_data: - _dict['serviceTokenData'] = self.service_token_data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2ServiceTokenPost200Response: - """Create an instance of ApiV2ServiceTokenPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2ServiceTokenPost200Response.parse_obj(obj) - - _obj = ApiV2ServiceTokenPost200Response.parse_obj({ - "service_token": obj.get("serviceToken"), - "service_token_data": ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.from_dict(obj.get("serviceTokenData")) if obj.get("serviceTokenData") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_service_token_post_request.py b/infisicalapi_client/models/api_v2_service_token_post_request.py deleted file mode 100644 index 607bbfa..0000000 --- a/infisicalapi_client/models/api_v2_service_token_post_request.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist, validator -from infisicalapi_client.models.api_v2_service_token_post_request_scopes_inner import ApiV2ServiceTokenPostRequestScopesInner - -class ApiV2ServiceTokenPostRequest(BaseModel): - """ - ApiV2ServiceTokenPostRequest - """ - name: StrictStr = Field(...) - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - scopes: conlist(ApiV2ServiceTokenPostRequestScopesInner, min_items=1) = Field(...) - encrypted_key: StrictStr = Field(default=..., alias="encryptedKey") - iv: StrictStr = Field(...) - tag: StrictStr = Field(...) - expires_in: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="expiresIn") - permissions: conlist(StrictStr) = Field(...) - __properties = ["name", "workspaceId", "scopes", "encryptedKey", "iv", "tag", "expiresIn", "permissions"] - - @validator('permissions') - def permissions_validate_enum(cls, value): - """Validates the enum""" - for i in value: - if i not in ('read', 'write'): - raise ValueError("each list item must be one of ('read', 'write')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2ServiceTokenPostRequest: - """Create an instance of ApiV2ServiceTokenPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in scopes (list) - _items = [] - if self.scopes: - for _item in self.scopes: - if _item: - _items.append(_item.to_dict()) - _dict['scopes'] = _items - # set to None if expires_in (nullable) is None - # and __fields_set__ contains the field - if self.expires_in is None and "expires_in" in self.__fields_set__: - _dict['expiresIn'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2ServiceTokenPostRequest: - """Create an instance of ApiV2ServiceTokenPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2ServiceTokenPostRequest.parse_obj(obj) - - _obj = ApiV2ServiceTokenPostRequest.parse_obj({ - "name": obj.get("name"), - "workspace_id": obj.get("workspaceId"), - "scopes": [ApiV2ServiceTokenPostRequestScopesInner.from_dict(_item) for _item in obj.get("scopes")] if obj.get("scopes") is not None else None, - "encrypted_key": obj.get("encryptedKey"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "expires_in": obj.get("expiresIn"), - "permissions": obj.get("permissions") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_service_token_post_request_scopes_inner.py b/infisicalapi_client/models/api_v2_service_token_post_request_scopes_inner.py deleted file mode 100644 index 06b1b1e..0000000 --- a/infisicalapi_client/models/api_v2_service_token_post_request_scopes_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2ServiceTokenPostRequestScopesInner(BaseModel): - """ - ApiV2ServiceTokenPostRequestScopesInner - """ - environment: StrictStr = Field(...) - secret_path: StrictStr = Field(default=..., alias="secretPath") - __properties = ["environment", "secretPath"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2ServiceTokenPostRequestScopesInner: - """Create an instance of ApiV2ServiceTokenPostRequestScopesInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2ServiceTokenPostRequestScopesInner: - """Create an instance of ApiV2ServiceTokenPostRequestScopesInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2ServiceTokenPostRequestScopesInner.parse_obj(obj) - - _obj = ApiV2ServiceTokenPostRequestScopesInner.parse_obj({ - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_service_token_service_token_id_delete200_response.py b/infisicalapi_client/models/api_v2_service_token_service_token_id_delete200_response.py deleted file mode 100644 index 512b065..0000000 --- a/infisicalapi_client/models/api_v2_service_token_service_token_id_delete200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner - -class ApiV2ServiceTokenServiceTokenIdDelete200Response(BaseModel): - """ - ApiV2ServiceTokenServiceTokenIdDelete200Response - """ - service_token_data: ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner = Field(default=..., alias="serviceTokenData") - __properties = ["serviceTokenData"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2ServiceTokenServiceTokenIdDelete200Response: - """Create an instance of ApiV2ServiceTokenServiceTokenIdDelete200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of service_token_data - if self.service_token_data: - _dict['serviceTokenData'] = self.service_token_data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2ServiceTokenServiceTokenIdDelete200Response: - """Create an instance of ApiV2ServiceTokenServiceTokenIdDelete200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2ServiceTokenServiceTokenIdDelete200Response.parse_obj(obj) - - _obj = ApiV2ServiceTokenServiceTokenIdDelete200Response.parse_obj({ - "service_token_data": ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner.from_dict(obj.get("serviceTokenData")) if obj.get("serviceTokenData") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_api_keys_api_key_data_id_delete200_response.py b/infisicalapi_client/models/api_v2_users_me_api_keys_api_key_data_id_delete200_response.py deleted file mode 100644 index 7163d76..0000000 --- a/infisicalapi_client/models/api_v2_users_me_api_keys_api_key_data_id_delete200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v2_users_me_api_keys_get200_response_inner import ApiV2UsersMeApiKeysGet200ResponseInner - -class ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response(BaseModel): - """ - ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response - """ - api_key_data: ApiV2UsersMeApiKeysGet200ResponseInner = Field(default=..., alias="apiKeyData") - __properties = ["apiKeyData"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response: - """Create an instance of ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of api_key_data - if self.api_key_data: - _dict['apiKeyData'] = self.api_key_data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response: - """Create an instance of ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.parse_obj(obj) - - _obj = ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response.parse_obj({ - "api_key_data": ApiV2UsersMeApiKeysGet200ResponseInner.from_dict(obj.get("apiKeyData")) if obj.get("apiKeyData") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_api_keys_get200_response_inner.py b/infisicalapi_client/models/api_v2_users_me_api_keys_get200_response_inner.py deleted file mode 100644 index c452d0b..0000000 --- a/infisicalapi_client/models/api_v2_users_me_api_keys_get200_response_inner.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV2UsersMeApiKeysGet200ResponseInner(BaseModel): - """ - ApiV2UsersMeApiKeysGet200ResponseInner - """ - id: StrictStr = Field(...) - name: StrictStr = Field(...) - last_used: Optional[datetime] = Field(default=None, alias="lastUsed") - expires_at: Optional[datetime] = Field(default=None, alias="expiresAt") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - user_id: StrictStr = Field(default=..., alias="userId") - __properties = ["id", "name", "lastUsed", "expiresAt", "createdAt", "updatedAt", "userId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeApiKeysGet200ResponseInner: - """Create an instance of ApiV2UsersMeApiKeysGet200ResponseInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if last_used (nullable) is None - # and __fields_set__ contains the field - if self.last_used is None and "last_used" in self.__fields_set__: - _dict['lastUsed'] = None - - # set to None if expires_at (nullable) is None - # and __fields_set__ contains the field - if self.expires_at is None and "expires_at" in self.__fields_set__: - _dict['expiresAt'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeApiKeysGet200ResponseInner: - """Create an instance of ApiV2UsersMeApiKeysGet200ResponseInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeApiKeysGet200ResponseInner.parse_obj(obj) - - _obj = ApiV2UsersMeApiKeysGet200ResponseInner.parse_obj({ - "id": obj.get("id"), - "name": obj.get("name"), - "last_used": obj.get("lastUsed"), - "expires_at": obj.get("expiresAt"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "user_id": obj.get("userId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_api_keys_post200_response.py b/infisicalapi_client/models/api_v2_users_me_api_keys_post200_response.py deleted file mode 100644 index 7de5eb2..0000000 --- a/infisicalapi_client/models/api_v2_users_me_api_keys_post200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v2_users_me_api_keys_get200_response_inner import ApiV2UsersMeApiKeysGet200ResponseInner - -class ApiV2UsersMeApiKeysPost200Response(BaseModel): - """ - ApiV2UsersMeApiKeysPost200Response - """ - api_key: StrictStr = Field(default=..., alias="apiKey") - api_key_data: ApiV2UsersMeApiKeysGet200ResponseInner = Field(default=..., alias="apiKeyData") - __properties = ["apiKey", "apiKeyData"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeApiKeysPost200Response: - """Create an instance of ApiV2UsersMeApiKeysPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of api_key_data - if self.api_key_data: - _dict['apiKeyData'] = self.api_key_data.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeApiKeysPost200Response: - """Create an instance of ApiV2UsersMeApiKeysPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeApiKeysPost200Response.parse_obj(obj) - - _obj = ApiV2UsersMeApiKeysPost200Response.parse_obj({ - "api_key": obj.get("apiKey"), - "api_key_data": ApiV2UsersMeApiKeysGet200ResponseInner.from_dict(obj.get("apiKeyData")) if obj.get("apiKeyData") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_api_keys_post_request.py b/infisicalapi_client/models/api_v2_users_me_api_keys_post_request.py deleted file mode 100644 index 2e08f98..0000000 --- a/infisicalapi_client/models/api_v2_users_me_api_keys_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV2UsersMeApiKeysPostRequest(BaseModel): - """ - ApiV2UsersMeApiKeysPostRequest - """ - name: StrictStr = Field(...) - expires_in: Union[StrictFloat, StrictInt] = Field(default=..., alias="expiresIn") - __properties = ["name", "expiresIn"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeApiKeysPostRequest: - """Create an instance of ApiV2UsersMeApiKeysPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeApiKeysPostRequest: - """Create an instance of ApiV2UsersMeApiKeysPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeApiKeysPostRequest.parse_obj(obj) - - _obj = ApiV2UsersMeApiKeysPostRequest.parse_obj({ - "name": obj.get("name"), - "expires_in": obj.get("expiresIn") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_auth_methods_put_request.py b/infisicalapi_client/models/api_v2_users_me_auth_methods_put_request.py deleted file mode 100644 index d56cee1..0000000 --- a/infisicalapi_client/models/api_v2_users_me_auth_methods_put_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist, validator - -class ApiV2UsersMeAuthMethodsPutRequest(BaseModel): - """ - ApiV2UsersMeAuthMethodsPutRequest - """ - auth_methods: conlist(StrictStr, min_items=1) = Field(default=..., alias="authMethods") - __properties = ["authMethods"] - - @validator('auth_methods') - def auth_methods_validate_enum(cls, value): - """Validates the enum""" - for i in value: - if i not in ('email', 'google', 'github', 'gitlab', 'okta-saml', 'azure-saml', 'jumpcloud-saml', 'google-saml', 'keycloak-saml', 'ldap', 'oidc'): - raise ValueError("each list item must be one of ('email', 'google', 'github', 'gitlab', 'okta-saml', 'azure-saml', 'jumpcloud-saml', 'google-saml', 'keycloak-saml', 'ldap', 'oidc')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeAuthMethodsPutRequest: - """Create an instance of ApiV2UsersMeAuthMethodsPutRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeAuthMethodsPutRequest: - """Create an instance of ApiV2UsersMeAuthMethodsPutRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeAuthMethodsPutRequest.parse_obj(obj) - - _obj = ApiV2UsersMeAuthMethodsPutRequest.parse_obj({ - "auth_methods": obj.get("authMethods") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_emails_code_post_request.py b/infisicalapi_client/models/api_v2_users_me_emails_code_post_request.py deleted file mode 100644 index 92affac..0000000 --- a/infisicalapi_client/models/api_v2_users_me_emails_code_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2UsersMeEmailsCodePostRequest(BaseModel): - """ - ApiV2UsersMeEmailsCodePostRequest - """ - username: StrictStr = Field(...) - __properties = ["username"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeEmailsCodePostRequest: - """Create an instance of ApiV2UsersMeEmailsCodePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeEmailsCodePostRequest: - """Create an instance of ApiV2UsersMeEmailsCodePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeEmailsCodePostRequest.parse_obj(obj) - - _obj = ApiV2UsersMeEmailsCodePostRequest.parse_obj({ - "username": obj.get("username") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_emails_verify_post_request.py b/infisicalapi_client/models/api_v2_users_me_emails_verify_post_request.py deleted file mode 100644 index 00ef31f..0000000 --- a/infisicalapi_client/models/api_v2_users_me_emails_verify_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2UsersMeEmailsVerifyPostRequest(BaseModel): - """ - ApiV2UsersMeEmailsVerifyPostRequest - """ - username: StrictStr = Field(...) - code: StrictStr = Field(...) - __properties = ["username", "code"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeEmailsVerifyPostRequest: - """Create an instance of ApiV2UsersMeEmailsVerifyPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeEmailsVerifyPostRequest: - """Create an instance of ApiV2UsersMeEmailsVerifyPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeEmailsVerifyPostRequest.parse_obj(obj) - - _obj = ApiV2UsersMeEmailsVerifyPostRequest.parse_obj({ - "username": obj.get("username"), - "code": obj.get("code") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_mfa_patch200_response.py b/infisicalapi_client/models/api_v2_users_me_mfa_patch200_response.py deleted file mode 100644 index 002e817..0000000 --- a/infisicalapi_client/models/api_v2_users_me_mfa_patch200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response_user import ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser - -class ApiV2UsersMeMfaPatch200Response(BaseModel): - """ - ApiV2UsersMeMfaPatch200Response - """ - user: ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser = Field(...) - __properties = ["user"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeMfaPatch200Response: - """Create an instance of ApiV2UsersMeMfaPatch200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeMfaPatch200Response: - """Create an instance of ApiV2UsersMeMfaPatch200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeMfaPatch200Response.parse_obj(obj) - - _obj = ApiV2UsersMeMfaPatch200Response.parse_obj({ - "user": ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.from_dict(obj.get("user")) if obj.get("user") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_mfa_patch_request.py b/infisicalapi_client/models/api_v2_users_me_mfa_patch_request.py deleted file mode 100644 index fb80f14..0000000 --- a/infisicalapi_client/models/api_v2_users_me_mfa_patch_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictBool - -class ApiV2UsersMeMfaPatchRequest(BaseModel): - """ - ApiV2UsersMeMfaPatchRequest - """ - is_mfa_enabled: StrictBool = Field(default=..., alias="isMfaEnabled") - __properties = ["isMfaEnabled"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeMfaPatchRequest: - """Create an instance of ApiV2UsersMeMfaPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeMfaPatchRequest: - """Create an instance of ApiV2UsersMeMfaPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeMfaPatchRequest.parse_obj(obj) - - _obj = ApiV2UsersMeMfaPatchRequest.parse_obj({ - "is_mfa_enabled": obj.get("isMfaEnabled") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_name_patch_request.py b/infisicalapi_client/models/api_v2_users_me_name_patch_request.py deleted file mode 100644 index 80e00dd..0000000 --- a/infisicalapi_client/models/api_v2_users_me_name_patch_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2UsersMeNamePatchRequest(BaseModel): - """ - ApiV2UsersMeNamePatchRequest - """ - first_name: StrictStr = Field(default=..., alias="firstName") - last_name: StrictStr = Field(default=..., alias="lastName") - __properties = ["firstName", "lastName"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeNamePatchRequest: - """Create an instance of ApiV2UsersMeNamePatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeNamePatchRequest: - """Create an instance of ApiV2UsersMeNamePatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeNamePatchRequest.parse_obj(obj) - - _obj = ApiV2UsersMeNamePatchRequest.parse_obj({ - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_users_me_sessions_get200_response_inner.py b/infisicalapi_client/models/api_v2_users_me_sessions_get200_response_inner.py deleted file mode 100644 index 40208ac..0000000 --- a/infisicalapi_client/models/api_v2_users_me_sessions_get200_response_inner.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - -class ApiV2UsersMeSessionsGet200ResponseInner(BaseModel): - """ - ApiV2UsersMeSessionsGet200ResponseInner - """ - id: StrictStr = Field(...) - ip: StrictStr = Field(...) - user_agent: Optional[StrictStr] = Field(default=None, alias="userAgent") - refresh_version: Optional[Union[StrictFloat, StrictInt]] = Field(default=1, alias="refreshVersion") - access_version: Optional[Union[StrictFloat, StrictInt]] = Field(default=1, alias="accessVersion") - last_used: datetime = Field(default=..., alias="lastUsed") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - user_id: StrictStr = Field(default=..., alias="userId") - __properties = ["id", "ip", "userAgent", "refreshVersion", "accessVersion", "lastUsed", "createdAt", "updatedAt", "userId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2UsersMeSessionsGet200ResponseInner: - """Create an instance of ApiV2UsersMeSessionsGet200ResponseInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if user_agent (nullable) is None - # and __fields_set__ contains the field - if self.user_agent is None and "user_agent" in self.__fields_set__: - _dict['userAgent'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2UsersMeSessionsGet200ResponseInner: - """Create an instance of ApiV2UsersMeSessionsGet200ResponseInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2UsersMeSessionsGet200ResponseInner.parse_obj(obj) - - _obj = ApiV2UsersMeSessionsGet200ResponseInner.parse_obj({ - "id": obj.get("id"), - "ip": obj.get("ip"), - "user_agent": obj.get("userAgent"), - "refresh_version": obj.get("refreshVersion") if obj.get("refreshVersion") is not None else 1, - "access_version": obj.get("accessVersion") if obj.get("accessVersion") is not None else 1, - "last_used": obj.get("lastUsed"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "user_id": obj.get("userId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_post200_response.py b/infisicalapi_client/models/api_v2_workspace_post200_response.py deleted file mode 100644 index 88b4602..0000000 --- a/infisicalapi_client/models/api_v2_workspace_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_workspace_get200_response_workspaces_inner import ApiV1WorkspaceGet200ResponseWorkspacesInner - -class ApiV2WorkspacePost200Response(BaseModel): - """ - ApiV2WorkspacePost200Response - """ - project: ApiV1WorkspaceGet200ResponseWorkspacesInner = Field(...) - __properties = ["project"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspacePost200Response: - """Create an instance of ApiV2WorkspacePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of project - if self.project: - _dict['project'] = self.project.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspacePost200Response: - """Create an instance of ApiV2WorkspacePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspacePost200Response.parse_obj(obj) - - _obj = ApiV2WorkspacePost200Response.parse_obj({ - "project": ApiV1WorkspaceGet200ResponseWorkspacesInner.from_dict(obj.get("project")) if obj.get("project") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_post_request.py b/infisicalapi_client/models/api_v2_workspace_post_request.py deleted file mode 100644 index 4289eaa..0000000 --- a/infisicalapi_client/models/api_v2_workspace_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr - -class ApiV2WorkspacePostRequest(BaseModel): - """ - ApiV2WorkspacePostRequest - """ - project_name: StrictStr = Field(default=..., alias="projectName", description="The name of the project to create.") - slug: Optional[constr(strict=True, max_length=36, min_length=5)] = Field(default=None, description="An optional slug for the project.") - kms_key_id: Optional[StrictStr] = Field(default=None, alias="kmsKeyId") - __properties = ["projectName", "slug", "kmsKeyId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspacePostRequest: - """Create an instance of ApiV2WorkspacePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspacePostRequest: - """Create an instance of ApiV2WorkspacePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspacePostRequest.parse_obj(obj) - - _obj = ApiV2WorkspacePostRequest.parse_obj({ - "project_name": obj.get("projectName"), - "slug": obj.get("slug"), - "kms_key_id": obj.get("kmsKeyId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_get200_response.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_get200_response.py deleted file mode 100644 index 39a9ea8..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response - """ - identity_membership: ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner = Field(default=..., alias="identityMembership") - __properties = ["identityMembership"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_membership - if self.identity_membership: - _dict['identityMembership'] = self.identity_membership.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response.parse_obj({ - "identity_membership": ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner.from_dict(obj.get("identityMembership")) if obj.get("identityMembership") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request.py deleted file mode 100644 index c47d187..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest - """ - roles: conlist(ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner, min_items=1) = Field(default=..., description="A list of role slugs to assign to the identity project membership.") - __properties = ["roles"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest.parse_obj({ - "roles": [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner.py deleted file mode 100644 index fdd7ad9..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV2WORKSPACEPROJECTIDIDENTITYMEMBERSHIPSIDENTITYIDPATCHREQUESTROLESINNER_ANY_OF_SCHEMAS = ["ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf", "ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1"] - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner - """ - - # data type: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf - anyof_schema_1_validator: Optional[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf] = None - # data type: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 - anyof_schema_2_validator: Optional[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf, ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV2WORKSPACEPROJECTIDIDENTITYMEMBERSHIPSIDENTITYIDPATCHREQUESTROLESINNER_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.construct() - error_messages = [] - # validate data type: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf - if not isinstance(v, ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf`") - else: - return v - - # validate data type: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 - if not isinstance(v, ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner with anyOf schemas: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf, ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner: - """Returns the object represented by the json string""" - instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf] = None - try: - instance.actual_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1] = None - try: - instance.actual_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner with anyOf schemas: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf, ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of.py deleted file mode 100644 index 1aca150..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf - """ - role: StrictStr = Field(default=..., description="The role slug to assign to the newly created identity project membership.") - is_temporary: Optional[StrictBool] = Field(default=False, alias="isTemporary", description="Whether the assigned role is temporary. If isTemporary is set true, must provide temporaryMode, temporaryRange and temporaryAccessStartTime.") - __properties = ["role", "isTemporary"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf.parse_obj({ - "role": obj.get("role"), - "is_temporary": obj.get("isTemporary") if obj.get("isTemporary") is not None else False - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1.py deleted file mode 100644 index 9a24497..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictBool, StrictStr, validator - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 - """ - role: StrictStr = Field(default=..., description="The role slug to assign to the newly created identity project membership.") - is_temporary: StrictBool = Field(default=..., alias="isTemporary", description="Whether the assigned role is temporary. If isTemporary is set true, must provide temporaryMode, temporaryRange and temporaryAccessStartTime.") - temporary_mode: StrictStr = Field(default=..., alias="temporaryMode", description="Type of temporary expiry.") - temporary_range: StrictStr = Field(default=..., alias="temporaryRange", description="Expiry time for temporary access. In relative mode it could be 1s,2m,3h") - temporary_access_start_time: datetime = Field(default=..., alias="temporaryAccessStartTime", description="Time to which the temporary access starts") - __properties = ["role", "isTemporary", "temporaryMode", "temporaryRange", "temporaryAccessStartTime"] - - @validator('temporary_mode') - def temporary_mode_validate_enum(cls, value): - """Validates the enum""" - if value not in ('relative'): - raise ValueError("must be one of enum values ('relative')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.parse_obj({ - "role": obj.get("role"), - "is_temporary": obj.get("isTemporary"), - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post200_response.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post200_response.py deleted file mode 100644 index e5740ac..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response - """ - identity_membership: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership = Field(default=..., alias="identityMembership") - __properties = ["identityMembership"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of identity_membership - if self.identity_membership: - _dict['identityMembership'] = self.identity_membership.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response.parse_obj({ - "identity_membership": ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.from_dict(obj.get("identityMembership")) if obj.get("identityMembership") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership.py deleted file mode 100644 index 633409a..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership - """ - id: StrictStr = Field(...) - project_id: StrictStr = Field(default=..., alias="projectId") - identity_id: StrictStr = Field(default=..., alias="identityId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "projectId", "identityId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership.parse_obj({ - "id": obj.get("id"), - "project_id": obj.get("projectId"), - "identity_id": obj.get("identityId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request.py deleted file mode 100644 index 6b5defa..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest - """ - role: Optional[StrictStr] = 'no-access' - roles: Optional[conlist(ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner)] = Field(default=None, description="A list of role slugs to assign to the newly created identity project membership.") - __properties = ["role", "roles"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest.parse_obj({ - "role": obj.get("role") if obj.get("role") is not None else 'no-access', - "roles": [ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner.py deleted file mode 100644 index 4032f04..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV2WORKSPACEPROJECTIDIDENTITYMEMBERSHIPSIDENTITYIDPOSTREQUESTROLESINNER_ANY_OF_SCHEMAS = ["ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf", "ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1"] - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner - """ - - # data type: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf - anyof_schema_1_validator: Optional[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf] = None - # data type: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 - anyof_schema_2_validator: Optional[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf, ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV2WORKSPACEPROJECTIDIDENTITYMEMBERSHIPSIDENTITYIDPOSTREQUESTROLESINNER_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.construct() - error_messages = [] - # validate data type: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf - if not isinstance(v, ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf`") - else: - return v - - # validate data type: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 - if not isinstance(v, ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner with anyOf schemas: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf, ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner: - """Returns the object represented by the json string""" - instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf] = None - try: - instance.actual_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1] = None - try: - instance.actual_instance = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner with anyOf schemas: ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf, ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of.py deleted file mode 100644 index 8b2ae83..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf - """ - role: StrictStr = Field(default=..., description="The role slug to assign to the newly created identity project membership.") - is_temporary: Optional[StrictBool] = Field(default=False, alias="isTemporary", description="The role slug to assign to the newly created identity project membership.") - __properties = ["role", "isTemporary"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf.parse_obj({ - "role": obj.get("role"), - "is_temporary": obj.get("isTemporary") if obj.get("isTemporary") is not None else False - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1.py b/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1.py deleted file mode 100644 index a3b38c7..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictBool, StrictStr, validator - -class ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1(BaseModel): - """ - ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 - """ - role: StrictStr = Field(default=..., description="The role slug to assign to the newly created identity project membership.") - is_temporary: StrictBool = Field(default=..., alias="isTemporary", description="The role slug to assign to the newly created identity project membership.") - temporary_mode: StrictStr = Field(default=..., alias="temporaryMode", description="The role slug to assign to the newly created identity project membership.") - temporary_range: StrictStr = Field(default=..., alias="temporaryRange", description="The role slug to assign to the newly created identity project membership.") - temporary_access_start_time: datetime = Field(default=..., alias="temporaryAccessStartTime", description="The role slug to assign to the newly created identity project membership.") - __properties = ["role", "isTemporary", "temporaryMode", "temporaryRange", "temporaryAccessStartTime"] - - @validator('temporary_mode') - def temporary_mode_validate_enum(cls, value): - """Validates the enum""" - if value not in ('relative'): - raise ValueError("must be one of enum values ('relative')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1: - """Create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1.parse_obj({ - "role": obj.get("role"), - "is_temporary": obj.get("isTemporary"), - "temporary_mode": obj.get("temporaryMode"), - "temporary_range": obj.get("temporaryRange"), - "temporary_access_start_time": obj.get("temporaryAccessStartTime") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_memberships_delete_request.py b/infisicalapi_client/models/api_v2_workspace_project_id_memberships_delete_request.py deleted file mode 100644 index 27b2f50..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_memberships_delete_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist - -class ApiV2WorkspaceProjectIdMembershipsDeleteRequest(BaseModel): - """ - ApiV2WorkspaceProjectIdMembershipsDeleteRequest - """ - emails: Optional[conlist(StrictStr)] = Field(default=None, description="A list of organization member emails to remove from the project.") - usernames: Optional[conlist(StrictStr)] = Field(default=None, description="A list of usernames to remove from the project.") - __properties = ["emails", "usernames"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdMembershipsDeleteRequest: - """Create an instance of ApiV2WorkspaceProjectIdMembershipsDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdMembershipsDeleteRequest: - """Create an instance of ApiV2WorkspaceProjectIdMembershipsDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdMembershipsDeleteRequest.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdMembershipsDeleteRequest.parse_obj({ - "emails": obj.get("emails"), - "usernames": obj.get("usernames") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_memberships_post200_response.py b/infisicalapi_client/models/api_v2_workspace_project_id_memberships_post200_response.py deleted file mode 100644 index da42801..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_memberships_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership - -class ApiV2WorkspaceProjectIdMembershipsPost200Response(BaseModel): - """ - ApiV2WorkspaceProjectIdMembershipsPost200Response - """ - memberships: conlist(ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership) = Field(...) - __properties = ["memberships"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdMembershipsPost200Response: - """Create an instance of ApiV2WorkspaceProjectIdMembershipsPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in memberships (list) - _items = [] - if self.memberships: - for _item in self.memberships: - if _item: - _items.append(_item.to_dict()) - _dict['memberships'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdMembershipsPost200Response: - """Create an instance of ApiV2WorkspaceProjectIdMembershipsPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdMembershipsPost200Response.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdMembershipsPost200Response.parse_obj({ - "memberships": [ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership.from_dict(_item) for _item in obj.get("memberships")] if obj.get("memberships") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_memberships_post_request.py b/infisicalapi_client/models/api_v2_workspace_project_id_memberships_post_request.py deleted file mode 100644 index a5fda3f..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_memberships_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist - -class ApiV2WorkspaceProjectIdMembershipsPostRequest(BaseModel): - """ - ApiV2WorkspaceProjectIdMembershipsPostRequest - """ - emails: Optional[conlist(StrictStr)] = Field(default=None, description="A list of organization member emails to invite to the project.") - usernames: Optional[conlist(StrictStr)] = Field(default=None, description="A list of usernames to invite to the project.") - __properties = ["emails", "usernames"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdMembershipsPostRequest: - """Create an instance of ApiV2WorkspaceProjectIdMembershipsPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdMembershipsPostRequest: - """Create an instance of ApiV2WorkspaceProjectIdMembershipsPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdMembershipsPostRequest.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdMembershipsPostRequest.parse_obj({ - "emails": obj.get("emails"), - "usernames": obj.get("usernames") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_upgrade_post_request.py b/infisicalapi_client/models/api_v2_workspace_project_id_upgrade_post_request.py deleted file mode 100644 index 2e73c65..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_upgrade_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2WorkspaceProjectIdUpgradePostRequest(BaseModel): - """ - ApiV2WorkspaceProjectIdUpgradePostRequest - """ - user_private_key: StrictStr = Field(default=..., alias="userPrivateKey") - __properties = ["userPrivateKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdUpgradePostRequest: - """Create an instance of ApiV2WorkspaceProjectIdUpgradePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdUpgradePostRequest: - """Create an instance of ApiV2WorkspaceProjectIdUpgradePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdUpgradePostRequest.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdUpgradePostRequest.parse_obj({ - "user_private_key": obj.get("userPrivateKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_id_upgrade_status_get200_response.py b/infisicalapi_client/models/api_v2_workspace_project_id_upgrade_status_get200_response.py deleted file mode 100644 index c3ba26c..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_id_upgrade_status_get200_response.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV2WorkspaceProjectIdUpgradeStatusGet200Response(BaseModel): - """ - ApiV2WorkspaceProjectIdUpgradeStatusGet200Response - """ - status: Optional[StrictStr] = Field(...) - __properties = ["status"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectIdUpgradeStatusGet200Response: - """Create an instance of ApiV2WorkspaceProjectIdUpgradeStatusGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if status (nullable) is None - # and __fields_set__ contains the field - if self.status is None and "status" in self.__fields_set__: - _dict['status'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectIdUpgradeStatusGet200Response: - """Create an instance of ApiV2WorkspaceProjectIdUpgradeStatusGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectIdUpgradeStatusGet200Response.parse_obj({ - "status": obj.get("status") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response.py b/infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response.py deleted file mode 100644 index 3b2967e..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner import ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner - -class ApiV2WorkspaceProjectSlugGroupsGet200Response(BaseModel): - """ - ApiV2WorkspaceProjectSlugGroupsGet200Response - """ - group_memberships: conlist(ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner) = Field(default=..., alias="groupMemberships") - __properties = ["groupMemberships"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectSlugGroupsGet200Response: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in group_memberships (list) - _items = [] - if self.group_memberships: - for _item in self.group_memberships: - if _item: - _items.append(_item.to_dict()) - _dict['groupMemberships'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectSlugGroupsGet200Response: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectSlugGroupsGet200Response.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectSlugGroupsGet200Response.parse_obj({ - "group_memberships": [ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.from_dict(_item) for _item in obj.get("groupMemberships")] if obj.get("groupMemberships") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner.py b/infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner.py deleted file mode 100644 index 53892ba..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import List -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group import ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup - -class ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner(BaseModel): - """ - ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner - """ - id: StrictStr = Field(...) - group_id: StrictStr = Field(default=..., alias="groupId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - roles: conlist(ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner) = Field(...) - group: ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup = Field(...) - __properties = ["id", "groupId", "createdAt", "updatedAt", "roles", "group"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - # override the default output from pydantic by calling `to_dict()` of group - if self.group: - _dict['group'] = self.group.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner.parse_obj({ - "id": obj.get("id"), - "group_id": obj.get("groupId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "roles": [ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None, - "group": ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.from_dict(obj.get("group")) if obj.get("group") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group.py b/infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group.py deleted file mode 100644 index cbeebc6..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup(BaseModel): - """ - ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup - """ - name: StrictStr = Field(...) - id: StrictStr = Field(...) - slug: StrictStr = Field(...) - __properties = ["name", "id", "slug"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup.parse_obj({ - "name": obj.get("name"), - "id": obj.get("id"), - "slug": obj.get("slug") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_patch_request.py b/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_patch_request.py deleted file mode 100644 index 74dbb5c..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_patch_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner - -class ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest(BaseModel): - """ - ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest - """ - roles: conlist(ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner, min_items=1) = Field(default=..., description="A list of roles to update the group to.") - __properties = ["roles"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in roles (list) - _items = [] - if self.roles: - for _item in self.roles: - if _item: - _items.append(_item.to_dict()) - _dict['roles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest.parse_obj({ - "roles": [ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner.from_dict(_item) for _item in obj.get("roles")] if obj.get("roles") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post200_response.py b/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post200_response.py deleted file mode 100644 index 8339374..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership - -class ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response(BaseModel): - """ - ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response - """ - group_membership: ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership = Field(default=..., alias="groupMembership") - __properties = ["groupMembership"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of group_membership - if self.group_membership: - _dict['groupMembership'] = self.group_membership.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response.parse_obj({ - "group_membership": ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.from_dict(obj.get("groupMembership")) if obj.get("groupMembership") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership.py b/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership.py deleted file mode 100644 index 07512d2..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership(BaseModel): - """ - ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership - """ - id: StrictStr = Field(...) - project_id: StrictStr = Field(default=..., alias="projectId") - group_id: StrictStr = Field(default=..., alias="groupId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - __properties = ["id", "projectId", "groupId", "createdAt", "updatedAt"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership.parse_obj({ - "id": obj.get("id"), - "project_id": obj.get("projectId"), - "group_id": obj.get("groupId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post_request.py b/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post_request.py deleted file mode 100644 index d181bc7..0000000 --- a/infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, constr - -class ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest(BaseModel): - """ - ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest - """ - role: Optional[constr(strict=True, min_length=1)] = Field(default='no-access', description="The role for the group to assume in the project.") - __properties = ["role"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest: - """Create an instance of ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.parse_obj(obj) - - _obj = ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest.parse_obj({ - "role": obj.get("role") if obj.get("role") is not None else 'no-access' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_slug_cas_get200_response.py b/infisicalapi_client/models/api_v2_workspace_slug_cas_get200_response.py deleted file mode 100644 index 037185e..0000000 --- a/infisicalapi_client/models/api_v2_workspace_slug_cas_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_pki_ca_post200_response_ca import ApiV1PkiCaPost200ResponseCa - -class ApiV2WorkspaceSlugCasGet200Response(BaseModel): - """ - ApiV2WorkspaceSlugCasGet200Response - """ - cas: conlist(ApiV1PkiCaPost200ResponseCa) = Field(...) - __properties = ["cas"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceSlugCasGet200Response: - """Create an instance of ApiV2WorkspaceSlugCasGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in cas (list) - _items = [] - if self.cas: - for _item in self.cas: - if _item: - _items.append(_item.to_dict()) - _dict['cas'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceSlugCasGet200Response: - """Create an instance of ApiV2WorkspaceSlugCasGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceSlugCasGet200Response.parse_obj(obj) - - _obj = ApiV2WorkspaceSlugCasGet200Response.parse_obj({ - "cas": [ApiV1PkiCaPost200ResponseCa.from_dict(_item) for _item in obj.get("cas")] if obj.get("cas") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_slug_certificates_get200_response.py b/infisicalapi_client/models/api_v2_workspace_slug_certificates_get200_response.py deleted file mode 100644 index 42c7744..0000000 --- a/infisicalapi_client/models/api_v2_workspace_slug_certificates_get200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Union -from pydantic import BaseModel, Field, StrictFloat, StrictInt, conlist -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response_certificate import ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate - -class ApiV2WorkspaceSlugCertificatesGet200Response(BaseModel): - """ - ApiV2WorkspaceSlugCertificatesGet200Response - """ - certificates: conlist(ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate) = Field(...) - total_count: Union[StrictFloat, StrictInt] = Field(default=..., alias="totalCount") - __properties = ["certificates", "totalCount"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceSlugCertificatesGet200Response: - """Create an instance of ApiV2WorkspaceSlugCertificatesGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in certificates (list) - _items = [] - if self.certificates: - for _item in self.certificates: - if _item: - _items.append(_item.to_dict()) - _dict['certificates'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceSlugCertificatesGet200Response: - """Create an instance of ApiV2WorkspaceSlugCertificatesGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceSlugCertificatesGet200Response.parse_obj(obj) - - _obj = ApiV2WorkspaceSlugCertificatesGet200Response.parse_obj({ - "certificates": [ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate.from_dict(_item) for _item in obj.get("certificates")] if obj.get("certificates") is not None else None, - "total_count": obj.get("totalCount") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_slug_patch_request.py b/infisicalapi_client/models/api_v2_workspace_slug_patch_request.py deleted file mode 100644 index ab0daa7..0000000 --- a/infisicalapi_client/models/api_v2_workspace_slug_patch_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV2WorkspaceSlugPatchRequest(BaseModel): - """ - ApiV2WorkspaceSlugPatchRequest - """ - name: Optional[StrictStr] = Field(default=None, description="The new name of the project.") - auto_capitalization: Optional[StrictBool] = Field(default=None, alias="autoCapitalization", description="The new auto-capitalization setting.") - __properties = ["name", "autoCapitalization"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceSlugPatchRequest: - """Create an instance of ApiV2WorkspaceSlugPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceSlugPatchRequest: - """Create an instance of ApiV2WorkspaceSlugPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceSlugPatchRequest.parse_obj(obj) - - _obj = ApiV2WorkspaceSlugPatchRequest.parse_obj({ - "name": obj.get("name"), - "auto_capitalization": obj.get("autoCapitalization") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_workspace_id_encrypted_key_get200_response.py b/infisicalapi_client/models/api_v2_workspace_workspace_id_encrypted_key_get200_response.py deleted file mode 100644 index 55520be..0000000 --- a/infisicalapi_client/models/api_v2_workspace_workspace_id_encrypted_key_get200_response.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response_sender import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender - -class ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response(BaseModel): - """ - ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response - """ - id: StrictStr = Field(...) - encrypted_key: StrictStr = Field(default=..., alias="encryptedKey") - nonce: StrictStr = Field(...) - receiver_id: StrictStr = Field(default=..., alias="receiverId") - sender_id: Optional[StrictStr] = Field(default=None, alias="senderId") - project_id: StrictStr = Field(default=..., alias="projectId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - sender: ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender = Field(...) - __properties = ["id", "encryptedKey", "nonce", "receiverId", "senderId", "projectId", "createdAt", "updatedAt", "sender"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response: - """Create an instance of ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of sender - if self.sender: - _dict['sender'] = self.sender.to_dict() - # set to None if sender_id (nullable) is None - # and __fields_set__ contains the field - if self.sender_id is None and "sender_id" in self.__fields_set__: - _dict['senderId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response: - """Create an instance of ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.parse_obj(obj) - - _obj = ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response.parse_obj({ - "id": obj.get("id"), - "encrypted_key": obj.get("encryptedKey"), - "nonce": obj.get("nonce"), - "receiver_id": obj.get("receiverId"), - "sender_id": obj.get("senderId"), - "project_id": obj.get("projectId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "sender": ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.from_dict(obj.get("sender")) if obj.get("sender") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v2_workspace_workspace_id_encrypted_key_get200_response_sender.py b/infisicalapi_client/models/api_v2_workspace_workspace_id_encrypted_key_get200_response_sender.py deleted file mode 100644 index a5c43a3..0000000 --- a/infisicalapi_client/models/api_v2_workspace_workspace_id_encrypted_key_get200_response_sender.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender(BaseModel): - """ - ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender - """ - public_key: StrictStr = Field(default=..., alias="publicKey") - __properties = ["publicKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender: - """Create an instance of ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender: - """Create an instance of ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.parse_obj(obj) - - _obj = ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender.parse_obj({ - "public_key": obj.get("publicKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_auth_login1_post_request.py b/infisicalapi_client/models/api_v3_auth_login1_post_request.py deleted file mode 100644 index 1737761..0000000 --- a/infisicalapi_client/models/api_v3_auth_login1_post_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV3AuthLogin1PostRequest(BaseModel): - """ - ApiV3AuthLogin1PostRequest - """ - email: StrictStr = Field(...) - provider_auth_token: Optional[StrictStr] = Field(default=None, alias="providerAuthToken") - client_public_key: StrictStr = Field(default=..., alias="clientPublicKey") - __properties = ["email", "providerAuthToken", "clientPublicKey"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3AuthLogin1PostRequest: - """Create an instance of ApiV3AuthLogin1PostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3AuthLogin1PostRequest: - """Create an instance of ApiV3AuthLogin1PostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3AuthLogin1PostRequest.parse_obj(obj) - - _obj = ApiV3AuthLogin1PostRequest.parse_obj({ - "email": obj.get("email"), - "provider_auth_token": obj.get("providerAuthToken"), - "client_public_key": obj.get("clientPublicKey") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_auth_login2_post200_response.py b/infisicalapi_client/models/api_v3_auth_login2_post200_response.py deleted file mode 100644 index 27f05f8..0000000 --- a/infisicalapi_client/models/api_v3_auth_login2_post200_response.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v3_auth_login2_post200_response_any_of import ApiV3AuthLogin2Post200ResponseAnyOf -from infisicalapi_client.models.api_v3_auth_login2_post200_response_any_of1 import ApiV3AuthLogin2Post200ResponseAnyOf1 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV3AUTHLOGIN2POST200RESPONSE_ANY_OF_SCHEMAS = ["ApiV3AuthLogin2Post200ResponseAnyOf", "ApiV3AuthLogin2Post200ResponseAnyOf1"] - -class ApiV3AuthLogin2Post200Response(BaseModel): - """ - ApiV3AuthLogin2Post200Response - """ - - # data type: ApiV3AuthLogin2Post200ResponseAnyOf - anyof_schema_1_validator: Optional[ApiV3AuthLogin2Post200ResponseAnyOf] = None - # data type: ApiV3AuthLogin2Post200ResponseAnyOf1 - anyof_schema_2_validator: Optional[ApiV3AuthLogin2Post200ResponseAnyOf1] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV3AuthLogin2Post200ResponseAnyOf, ApiV3AuthLogin2Post200ResponseAnyOf1] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV3AUTHLOGIN2POST200RESPONSE_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV3AuthLogin2Post200Response.construct() - error_messages = [] - # validate data type: ApiV3AuthLogin2Post200ResponseAnyOf - if not isinstance(v, ApiV3AuthLogin2Post200ResponseAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV3AuthLogin2Post200ResponseAnyOf`") - else: - return v - - # validate data type: ApiV3AuthLogin2Post200ResponseAnyOf1 - if not isinstance(v, ApiV3AuthLogin2Post200ResponseAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV3AuthLogin2Post200ResponseAnyOf1`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV3AuthLogin2Post200Response with anyOf schemas: ApiV3AuthLogin2Post200ResponseAnyOf, ApiV3AuthLogin2Post200ResponseAnyOf1. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3AuthLogin2Post200Response: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3AuthLogin2Post200Response: - """Returns the object represented by the json string""" - instance = ApiV3AuthLogin2Post200Response.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV3AuthLogin2Post200ResponseAnyOf] = None - try: - instance.actual_instance = ApiV3AuthLogin2Post200ResponseAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV3AuthLogin2Post200ResponseAnyOf1] = None - try: - instance.actual_instance = ApiV3AuthLogin2Post200ResponseAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV3AuthLogin2Post200Response with anyOf schemas: ApiV3AuthLogin2Post200ResponseAnyOf, ApiV3AuthLogin2Post200ResponseAnyOf1. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v3_auth_login2_post200_response_any_of.py b/infisicalapi_client/models/api_v3_auth_login2_post200_response_any_of.py deleted file mode 100644 index a8ab4b1..0000000 --- a/infisicalapi_client/models/api_v3_auth_login2_post200_response_any_of.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV3AuthLogin2Post200ResponseAnyOf(BaseModel): - """ - ApiV3AuthLogin2Post200ResponseAnyOf - """ - mfa_enabled: StrictBool = Field(default=..., alias="mfaEnabled") - token: StrictStr = Field(...) - __properties = ["mfaEnabled", "token"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3AuthLogin2Post200ResponseAnyOf: - """Create an instance of ApiV3AuthLogin2Post200ResponseAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3AuthLogin2Post200ResponseAnyOf: - """Create an instance of ApiV3AuthLogin2Post200ResponseAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3AuthLogin2Post200ResponseAnyOf.parse_obj(obj) - - _obj = ApiV3AuthLogin2Post200ResponseAnyOf.parse_obj({ - "mfa_enabled": obj.get("mfaEnabled"), - "token": obj.get("token") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_auth_login2_post200_response_any_of1.py b/infisicalapi_client/models/api_v3_auth_login2_post200_response_any_of1.py deleted file mode 100644 index 79adeed..0000000 --- a/infisicalapi_client/models/api_v3_auth_login2_post200_response_any_of1.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV3AuthLogin2Post200ResponseAnyOf1(BaseModel): - """ - ApiV3AuthLogin2Post200ResponseAnyOf1 - """ - mfa_enabled: StrictBool = Field(default=..., alias="mfaEnabled") - encryption_version: Optional[Union[StrictFloat, StrictInt]] = Field(default=1, alias="encryptionVersion") - protected_key: Optional[StrictStr] = Field(default=..., alias="protectedKey") - protected_key_iv: Optional[StrictStr] = Field(default=..., alias="protectedKeyIV") - protected_key_tag: Optional[StrictStr] = Field(default=..., alias="protectedKeyTag") - public_key: StrictStr = Field(default=..., alias="publicKey") - encrypted_private_key: StrictStr = Field(default=..., alias="encryptedPrivateKey") - iv: StrictStr = Field(...) - tag: StrictStr = Field(...) - token: StrictStr = Field(...) - __properties = ["mfaEnabled", "encryptionVersion", "protectedKey", "protectedKeyIV", "protectedKeyTag", "publicKey", "encryptedPrivateKey", "iv", "tag", "token"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3AuthLogin2Post200ResponseAnyOf1: - """Create an instance of ApiV3AuthLogin2Post200ResponseAnyOf1 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if encryption_version (nullable) is None - # and __fields_set__ contains the field - if self.encryption_version is None and "encryption_version" in self.__fields_set__: - _dict['encryptionVersion'] = None - - # set to None if protected_key (nullable) is None - # and __fields_set__ contains the field - if self.protected_key is None and "protected_key" in self.__fields_set__: - _dict['protectedKey'] = None - - # set to None if protected_key_iv (nullable) is None - # and __fields_set__ contains the field - if self.protected_key_iv is None and "protected_key_iv" in self.__fields_set__: - _dict['protectedKeyIV'] = None - - # set to None if protected_key_tag (nullable) is None - # and __fields_set__ contains the field - if self.protected_key_tag is None and "protected_key_tag" in self.__fields_set__: - _dict['protectedKeyTag'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3AuthLogin2Post200ResponseAnyOf1: - """Create an instance of ApiV3AuthLogin2Post200ResponseAnyOf1 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3AuthLogin2Post200ResponseAnyOf1.parse_obj(obj) - - _obj = ApiV3AuthLogin2Post200ResponseAnyOf1.parse_obj({ - "mfa_enabled": obj.get("mfaEnabled"), - "encryption_version": obj.get("encryptionVersion") if obj.get("encryptionVersion") is not None else 1, - "protected_key": obj.get("protectedKey"), - "protected_key_iv": obj.get("protectedKeyIV"), - "protected_key_tag": obj.get("protectedKeyTag"), - "public_key": obj.get("publicKey"), - "encrypted_private_key": obj.get("encryptedPrivateKey"), - "iv": obj.get("iv"), - "tag": obj.get("tag"), - "token": obj.get("token") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_auth_login2_post_request.py b/infisicalapi_client/models/api_v3_auth_login2_post_request.py deleted file mode 100644 index 2e2a4a3..0000000 --- a/infisicalapi_client/models/api_v3_auth_login2_post_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV3AuthLogin2PostRequest(BaseModel): - """ - ApiV3AuthLogin2PostRequest - """ - email: StrictStr = Field(...) - provider_auth_token: Optional[StrictStr] = Field(default=None, alias="providerAuthToken") - client_proof: StrictStr = Field(default=..., alias="clientProof") - captcha_token: Optional[StrictStr] = Field(default=None, alias="captchaToken") - password: Optional[StrictStr] = None - __properties = ["email", "providerAuthToken", "clientProof", "captchaToken", "password"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3AuthLogin2PostRequest: - """Create an instance of ApiV3AuthLogin2PostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3AuthLogin2PostRequest: - """Create an instance of ApiV3AuthLogin2PostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3AuthLogin2PostRequest.parse_obj(obj) - - _obj = ApiV3AuthLogin2PostRequest.parse_obj({ - "email": obj.get("email"), - "provider_auth_token": obj.get("providerAuthToken"), - "client_proof": obj.get("clientProof"), - "captcha_token": obj.get("captchaToken"), - "password": obj.get("password") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_backfill_secret_references_post_request.py b/infisicalapi_client/models/api_v3_secrets_backfill_secret_references_post_request.py deleted file mode 100644 index 202fbbd..0000000 --- a/infisicalapi_client/models/api_v3_secrets_backfill_secret_references_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, constr - -class ApiV3SecretsBackfillSecretReferencesPostRequest(BaseModel): - """ - ApiV3SecretsBackfillSecretReferencesPostRequest - """ - project_id: constr(strict=True, min_length=1) = Field(default=..., alias="projectId") - __properties = ["projectId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBackfillSecretReferencesPostRequest: - """Create an instance of ApiV3SecretsBackfillSecretReferencesPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBackfillSecretReferencesPostRequest: - """Create an instance of ApiV3SecretsBackfillSecretReferencesPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBackfillSecretReferencesPostRequest.parse_obj(obj) - - _obj = ApiV3SecretsBackfillSecretReferencesPostRequest.parse_obj({ - "project_id": obj.get("projectId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_delete_request.py b/infisicalapi_client/models/api_v3_secrets_batch_delete_request.py deleted file mode 100644 index 3d00855..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_delete_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_batch_delete_request_secrets_inner import ApiV3SecretsBatchDeleteRequestSecretsInner - -class ApiV3SecretsBatchDeleteRequest(BaseModel): - """ - ApiV3SecretsBatchDeleteRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - environment: StrictStr = Field(...) - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - secrets: conlist(ApiV3SecretsBatchDeleteRequestSecretsInner, min_items=1) = Field(...) - __properties = ["workspaceId", "environment", "secretPath", "secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchDeleteRequest: - """Create an instance of ApiV3SecretsBatchDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchDeleteRequest: - """Create an instance of ApiV3SecretsBatchDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchDeleteRequest.parse_obj(obj) - - _obj = ApiV3SecretsBatchDeleteRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "secrets": [ApiV3SecretsBatchDeleteRequestSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_delete_request_secrets_inner.py b/infisicalapi_client/models/api_v3_secrets_batch_delete_request_secrets_inner.py deleted file mode 100644 index aba61be..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_delete_request_secrets_inner.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV3SecretsBatchDeleteRequestSecretsInner(BaseModel): - """ - ApiV3SecretsBatchDeleteRequestSecretsInner - """ - secret_name: StrictStr = Field(default=..., alias="secretName") - type: Optional[StrictStr] = 'shared' - __properties = ["secretName", "type"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchDeleteRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchDeleteRequestSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchDeleteRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchDeleteRequestSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchDeleteRequestSecretsInner.parse_obj(obj) - - _obj = ApiV3SecretsBatchDeleteRequestSecretsInner.parse_obj({ - "secret_name": obj.get("secretName"), - "type": obj.get("type") if obj.get("type") is not None else 'shared' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_patch_request.py b/infisicalapi_client/models/api_v3_secrets_batch_patch_request.py deleted file mode 100644 index be80e62..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_patch_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_batch_patch_request_secrets_inner import ApiV3SecretsBatchPatchRequestSecretsInner - -class ApiV3SecretsBatchPatchRequest(BaseModel): - """ - ApiV3SecretsBatchPatchRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - environment: StrictStr = Field(...) - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - secrets: conlist(ApiV3SecretsBatchPatchRequestSecretsInner, min_items=1) = Field(...) - __properties = ["workspaceId", "environment", "secretPath", "secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchPatchRequest: - """Create an instance of ApiV3SecretsBatchPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchPatchRequest: - """Create an instance of ApiV3SecretsBatchPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchPatchRequest.parse_obj(obj) - - _obj = ApiV3SecretsBatchPatchRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "secrets": [ApiV3SecretsBatchPatchRequestSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_patch_request_secrets_inner.py b/infisicalapi_client/models/api_v3_secrets_batch_patch_request_secrets_inner.py deleted file mode 100644 index 63a2bd6..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_patch_request_secrets_inner.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, validator - -class ApiV3SecretsBatchPatchRequestSecretsInner(BaseModel): - """ - ApiV3SecretsBatchPatchRequestSecretsInner - """ - secret_name: StrictStr = Field(default=..., alias="secretName") - type: Optional[StrictStr] = 'shared' - secret_value_ciphertext: StrictStr = Field(default=..., alias="secretValueCiphertext") - secret_value_iv: StrictStr = Field(default=..., alias="secretValueIV") - secret_value_tag: StrictStr = Field(default=..., alias="secretValueTag") - secret_key_ciphertext: StrictStr = Field(default=..., alias="secretKeyCiphertext") - secret_key_iv: StrictStr = Field(default=..., alias="secretKeyIV") - secret_key_tag: StrictStr = Field(default=..., alias="secretKeyTag") - secret_comment_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretCommentCiphertext") - secret_comment_iv: Optional[StrictStr] = Field(default=None, alias="secretCommentIV") - secret_comment_tag: Optional[StrictStr] = Field(default=None, alias="secretCommentTag") - skip_multiline_encoding: Optional[StrictBool] = Field(default=None, alias="skipMultilineEncoding") - tags: Optional[conlist(StrictStr)] = None - __properties = ["secretName", "type", "secretValueCiphertext", "secretValueIV", "secretValueTag", "secretKeyCiphertext", "secretKeyIV", "secretKeyTag", "secretCommentCiphertext", "secretCommentIV", "secretCommentTag", "skipMultilineEncoding", "tags"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchPatchRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchPatchRequestSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchPatchRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchPatchRequestSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchPatchRequestSecretsInner.parse_obj(obj) - - _obj = ApiV3SecretsBatchPatchRequestSecretsInner.parse_obj({ - "secret_name": obj.get("secretName"), - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_value_ciphertext": obj.get("secretValueCiphertext"), - "secret_value_iv": obj.get("secretValueIV"), - "secret_value_tag": obj.get("secretValueTag"), - "secret_key_ciphertext": obj.get("secretKeyCiphertext"), - "secret_key_iv": obj.get("secretKeyIV"), - "secret_key_tag": obj.get("secretKeyTag"), - "secret_comment_ciphertext": obj.get("secretCommentCiphertext"), - "secret_comment_iv": obj.get("secretCommentIV"), - "secret_comment_tag": obj.get("secretCommentTag"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding"), - "tags": obj.get("tags") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_post200_response.py b/infisicalapi_client/models/api_v3_secrets_batch_post200_response.py deleted file mode 100644 index 84cf845..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_post200_response.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v3_secrets_batch_post200_response_any_of import ApiV3SecretsBatchPost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of1 import ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV3SECRETSBATCHPOST200RESPONSE_ANY_OF_SCHEMAS = ["ApiV3SecretsBatchPost200ResponseAnyOf", "ApiV3SecretsRawSecretNamePost200ResponseAnyOf1"] - -class ApiV3SecretsBatchPost200Response(BaseModel): - """ - ApiV3SecretsBatchPost200Response - """ - - # data type: ApiV3SecretsBatchPost200ResponseAnyOf - anyof_schema_1_validator: Optional[ApiV3SecretsBatchPost200ResponseAnyOf] = None - # data type: ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - anyof_schema_2_validator: Optional[ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV3SecretsBatchPost200ResponseAnyOf, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV3SECRETSBATCHPOST200RESPONSE_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV3SecretsBatchPost200Response.construct() - error_messages = [] - # validate data type: ApiV3SecretsBatchPost200ResponseAnyOf - if not isinstance(v, ApiV3SecretsBatchPost200ResponseAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV3SecretsBatchPost200ResponseAnyOf`") - else: - return v - - # validate data type: ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - if not isinstance(v, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV3SecretsRawSecretNamePost200ResponseAnyOf1`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV3SecretsBatchPost200Response with anyOf schemas: ApiV3SecretsBatchPost200ResponseAnyOf, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchPost200Response: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchPost200Response: - """Returns the object represented by the json string""" - instance = ApiV3SecretsBatchPost200Response.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV3SecretsBatchPost200ResponseAnyOf] = None - try: - instance.actual_instance = ApiV3SecretsBatchPost200ResponseAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] = None - try: - instance.actual_instance = ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV3SecretsBatchPost200Response with anyOf schemas: ApiV3SecretsBatchPost200ResponseAnyOf, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_post200_response_any_of.py b/infisicalapi_client/models/api_v3_secrets_batch_post200_response_any_of.py deleted file mode 100644 index 8920dc3..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_post200_response_any_of.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner - -class ApiV3SecretsBatchPost200ResponseAnyOf(BaseModel): - """ - ApiV3SecretsBatchPost200ResponseAnyOf - """ - secrets: conlist(ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner) = Field(...) - __properties = ["secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchPost200ResponseAnyOf: - """Create an instance of ApiV3SecretsBatchPost200ResponseAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchPost200ResponseAnyOf: - """Create an instance of ApiV3SecretsBatchPost200ResponseAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchPost200ResponseAnyOf.parse_obj(obj) - - _obj = ApiV3SecretsBatchPost200ResponseAnyOf.parse_obj({ - "secrets": [ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_post_request.py b/infisicalapi_client/models/api_v3_secrets_batch_post_request.py deleted file mode 100644 index de109e3..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_post_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_batch_post_request_secrets_inner import ApiV3SecretsBatchPostRequestSecretsInner - -class ApiV3SecretsBatchPostRequest(BaseModel): - """ - ApiV3SecretsBatchPostRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - environment: StrictStr = Field(...) - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - secrets: conlist(ApiV3SecretsBatchPostRequestSecretsInner, min_items=1) = Field(...) - __properties = ["workspaceId", "environment", "secretPath", "secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchPostRequest: - """Create an instance of ApiV3SecretsBatchPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchPostRequest: - """Create an instance of ApiV3SecretsBatchPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchPostRequest.parse_obj(obj) - - _obj = ApiV3SecretsBatchPostRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "secrets": [ApiV3SecretsBatchPostRequestSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_post_request_secrets_inner.py b/infisicalapi_client/models/api_v3_secrets_batch_post_request_secrets_inner.py deleted file mode 100644 index c46c293..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_post_request_secrets_inner.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Dict, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr - -class ApiV3SecretsBatchPostRequestSecretsInner(BaseModel): - """ - ApiV3SecretsBatchPostRequestSecretsInner - """ - secret_name: StrictStr = Field(default=..., alias="secretName") - secret_key_ciphertext: StrictStr = Field(default=..., alias="secretKeyCiphertext") - secret_key_iv: StrictStr = Field(default=..., alias="secretKeyIV") - secret_key_tag: StrictStr = Field(default=..., alias="secretKeyTag") - secret_value_ciphertext: StrictStr = Field(default=..., alias="secretValueCiphertext") - secret_value_iv: StrictStr = Field(default=..., alias="secretValueIV") - secret_value_tag: StrictStr = Field(default=..., alias="secretValueTag") - secret_comment_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretCommentCiphertext") - secret_comment_iv: Optional[StrictStr] = Field(default=None, alias="secretCommentIV") - secret_comment_tag: Optional[StrictStr] = Field(default=None, alias="secretCommentTag") - metadata: Optional[Dict[str, StrictStr]] = None - skip_multiline_encoding: Optional[StrictBool] = Field(default=None, alias="skipMultilineEncoding") - __properties = ["secretName", "secretKeyCiphertext", "secretKeyIV", "secretKeyTag", "secretValueCiphertext", "secretValueIV", "secretValueTag", "secretCommentCiphertext", "secretCommentIV", "secretCommentTag", "metadata", "skipMultilineEncoding"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchPostRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchPostRequestSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchPostRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchPostRequestSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchPostRequestSecretsInner.parse_obj(obj) - - _obj = ApiV3SecretsBatchPostRequestSecretsInner.parse_obj({ - "secret_name": obj.get("secretName"), - "secret_key_ciphertext": obj.get("secretKeyCiphertext"), - "secret_key_iv": obj.get("secretKeyIV"), - "secret_key_tag": obj.get("secretKeyTag"), - "secret_value_ciphertext": obj.get("secretValueCiphertext"), - "secret_value_iv": obj.get("secretValueIV"), - "secret_value_tag": obj.get("secretValueTag"), - "secret_comment_ciphertext": obj.get("secretCommentCiphertext"), - "secret_comment_iv": obj.get("secretCommentIV"), - "secret_comment_tag": obj.get("secretCommentTag"), - "metadata": obj.get("metadata"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_raw_delete_request.py b/infisicalapi_client/models/api_v3_secrets_batch_raw_delete_request.py deleted file mode 100644 index eb488a7..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_raw_delete_request.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request_secrets_inner import ApiV3SecretsBatchRawDeleteRequestSecretsInner - -class ApiV3SecretsBatchRawDeleteRequest(BaseModel): - """ - ApiV3SecretsBatchRawDeleteRequest - """ - project_slug: Optional[StrictStr] = Field(default=None, alias="projectSlug", description="The slug of the project to delete the secret in.") - workspace_id: Optional[StrictStr] = Field(default=None, alias="workspaceId", description="The ID of the project where the secret is located.") - environment: StrictStr = Field(default=..., description="The slug of the environment where the secret is located.") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath", description="The path of the secret.") - secrets: conlist(ApiV3SecretsBatchRawDeleteRequestSecretsInner, min_items=1) = Field(...) - __properties = ["projectSlug", "workspaceId", "environment", "secretPath", "secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchRawDeleteRequest: - """Create an instance of ApiV3SecretsBatchRawDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchRawDeleteRequest: - """Create an instance of ApiV3SecretsBatchRawDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchRawDeleteRequest.parse_obj(obj) - - _obj = ApiV3SecretsBatchRawDeleteRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "secrets": [ApiV3SecretsBatchRawDeleteRequestSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_raw_delete_request_secrets_inner.py b/infisicalapi_client/models/api_v3_secrets_batch_raw_delete_request_secrets_inner.py deleted file mode 100644 index 9a4f659..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_raw_delete_request_secrets_inner.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV3SecretsBatchRawDeleteRequestSecretsInner(BaseModel): - """ - ApiV3SecretsBatchRawDeleteRequestSecretsInner - """ - secret_key: StrictStr = Field(default=..., alias="secretKey", description="The name of the secret to delete.") - type: Optional[StrictStr] = 'shared' - __properties = ["secretKey", "type"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchRawDeleteRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchRawDeleteRequestSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchRawDeleteRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchRawDeleteRequestSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchRawDeleteRequestSecretsInner.parse_obj(obj) - - _obj = ApiV3SecretsBatchRawDeleteRequestSecretsInner.parse_obj({ - "secret_key": obj.get("secretKey"), - "type": obj.get("type") if obj.get("type") is not None else 'shared' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_raw_patch_request.py b/infisicalapi_client/models/api_v3_secrets_batch_raw_patch_request.py deleted file mode 100644 index 157065e..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_raw_patch_request.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request_secrets_inner import ApiV3SecretsBatchRawPatchRequestSecretsInner - -class ApiV3SecretsBatchRawPatchRequest(BaseModel): - """ - ApiV3SecretsBatchRawPatchRequest - """ - project_slug: Optional[StrictStr] = Field(default=None, alias="projectSlug", description="The slug of the project to delete the secret in.") - workspace_id: Optional[StrictStr] = Field(default=None, alias="workspaceId", description="The ID of the project where the secret is located.") - environment: StrictStr = Field(default=..., description="The slug of the environment where the secret is located.") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath", description="The path of the secret to update") - secrets: conlist(ApiV3SecretsBatchRawPatchRequestSecretsInner, min_items=1) = Field(...) - __properties = ["projectSlug", "workspaceId", "environment", "secretPath", "secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchRawPatchRequest: - """Create an instance of ApiV3SecretsBatchRawPatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchRawPatchRequest: - """Create an instance of ApiV3SecretsBatchRawPatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchRawPatchRequest.parse_obj(obj) - - _obj = ApiV3SecretsBatchRawPatchRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "secrets": [ApiV3SecretsBatchRawPatchRequestSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_raw_patch_request_secrets_inner.py b/infisicalapi_client/models/api_v3_secrets_batch_raw_patch_request_secrets_inner.py deleted file mode 100644 index 28a7612..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_raw_patch_request_secrets_inner.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist, constr - -class ApiV3SecretsBatchRawPatchRequestSecretsInner(BaseModel): - """ - ApiV3SecretsBatchRawPatchRequestSecretsInner - """ - secret_key: StrictStr = Field(default=..., alias="secretKey", description="The name of the secret to update.") - secret_value: StrictStr = Field(default=..., alias="secretValue", description="The new value of the secret.") - secret_comment: Optional[StrictStr] = Field(default=None, alias="secretComment", description="Update comment to the secret.") - skip_multiline_encoding: Optional[StrictBool] = Field(default=None, alias="skipMultilineEncoding", description="Skip multiline encoding for the secret value.") - new_secret_name: Optional[constr(strict=True, min_length=1)] = Field(default=None, alias="newSecretName", description="The new name for the secret") - tag_ids: Optional[conlist(StrictStr)] = Field(default=None, alias="tagIds", description="The ID of the tags to be attached to the updated secret.") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote", description="Note to be attached in notification email") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays", description="Interval for secret rotation notifications, measured in days") - __properties = ["secretKey", "secretValue", "secretComment", "skipMultilineEncoding", "newSecretName", "tagIds", "secretReminderNote", "secretReminderRepeatDays"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchRawPatchRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchRawPatchRequestSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchRawPatchRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchRawPatchRequestSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchRawPatchRequestSecretsInner.parse_obj(obj) - - _obj = ApiV3SecretsBatchRawPatchRequestSecretsInner.parse_obj({ - "secret_key": obj.get("secretKey"), - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding"), - "new_secret_name": obj.get("newSecretName"), - "tag_ids": obj.get("tagIds"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_raw_post200_response.py b/infisicalapi_client/models/api_v3_secrets_batch_raw_post200_response.py deleted file mode 100644 index 48da070..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_raw_post200_response.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response_any_of import ApiV3SecretsBatchRawPost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of1 import ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV3SECRETSBATCHRAWPOST200RESPONSE_ANY_OF_SCHEMAS = ["ApiV3SecretsBatchRawPost200ResponseAnyOf", "ApiV3SecretsRawSecretNamePost200ResponseAnyOf1"] - -class ApiV3SecretsBatchRawPost200Response(BaseModel): - """ - ApiV3SecretsBatchRawPost200Response - """ - - # data type: ApiV3SecretsBatchRawPost200ResponseAnyOf - anyof_schema_1_validator: Optional[ApiV3SecretsBatchRawPost200ResponseAnyOf] = None - # data type: ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - anyof_schema_2_validator: Optional[ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV3SecretsBatchRawPost200ResponseAnyOf, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV3SECRETSBATCHRAWPOST200RESPONSE_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV3SecretsBatchRawPost200Response.construct() - error_messages = [] - # validate data type: ApiV3SecretsBatchRawPost200ResponseAnyOf - if not isinstance(v, ApiV3SecretsBatchRawPost200ResponseAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV3SecretsBatchRawPost200ResponseAnyOf`") - else: - return v - - # validate data type: ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - if not isinstance(v, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV3SecretsRawSecretNamePost200ResponseAnyOf1`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV3SecretsBatchRawPost200Response with anyOf schemas: ApiV3SecretsBatchRawPost200ResponseAnyOf, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchRawPost200Response: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchRawPost200Response: - """Returns the object represented by the json string""" - instance = ApiV3SecretsBatchRawPost200Response.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV3SecretsBatchRawPost200ResponseAnyOf] = None - try: - instance.actual_instance = ApiV3SecretsBatchRawPost200ResponseAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] = None - try: - instance.actual_instance = ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV3SecretsBatchRawPost200Response with anyOf schemas: ApiV3SecretsBatchRawPost200ResponseAnyOf, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_raw_post200_response_any_of.py b/infisicalapi_client/models/api_v3_secrets_batch_raw_post200_response_any_of.py deleted file mode 100644 index 8cbc2b8..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_raw_post200_response_any_of.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner import ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner - -class ApiV3SecretsBatchRawPost200ResponseAnyOf(BaseModel): - """ - ApiV3SecretsBatchRawPost200ResponseAnyOf - """ - secrets: conlist(ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner) = Field(...) - __properties = ["secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchRawPost200ResponseAnyOf: - """Create an instance of ApiV3SecretsBatchRawPost200ResponseAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchRawPost200ResponseAnyOf: - """Create an instance of ApiV3SecretsBatchRawPost200ResponseAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchRawPost200ResponseAnyOf.parse_obj(obj) - - _obj = ApiV3SecretsBatchRawPost200ResponseAnyOf.parse_obj({ - "secrets": [ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_raw_post_request.py b/infisicalapi_client/models/api_v3_secrets_batch_raw_post_request.py deleted file mode 100644 index 63fa68e..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_raw_post_request.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request_secrets_inner import ApiV3SecretsBatchRawPostRequestSecretsInner - -class ApiV3SecretsBatchRawPostRequest(BaseModel): - """ - ApiV3SecretsBatchRawPostRequest - """ - project_slug: Optional[StrictStr] = Field(default=None, alias="projectSlug", description="The slug of the project to update the secret in.") - workspace_id: Optional[StrictStr] = Field(default=None, alias="workspaceId", description="The ID of the project to update the secret in.") - environment: StrictStr = Field(default=..., description="The slug of the environment to create the secret in.") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath", description="The path to create the secret in.") - secrets: conlist(ApiV3SecretsBatchRawPostRequestSecretsInner, min_items=1) = Field(...) - __properties = ["projectSlug", "workspaceId", "environment", "secretPath", "secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchRawPostRequest: - """Create an instance of ApiV3SecretsBatchRawPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchRawPostRequest: - """Create an instance of ApiV3SecretsBatchRawPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchRawPostRequest.parse_obj(obj) - - _obj = ApiV3SecretsBatchRawPostRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "secrets": [ApiV3SecretsBatchRawPostRequestSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_batch_raw_post_request_secrets_inner.py b/infisicalapi_client/models/api_v3_secrets_batch_raw_post_request_secrets_inner.py deleted file mode 100644 index 4fc0a21..0000000 --- a/infisicalapi_client/models/api_v3_secrets_batch_raw_post_request_secrets_inner.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Dict, List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist - -class ApiV3SecretsBatchRawPostRequestSecretsInner(BaseModel): - """ - ApiV3SecretsBatchRawPostRequestSecretsInner - """ - secret_key: StrictStr = Field(default=..., alias="secretKey", description="The name of the secret to create.") - secret_value: StrictStr = Field(default=..., alias="secretValue", description="The value of the secret to create.") - secret_comment: Optional[StrictStr] = Field(default='', alias="secretComment", description="Attach a comment to the secret.") - skip_multiline_encoding: Optional[StrictBool] = Field(default=None, alias="skipMultilineEncoding", description="Skip multiline encoding for the secret value.") - metadata: Optional[Dict[str, StrictStr]] = None - tag_ids: Optional[conlist(StrictStr)] = Field(default=None, alias="tagIds", description="The ID of the tags to be attached to the created secret.") - __properties = ["secretKey", "secretValue", "secretComment", "skipMultilineEncoding", "metadata", "tagIds"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsBatchRawPostRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchRawPostRequestSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsBatchRawPostRequestSecretsInner: - """Create an instance of ApiV3SecretsBatchRawPostRequestSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsBatchRawPostRequestSecretsInner.parse_obj(obj) - - _obj = ApiV3SecretsBatchRawPostRequestSecretsInner.parse_obj({ - "secret_key": obj.get("secretKey"), - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment") if obj.get("secretComment") is not None else '', - "skip_multiline_encoding": obj.get("skipMultilineEncoding"), - "metadata": obj.get("metadata"), - "tag_ids": obj.get("tagIds") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_get200_response.py b/infisicalapi_client/models/api_v3_secrets_get200_response.py deleted file mode 100644 index f6494ad..0000000 --- a/infisicalapi_client/models/api_v3_secrets_get200_response.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner import ApiV3SecretsGet200ResponseImportsInner -from infisicalapi_client.models.api_v3_secrets_get200_response_secrets_inner import ApiV3SecretsGet200ResponseSecretsInner - -class ApiV3SecretsGet200Response(BaseModel): - """ - ApiV3SecretsGet200Response - """ - secrets: conlist(ApiV3SecretsGet200ResponseSecretsInner) = Field(...) - imports: Optional[conlist(ApiV3SecretsGet200ResponseImportsInner)] = None - __properties = ["secrets", "imports"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsGet200Response: - """Create an instance of ApiV3SecretsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in imports (list) - _items = [] - if self.imports: - for _item in self.imports: - if _item: - _items.append(_item.to_dict()) - _dict['imports'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsGet200Response: - """Create an instance of ApiV3SecretsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsGet200Response.parse_obj(obj) - - _obj = ApiV3SecretsGet200Response.parse_obj({ - "secrets": [ApiV3SecretsGet200ResponseSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None, - "imports": [ApiV3SecretsGet200ResponseImportsInner.from_dict(_item) for _item in obj.get("imports")] if obj.get("imports") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_get200_response_imports_inner.py b/infisicalapi_client/models/api_v3_secrets_get200_response_imports_inner.py deleted file mode 100644 index 6a0d3ce..0000000 --- a/infisicalapi_client/models/api_v3_secrets_get200_response_imports_inner.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner_secrets_inner import ApiV3SecretsGet200ResponseImportsInnerSecretsInner - -class ApiV3SecretsGet200ResponseImportsInner(BaseModel): - """ - ApiV3SecretsGet200ResponseImportsInner - """ - secret_path: StrictStr = Field(default=..., alias="secretPath") - environment: StrictStr = Field(...) - folder_id: Optional[StrictStr] = Field(default=None, alias="folderId") - secrets: conlist(ApiV3SecretsGet200ResponseImportsInnerSecretsInner) = Field(...) - __properties = ["secretPath", "environment", "folderId", "secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsGet200ResponseImportsInner: - """Create an instance of ApiV3SecretsGet200ResponseImportsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsGet200ResponseImportsInner: - """Create an instance of ApiV3SecretsGet200ResponseImportsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsGet200ResponseImportsInner.parse_obj(obj) - - _obj = ApiV3SecretsGet200ResponseImportsInner.parse_obj({ - "secret_path": obj.get("secretPath"), - "environment": obj.get("environment"), - "folder_id": obj.get("folderId"), - "secrets": [ApiV3SecretsGet200ResponseImportsInnerSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_get200_response_imports_inner_secrets_inner.py b/infisicalapi_client/models/api_v3_secrets_get200_response_imports_inner_secrets_inner.py deleted file mode 100644 index 12bc53c..0000000 --- a/infisicalapi_client/models/api_v3_secrets_get200_response_imports_inner_secrets_inner.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV3SecretsGet200ResponseImportsInnerSecretsInner(BaseModel): - """ - ApiV3SecretsGet200ResponseImportsInnerSecretsInner - """ - id: StrictStr = Field(...) - version: Optional[Union[StrictFloat, StrictInt]] = 1 - type: Optional[StrictStr] = 'shared' - secret_key_ciphertext: StrictStr = Field(default=..., alias="secretKeyCiphertext") - secret_key_iv: StrictStr = Field(default=..., alias="secretKeyIV") - secret_key_tag: StrictStr = Field(default=..., alias="secretKeyTag") - secret_value_ciphertext: StrictStr = Field(default=..., alias="secretValueCiphertext") - secret_value_iv: StrictStr = Field(default=..., alias="secretValueIV") - secret_value_tag: StrictStr = Field(default=..., alias="secretValueTag") - secret_comment_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretCommentCiphertext") - secret_comment_iv: Optional[StrictStr] = Field(default=None, alias="secretCommentIV") - secret_comment_tag: Optional[StrictStr] = Field(default=None, alias="secretCommentTag") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - algorithm: Optional[StrictStr] = 'aes-256-gcm' - key_encoding: Optional[StrictStr] = Field(default='utf8', alias="keyEncoding") - metadata: Optional[Any] = None - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - folder_id: StrictStr = Field(default=..., alias="folderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - id: StrictStr = Field(default=..., alias="_id") - workspace: StrictStr = Field(...) - environment: StrictStr = Field(...) - __properties = ["id", "version", "type", "secretKeyCiphertext", "secretKeyIV", "secretKeyTag", "secretValueCiphertext", "secretValueIV", "secretValueTag", "secretCommentCiphertext", "secretCommentIV", "secretCommentTag", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "algorithm", "keyEncoding", "metadata", "userId", "folderId", "createdAt", "updatedAt", "_id", "workspace", "environment"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsGet200ResponseImportsInnerSecretsInner: - """Create an instance of ApiV3SecretsGet200ResponseImportsInnerSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_comment_ciphertext (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_ciphertext is None and "secret_comment_ciphertext" in self.__fields_set__: - _dict['secretCommentCiphertext'] = None - - # set to None if secret_comment_iv (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_iv is None and "secret_comment_iv" in self.__fields_set__: - _dict['secretCommentIV'] = None - - # set to None if secret_comment_tag (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_tag is None and "secret_comment_tag" in self.__fields_set__: - _dict['secretCommentTag'] = None - - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsGet200ResponseImportsInnerSecretsInner: - """Create an instance of ApiV3SecretsGet200ResponseImportsInnerSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsGet200ResponseImportsInnerSecretsInner.parse_obj(obj) - - _obj = ApiV3SecretsGet200ResponseImportsInnerSecretsInner.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version") if obj.get("version") is not None else 1, - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_key_ciphertext": obj.get("secretKeyCiphertext"), - "secret_key_iv": obj.get("secretKeyIV"), - "secret_key_tag": obj.get("secretKeyTag"), - "secret_value_ciphertext": obj.get("secretValueCiphertext"), - "secret_value_iv": obj.get("secretValueIV"), - "secret_value_tag": obj.get("secretValueTag"), - "secret_comment_ciphertext": obj.get("secretCommentCiphertext"), - "secret_comment_iv": obj.get("secretCommentIV"), - "secret_comment_tag": obj.get("secretCommentTag"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "algorithm": obj.get("algorithm") if obj.get("algorithm") is not None else 'aes-256-gcm', - "key_encoding": obj.get("keyEncoding") if obj.get("keyEncoding") is not None else 'utf8', - "metadata": obj.get("metadata"), - "user_id": obj.get("userId"), - "folder_id": obj.get("folderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "id": obj.get("_id"), - "workspace": obj.get("workspace"), - "environment": obj.get("environment") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_get200_response_secrets_inner.py b/infisicalapi_client/models/api_v3_secrets_get200_response_secrets_inner.py deleted file mode 100644 index eb75e62..0000000 --- a/infisicalapi_client/models/api_v3_secrets_get200_response_secrets_inner.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner import ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner - -class ApiV3SecretsGet200ResponseSecretsInner(BaseModel): - """ - ApiV3SecretsGet200ResponseSecretsInner - """ - id: StrictStr = Field(...) - version: Optional[Union[StrictFloat, StrictInt]] = 1 - type: Optional[StrictStr] = 'shared' - secret_key_ciphertext: StrictStr = Field(default=..., alias="secretKeyCiphertext") - secret_key_iv: StrictStr = Field(default=..., alias="secretKeyIV") - secret_key_tag: StrictStr = Field(default=..., alias="secretKeyTag") - secret_value_ciphertext: StrictStr = Field(default=..., alias="secretValueCiphertext") - secret_value_iv: StrictStr = Field(default=..., alias="secretValueIV") - secret_value_tag: StrictStr = Field(default=..., alias="secretValueTag") - secret_comment_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretCommentCiphertext") - secret_comment_iv: Optional[StrictStr] = Field(default=None, alias="secretCommentIV") - secret_comment_tag: Optional[StrictStr] = Field(default=None, alias="secretCommentTag") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - algorithm: Optional[StrictStr] = 'aes-256-gcm' - key_encoding: Optional[StrictStr] = Field(default='utf8', alias="keyEncoding") - metadata: Optional[Any] = None - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - folder_id: StrictStr = Field(default=..., alias="folderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - id: StrictStr = Field(default=..., alias="_id") - workspace: StrictStr = Field(...) - environment: StrictStr = Field(...) - secret_path: Optional[StrictStr] = Field(default=None, alias="secretPath") - tags: conlist(ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner) = Field(...) - __properties = ["id", "version", "type", "secretKeyCiphertext", "secretKeyIV", "secretKeyTag", "secretValueCiphertext", "secretValueIV", "secretValueTag", "secretCommentCiphertext", "secretCommentIV", "secretCommentTag", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "algorithm", "keyEncoding", "metadata", "userId", "folderId", "createdAt", "updatedAt", "_id", "workspace", "environment", "secretPath", "tags"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsGet200ResponseSecretsInner: - """Create an instance of ApiV3SecretsGet200ResponseSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item in self.tags: - if _item: - _items.append(_item.to_dict()) - _dict['tags'] = _items - # set to None if secret_comment_ciphertext (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_ciphertext is None and "secret_comment_ciphertext" in self.__fields_set__: - _dict['secretCommentCiphertext'] = None - - # set to None if secret_comment_iv (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_iv is None and "secret_comment_iv" in self.__fields_set__: - _dict['secretCommentIV'] = None - - # set to None if secret_comment_tag (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_tag is None and "secret_comment_tag" in self.__fields_set__: - _dict['secretCommentTag'] = None - - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsGet200ResponseSecretsInner: - """Create an instance of ApiV3SecretsGet200ResponseSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsGet200ResponseSecretsInner.parse_obj(obj) - - _obj = ApiV3SecretsGet200ResponseSecretsInner.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version") if obj.get("version") is not None else 1, - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_key_ciphertext": obj.get("secretKeyCiphertext"), - "secret_key_iv": obj.get("secretKeyIV"), - "secret_key_tag": obj.get("secretKeyTag"), - "secret_value_ciphertext": obj.get("secretValueCiphertext"), - "secret_value_iv": obj.get("secretValueIV"), - "secret_value_tag": obj.get("secretValueTag"), - "secret_comment_ciphertext": obj.get("secretCommentCiphertext"), - "secret_comment_iv": obj.get("secretCommentIV"), - "secret_comment_tag": obj.get("secretCommentTag"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "algorithm": obj.get("algorithm") if obj.get("algorithm") is not None else 'aes-256-gcm', - "key_encoding": obj.get("keyEncoding") if obj.get("keyEncoding") is not None else 'utf8', - "metadata": obj.get("metadata"), - "user_id": obj.get("userId"), - "folder_id": obj.get("folderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "id": obj.get("_id"), - "workspace": obj.get("workspace"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath"), - "tags": [ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.from_dict(_item) for _item in obj.get("tags")] if obj.get("tags") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_move_post200_response.py b/infisicalapi_client/models/api_v3_secrets_move_post200_response.py deleted file mode 100644 index a243a97..0000000 --- a/infisicalapi_client/models/api_v3_secrets_move_post200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictBool - -class ApiV3SecretsMovePost200Response(BaseModel): - """ - ApiV3SecretsMovePost200Response - """ - is_source_updated: StrictBool = Field(default=..., alias="isSourceUpdated") - is_destination_updated: StrictBool = Field(default=..., alias="isDestinationUpdated") - __properties = ["isSourceUpdated", "isDestinationUpdated"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsMovePost200Response: - """Create an instance of ApiV3SecretsMovePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsMovePost200Response: - """Create an instance of ApiV3SecretsMovePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsMovePost200Response.parse_obj(obj) - - _obj = ApiV3SecretsMovePost200Response.parse_obj({ - "is_source_updated": obj.get("isSourceUpdated"), - "is_destination_updated": obj.get("isDestinationUpdated") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_move_post_request.py b/infisicalapi_client/models/api_v3_secrets_move_post_request.py deleted file mode 100644 index c846cf3..0000000 --- a/infisicalapi_client/models/api_v3_secrets_move_post_request.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist - -class ApiV3SecretsMovePostRequest(BaseModel): - """ - ApiV3SecretsMovePostRequest - """ - project_slug: StrictStr = Field(default=..., alias="projectSlug") - source_environment: StrictStr = Field(default=..., alias="sourceEnvironment") - source_secret_path: Optional[StrictStr] = Field(default='/', alias="sourceSecretPath") - destination_environment: StrictStr = Field(default=..., alias="destinationEnvironment") - destination_secret_path: Optional[StrictStr] = Field(default='/', alias="destinationSecretPath") - secret_ids: conlist(StrictStr) = Field(default=..., alias="secretIds") - should_overwrite: Optional[StrictBool] = Field(default=False, alias="shouldOverwrite") - __properties = ["projectSlug", "sourceEnvironment", "sourceSecretPath", "destinationEnvironment", "destinationSecretPath", "secretIds", "shouldOverwrite"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsMovePostRequest: - """Create an instance of ApiV3SecretsMovePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsMovePostRequest: - """Create an instance of ApiV3SecretsMovePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsMovePostRequest.parse_obj(obj) - - _obj = ApiV3SecretsMovePostRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "source_environment": obj.get("sourceEnvironment"), - "source_secret_path": obj.get("sourceSecretPath") if obj.get("sourceSecretPath") is not None else '/', - "destination_environment": obj.get("destinationEnvironment"), - "destination_secret_path": obj.get("destinationSecretPath") if obj.get("destinationSecretPath") is not None else '/', - "secret_ids": obj.get("secretIds"), - "should_overwrite": obj.get("shouldOverwrite") if obj.get("shouldOverwrite") is not None else False - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_get200_response.py b/infisicalapi_client/models/api_v3_secrets_raw_get200_response.py deleted file mode 100644 index c88fa37..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_get200_response.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_imports_inner import ApiV3SecretsRawGet200ResponseImportsInner -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_secrets_inner import ApiV3SecretsRawGet200ResponseSecretsInner - -class ApiV3SecretsRawGet200Response(BaseModel): - """ - ApiV3SecretsRawGet200Response - """ - secrets: conlist(ApiV3SecretsRawGet200ResponseSecretsInner) = Field(...) - imports: Optional[conlist(ApiV3SecretsRawGet200ResponseImportsInner)] = None - __properties = ["secrets", "imports"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawGet200Response: - """Create an instance of ApiV3SecretsRawGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in imports (list) - _items = [] - if self.imports: - for _item in self.imports: - if _item: - _items.append(_item.to_dict()) - _dict['imports'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawGet200Response: - """Create an instance of ApiV3SecretsRawGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawGet200Response.parse_obj(obj) - - _obj = ApiV3SecretsRawGet200Response.parse_obj({ - "secrets": [ApiV3SecretsRawGet200ResponseSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None, - "imports": [ApiV3SecretsRawGet200ResponseImportsInner.from_dict(_item) for _item in obj.get("imports")] if obj.get("imports") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_get200_response_imports_inner.py b/infisicalapi_client/models/api_v3_secrets_raw_get200_response_imports_inner.py deleted file mode 100644 index ce3f8bd..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_get200_response_imports_inner.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_imports_inner_secrets_inner import ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner - -class ApiV3SecretsRawGet200ResponseImportsInner(BaseModel): - """ - ApiV3SecretsRawGet200ResponseImportsInner - """ - secret_path: StrictStr = Field(default=..., alias="secretPath") - environment: StrictStr = Field(...) - folder_id: Optional[StrictStr] = Field(default=None, alias="folderId") - secrets: conlist(ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner) = Field(...) - __properties = ["secretPath", "environment", "folderId", "secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawGet200ResponseImportsInner: - """Create an instance of ApiV3SecretsRawGet200ResponseImportsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawGet200ResponseImportsInner: - """Create an instance of ApiV3SecretsRawGet200ResponseImportsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawGet200ResponseImportsInner.parse_obj(obj) - - _obj = ApiV3SecretsRawGet200ResponseImportsInner.parse_obj({ - "secret_path": obj.get("secretPath"), - "environment": obj.get("environment"), - "folder_id": obj.get("folderId"), - "secrets": [ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_get200_response_imports_inner_secrets_inner.py b/infisicalapi_client/models/api_v3_secrets_raw_get200_response_imports_inner_secrets_inner.py deleted file mode 100644 index e94af39..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_get200_response_imports_inner_secrets_inner.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner(BaseModel): - """ - ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner - """ - id: StrictStr = Field(...) - id: StrictStr = Field(default=..., alias="_id") - workspace: StrictStr = Field(...) - environment: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - type: StrictStr = Field(...) - secret_key: StrictStr = Field(default=..., alias="secretKey") - secret_value: StrictStr = Field(default=..., alias="secretValue") - secret_comment: StrictStr = Field(default=..., alias="secretComment") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - metadata: Optional[Any] = None - __properties = ["id", "_id", "workspace", "environment", "version", "type", "secretKey", "secretValue", "secretComment", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "metadata"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner: - """Create an instance of ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner: - """Create an instance of ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.parse_obj(obj) - - _obj = ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner.parse_obj({ - "id": obj.get("id"), - "id": obj.get("_id"), - "workspace": obj.get("workspace"), - "environment": obj.get("environment"), - "version": obj.get("version"), - "type": obj.get("type"), - "secret_key": obj.get("secretKey"), - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "metadata": obj.get("metadata") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_get200_response_secrets_inner.py b/infisicalapi_client/models/api_v3_secrets_raw_get200_response_secrets_inner.py deleted file mode 100644 index 5ead25b..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_get200_response_secrets_inner.py +++ /dev/null @@ -1,131 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner import ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner - -class ApiV3SecretsRawGet200ResponseSecretsInner(BaseModel): - """ - ApiV3SecretsRawGet200ResponseSecretsInner - """ - id: StrictStr = Field(...) - id: StrictStr = Field(default=..., alias="_id") - workspace: StrictStr = Field(...) - environment: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - type: StrictStr = Field(...) - secret_key: StrictStr = Field(default=..., alias="secretKey") - secret_value: StrictStr = Field(default=..., alias="secretValue") - secret_comment: StrictStr = Field(default=..., alias="secretComment") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - metadata: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - secret_path: Optional[StrictStr] = Field(default=None, alias="secretPath") - tags: Optional[conlist(ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner)] = None - __properties = ["id", "_id", "workspace", "environment", "version", "type", "secretKey", "secretValue", "secretComment", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "metadata", "createdAt", "updatedAt", "secretPath", "tags"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawGet200ResponseSecretsInner: - """Create an instance of ApiV3SecretsRawGet200ResponseSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item in self.tags: - if _item: - _items.append(_item.to_dict()) - _dict['tags'] = _items - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawGet200ResponseSecretsInner: - """Create an instance of ApiV3SecretsRawGet200ResponseSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawGet200ResponseSecretsInner.parse_obj(obj) - - _obj = ApiV3SecretsRawGet200ResponseSecretsInner.parse_obj({ - "id": obj.get("id"), - "id": obj.get("_id"), - "workspace": obj.get("workspace"), - "environment": obj.get("environment"), - "version": obj.get("version"), - "type": obj.get("type"), - "secret_key": obj.get("secretKey"), - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "metadata": obj.get("metadata"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "secret_path": obj.get("secretPath"), - "tags": [ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.from_dict(_item) for _item in obj.get("tags")] if obj.get("tags") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_delete_request.py b/infisicalapi_client/models/api_v3_secrets_raw_secret_name_delete_request.py deleted file mode 100644 index 3f736f8..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_delete_request.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV3SecretsRawSecretNameDeleteRequest(BaseModel): - """ - ApiV3SecretsRawSecretNameDeleteRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project where the secret is located.") - environment: StrictStr = Field(default=..., description="The slug of the environment where the secret is located.") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath", description="The path of the secret.") - type: Optional[StrictStr] = Field(default='shared', description="The type of the secret to delete.") - __properties = ["workspaceId", "environment", "secretPath", "type"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawSecretNameDeleteRequest: - """Create an instance of ApiV3SecretsRawSecretNameDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawSecretNameDeleteRequest: - """Create an instance of ApiV3SecretsRawSecretNameDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawSecretNameDeleteRequest.parse_obj(obj) - - _obj = ApiV3SecretsRawSecretNameDeleteRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "type": obj.get("type") if obj.get("type") is not None else 'shared' - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_get200_response.py b/infisicalapi_client/models/api_v3_secrets_raw_secret_name_get200_response.py deleted file mode 100644 index 6aec46a..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response_secret import ApiV3SecretsRawSecretNameGet200ResponseSecret - -class ApiV3SecretsRawSecretNameGet200Response(BaseModel): - """ - ApiV3SecretsRawSecretNameGet200Response - """ - secret: ApiV3SecretsRawSecretNameGet200ResponseSecret = Field(...) - __properties = ["secret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawSecretNameGet200Response: - """Create an instance of ApiV3SecretsRawSecretNameGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret - if self.secret: - _dict['secret'] = self.secret.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawSecretNameGet200Response: - """Create an instance of ApiV3SecretsRawSecretNameGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawSecretNameGet200Response.parse_obj(obj) - - _obj = ApiV3SecretsRawSecretNameGet200Response.parse_obj({ - "secret": ApiV3SecretsRawSecretNameGet200ResponseSecret.from_dict(obj.get("secret")) if obj.get("secret") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_get200_response_secret.py b/infisicalapi_client/models/api_v3_secrets_raw_secret_name_get200_response_secret.py deleted file mode 100644 index 4e8aabc..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_get200_response_secret.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner import ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner - -class ApiV3SecretsRawSecretNameGet200ResponseSecret(BaseModel): - """ - ApiV3SecretsRawSecretNameGet200ResponseSecret - """ - id: StrictStr = Field(...) - id: StrictStr = Field(default=..., alias="_id") - workspace: StrictStr = Field(...) - environment: StrictStr = Field(...) - version: Union[StrictFloat, StrictInt] = Field(...) - type: StrictStr = Field(...) - secret_key: StrictStr = Field(default=..., alias="secretKey") - secret_value: StrictStr = Field(default=..., alias="secretValue") - secret_comment: StrictStr = Field(default=..., alias="secretComment") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - metadata: Optional[Any] = None - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - tags: Optional[conlist(ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner)] = None - __properties = ["id", "_id", "workspace", "environment", "version", "type", "secretKey", "secretValue", "secretComment", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "metadata", "createdAt", "updatedAt", "tags"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawSecretNameGet200ResponseSecret: - """Create an instance of ApiV3SecretsRawSecretNameGet200ResponseSecret from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item in self.tags: - if _item: - _items.append(_item.to_dict()) - _dict['tags'] = _items - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawSecretNameGet200ResponseSecret: - """Create an instance of ApiV3SecretsRawSecretNameGet200ResponseSecret from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawSecretNameGet200ResponseSecret.parse_obj(obj) - - _obj = ApiV3SecretsRawSecretNameGet200ResponseSecret.parse_obj({ - "id": obj.get("id"), - "id": obj.get("_id"), - "workspace": obj.get("workspace"), - "environment": obj.get("environment"), - "version": obj.get("version"), - "type": obj.get("type"), - "secret_key": obj.get("secretKey"), - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "metadata": obj.get("metadata"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "tags": [ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.from_dict(_item) for _item in obj.get("tags")] if obj.get("tags") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_patch_request.py b/infisicalapi_client/models/api_v3_secrets_raw_secret_name_patch_request.py deleted file mode 100644 index 787b236..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_patch_request.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Dict, List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist, constr, validator - -class ApiV3SecretsRawSecretNamePatchRequest(BaseModel): - """ - ApiV3SecretsRawSecretNamePatchRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project to update the secret in.") - environment: StrictStr = Field(default=..., description="The slug of the environment where the secret is located.") - secret_value: StrictStr = Field(default=..., alias="secretValue", description="The new value of the secret.") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath", description="The path of the secret to update") - skip_multiline_encoding: Optional[StrictBool] = Field(default=None, alias="skipMultilineEncoding", description="Skip multiline encoding for the secret value.") - type: Optional[StrictStr] = Field(default='shared', description="The type of the secret to update.") - tag_ids: Optional[conlist(StrictStr)] = Field(default=None, alias="tagIds", description="The ID of the tags to be attached to the updated secret.") - metadata: Optional[Dict[str, StrictStr]] = None - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote", description="Note to be attached in notification email") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays", description="Interval for secret rotation notifications, measured in days") - new_secret_name: Optional[constr(strict=True, min_length=1)] = Field(default=None, alias="newSecretName", description="The new name for the secret") - secret_comment: Optional[StrictStr] = Field(default=None, alias="secretComment", description="Update comment to the secret.") - __properties = ["workspaceId", "environment", "secretValue", "secretPath", "skipMultilineEncoding", "type", "tagIds", "metadata", "secretReminderNote", "secretReminderRepeatDays", "newSecretName", "secretComment"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawSecretNamePatchRequest: - """Create an instance of ApiV3SecretsRawSecretNamePatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawSecretNamePatchRequest: - """Create an instance of ApiV3SecretsRawSecretNamePatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawSecretNamePatchRequest.parse_obj(obj) - - _obj = ApiV3SecretsRawSecretNamePatchRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "secret_value": obj.get("secretValue"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "skip_multiline_encoding": obj.get("skipMultilineEncoding"), - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "tag_ids": obj.get("tagIds"), - "metadata": obj.get("metadata"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "new_secret_name": obj.get("newSecretName"), - "secret_comment": obj.get("secretComment") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response.py b/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response.py deleted file mode 100644 index a5e4d0f..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of import ApiV3SecretsRawSecretNamePost200ResponseAnyOf -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of1 import ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV3SECRETSRAWSECRETNAMEPOST200RESPONSE_ANY_OF_SCHEMAS = ["ApiV3SecretsRawSecretNamePost200ResponseAnyOf", "ApiV3SecretsRawSecretNamePost200ResponseAnyOf1"] - -class ApiV3SecretsRawSecretNamePost200Response(BaseModel): - """ - ApiV3SecretsRawSecretNamePost200Response - """ - - # data type: ApiV3SecretsRawSecretNamePost200ResponseAnyOf - anyof_schema_1_validator: Optional[ApiV3SecretsRawSecretNamePost200ResponseAnyOf] = None - # data type: ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - anyof_schema_2_validator: Optional[ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV3SecretsRawSecretNamePost200ResponseAnyOf, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV3SECRETSRAWSECRETNAMEPOST200RESPONSE_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV3SecretsRawSecretNamePost200Response.construct() - error_messages = [] - # validate data type: ApiV3SecretsRawSecretNamePost200ResponseAnyOf - if not isinstance(v, ApiV3SecretsRawSecretNamePost200ResponseAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV3SecretsRawSecretNamePost200ResponseAnyOf`") - else: - return v - - # validate data type: ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - if not isinstance(v, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV3SecretsRawSecretNamePost200ResponseAnyOf1`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV3SecretsRawSecretNamePost200Response with anyOf schemas: ApiV3SecretsRawSecretNamePost200ResponseAnyOf, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawSecretNamePost200Response: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawSecretNamePost200Response: - """Returns the object represented by the json string""" - instance = ApiV3SecretsRawSecretNamePost200Response.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV3SecretsRawSecretNamePost200ResponseAnyOf] = None - try: - instance.actual_instance = ApiV3SecretsRawSecretNamePost200ResponseAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] = None - try: - instance.actual_instance = ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV3SecretsRawSecretNamePost200Response with anyOf schemas: ApiV3SecretsRawSecretNamePost200ResponseAnyOf, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response_any_of.py b/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response_any_of.py deleted file mode 100644 index 66515cb..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response_any_of.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner import ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner - -class ApiV3SecretsRawSecretNamePost200ResponseAnyOf(BaseModel): - """ - ApiV3SecretsRawSecretNamePost200ResponseAnyOf - """ - secret: ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner = Field(...) - __properties = ["secret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawSecretNamePost200ResponseAnyOf: - """Create an instance of ApiV3SecretsRawSecretNamePost200ResponseAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret - if self.secret: - _dict['secret'] = self.secret.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawSecretNamePost200ResponseAnyOf: - """Create an instance of ApiV3SecretsRawSecretNamePost200ResponseAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawSecretNamePost200ResponseAnyOf.parse_obj(obj) - - _obj = ApiV3SecretsRawSecretNamePost200ResponseAnyOf.parse_obj({ - "secret": ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner.from_dict(obj.get("secret")) if obj.get("secret") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response_any_of1.py b/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response_any_of1.py deleted file mode 100644 index fbb2cda..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response_any_of1.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response_approval import ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval - -class ApiV3SecretsRawSecretNamePost200ResponseAnyOf1(BaseModel): - """ - When secret protection policy is enabled # noqa: E501 - """ - approval: ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval = Field(...) - __properties = ["approval"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawSecretNamePost200ResponseAnyOf1: - """Create an instance of ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of approval - if self.approval: - _dict['approval'] = self.approval.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawSecretNamePost200ResponseAnyOf1: - """Create an instance of ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.parse_obj(obj) - - _obj = ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.parse_obj({ - "approval": ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval.from_dict(obj.get("approval")) if obj.get("approval") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post_request.py b/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post_request.py deleted file mode 100644 index 78cefec..0000000 --- a/infisicalapi_client/models/api_v3_secrets_raw_secret_name_post_request.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist, validator - -class ApiV3SecretsRawSecretNamePostRequest(BaseModel): - """ - ApiV3SecretsRawSecretNamePostRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId", description="The ID of the project to create the secret in.") - environment: StrictStr = Field(default=..., description="The slug of the environment to create the secret in.") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath", description="The path to create the secret in.") - secret_value: StrictStr = Field(default=..., alias="secretValue", description="The value of the secret to create.") - secret_comment: Optional[StrictStr] = Field(default='', alias="secretComment", description="Attach a comment to the secret.") - tag_ids: Optional[conlist(StrictStr)] = Field(default=None, alias="tagIds", description="The ID of the tags to be attached to the created secret.") - skip_multiline_encoding: Optional[StrictBool] = Field(default=None, alias="skipMultilineEncoding", description="Skip multiline encoding for the secret value.") - type: Optional[StrictStr] = Field(default='shared', description="The type of the secret to create.") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays", description="Interval for secret rotation notifications, measured in days") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote", description="Note to be attached in notification email") - __properties = ["workspaceId", "environment", "secretPath", "secretValue", "secretComment", "tagIds", "skipMultilineEncoding", "type", "secretReminderRepeatDays", "secretReminderNote"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsRawSecretNamePostRequest: - """Create an instance of ApiV3SecretsRawSecretNamePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsRawSecretNamePostRequest: - """Create an instance of ApiV3SecretsRawSecretNamePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsRawSecretNamePostRequest.parse_obj(obj) - - _obj = ApiV3SecretsRawSecretNamePostRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "secret_value": obj.get("secretValue"), - "secret_comment": obj.get("secretComment") if obj.get("secretComment") is not None else '', - "tag_ids": obj.get("tagIds"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding"), - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "secret_reminder_note": obj.get("secretReminderNote") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_secret_name_delete_request.py b/infisicalapi_client/models/api_v3_secrets_secret_name_delete_request.py deleted file mode 100644 index 6dae366..0000000 --- a/infisicalapi_client/models/api_v3_secrets_secret_name_delete_request.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, validator - -class ApiV3SecretsSecretNameDeleteRequest(BaseModel): - """ - ApiV3SecretsSecretNameDeleteRequest - """ - type: Optional[StrictStr] = 'shared' - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - secret_id: Optional[StrictStr] = Field(default=None, alias="secretId") - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - environment: StrictStr = Field(...) - __properties = ["type", "secretPath", "secretId", "workspaceId", "environment"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsSecretNameDeleteRequest: - """Create an instance of ApiV3SecretsSecretNameDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsSecretNameDeleteRequest: - """Create an instance of ApiV3SecretsSecretNameDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsSecretNameDeleteRequest.parse_obj(obj) - - _obj = ApiV3SecretsSecretNameDeleteRequest.parse_obj({ - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "secret_id": obj.get("secretId"), - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_secret_name_get200_response.py b/infisicalapi_client/models/api_v3_secrets_secret_name_get200_response.py deleted file mode 100644 index 46ddda5..0000000 --- a/infisicalapi_client/models/api_v3_secrets_secret_name_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response_secret import ApiV3SecretsSecretNameGet200ResponseSecret - -class ApiV3SecretsSecretNameGet200Response(BaseModel): - """ - ApiV3SecretsSecretNameGet200Response - """ - secret: ApiV3SecretsSecretNameGet200ResponseSecret = Field(...) - __properties = ["secret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsSecretNameGet200Response: - """Create an instance of ApiV3SecretsSecretNameGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret - if self.secret: - _dict['secret'] = self.secret.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsSecretNameGet200Response: - """Create an instance of ApiV3SecretsSecretNameGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsSecretNameGet200Response.parse_obj(obj) - - _obj = ApiV3SecretsSecretNameGet200Response.parse_obj({ - "secret": ApiV3SecretsSecretNameGet200ResponseSecret.from_dict(obj.get("secret")) if obj.get("secret") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_secret_name_get200_response_secret.py b/infisicalapi_client/models/api_v3_secrets_secret_name_get200_response_secret.py deleted file mode 100644 index 3937b6e..0000000 --- a/infisicalapi_client/models/api_v3_secrets_secret_name_get200_response_secret.py +++ /dev/null @@ -1,157 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV3SecretsSecretNameGet200ResponseSecret(BaseModel): - """ - ApiV3SecretsSecretNameGet200ResponseSecret - """ - id: StrictStr = Field(...) - version: Optional[Union[StrictFloat, StrictInt]] = 1 - type: Optional[StrictStr] = 'shared' - secret_key_ciphertext: StrictStr = Field(default=..., alias="secretKeyCiphertext") - secret_key_iv: StrictStr = Field(default=..., alias="secretKeyIV") - secret_key_tag: StrictStr = Field(default=..., alias="secretKeyTag") - secret_value_ciphertext: StrictStr = Field(default=..., alias="secretValueCiphertext") - secret_value_iv: StrictStr = Field(default=..., alias="secretValueIV") - secret_value_tag: StrictStr = Field(default=..., alias="secretValueTag") - secret_comment_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretCommentCiphertext") - secret_comment_iv: Optional[StrictStr] = Field(default=None, alias="secretCommentIV") - secret_comment_tag: Optional[StrictStr] = Field(default=None, alias="secretCommentTag") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - algorithm: Optional[StrictStr] = 'aes-256-gcm' - key_encoding: Optional[StrictStr] = Field(default='utf8', alias="keyEncoding") - metadata: Optional[Any] = None - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - folder_id: StrictStr = Field(default=..., alias="folderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - workspace: StrictStr = Field(...) - environment: StrictStr = Field(...) - __properties = ["id", "version", "type", "secretKeyCiphertext", "secretKeyIV", "secretKeyTag", "secretValueCiphertext", "secretValueIV", "secretValueTag", "secretCommentCiphertext", "secretCommentIV", "secretCommentTag", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "algorithm", "keyEncoding", "metadata", "userId", "folderId", "createdAt", "updatedAt", "workspace", "environment"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsSecretNameGet200ResponseSecret: - """Create an instance of ApiV3SecretsSecretNameGet200ResponseSecret from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_comment_ciphertext (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_ciphertext is None and "secret_comment_ciphertext" in self.__fields_set__: - _dict['secretCommentCiphertext'] = None - - # set to None if secret_comment_iv (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_iv is None and "secret_comment_iv" in self.__fields_set__: - _dict['secretCommentIV'] = None - - # set to None if secret_comment_tag (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_tag is None and "secret_comment_tag" in self.__fields_set__: - _dict['secretCommentTag'] = None - - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsSecretNameGet200ResponseSecret: - """Create an instance of ApiV3SecretsSecretNameGet200ResponseSecret from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsSecretNameGet200ResponseSecret.parse_obj(obj) - - _obj = ApiV3SecretsSecretNameGet200ResponseSecret.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version") if obj.get("version") is not None else 1, - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_key_ciphertext": obj.get("secretKeyCiphertext"), - "secret_key_iv": obj.get("secretKeyIV"), - "secret_key_tag": obj.get("secretKeyTag"), - "secret_value_ciphertext": obj.get("secretValueCiphertext"), - "secret_value_iv": obj.get("secretValueIV"), - "secret_value_tag": obj.get("secretValueTag"), - "secret_comment_ciphertext": obj.get("secretCommentCiphertext"), - "secret_comment_iv": obj.get("secretCommentIV"), - "secret_comment_tag": obj.get("secretCommentTag"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "algorithm": obj.get("algorithm") if obj.get("algorithm") is not None else 'aes-256-gcm', - "key_encoding": obj.get("keyEncoding") if obj.get("keyEncoding") is not None else 'utf8', - "metadata": obj.get("metadata"), - "user_id": obj.get("userId"), - "folder_id": obj.get("folderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "workspace": obj.get("workspace"), - "environment": obj.get("environment") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_secret_name_patch_request.py b/infisicalapi_client/models/api_v3_secrets_secret_name_patch_request.py deleted file mode 100644 index 80b5953..0000000 --- a/infisicalapi_client/models/api_v3_secrets_secret_name_patch_request.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Dict, List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictStr, confloat, conint, conlist, validator - -class ApiV3SecretsSecretNamePatchRequest(BaseModel): - """ - ApiV3SecretsSecretNamePatchRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - environment: StrictStr = Field(...) - secret_id: Optional[StrictStr] = Field(default=None, alias="secretId") - type: Optional[StrictStr] = 'shared' - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - secret_value_ciphertext: StrictStr = Field(default=..., alias="secretValueCiphertext") - secret_value_iv: StrictStr = Field(default=..., alias="secretValueIV") - secret_value_tag: StrictStr = Field(default=..., alias="secretValueTag") - secret_comment_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretCommentCiphertext") - secret_comment_iv: Optional[StrictStr] = Field(default=None, alias="secretCommentIV") - secret_comment_tag: Optional[StrictStr] = Field(default=None, alias="secretCommentTag") - secret_reminder_repeat_days: Optional[Union[confloat(le=365, ge=1, strict=True), conint(le=365, ge=1, strict=True)]] = Field(default=None, alias="secretReminderRepeatDays") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - tags: Optional[conlist(StrictStr)] = None - skip_multiline_encoding: Optional[StrictBool] = Field(default=None, alias="skipMultilineEncoding") - secret_name: Optional[StrictStr] = Field(default=None, alias="secretName") - secret_key_iv: Optional[StrictStr] = Field(default=None, alias="secretKeyIV") - secret_key_tag: Optional[StrictStr] = Field(default=None, alias="secretKeyTag") - secret_key_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretKeyCiphertext") - metadata: Optional[Dict[str, StrictStr]] = None - __properties = ["workspaceId", "environment", "secretId", "type", "secretPath", "secretValueCiphertext", "secretValueIV", "secretValueTag", "secretCommentCiphertext", "secretCommentIV", "secretCommentTag", "secretReminderRepeatDays", "secretReminderNote", "tags", "skipMultilineEncoding", "secretName", "secretKeyIV", "secretKeyTag", "secretKeyCiphertext", "metadata"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsSecretNamePatchRequest: - """Create an instance of ApiV3SecretsSecretNamePatchRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsSecretNamePatchRequest: - """Create an instance of ApiV3SecretsSecretNamePatchRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsSecretNamePatchRequest.parse_obj(obj) - - _obj = ApiV3SecretsSecretNamePatchRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "secret_id": obj.get("secretId"), - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "secret_value_ciphertext": obj.get("secretValueCiphertext"), - "secret_value_iv": obj.get("secretValueIV"), - "secret_value_tag": obj.get("secretValueTag"), - "secret_comment_ciphertext": obj.get("secretCommentCiphertext"), - "secret_comment_iv": obj.get("secretCommentIV"), - "secret_comment_tag": obj.get("secretCommentTag"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "secret_reminder_note": obj.get("secretReminderNote"), - "tags": obj.get("tags"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding"), - "secret_name": obj.get("secretName"), - "secret_key_iv": obj.get("secretKeyIV"), - "secret_key_tag": obj.get("secretKeyTag"), - "secret_key_ciphertext": obj.get("secretKeyCiphertext"), - "metadata": obj.get("metadata") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_secret_name_post200_response.py b/infisicalapi_client/models/api_v3_secrets_secret_name_post200_response.py deleted file mode 100644 index 550d765..0000000 --- a/infisicalapi_client/models/api_v3_secrets_secret_name_post200_response.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -from inspect import getfullargspec -import json -import pprint -import re # noqa: F401 - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of1 import ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response_any_of import ApiV3SecretsSecretNamePost200ResponseAnyOf -from typing import Union, Any, List, TYPE_CHECKING -from pydantic import StrictStr, Field - -APIV3SECRETSSECRETNAMEPOST200RESPONSE_ANY_OF_SCHEMAS = ["ApiV3SecretsRawSecretNamePost200ResponseAnyOf1", "ApiV3SecretsSecretNamePost200ResponseAnyOf"] - -class ApiV3SecretsSecretNamePost200Response(BaseModel): - """ - ApiV3SecretsSecretNamePost200Response - """ - - # data type: ApiV3SecretsSecretNamePost200ResponseAnyOf - anyof_schema_1_validator: Optional[ApiV3SecretsSecretNamePost200ResponseAnyOf] = None - # data type: ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - anyof_schema_2_validator: Optional[ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] = None - if TYPE_CHECKING: - actual_instance: Union[ApiV3SecretsRawSecretNamePost200ResponseAnyOf1, ApiV3SecretsSecretNamePost200ResponseAnyOf] - else: - actual_instance: Any - any_of_schemas: List[str] = Field(APIV3SECRETSSECRETNAMEPOST200RESPONSE_ANY_OF_SCHEMAS, const=True) - - class Config: - validate_assignment = True - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @validator('actual_instance') - def actual_instance_must_validate_anyof(cls, v): - instance = ApiV3SecretsSecretNamePost200Response.construct() - error_messages = [] - # validate data type: ApiV3SecretsSecretNamePost200ResponseAnyOf - if not isinstance(v, ApiV3SecretsSecretNamePost200ResponseAnyOf): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV3SecretsSecretNamePost200ResponseAnyOf`") - else: - return v - - # validate data type: ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - if not isinstance(v, ApiV3SecretsRawSecretNamePost200ResponseAnyOf1): - error_messages.append(f"Error! Input type `{type(v)}` is not `ApiV3SecretsRawSecretNamePost200ResponseAnyOf1`") - else: - return v - - if error_messages: - # no match - raise ValueError("No match found when setting the actual_instance in ApiV3SecretsSecretNamePost200Response with anyOf schemas: ApiV3SecretsRawSecretNamePost200ResponseAnyOf1, ApiV3SecretsSecretNamePost200ResponseAnyOf. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsSecretNamePost200Response: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsSecretNamePost200Response: - """Returns the object represented by the json string""" - instance = ApiV3SecretsSecretNamePost200Response.construct() - error_messages = [] - # anyof_schema_1_validator: Optional[ApiV3SecretsSecretNamePost200ResponseAnyOf] = None - try: - instance.actual_instance = ApiV3SecretsSecretNamePost200ResponseAnyOf.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # anyof_schema_2_validator: Optional[ApiV3SecretsRawSecretNamePost200ResponseAnyOf1] = None - try: - instance.actual_instance = ApiV3SecretsRawSecretNamePost200ResponseAnyOf1.from_json(json_str) - return instance - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if error_messages: - # no match - raise ValueError("No match found when deserializing the JSON string into ApiV3SecretsSecretNamePost200Response with anyOf schemas: ApiV3SecretsRawSecretNamePost200ResponseAnyOf1, ApiV3SecretsSecretNamePost200ResponseAnyOf. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> dict: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return "null" - - to_json = getattr(self.actual_instance, "to_json", None) - if callable(to_json): - return self.actual_instance.to_dict() - else: - return json.dumps(self.actual_instance) - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.dict()) - - diff --git a/infisicalapi_client/models/api_v3_secrets_secret_name_post200_response_any_of.py b/infisicalapi_client/models/api_v3_secrets_secret_name_post200_response_any_of.py deleted file mode 100644 index a76e58c..0000000 --- a/infisicalapi_client/models/api_v3_secrets_secret_name_post200_response_any_of.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner_secrets_inner import ApiV3SecretsGet200ResponseImportsInnerSecretsInner - -class ApiV3SecretsSecretNamePost200ResponseAnyOf(BaseModel): - """ - ApiV3SecretsSecretNamePost200ResponseAnyOf - """ - secret: ApiV3SecretsGet200ResponseImportsInnerSecretsInner = Field(...) - __properties = ["secret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsSecretNamePost200ResponseAnyOf: - """Create an instance of ApiV3SecretsSecretNamePost200ResponseAnyOf from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret - if self.secret: - _dict['secret'] = self.secret.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsSecretNamePost200ResponseAnyOf: - """Create an instance of ApiV3SecretsSecretNamePost200ResponseAnyOf from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsSecretNamePost200ResponseAnyOf.parse_obj(obj) - - _obj = ApiV3SecretsSecretNamePost200ResponseAnyOf.parse_obj({ - "secret": ApiV3SecretsGet200ResponseImportsInnerSecretsInner.from_dict(obj.get("secret")) if obj.get("secret") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_secret_name_post_request.py b/infisicalapi_client/models/api_v3_secrets_secret_name_post_request.py deleted file mode 100644 index 11dbb55..0000000 --- a/infisicalapi_client/models/api_v3_secrets_secret_name_post_request.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Dict, Optional -from pydantic import BaseModel, Field, StrictBool, StrictStr, validator - -class ApiV3SecretsSecretNamePostRequest(BaseModel): - """ - ApiV3SecretsSecretNamePostRequest - """ - workspace_id: StrictStr = Field(default=..., alias="workspaceId") - environment: StrictStr = Field(...) - type: Optional[StrictStr] = 'shared' - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath") - secret_key_ciphertext: StrictStr = Field(default=..., alias="secretKeyCiphertext") - secret_key_iv: StrictStr = Field(default=..., alias="secretKeyIV") - secret_key_tag: StrictStr = Field(default=..., alias="secretKeyTag") - secret_value_ciphertext: StrictStr = Field(default=..., alias="secretValueCiphertext") - secret_value_iv: StrictStr = Field(default=..., alias="secretValueIV") - secret_value_tag: StrictStr = Field(default=..., alias="secretValueTag") - secret_comment_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretCommentCiphertext") - secret_comment_iv: Optional[StrictStr] = Field(default=None, alias="secretCommentIV") - secret_comment_tag: Optional[StrictStr] = Field(default=None, alias="secretCommentTag") - metadata: Optional[Dict[str, StrictStr]] = None - skip_multiline_encoding: Optional[StrictBool] = Field(default=None, alias="skipMultilineEncoding") - __properties = ["workspaceId", "environment", "type", "secretPath", "secretKeyCiphertext", "secretKeyIV", "secretKeyTag", "secretValueCiphertext", "secretValueIV", "secretValueTag", "secretCommentCiphertext", "secretCommentIV", "secretCommentTag", "metadata", "skipMultilineEncoding"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsSecretNamePostRequest: - """Create an instance of ApiV3SecretsSecretNamePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsSecretNamePostRequest: - """Create an instance of ApiV3SecretsSecretNamePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsSecretNamePostRequest.parse_obj(obj) - - _obj = ApiV3SecretsSecretNamePostRequest.parse_obj({ - "workspace_id": obj.get("workspaceId"), - "environment": obj.get("environment"), - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "secret_key_ciphertext": obj.get("secretKeyCiphertext"), - "secret_key_iv": obj.get("secretKeyIV"), - "secret_key_tag": obj.get("secretKeyTag"), - "secret_value_ciphertext": obj.get("secretValueCiphertext"), - "secret_value_iv": obj.get("secretValueIV"), - "secret_value_tag": obj.get("secretValueTag"), - "secret_comment_ciphertext": obj.get("secretCommentCiphertext"), - "secret_comment_iv": obj.get("secretCommentIV"), - "secret_comment_tag": obj.get("secretCommentTag"), - "metadata": obj.get("metadata"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_tags_secret_name_delete_request.py b/infisicalapi_client/models/api_v3_secrets_tags_secret_name_delete_request.py deleted file mode 100644 index a731e5e..0000000 --- a/infisicalapi_client/models/api_v3_secrets_tags_secret_name_delete_request.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist, validator - -class ApiV3SecretsTagsSecretNameDeleteRequest(BaseModel): - """ - ApiV3SecretsTagsSecretNameDeleteRequest - """ - project_slug: StrictStr = Field(default=..., alias="projectSlug", description="The slug of the project where the secret is located") - environment: StrictStr = Field(default=..., description="The slug of the environment where the secret is located") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath", description="The path of the secret to detach tags from.") - type: Optional[StrictStr] = Field(default='shared', description="The type of the secret to attach tags to. (shared/personal)") - tag_slugs: conlist(StrictStr, min_items=1) = Field(default=..., alias="tagSlugs", description="An array of existing tag slugs to detach from the secret.") - __properties = ["projectSlug", "environment", "secretPath", "type", "tagSlugs"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsTagsSecretNameDeleteRequest: - """Create an instance of ApiV3SecretsTagsSecretNameDeleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsTagsSecretNameDeleteRequest: - """Create an instance of ApiV3SecretsTagsSecretNameDeleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsTagsSecretNameDeleteRequest.parse_obj(obj) - - _obj = ApiV3SecretsTagsSecretNameDeleteRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "tag_slugs": obj.get("tagSlugs") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response.py b/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response.py deleted file mode 100644 index 345ad71..0000000 --- a/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret import ApiV3SecretsTagsSecretNamePost200ResponseSecret - -class ApiV3SecretsTagsSecretNamePost200Response(BaseModel): - """ - ApiV3SecretsTagsSecretNamePost200Response - """ - secret: ApiV3SecretsTagsSecretNamePost200ResponseSecret = Field(...) - __properties = ["secret"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsTagsSecretNamePost200Response: - """Create an instance of ApiV3SecretsTagsSecretNamePost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of secret - if self.secret: - _dict['secret'] = self.secret.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsTagsSecretNamePost200Response: - """Create an instance of ApiV3SecretsTagsSecretNamePost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsTagsSecretNamePost200Response.parse_obj(obj) - - _obj = ApiV3SecretsTagsSecretNamePost200Response.parse_obj({ - "secret": ApiV3SecretsTagsSecretNamePost200ResponseSecret.from_dict(obj.get("secret")) if obj.get("secret") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response_secret.py b/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response_secret.py deleted file mode 100644 index cea41ee..0000000 --- a/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response_secret.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, List, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner import ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner - -class ApiV3SecretsTagsSecretNamePost200ResponseSecret(BaseModel): - """ - ApiV3SecretsTagsSecretNamePost200ResponseSecret - """ - id: StrictStr = Field(...) - version: Optional[Union[StrictFloat, StrictInt]] = 1 - type: Optional[StrictStr] = 'shared' - secret_key_ciphertext: StrictStr = Field(default=..., alias="secretKeyCiphertext") - secret_key_iv: StrictStr = Field(default=..., alias="secretKeyIV") - secret_key_tag: StrictStr = Field(default=..., alias="secretKeyTag") - secret_value_ciphertext: StrictStr = Field(default=..., alias="secretValueCiphertext") - secret_value_iv: StrictStr = Field(default=..., alias="secretValueIV") - secret_value_tag: StrictStr = Field(default=..., alias="secretValueTag") - secret_comment_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretCommentCiphertext") - secret_comment_iv: Optional[StrictStr] = Field(default=None, alias="secretCommentIV") - secret_comment_tag: Optional[StrictStr] = Field(default=None, alias="secretCommentTag") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - algorithm: Optional[StrictStr] = 'aes-256-gcm' - key_encoding: Optional[StrictStr] = Field(default='utf8', alias="keyEncoding") - metadata: Optional[Any] = None - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - folder_id: StrictStr = Field(default=..., alias="folderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - tags: conlist(ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner) = Field(...) - __properties = ["id", "version", "type", "secretKeyCiphertext", "secretKeyIV", "secretKeyTag", "secretValueCiphertext", "secretValueIV", "secretValueTag", "secretCommentCiphertext", "secretCommentIV", "secretCommentTag", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "algorithm", "keyEncoding", "metadata", "userId", "folderId", "createdAt", "updatedAt", "tags"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsTagsSecretNamePost200ResponseSecret: - """Create an instance of ApiV3SecretsTagsSecretNamePost200ResponseSecret from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item in self.tags: - if _item: - _items.append(_item.to_dict()) - _dict['tags'] = _items - # set to None if secret_comment_ciphertext (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_ciphertext is None and "secret_comment_ciphertext" in self.__fields_set__: - _dict['secretCommentCiphertext'] = None - - # set to None if secret_comment_iv (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_iv is None and "secret_comment_iv" in self.__fields_set__: - _dict['secretCommentIV'] = None - - # set to None if secret_comment_tag (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_tag is None and "secret_comment_tag" in self.__fields_set__: - _dict['secretCommentTag'] = None - - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsTagsSecretNamePost200ResponseSecret: - """Create an instance of ApiV3SecretsTagsSecretNamePost200ResponseSecret from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsTagsSecretNamePost200ResponseSecret.parse_obj(obj) - - _obj = ApiV3SecretsTagsSecretNamePost200ResponseSecret.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version") if obj.get("version") is not None else 1, - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_key_ciphertext": obj.get("secretKeyCiphertext"), - "secret_key_iv": obj.get("secretKeyIV"), - "secret_key_tag": obj.get("secretKeyTag"), - "secret_value_ciphertext": obj.get("secretValueCiphertext"), - "secret_value_iv": obj.get("secretValueIV"), - "secret_value_tag": obj.get("secretValueTag"), - "secret_comment_ciphertext": obj.get("secretCommentCiphertext"), - "secret_comment_iv": obj.get("secretCommentIV"), - "secret_comment_tag": obj.get("secretCommentTag"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "algorithm": obj.get("algorithm") if obj.get("algorithm") is not None else 'aes-256-gcm', - "key_encoding": obj.get("keyEncoding") if obj.get("keyEncoding") is not None else 'utf8', - "metadata": obj.get("metadata"), - "user_id": obj.get("userId"), - "folder_id": obj.get("folderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "tags": [ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.from_dict(_item) for _item in obj.get("tags")] if obj.get("tags") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner.py b/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner.py deleted file mode 100644 index 7e14700..0000000 --- a/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr - -class ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner(BaseModel): - """ - ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner - """ - id: StrictStr = Field(...) - slug: StrictStr = Field(...) - color: Optional[StrictStr] = None - name: StrictStr = Field(...) - __properties = ["id", "slug", "color", "name"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner: - """Create an instance of ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if color (nullable) is None - # and __fields_set__ contains the field - if self.color is None and "color" in self.__fields_set__: - _dict['color'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner: - """Create an instance of ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.parse_obj(obj) - - _obj = ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner.parse_obj({ - "id": obj.get("id"), - "slug": obj.get("slug"), - "color": obj.get("color"), - "name": obj.get("name") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post_request.py b/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post_request.py deleted file mode 100644 index ea73072..0000000 --- a/infisicalapi_client/models/api_v3_secrets_tags_secret_name_post_request.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictStr, conlist, validator - -class ApiV3SecretsTagsSecretNamePostRequest(BaseModel): - """ - ApiV3SecretsTagsSecretNamePostRequest - """ - project_slug: StrictStr = Field(default=..., alias="projectSlug", description="The slug of the project where the secret is located") - environment: StrictStr = Field(default=..., description="The slug of the environment where the secret is located") - secret_path: Optional[StrictStr] = Field(default='/', alias="secretPath", description="The path of the secret to attach tags to.") - type: Optional[StrictStr] = Field(default='shared', description="The type of the secret to attach tags to. (shared/personal)") - tag_slugs: conlist(StrictStr, min_items=1) = Field(default=..., alias="tagSlugs", description="An array of existing tag slugs to attach to the secret.") - __properties = ["projectSlug", "environment", "secretPath", "type", "tagSlugs"] - - @validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in ('shared', 'personal'): - raise ValueError("must be one of enum values ('shared', 'personal')") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SecretsTagsSecretNamePostRequest: - """Create an instance of ApiV3SecretsTagsSecretNamePostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SecretsTagsSecretNamePostRequest: - """Create an instance of ApiV3SecretsTagsSecretNamePostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SecretsTagsSecretNamePostRequest.parse_obj(obj) - - _obj = ApiV3SecretsTagsSecretNamePostRequest.parse_obj({ - "project_slug": obj.get("projectSlug"), - "environment": obj.get("environment"), - "secret_path": obj.get("secretPath") if obj.get("secretPath") is not None else '/', - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "tag_slugs": obj.get("tagSlugs") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_signup_complete_account_signup_post200_response.py b/infisicalapi_client/models/api_v3_signup_complete_account_signup_post200_response.py deleted file mode 100644 index 9243620..0000000 --- a/infisicalapi_client/models/api_v3_signup_complete_account_signup_post200_response.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response_user import ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser - -class ApiV3SignupCompleteAccountSignupPost200Response(BaseModel): - """ - ApiV3SignupCompleteAccountSignupPost200Response - """ - message: StrictStr = Field(...) - user: ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser = Field(...) - token: StrictStr = Field(...) - organization_id: Optional[StrictStr] = Field(default=None, alias="organizationId") - __properties = ["message", "user", "token", "organizationId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SignupCompleteAccountSignupPost200Response: - """Create an instance of ApiV3SignupCompleteAccountSignupPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - # set to None if organization_id (nullable) is None - # and __fields_set__ contains the field - if self.organization_id is None and "organization_id" in self.__fields_set__: - _dict['organizationId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SignupCompleteAccountSignupPost200Response: - """Create an instance of ApiV3SignupCompleteAccountSignupPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SignupCompleteAccountSignupPost200Response.parse_obj(obj) - - _obj = ApiV3SignupCompleteAccountSignupPost200Response.parse_obj({ - "message": obj.get("message"), - "user": ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.from_dict(obj.get("user")) if obj.get("user") is not None else None, - "token": obj.get("token"), - "organization_id": obj.get("organizationId") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_signup_complete_account_signup_post_request.py b/infisicalapi_client/models/api_v3_signup_complete_account_signup_post_request.py deleted file mode 100644 index 87eeda5..0000000 --- a/infisicalapi_client/models/api_v3_signup_complete_account_signup_post_request.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictStr, constr - -class ApiV3SignupCompleteAccountSignupPostRequest(BaseModel): - """ - ApiV3SignupCompleteAccountSignupPostRequest - """ - email: StrictStr = Field(...) - first_name: StrictStr = Field(default=..., alias="firstName") - last_name: Optional[StrictStr] = Field(default=None, alias="lastName") - protected_key: StrictStr = Field(default=..., alias="protectedKey") - protected_key_iv: StrictStr = Field(default=..., alias="protectedKeyIV") - protected_key_tag: StrictStr = Field(default=..., alias="protectedKeyTag") - public_key: StrictStr = Field(default=..., alias="publicKey") - encrypted_private_key: StrictStr = Field(default=..., alias="encryptedPrivateKey") - encrypted_private_key_iv: StrictStr = Field(default=..., alias="encryptedPrivateKeyIV") - encrypted_private_key_tag: StrictStr = Field(default=..., alias="encryptedPrivateKeyTag") - salt: StrictStr = Field(...) - verifier: StrictStr = Field(...) - organization_name: constr(strict=True, min_length=1) = Field(default=..., alias="organizationName") - provider_auth_token: Optional[StrictStr] = Field(default=None, alias="providerAuthToken") - attribution_source: Optional[StrictStr] = Field(default=None, alias="attributionSource") - password: StrictStr = Field(...) - __properties = ["email", "firstName", "lastName", "protectedKey", "protectedKeyIV", "protectedKeyTag", "publicKey", "encryptedPrivateKey", "encryptedPrivateKeyIV", "encryptedPrivateKeyTag", "salt", "verifier", "organizationName", "providerAuthToken", "attributionSource", "password"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SignupCompleteAccountSignupPostRequest: - """Create an instance of ApiV3SignupCompleteAccountSignupPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if provider_auth_token (nullable) is None - # and __fields_set__ contains the field - if self.provider_auth_token is None and "provider_auth_token" in self.__fields_set__: - _dict['providerAuthToken'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SignupCompleteAccountSignupPostRequest: - """Create an instance of ApiV3SignupCompleteAccountSignupPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SignupCompleteAccountSignupPostRequest.parse_obj(obj) - - _obj = ApiV3SignupCompleteAccountSignupPostRequest.parse_obj({ - "email": obj.get("email"), - "first_name": obj.get("firstName"), - "last_name": obj.get("lastName"), - "protected_key": obj.get("protectedKey"), - "protected_key_iv": obj.get("protectedKeyIV"), - "protected_key_tag": obj.get("protectedKeyTag"), - "public_key": obj.get("publicKey"), - "encrypted_private_key": obj.get("encryptedPrivateKey"), - "encrypted_private_key_iv": obj.get("encryptedPrivateKeyIV"), - "encrypted_private_key_tag": obj.get("encryptedPrivateKeyTag"), - "salt": obj.get("salt"), - "verifier": obj.get("verifier"), - "organization_name": obj.get("organizationName"), - "provider_auth_token": obj.get("providerAuthToken"), - "attribution_source": obj.get("attributionSource"), - "password": obj.get("password") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_signup_email_verify_post200_response.py b/infisicalapi_client/models/api_v3_signup_email_verify_post200_response.py deleted file mode 100644 index e833dea..0000000 --- a/infisicalapi_client/models/api_v3_signup_email_verify_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response_user import ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser - -class ApiV3SignupEmailVerifyPost200Response(BaseModel): - """ - ApiV3SignupEmailVerifyPost200Response - """ - message: StrictStr = Field(...) - token: StrictStr = Field(...) - user: ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser = Field(...) - __properties = ["message", "token", "user"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3SignupEmailVerifyPost200Response: - """Create an instance of ApiV3SignupEmailVerifyPost200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of user - if self.user: - _dict['user'] = self.user.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3SignupEmailVerifyPost200Response: - """Create an instance of ApiV3SignupEmailVerifyPost200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3SignupEmailVerifyPost200Response.parse_obj(obj) - - _obj = ApiV3SignupEmailVerifyPost200Response.parse_obj({ - "message": obj.get("message"), - "token": obj.get("token"), - "user": ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser.from_dict(obj.get("user")) if obj.get("user") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_users_me_api_keys_get200_response.py b/infisicalapi_client/models/api_v3_users_me_api_keys_get200_response.py deleted file mode 100644 index 5dc15ec..0000000 --- a/infisicalapi_client/models/api_v3_users_me_api_keys_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v2_users_me_api_keys_get200_response_inner import ApiV2UsersMeApiKeysGet200ResponseInner - -class ApiV3UsersMeApiKeysGet200Response(BaseModel): - """ - ApiV3UsersMeApiKeysGet200Response - """ - api_key_data: conlist(ApiV2UsersMeApiKeysGet200ResponseInner) = Field(default=..., alias="apiKeyData") - __properties = ["apiKeyData"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3UsersMeApiKeysGet200Response: - """Create an instance of ApiV3UsersMeApiKeysGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in api_key_data (list) - _items = [] - if self.api_key_data: - for _item in self.api_key_data: - if _item: - _items.append(_item.to_dict()) - _dict['apiKeyData'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3UsersMeApiKeysGet200Response: - """Create an instance of ApiV3UsersMeApiKeysGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3UsersMeApiKeysGet200Response.parse_obj(obj) - - _obj = ApiV3UsersMeApiKeysGet200Response.parse_obj({ - "api_key_data": [ApiV2UsersMeApiKeysGet200ResponseInner.from_dict(_item) for _item in obj.get("apiKeyData")] if obj.get("apiKeyData") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_get200_response.py b/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_get200_response.py deleted file mode 100644 index 04a6222..0000000 --- a/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response_secrets_inner import ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner - -class ApiV3WorkspacesProjectIdSecretsGet200Response(BaseModel): - """ - ApiV3WorkspacesProjectIdSecretsGet200Response - """ - secrets: conlist(ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner) = Field(...) - __properties = ["secrets"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3WorkspacesProjectIdSecretsGet200Response: - """Create an instance of ApiV3WorkspacesProjectIdSecretsGet200Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets (list) - _items = [] - if self.secrets: - for _item in self.secrets: - if _item: - _items.append(_item.to_dict()) - _dict['secrets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3WorkspacesProjectIdSecretsGet200Response: - """Create an instance of ApiV3WorkspacesProjectIdSecretsGet200Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3WorkspacesProjectIdSecretsGet200Response.parse_obj(obj) - - _obj = ApiV3WorkspacesProjectIdSecretsGet200Response.parse_obj({ - "secrets": [ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.from_dict(_item) for _item in obj.get("secrets")] if obj.get("secrets") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_get200_response_secrets_inner.py b/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_get200_response_secrets_inner.py deleted file mode 100644 index 71d0667..0000000 --- a/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_get200_response_secrets_inner.py +++ /dev/null @@ -1,157 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, Optional, Union -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr - -class ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner(BaseModel): - """ - ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner - """ - id: StrictStr = Field(...) - version: Optional[Union[StrictFloat, StrictInt]] = 1 - type: Optional[StrictStr] = 'shared' - secret_key_ciphertext: StrictStr = Field(default=..., alias="secretKeyCiphertext") - secret_key_iv: StrictStr = Field(default=..., alias="secretKeyIV") - secret_key_tag: StrictStr = Field(default=..., alias="secretKeyTag") - secret_value_ciphertext: StrictStr = Field(default=..., alias="secretValueCiphertext") - secret_value_iv: StrictStr = Field(default=..., alias="secretValueIV") - secret_value_tag: StrictStr = Field(default=..., alias="secretValueTag") - secret_comment_ciphertext: Optional[StrictStr] = Field(default=None, alias="secretCommentCiphertext") - secret_comment_iv: Optional[StrictStr] = Field(default=None, alias="secretCommentIV") - secret_comment_tag: Optional[StrictStr] = Field(default=None, alias="secretCommentTag") - secret_reminder_note: Optional[StrictStr] = Field(default=None, alias="secretReminderNote") - secret_reminder_repeat_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="secretReminderRepeatDays") - skip_multiline_encoding: Optional[StrictBool] = Field(default=False, alias="skipMultilineEncoding") - algorithm: Optional[StrictStr] = 'aes-256-gcm' - key_encoding: Optional[StrictStr] = Field(default='utf8', alias="keyEncoding") - metadata: Optional[Any] = None - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - folder_id: StrictStr = Field(default=..., alias="folderId") - created_at: datetime = Field(default=..., alias="createdAt") - updated_at: datetime = Field(default=..., alias="updatedAt") - environment: StrictStr = Field(...) - workspace: StrictStr = Field(...) - __properties = ["id", "version", "type", "secretKeyCiphertext", "secretKeyIV", "secretKeyTag", "secretValueCiphertext", "secretValueIV", "secretValueTag", "secretCommentCiphertext", "secretCommentIV", "secretCommentTag", "secretReminderNote", "secretReminderRepeatDays", "skipMultilineEncoding", "algorithm", "keyEncoding", "metadata", "userId", "folderId", "createdAt", "updatedAt", "environment", "workspace"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner: - """Create an instance of ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # set to None if secret_comment_ciphertext (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_ciphertext is None and "secret_comment_ciphertext" in self.__fields_set__: - _dict['secretCommentCiphertext'] = None - - # set to None if secret_comment_iv (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_iv is None and "secret_comment_iv" in self.__fields_set__: - _dict['secretCommentIV'] = None - - # set to None if secret_comment_tag (nullable) is None - # and __fields_set__ contains the field - if self.secret_comment_tag is None and "secret_comment_tag" in self.__fields_set__: - _dict['secretCommentTag'] = None - - # set to None if secret_reminder_note (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_note is None and "secret_reminder_note" in self.__fields_set__: - _dict['secretReminderNote'] = None - - # set to None if secret_reminder_repeat_days (nullable) is None - # and __fields_set__ contains the field - if self.secret_reminder_repeat_days is None and "secret_reminder_repeat_days" in self.__fields_set__: - _dict['secretReminderRepeatDays'] = None - - # set to None if skip_multiline_encoding (nullable) is None - # and __fields_set__ contains the field - if self.skip_multiline_encoding is None and "skip_multiline_encoding" in self.__fields_set__: - _dict['skipMultilineEncoding'] = None - - # set to None if metadata (nullable) is None - # and __fields_set__ contains the field - if self.metadata is None and "metadata" in self.__fields_set__: - _dict['metadata'] = None - - # set to None if user_id (nullable) is None - # and __fields_set__ contains the field - if self.user_id is None and "user_id" in self.__fields_set__: - _dict['userId'] = None - - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner: - """Create an instance of ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.parse_obj(obj) - - _obj = ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner.parse_obj({ - "id": obj.get("id"), - "version": obj.get("version") if obj.get("version") is not None else 1, - "type": obj.get("type") if obj.get("type") is not None else 'shared', - "secret_key_ciphertext": obj.get("secretKeyCiphertext"), - "secret_key_iv": obj.get("secretKeyIV"), - "secret_key_tag": obj.get("secretKeyTag"), - "secret_value_ciphertext": obj.get("secretValueCiphertext"), - "secret_value_iv": obj.get("secretValueIV"), - "secret_value_tag": obj.get("secretValueTag"), - "secret_comment_ciphertext": obj.get("secretCommentCiphertext"), - "secret_comment_iv": obj.get("secretCommentIV"), - "secret_comment_tag": obj.get("secretCommentTag"), - "secret_reminder_note": obj.get("secretReminderNote"), - "secret_reminder_repeat_days": obj.get("secretReminderRepeatDays"), - "skip_multiline_encoding": obj.get("skipMultilineEncoding") if obj.get("skipMultilineEncoding") is not None else False, - "algorithm": obj.get("algorithm") if obj.get("algorithm") is not None else 'aes-256-gcm', - "key_encoding": obj.get("keyEncoding") if obj.get("keyEncoding") is not None else 'utf8', - "metadata": obj.get("metadata"), - "user_id": obj.get("userId"), - "folder_id": obj.get("folderId"), - "created_at": obj.get("createdAt"), - "updated_at": obj.get("updatedAt"), - "environment": obj.get("environment"), - "workspace": obj.get("workspace") - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_names_post_request.py b/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_names_post_request.py deleted file mode 100644 index 3f650f7..0000000 --- a/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_names_post_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List -from pydantic import BaseModel, Field, conlist -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner import ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner - -class ApiV3WorkspacesProjectIdSecretsNamesPostRequest(BaseModel): - """ - ApiV3WorkspacesProjectIdSecretsNamesPostRequest - """ - secrets_to_update: conlist(ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner) = Field(default=..., alias="secretsToUpdate") - __properties = ["secretsToUpdate"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3WorkspacesProjectIdSecretsNamesPostRequest: - """Create an instance of ApiV3WorkspacesProjectIdSecretsNamesPostRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of each item in secrets_to_update (list) - _items = [] - if self.secrets_to_update: - for _item in self.secrets_to_update: - if _item: - _items.append(_item.to_dict()) - _dict['secretsToUpdate'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3WorkspacesProjectIdSecretsNamesPostRequest: - """Create an instance of ApiV3WorkspacesProjectIdSecretsNamesPostRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3WorkspacesProjectIdSecretsNamesPostRequest.parse_obj(obj) - - _obj = ApiV3WorkspacesProjectIdSecretsNamesPostRequest.parse_obj({ - "secrets_to_update": [ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.from_dict(_item) for _item in obj.get("secretsToUpdate")] if obj.get("secretsToUpdate") is not None else None - }) - return _obj - - diff --git a/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner.py b/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner.py deleted file mode 100644 index 00de803..0000000 --- a/infisicalapi_client/models/api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr - -class ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner(BaseModel): - """ - ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner - """ - secret_name: StrictStr = Field(default=..., alias="secretName") - secret_id: StrictStr = Field(default=..., alias="secretId") - __properties = ["secretName", "secretId"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner: - """Create an instance of ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner: - """Create an instance of ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.parse_obj(obj) - - _obj = ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner.parse_obj({ - "secret_name": obj.get("secretName"), - "secret_id": obj.get("secretId") - }) - return _obj - - diff --git a/infisicalapi_client/py.typed b/infisicalapi_client/py.typed deleted file mode 100644 index e69de29..0000000 diff --git a/infisicalapi_client/rest.py b/infisicalapi_client/rest.py deleted file mode 100644 index 218b0e6..0000000 --- a/infisicalapi_client/rest.py +++ /dev/null @@ -1,327 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import io -import json -import logging -import re -import ssl - -from urllib.parse import urlencode, quote_plus -import urllib3 - -from infisicalapi_client.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError, BadRequestException - - -logger = logging.getLogger(__name__) - -SUPPORTED_SOCKS_PROXIES = {"socks5", "socks5h", "socks4", "socks4a"} - - -def is_socks_proxy_url(url): - if url is None: - return False - split_section = url.split("://") - if len(split_section) < 2: - return False - else: - return split_section[0].lower() in SUPPORTED_SOCKS_PROXIES - - -class RESTResponse(io.IOBase): - - def __init__(self, resp) -> None: - self.urllib3_response = resp - self.status = resp.status - self.reason = resp.reason - self.data = resp.data - - def getheaders(self): - """Returns a dictionary of the response headers.""" - return self.urllib3_response.headers - - def getheader(self, name, default=None): - """Returns a given response header.""" - return self.urllib3_response.headers.get(name, default) - - -class RESTClientObject: - - def __init__(self, configuration, pools_size=4, maxsize=None) -> None: - # urllib3.PoolManager will pass all kw parameters to connectionpool - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 - # maxsize is the number of requests to host that are allowed in parallel # noqa: E501 - # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501 - - # cert_reqs - if configuration.verify_ssl: - cert_reqs = ssl.CERT_REQUIRED - else: - cert_reqs = ssl.CERT_NONE - - addition_pool_args = {} - if configuration.assert_hostname is not None: - addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 - - if configuration.retries is not None: - addition_pool_args['retries'] = configuration.retries - - if configuration.tls_server_name: - addition_pool_args['server_hostname'] = configuration.tls_server_name - - - if configuration.socket_options is not None: - addition_pool_args['socket_options'] = configuration.socket_options - - if maxsize is None: - if configuration.connection_pool_maxsize is not None: - maxsize = configuration.connection_pool_maxsize - else: - maxsize = 4 - - # https pool manager - if configuration.proxy: - if is_socks_proxy_url(configuration.proxy): - from urllib3.contrib.socks import SOCKSProxyManager - self.pool_manager = SOCKSProxyManager( - cert_reqs=cert_reqs, - ca_certs=configuration.ssl_ca_cert, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - proxy_url=configuration.proxy, - headers=configuration.proxy_headers, - **addition_pool_args - ) - else: - self.pool_manager = urllib3.ProxyManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=configuration.ssl_ca_cert, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - proxy_url=configuration.proxy, - proxy_headers=configuration.proxy_headers, - **addition_pool_args - ) - else: - self.pool_manager = urllib3.PoolManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=configuration.ssl_ca_cert, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - **addition_pool_args - ) - - def request(self, method, url, query_params=None, headers=None, - body=None, post_params=None, _preload_content=True, - _request_timeout=None): - """Perform requests. - - :param method: http request method - :param url: http request url - :param query_params: query parameters in the url - :param headers: http request headers - :param body: request json body, for `application/json` - :param post_params: request post parameters, - `application/x-www-form-urlencoded` - and `multipart/form-data` - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - """ - method = method.upper() - assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', - 'PATCH', 'OPTIONS'] - - if post_params and body: - raise ApiValueError( - "body parameter cannot be used with post_params parameter." - ) - - post_params = post_params or {} - headers = headers or {} - # url already contains the URL query string - # so reset query_params to empty dict - query_params = {} - - timeout = None - if _request_timeout: - if isinstance(_request_timeout, (int,float)): # noqa: E501,F821 - timeout = urllib3.Timeout(total=_request_timeout) - elif (isinstance(_request_timeout, tuple) and - len(_request_timeout) == 2): - timeout = urllib3.Timeout( - connect=_request_timeout[0], read=_request_timeout[1]) - - try: - # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` - if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: - - # no content type provided or payload is json - if not headers.get('Content-Type') or re.search('json', headers['Content-Type'], re.IGNORECASE): - request_body = None - if body is not None: - request_body = json.dumps(body) - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=False, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'multipart/form-data': - # must del headers['Content-Type'], or the correct - # Content-Type which generated by urllib3 will be - # overwritten. - del headers['Content-Type'] - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=True, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - # Pass a `string` parameter directly in the body to support - # other content types than Json when `body` argument is - # provided in serialized form - elif isinstance(body, str) or isinstance(body, bytes): - request_body = body - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - else: - # Cannot generate the request from given parameters - msg = """Cannot prepare a request message for provided - arguments. Please check that your arguments match - declared content type.""" - raise ApiException(status=0, reason=msg) - # For `GET`, `HEAD` - else: - r = self.pool_manager.request(method, url, - fields={}, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - except urllib3.exceptions.SSLError as e: - msg = "{0}\n{1}".format(type(e).__name__, str(e)) - raise ApiException(status=0, reason=msg) - - if _preload_content: - r = RESTResponse(r) - - # log response body - logger.debug("response body: %s", r.data) - - if not 200 <= r.status <= 299: - if r.status == 400: - raise BadRequestException(http_resp=r) - - if r.status == 401: - raise UnauthorizedException(http_resp=r) - - if r.status == 403: - raise ForbiddenException(http_resp=r) - - if r.status == 404: - raise NotFoundException(http_resp=r) - - if 500 <= r.status <= 599: - raise ServiceException(http_resp=r) - - raise ApiException(http_resp=r) - - return r - - def get_request(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("GET", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def head_request(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("HEAD", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def options_request(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("OPTIONS", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def delete_request(self, url, headers=None, query_params=None, body=None, - _preload_content=True, _request_timeout=None): - return self.request("DELETE", url, - headers=headers, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def post_request(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("POST", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def put_request(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PUT", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def patch_request(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PATCH", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) diff --git a/pyproject.toml b/pyproject.toml index 27eacf1..98c77c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,6 @@ python = "^3.7" urllib3 = ">= 1.25.3" python-dateutil = ">=2.8.2" -pydantic = "^1.10.5, <2" aenum = ">=3.1.11" [tool.poetry.dev-dependencies] @@ -24,7 +23,4 @@ flake8 = ">=4.0.0" [build-system] requires = ["setuptools"] -build-backend = "setuptools.build_meta" - -[tool.pylint.'MESSAGES CONTROL'] -extension-pkg-whitelist = "pydantic" +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 258c179..6d8cfa1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,7 @@ python_dateutil >= 2.5.3 setuptools >= 21.0.0 urllib3 >= 1.25.3, < 2.1.0 -pydantic >= 1.10.5, < 2 aenum >= 3.1.11 +requests >= 2.31.0 +boto3 >= 1.33.8 +botocore >= 1.33.8 diff --git a/setup.cfg b/setup.cfg index 11433ee..3d094da 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,3 @@ [flake8] max-line-length=99 +exclude = .venv,test.py \ No newline at end of file diff --git a/setup.py b/setup.py index 7a025ef..05c3f2d 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,6 @@ REQUIRES = [ "urllib3 >= 1.25.3, < 2.1.0", "python-dateutil", - "pydantic >= 1.10.5, < 2", "aenum", "requests~=2.32", "boto3~=1.35", diff --git a/test/__init__.py b/test/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/test/test_api_status_get200_response.py b/test/test_api_status_get200_response.py deleted file mode 100644 index aacee32..0000000 --- a/test/test_api_status_get200_response.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_status_get200_response import ApiStatusGet200Response # noqa: E501 - -class TestApiStatusGet200Response(unittest.TestCase): - """ApiStatusGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiStatusGet200Response: - """Test ApiStatusGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiStatusGet200Response` - """ - model = ApiStatusGet200Response() # noqa: E501 - if include_optional: - return ApiStatusGet200Response( - var_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = 'Ok', - email_configured = True, - invite_only_signup = True, - redis_configured = True, - secret_scanning_configured = True, - saml_default_org_slug = '' - ) - else: - return ApiStatusGet200Response( - var_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = 'Ok', - ) - """ - - def testApiStatusGet200Response(self): - """Test ApiStatusGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_policies_get200_response.py b/test/test_api_v1_access_approvals_policies_get200_response.py deleted file mode 100644 index 6a742ba..0000000 --- a/test/test_api_v1_access_approvals_policies_get200_response.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response import ApiV1AccessApprovalsPoliciesGet200Response # noqa: E501 - -class TestApiV1AccessApprovalsPoliciesGet200Response(unittest.TestCase): - """ApiV1AccessApprovalsPoliciesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsPoliciesGet200Response: - """Test ApiV1AccessApprovalsPoliciesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsPoliciesGet200Response` - """ - model = ApiV1AccessApprovalsPoliciesGet200Response() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsPoliciesGet200Response( - approvals = [ - infisicalapi_client.models._api_v1_access_approvals_policies_get_200_response_approvals_inner._api_v1_access_approvals_policies_get_200_response_approvals_inner( - id = '', - name = '', - secret_path = '', - approvals = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - enforcement_level = 'hard', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', - approvers = [ - '' - ], ) - ] - ) - else: - return ApiV1AccessApprovalsPoliciesGet200Response( - approvals = [ - infisicalapi_client.models._api_v1_access_approvals_policies_get_200_response_approvals_inner._api_v1_access_approvals_policies_get_200_response_approvals_inner( - id = '', - name = '', - secret_path = '', - approvals = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - enforcement_level = 'hard', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', - approvers = [ - '' - ], ) - ], - ) - """ - - def testApiV1AccessApprovalsPoliciesGet200Response(self): - """Test ApiV1AccessApprovalsPoliciesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_policies_get200_response_approvals_inner.py b/test/test_api_v1_access_approvals_policies_get200_response_approvals_inner.py deleted file mode 100644 index 346c2b2..0000000 --- a/test/test_api_v1_access_approvals_policies_get200_response_approvals_inner.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_policies_get200_response_approvals_inner import ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner # noqa: E501 - -class TestApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner(unittest.TestCase): - """ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner: - """Test ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner` - """ - model = ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner( - id = '', - name = '', - secret_path = '', - approvals = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - enforcement_level = 'hard', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', - approvers = [ - '' - ] - ) - else: - return ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner( - id = '', - name = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', - approvers = [ - '' - ], - ) - """ - - def testApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner(self): - """Test ApiV1AccessApprovalsPoliciesGet200ResponseApprovalsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_policies_policy_id_patch_request.py b/test/test_api_v1_access_approvals_policies_policy_id_patch_request.py deleted file mode 100644 index 197d6e4..0000000 --- a/test/test_api_v1_access_approvals_policies_policy_id_patch_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_policies_policy_id_patch_request import ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest # noqa: E501 - -class TestApiV1AccessApprovalsPoliciesPolicyIdPatchRequest(unittest.TestCase): - """ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest: - """Test ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest` - """ - model = ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest( - name = '', - secret_path = '', - approvers = [ - '' - ], - approvals = 1, - enforcement_level = 'hard' - ) - else: - return ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest( - approvers = [ - '' - ], - ) - """ - - def testApiV1AccessApprovalsPoliciesPolicyIdPatchRequest(self): - """Test ApiV1AccessApprovalsPoliciesPolicyIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_policies_post_request.py b/test/test_api_v1_access_approvals_policies_post_request.py deleted file mode 100644 index 639cd6f..0000000 --- a/test/test_api_v1_access_approvals_policies_post_request.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_policies_post_request import ApiV1AccessApprovalsPoliciesPostRequest # noqa: E501 - -class TestApiV1AccessApprovalsPoliciesPostRequest(unittest.TestCase): - """ApiV1AccessApprovalsPoliciesPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsPoliciesPostRequest: - """Test ApiV1AccessApprovalsPoliciesPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsPoliciesPostRequest` - """ - model = ApiV1AccessApprovalsPoliciesPostRequest() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsPoliciesPostRequest( - project_slug = '', - name = '', - secret_path = '/', - environment = '', - approvers = [ - '' - ], - approvals = 1, - enforcement_level = 'hard' - ) - else: - return ApiV1AccessApprovalsPoliciesPostRequest( - project_slug = '', - environment = '', - approvers = [ - '' - ], - ) - """ - - def testApiV1AccessApprovalsPoliciesPostRequest(self): - """Test ApiV1AccessApprovalsPoliciesPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_count_get200_response.py b/test/test_api_v1_access_approvals_requests_count_get200_response.py deleted file mode 100644 index dad19f0..0000000 --- a/test/test_api_v1_access_approvals_requests_count_get200_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_count_get200_response import ApiV1AccessApprovalsRequestsCountGet200Response # noqa: E501 - -class TestApiV1AccessApprovalsRequestsCountGet200Response(unittest.TestCase): - """ApiV1AccessApprovalsRequestsCountGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsCountGet200Response: - """Test ApiV1AccessApprovalsRequestsCountGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsCountGet200Response` - """ - model = ApiV1AccessApprovalsRequestsCountGet200Response() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsCountGet200Response( - pending_count = 1.337, - finalized_count = 1.337 - ) - else: - return ApiV1AccessApprovalsRequestsCountGet200Response( - pending_count = 1.337, - finalized_count = 1.337, - ) - """ - - def testApiV1AccessApprovalsRequestsCountGet200Response(self): - """Test ApiV1AccessApprovalsRequestsCountGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_get200_response.py b/test/test_api_v1_access_approvals_requests_get200_response.py deleted file mode 100644 index a33bd56..0000000 --- a/test/test_api_v1_access_approvals_requests_get200_response.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response import ApiV1AccessApprovalsRequestsGet200Response # noqa: E501 - -class TestApiV1AccessApprovalsRequestsGet200Response(unittest.TestCase): - """ApiV1AccessApprovalsRequestsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsGet200Response: - """Test ApiV1AccessApprovalsRequestsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsGet200Response` - """ - model = ApiV1AccessApprovalsRequestsGet200Response() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsGet200Response( - requests = [ - infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner._api_v1_access_approvals_requests_get_200_response_requests_inner( - id = '', - policy_id = '', - privilege_id = '', - requested_by = '', - is_temporary = True, - temporary_range = '', - permissions = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment_name = '', - is_approved = True, - privilege = infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_privilege._api_v1_access_approvals_requests_get_200_response_requests_inner_privilege( - membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = null, ), - policy = infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_policy._api_v1_access_approvals_requests_get_200_response_requests_inner_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - secret_path = '', - env_id = '', - enforcement_level = '', ), - reviewers = [ - infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_reviewers_inner._api_v1_access_approvals_requests_get_200_response_requests_inner_reviewers_inner( - member = '', - status = '', ) - ], ) - ] - ) - else: - return ApiV1AccessApprovalsRequestsGet200Response( - requests = [ - infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner._api_v1_access_approvals_requests_get_200_response_requests_inner( - id = '', - policy_id = '', - privilege_id = '', - requested_by = '', - is_temporary = True, - temporary_range = '', - permissions = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment_name = '', - is_approved = True, - privilege = infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_privilege._api_v1_access_approvals_requests_get_200_response_requests_inner_privilege( - membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = null, ), - policy = infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_policy._api_v1_access_approvals_requests_get_200_response_requests_inner_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - secret_path = '', - env_id = '', - enforcement_level = '', ), - reviewers = [ - infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_reviewers_inner._api_v1_access_approvals_requests_get_200_response_requests_inner_reviewers_inner( - member = '', - status = '', ) - ], ) - ], - ) - """ - - def testApiV1AccessApprovalsRequestsGet200Response(self): - """Test ApiV1AccessApprovalsRequestsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_get200_response_requests_inner.py b/test/test_api_v1_access_approvals_requests_get200_response_requests_inner.py deleted file mode 100644 index c5817a4..0000000 --- a/test/test_api_v1_access_approvals_requests_get200_response_requests_inner.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner # noqa: E501 - -class TestApiV1AccessApprovalsRequestsGet200ResponseRequestsInner(unittest.TestCase): - """ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner: - """Test ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner` - """ - model = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner( - id = '', - policy_id = '', - privilege_id = '', - requested_by = '', - is_temporary = True, - temporary_range = '', - permissions = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment_name = '', - is_approved = True, - privilege = infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_privilege._api_v1_access_approvals_requests_get_200_response_requests_inner_privilege( - membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = null, ), - policy = infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_policy._api_v1_access_approvals_requests_get_200_response_requests_inner_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - secret_path = '', - env_id = '', - enforcement_level = '', ), - reviewers = [ - infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_reviewers_inner._api_v1_access_approvals_requests_get_200_response_requests_inner_reviewers_inner( - member = '', - status = '', ) - ] - ) - else: - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner( - id = '', - policy_id = '', - requested_by = '', - is_temporary = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment_name = '', - is_approved = True, - privilege = infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_privilege._api_v1_access_approvals_requests_get_200_response_requests_inner_privilege( - membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = null, ), - policy = infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_policy._api_v1_access_approvals_requests_get_200_response_requests_inner_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - secret_path = '', - env_id = '', - enforcement_level = '', ), - reviewers = [ - infisicalapi_client.models._api_v1_access_approvals_requests_get_200_response_requests_inner_reviewers_inner._api_v1_access_approvals_requests_get_200_response_requests_inner_reviewers_inner( - member = '', - status = '', ) - ], - ) - """ - - def testApiV1AccessApprovalsRequestsGet200ResponseRequestsInner(self): - """Test ApiV1AccessApprovalsRequestsGet200ResponseRequestsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_get200_response_requests_inner_policy.py b/test/test_api_v1_access_approvals_requests_get200_response_requests_inner_policy.py deleted file mode 100644 index d815b7e..0000000 --- a/test/test_api_v1_access_approvals_requests_get200_response_requests_inner_policy.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_policy import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy # noqa: E501 - -class TestApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy(unittest.TestCase): - """ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy: - """Test ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy` - """ - model = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - secret_path = '', - env_id = '', - enforcement_level = '' - ) - else: - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - env_id = '', - enforcement_level = '', - ) - """ - - def testApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy(self): - """Test ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPolicy""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_get200_response_requests_inner_privilege.py b/test/test_api_v1_access_approvals_requests_get200_response_requests_inner_privilege.py deleted file mode 100644 index 298f9eb..0000000 --- a/test/test_api_v1_access_approvals_requests_get200_response_requests_inner_privilege.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_privilege import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege # noqa: E501 - -class TestApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege(unittest.TestCase): - """ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege: - """Test ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege` - """ - model = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege( - membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = None - ) - else: - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege( - membership_id = '', - is_temporary = True, - ) - """ - - def testApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege(self): - """Test ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerPrivilege""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner.py b/test/test_api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner.py deleted file mode 100644 index 2c686e6..0000000 --- a/test/test_api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner import ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner # noqa: E501 - -class TestApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner(unittest.TestCase): - """ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner: - """Test ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner` - """ - model = ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner( - member = '', - status = '' - ) - else: - return ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner( - member = '', - status = '', - ) - """ - - def testApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner(self): - """Test ApiV1AccessApprovalsRequestsGet200ResponseRequestsInnerReviewersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_post200_response.py b/test/test_api_v1_access_approvals_requests_post200_response.py deleted file mode 100644 index a90ee3d..0000000 --- a/test/test_api_v1_access_approvals_requests_post200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response import ApiV1AccessApprovalsRequestsPost200Response # noqa: E501 - -class TestApiV1AccessApprovalsRequestsPost200Response(unittest.TestCase): - """ApiV1AccessApprovalsRequestsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsPost200Response: - """Test ApiV1AccessApprovalsRequestsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsPost200Response` - """ - model = ApiV1AccessApprovalsRequestsPost200Response() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsPost200Response( - approval = infisicalapi_client.models._api_v1_access_approvals_requests_post_200_response_approval._api_v1_access_approvals_requests_post_200_response_approval( - id = '', - policy_id = '', - privilege_id = '', - requested_by = '', - is_temporary = True, - temporary_range = '', - permissions = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1AccessApprovalsRequestsPost200Response( - approval = infisicalapi_client.models._api_v1_access_approvals_requests_post_200_response_approval._api_v1_access_approvals_requests_post_200_response_approval( - id = '', - policy_id = '', - privilege_id = '', - requested_by = '', - is_temporary = True, - temporary_range = '', - permissions = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1AccessApprovalsRequestsPost200Response(self): - """Test ApiV1AccessApprovalsRequestsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_post200_response_approval.py b/test/test_api_v1_access_approvals_requests_post200_response_approval.py deleted file mode 100644 index 9e94c9c..0000000 --- a/test/test_api_v1_access_approvals_requests_post200_response_approval.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_post200_response_approval import ApiV1AccessApprovalsRequestsPost200ResponseApproval # noqa: E501 - -class TestApiV1AccessApprovalsRequestsPost200ResponseApproval(unittest.TestCase): - """ApiV1AccessApprovalsRequestsPost200ResponseApproval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsPost200ResponseApproval: - """Test ApiV1AccessApprovalsRequestsPost200ResponseApproval - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsPost200ResponseApproval` - """ - model = ApiV1AccessApprovalsRequestsPost200ResponseApproval() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsPost200ResponseApproval( - id = '', - policy_id = '', - privilege_id = '', - requested_by = '', - is_temporary = True, - temporary_range = '', - permissions = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1AccessApprovalsRequestsPost200ResponseApproval( - id = '', - policy_id = '', - requested_by = '', - is_temporary = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1AccessApprovalsRequestsPost200ResponseApproval(self): - """Test ApiV1AccessApprovalsRequestsPost200ResponseApproval""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_post_request.py b/test/test_api_v1_access_approvals_requests_post_request.py deleted file mode 100644 index 748327b..0000000 --- a/test/test_api_v1_access_approvals_requests_post_request.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_post_request import ApiV1AccessApprovalsRequestsPostRequest # noqa: E501 - -class TestApiV1AccessApprovalsRequestsPostRequest(unittest.TestCase): - """ApiV1AccessApprovalsRequestsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsPostRequest: - """Test ApiV1AccessApprovalsRequestsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsPostRequest` - """ - model = ApiV1AccessApprovalsRequestsPostRequest() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsPostRequest( - permissions = [ - '' - ], - is_temporary = True, - temporary_range = '' - ) - else: - return ApiV1AccessApprovalsRequestsPostRequest( - permissions = [ - '' - ], - is_temporary = True, - ) - """ - - def testApiV1AccessApprovalsRequestsPostRequest(self): - """Test ApiV1AccessApprovalsRequestsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_request_id_review_post200_response.py b/test/test_api_v1_access_approvals_requests_request_id_review_post200_response.py deleted file mode 100644 index e0afab5..0000000 --- a/test/test_api_v1_access_approvals_requests_request_id_review_post200_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response import ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response # noqa: E501 - -class TestApiV1AccessApprovalsRequestsRequestIdReviewPost200Response(unittest.TestCase): - """ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response: - """Test ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response` - """ - model = ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response( - review = infisicalapi_client.models._api_v1_access_approvals_requests__request_id__review_post_200_response_review._api_v1_access_approvals_requests__requestId__review_post_200_response_review( - id = '', - member = '', - status = '', - request_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response( - review = infisicalapi_client.models._api_v1_access_approvals_requests__request_id__review_post_200_response_review._api_v1_access_approvals_requests__requestId__review_post_200_response_review( - id = '', - member = '', - status = '', - request_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1AccessApprovalsRequestsRequestIdReviewPost200Response(self): - """Test ApiV1AccessApprovalsRequestsRequestIdReviewPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_access_approvals_requests_request_id_review_post200_response_review.py b/test/test_api_v1_access_approvals_requests_request_id_review_post200_response_review.py deleted file mode 100644 index 233a5b7..0000000 --- a/test/test_api_v1_access_approvals_requests_request_id_review_post200_response_review.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_access_approvals_requests_request_id_review_post200_response_review import ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview # noqa: E501 - -class TestApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview(unittest.TestCase): - """ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview: - """Test ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview` - """ - model = ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview() # noqa: E501 - if include_optional: - return ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview( - id = '', - member = '', - status = '', - request_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview( - id = '', - member = '', - status = '', - request_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview(self): - """Test ApiV1AccessApprovalsRequestsRequestIdReviewPost200ResponseReview""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_identity_delete_request.py b/test/test_api_v1_additional_privilege_identity_delete_request.py deleted file mode 100644 index 2b81454..0000000 --- a/test/test_api_v1_additional_privilege_identity_delete_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_identity_delete_request import ApiV1AdditionalPrivilegeIdentityDeleteRequest # noqa: E501 - -class TestApiV1AdditionalPrivilegeIdentityDeleteRequest(unittest.TestCase): - """ApiV1AdditionalPrivilegeIdentityDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeIdentityDeleteRequest: - """Test ApiV1AdditionalPrivilegeIdentityDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeIdentityDeleteRequest` - """ - model = ApiV1AdditionalPrivilegeIdentityDeleteRequest() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeIdentityDeleteRequest( - privilege_slug = '0', - identity_id = '0', - project_slug = '0' - ) - else: - return ApiV1AdditionalPrivilegeIdentityDeleteRequest( - privilege_slug = '0', - identity_id = '0', - project_slug = '0', - ) - """ - - def testApiV1AdditionalPrivilegeIdentityDeleteRequest(self): - """Test ApiV1AdditionalPrivilegeIdentityDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_identity_get200_response.py b/test/test_api_v1_additional_privilege_identity_get200_response.py deleted file mode 100644 index ed0f6b5..0000000 --- a/test/test_api_v1_additional_privilege_identity_get200_response.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_identity_get200_response import ApiV1AdditionalPrivilegeIdentityGet200Response # noqa: E501 - -class TestApiV1AdditionalPrivilegeIdentityGet200Response(unittest.TestCase): - """ApiV1AdditionalPrivilegeIdentityGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeIdentityGet200Response: - """Test ApiV1AdditionalPrivilegeIdentityGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeIdentityGet200Response` - """ - model = ApiV1AdditionalPrivilegeIdentityGet200Response() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeIdentityGet200Response( - privileges = [ - infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_200_response_privilege._api_v1_additional_privilege_identity_permanent_post_200_response_privilege( - id = '', - slug = '', - project_membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner( - subject = null, - action = null, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1AdditionalPrivilegeIdentityGet200Response( - privileges = [ - infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_200_response_privilege._api_v1_additional_privilege_identity_permanent_post_200_response_privilege( - id = '', - slug = '', - project_membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner( - subject = null, - action = null, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1AdditionalPrivilegeIdentityGet200Response(self): - """Test ApiV1AdditionalPrivilegeIdentityGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_identity_patch_request.py b/test/test_api_v1_additional_privilege_identity_patch_request.py deleted file mode 100644 index 4647176..0000000 --- a/test/test_api_v1_additional_privilege_identity_patch_request.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request import ApiV1AdditionalPrivilegeIdentityPatchRequest # noqa: E501 - -class TestApiV1AdditionalPrivilegeIdentityPatchRequest(unittest.TestCase): - """ApiV1AdditionalPrivilegeIdentityPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeIdentityPatchRequest: - """Test ApiV1AdditionalPrivilegeIdentityPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeIdentityPatchRequest` - """ - model = ApiV1AdditionalPrivilegeIdentityPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeIdentityPatchRequest( - privilege_slug = '0', - identity_id = '0', - project_slug = '0', - privilege_details = infisicalapi_client.models._api_v1_additional_privilege_identity_patch_request_privilege_details._api_v1_additional_privilege_identity_patch_request_privilegeDetails( - slug = '0', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner._api_v1_workspace__projectSlug__roles_post_request_permissions_inner( - action = 'read', - subject = 'role', - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - privilege_permission = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission( - actions = [ - 'read' - ], - subject = 'secrets', - conditions = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission_conditions( - environment = '', ), ), - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1AdditionalPrivilegeIdentityPatchRequest( - privilege_slug = '0', - identity_id = '0', - project_slug = '0', - privilege_details = infisicalapi_client.models._api_v1_additional_privilege_identity_patch_request_privilege_details._api_v1_additional_privilege_identity_patch_request_privilegeDetails( - slug = '0', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner._api_v1_workspace__projectSlug__roles_post_request_permissions_inner( - action = 'read', - subject = 'role', - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - privilege_permission = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission( - actions = [ - 'read' - ], - subject = 'secrets', - conditions = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission_conditions( - environment = '', ), ), - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1AdditionalPrivilegeIdentityPatchRequest(self): - """Test ApiV1AdditionalPrivilegeIdentityPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_identity_patch_request_privilege_details.py b/test/test_api_v1_additional_privilege_identity_patch_request_privilege_details.py deleted file mode 100644 index f9183a4..0000000 --- a/test/test_api_v1_additional_privilege_identity_patch_request_privilege_details.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request_privilege_details import ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails # noqa: E501 - -class TestApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails(unittest.TestCase): - """ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails: - """Test ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails` - """ - model = ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails( - slug = '0', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner._api_v1_workspace__projectSlug__roles_post_request_permissions_inner( - action = 'read', - subject = 'role', - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - privilege_permission = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission( - actions = [ - 'read' - ], - subject = 'secrets', - conditions = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ), - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails( - ) - """ - - def testApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails(self): - """Test ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_identity_permanent_post200_response.py b/test/test_api_v1_additional_privilege_identity_permanent_post200_response.py deleted file mode 100644 index 769da2d..0000000 --- a/test/test_api_v1_additional_privilege_identity_permanent_post200_response.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response import ApiV1AdditionalPrivilegeIdentityPermanentPost200Response # noqa: E501 - -class TestApiV1AdditionalPrivilegeIdentityPermanentPost200Response(unittest.TestCase): - """ApiV1AdditionalPrivilegeIdentityPermanentPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200Response: - """Test ApiV1AdditionalPrivilegeIdentityPermanentPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeIdentityPermanentPost200Response` - """ - model = ApiV1AdditionalPrivilegeIdentityPermanentPost200Response() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeIdentityPermanentPost200Response( - privilege = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_200_response_privilege._api_v1_additional_privilege_identity_permanent_post_200_response_privilege( - id = '', - slug = '', - project_membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner( - subject = null, - action = null, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1AdditionalPrivilegeIdentityPermanentPost200Response( - privilege = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_200_response_privilege._api_v1_additional_privilege_identity_permanent_post_200_response_privilege( - id = '', - slug = '', - project_membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner( - subject = null, - action = null, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1AdditionalPrivilegeIdentityPermanentPost200Response(self): - """Test ApiV1AdditionalPrivilegeIdentityPermanentPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_identity_permanent_post200_response_privilege.py b/test/test_api_v1_additional_privilege_identity_permanent_post200_response_privilege.py deleted file mode 100644 index 2c2f9cf..0000000 --- a/test/test_api_v1_additional_privilege_identity_permanent_post200_response_privilege.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege # noqa: E501 - -class TestApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege(unittest.TestCase): - """ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege: - """Test ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege` - """ - model = ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege( - id = '', - slug = '', - project_membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner( - subject = null, - action = null, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege( - id = '', - slug = '', - project_membership_id = '', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner( - subject = null, - action = null, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege(self): - """Test ApiV1AdditionalPrivilegeIdentityPermanentPost200ResponsePrivilege""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_identity_permanent_post_request.py b/test/test_api_v1_additional_privilege_identity_permanent_post_request.py deleted file mode 100644 index 41ef557..0000000 --- a/test/test_api_v1_additional_privilege_identity_permanent_post_request.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request import ApiV1AdditionalPrivilegeIdentityPermanentPostRequest # noqa: E501 - -class TestApiV1AdditionalPrivilegeIdentityPermanentPostRequest(unittest.TestCase): - """ApiV1AdditionalPrivilegeIdentityPermanentPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeIdentityPermanentPostRequest: - """Test ApiV1AdditionalPrivilegeIdentityPermanentPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeIdentityPermanentPostRequest` - """ - model = ApiV1AdditionalPrivilegeIdentityPermanentPostRequest() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeIdentityPermanentPostRequest( - identity_id = '0', - project_slug = '0', - slug = '0', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner._api_v1_workspace__projectSlug__roles_post_request_permissions_inner( - action = 'read', - subject = 'role', - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - privilege_permission = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission( - actions = [ - 'read' - ], - subject = 'secrets', - conditions = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ) - else: - return ApiV1AdditionalPrivilegeIdentityPermanentPostRequest( - identity_id = '0', - project_slug = '0', - ) - """ - - def testApiV1AdditionalPrivilegeIdentityPermanentPostRequest(self): - """Test ApiV1AdditionalPrivilegeIdentityPermanentPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_identity_permanent_post_request_privilege_permission.py b/test/test_api_v1_additional_privilege_identity_permanent_post_request_privilege_permission.py deleted file mode 100644 index de1299c..0000000 --- a/test/test_api_v1_additional_privilege_identity_permanent_post_request_privilege_permission.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission # noqa: E501 - -class TestApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission(unittest.TestCase): - """ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission: - """Test ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission` - """ - model = ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission( - actions = [ - 'read' - ], - subject = 'secrets', - conditions = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ) - ) - else: - return ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission( - actions = [ - 'read' - ], - subject = 'secrets', - conditions = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), - ) - """ - - def testApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission(self): - """Test ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions.py b/test/test_api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions.py deleted file mode 100644 index 6427d1b..0000000 --- a/test/test_api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions import ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions # noqa: E501 - -class TestApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions(unittest.TestCase): - """ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions: - """Test ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions` - """ - model = ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ) - ) - else: - return ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions( - environment = '', - ) - """ - - def testApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions(self): - """Test ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermissionConditions""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_identity_temporary_post_request.py b/test/test_api_v1_additional_privilege_identity_temporary_post_request.py deleted file mode 100644 index 861adb0..0000000 --- a/test/test_api_v1_additional_privilege_identity_temporary_post_request.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_identity_temporary_post_request import ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest # noqa: E501 - -class TestApiV1AdditionalPrivilegeIdentityTemporaryPostRequest(unittest.TestCase): - """ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest: - """Test ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest` - """ - model = ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest( - identity_id = '0', - project_slug = '0', - slug = '0', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner._api_v1_workspace__projectSlug__roles_post_request_permissions_inner( - action = 'read', - subject = 'role', - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - privilege_permission = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission( - actions = [ - 'read' - ], - subject = 'secrets', - conditions = infisicalapi_client.models._api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions._api_v1_additional_privilege_identity_permanent_post_request_privilegePermission_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ), - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest( - identity_id = '0', - project_slug = '0', - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1AdditionalPrivilegeIdentityTemporaryPostRequest(self): - """Test ApiV1AdditionalPrivilegeIdentityTemporaryPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_users_get200_response.py b/test/test_api_v1_additional_privilege_users_get200_response.py deleted file mode 100644 index a784fdf..0000000 --- a/test/test_api_v1_additional_privilege_users_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_users_get200_response import ApiV1AdditionalPrivilegeUsersGet200Response # noqa: E501 - -class TestApiV1AdditionalPrivilegeUsersGet200Response(unittest.TestCase): - """ApiV1AdditionalPrivilegeUsersGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeUsersGet200Response: - """Test ApiV1AdditionalPrivilegeUsersGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeUsersGet200Response` - """ - model = ApiV1AdditionalPrivilegeUsersGet200Response() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeUsersGet200Response( - privileges = [ - infisicalapi_client.models._api_v1_additional_privilege_users_permanent_post_200_response_privilege._api_v1_additional_privilege_users_permanent_post_200_response_privilege( - id = '', - slug = '', - project_membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1AdditionalPrivilegeUsersGet200Response( - privileges = [ - infisicalapi_client.models._api_v1_additional_privilege_users_permanent_post_200_response_privilege._api_v1_additional_privilege_users_permanent_post_200_response_privilege( - id = '', - slug = '', - project_membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1AdditionalPrivilegeUsersGet200Response(self): - """Test ApiV1AdditionalPrivilegeUsersGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_users_permanent_post200_response.py b/test/test_api_v1_additional_privilege_users_permanent_post200_response.py deleted file mode 100644 index de9ccae..0000000 --- a/test/test_api_v1_additional_privilege_users_permanent_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response import ApiV1AdditionalPrivilegeUsersPermanentPost200Response # noqa: E501 - -class TestApiV1AdditionalPrivilegeUsersPermanentPost200Response(unittest.TestCase): - """ApiV1AdditionalPrivilegeUsersPermanentPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeUsersPermanentPost200Response: - """Test ApiV1AdditionalPrivilegeUsersPermanentPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeUsersPermanentPost200Response` - """ - model = ApiV1AdditionalPrivilegeUsersPermanentPost200Response() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeUsersPermanentPost200Response( - privilege = infisicalapi_client.models._api_v1_additional_privilege_users_permanent_post_200_response_privilege._api_v1_additional_privilege_users_permanent_post_200_response_privilege( - id = '', - slug = '', - project_membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1AdditionalPrivilegeUsersPermanentPost200Response( - privilege = infisicalapi_client.models._api_v1_additional_privilege_users_permanent_post_200_response_privilege._api_v1_additional_privilege_users_permanent_post_200_response_privilege( - id = '', - slug = '', - project_membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1AdditionalPrivilegeUsersPermanentPost200Response(self): - """Test ApiV1AdditionalPrivilegeUsersPermanentPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_users_permanent_post200_response_privilege.py b/test/test_api_v1_additional_privilege_users_permanent_post200_response_privilege.py deleted file mode 100644 index bf0b304..0000000 --- a/test/test_api_v1_additional_privilege_users_permanent_post200_response_privilege.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post200_response_privilege import ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege # noqa: E501 - -class TestApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege(unittest.TestCase): - """ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege: - """Test ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege` - """ - model = ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege( - id = '', - slug = '', - project_membership_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - permissions = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege( - id = '', - slug = '', - project_membership_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege(self): - """Test ApiV1AdditionalPrivilegeUsersPermanentPost200ResponsePrivilege""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_users_permanent_post_request.py b/test/test_api_v1_additional_privilege_users_permanent_post_request.py deleted file mode 100644 index e16f1a2..0000000 --- a/test/test_api_v1_additional_privilege_users_permanent_post_request.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_users_permanent_post_request import ApiV1AdditionalPrivilegeUsersPermanentPostRequest # noqa: E501 - -class TestApiV1AdditionalPrivilegeUsersPermanentPostRequest(unittest.TestCase): - """ApiV1AdditionalPrivilegeUsersPermanentPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeUsersPermanentPostRequest: - """Test ApiV1AdditionalPrivilegeUsersPermanentPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeUsersPermanentPostRequest` - """ - model = ApiV1AdditionalPrivilegeUsersPermanentPostRequest() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeUsersPermanentPostRequest( - project_membership_id = '0', - slug = '0', - permissions = [ - '' - ] - ) - else: - return ApiV1AdditionalPrivilegeUsersPermanentPostRequest( - project_membership_id = '0', - permissions = [ - '' - ], - ) - """ - - def testApiV1AdditionalPrivilegeUsersPermanentPostRequest(self): - """Test ApiV1AdditionalPrivilegeUsersPermanentPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_users_privilege_id_patch_request.py b/test/test_api_v1_additional_privilege_users_privilege_id_patch_request.py deleted file mode 100644 index 177abfb..0000000 --- a/test/test_api_v1_additional_privilege_users_privilege_id_patch_request.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_users_privilege_id_patch_request import ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest # noqa: E501 - -class TestApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest(unittest.TestCase): - """ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest: - """Test ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest` - """ - model = ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest( - slug = '', - permissions = [ - '' - ], - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest( - ) - """ - - def testApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest(self): - """Test ApiV1AdditionalPrivilegeUsersPrivilegeIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_additional_privilege_users_temporary_post_request.py b/test/test_api_v1_additional_privilege_users_temporary_post_request.py deleted file mode 100644 index 1bb6270..0000000 --- a/test/test_api_v1_additional_privilege_users_temporary_post_request.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_additional_privilege_users_temporary_post_request import ApiV1AdditionalPrivilegeUsersTemporaryPostRequest # noqa: E501 - -class TestApiV1AdditionalPrivilegeUsersTemporaryPostRequest(unittest.TestCase): - """ApiV1AdditionalPrivilegeUsersTemporaryPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdditionalPrivilegeUsersTemporaryPostRequest: - """Test ApiV1AdditionalPrivilegeUsersTemporaryPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdditionalPrivilegeUsersTemporaryPostRequest` - """ - model = ApiV1AdditionalPrivilegeUsersTemporaryPostRequest() # noqa: E501 - if include_optional: - return ApiV1AdditionalPrivilegeUsersTemporaryPostRequest( - project_membership_id = '0', - slug = '0', - permissions = [ - '' - ], - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1AdditionalPrivilegeUsersTemporaryPostRequest( - project_membership_id = '0', - permissions = [ - '' - ], - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1AdditionalPrivilegeUsersTemporaryPostRequest(self): - """Test ApiV1AdditionalPrivilegeUsersTemporaryPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_admin_config_get200_response.py b/test/test_api_v1_admin_config_get200_response.py deleted file mode 100644 index 8d4dbfb..0000000 --- a/test/test_api_v1_admin_config_get200_response.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_admin_config_get200_response import ApiV1AdminConfigGet200Response # noqa: E501 - -class TestApiV1AdminConfigGet200Response(unittest.TestCase): - """ApiV1AdminConfigGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdminConfigGet200Response: - """Test ApiV1AdminConfigGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdminConfigGet200Response` - """ - model = ApiV1AdminConfigGet200Response() # noqa: E501 - if include_optional: - return ApiV1AdminConfigGet200Response( - config = infisicalapi_client.models._api_v1_admin_config_get_200_response_config._api_v1_admin_config_get_200_response_config( - id = '', - initialized = True, - allow_sign_up = True, - allowed_sign_up_domain = '', - instance_id = '00000000-0000-0000-0000-000000000000', - trust_saml_emails = True, - trust_ldap_emails = True, - trust_oidc_emails = True, - default_auth_org_id = '', - enabled_login_methods = [ - '' - ], - is_migration_mode_on = True, - default_auth_org_slug = '', - is_secret_scanning_disabled = True, ) - ) - else: - return ApiV1AdminConfigGet200Response( - config = infisicalapi_client.models._api_v1_admin_config_get_200_response_config._api_v1_admin_config_get_200_response_config( - id = '', - initialized = True, - allow_sign_up = True, - allowed_sign_up_domain = '', - instance_id = '00000000-0000-0000-0000-000000000000', - trust_saml_emails = True, - trust_ldap_emails = True, - trust_oidc_emails = True, - default_auth_org_id = '', - enabled_login_methods = [ - '' - ], - is_migration_mode_on = True, - default_auth_org_slug = '', - is_secret_scanning_disabled = True, ), - ) - """ - - def testApiV1AdminConfigGet200Response(self): - """Test ApiV1AdminConfigGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_admin_config_get200_response_config.py b/test/test_api_v1_admin_config_get200_response_config.py deleted file mode 100644 index 9afee93..0000000 --- a/test/test_api_v1_admin_config_get200_response_config.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_admin_config_get200_response_config import ApiV1AdminConfigGet200ResponseConfig # noqa: E501 - -class TestApiV1AdminConfigGet200ResponseConfig(unittest.TestCase): - """ApiV1AdminConfigGet200ResponseConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdminConfigGet200ResponseConfig: - """Test ApiV1AdminConfigGet200ResponseConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdminConfigGet200ResponseConfig` - """ - model = ApiV1AdminConfigGet200ResponseConfig() # noqa: E501 - if include_optional: - return ApiV1AdminConfigGet200ResponseConfig( - id = '', - initialized = True, - allow_sign_up = True, - allowed_sign_up_domain = '', - instance_id = '00000000-0000-0000-0000-000000000000', - trust_saml_emails = True, - trust_ldap_emails = True, - trust_oidc_emails = True, - default_auth_org_id = '', - enabled_login_methods = [ - '' - ], - is_migration_mode_on = True, - default_auth_org_slug = '', - is_secret_scanning_disabled = True - ) - else: - return ApiV1AdminConfigGet200ResponseConfig( - id = '', - is_migration_mode_on = True, - default_auth_org_slug = '', - is_secret_scanning_disabled = True, - ) - """ - - def testApiV1AdminConfigGet200ResponseConfig(self): - """Test ApiV1AdminConfigGet200ResponseConfig""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_admin_config_patch200_response.py b/test/test_api_v1_admin_config_patch200_response.py deleted file mode 100644 index 19a7675..0000000 --- a/test/test_api_v1_admin_config_patch200_response.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_admin_config_patch200_response import ApiV1AdminConfigPatch200Response # noqa: E501 - -class TestApiV1AdminConfigPatch200Response(unittest.TestCase): - """ApiV1AdminConfigPatch200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdminConfigPatch200Response: - """Test ApiV1AdminConfigPatch200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdminConfigPatch200Response` - """ - model = ApiV1AdminConfigPatch200Response() # noqa: E501 - if include_optional: - return ApiV1AdminConfigPatch200Response( - config = infisicalapi_client.models._api_v1_admin_config_patch_200_response_config._api_v1_admin_config_patch_200_response_config( - id = '', - initialized = True, - allow_sign_up = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - allowed_sign_up_domain = '', - instance_id = '00000000-0000-0000-0000-000000000000', - trust_saml_emails = True, - trust_ldap_emails = True, - trust_oidc_emails = True, - default_auth_org_id = '', - enabled_login_methods = [ - '' - ], - default_auth_org_slug = '', ) - ) - else: - return ApiV1AdminConfigPatch200Response( - config = infisicalapi_client.models._api_v1_admin_config_patch_200_response_config._api_v1_admin_config_patch_200_response_config( - id = '', - initialized = True, - allow_sign_up = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - allowed_sign_up_domain = '', - instance_id = '00000000-0000-0000-0000-000000000000', - trust_saml_emails = True, - trust_ldap_emails = True, - trust_oidc_emails = True, - default_auth_org_id = '', - enabled_login_methods = [ - '' - ], - default_auth_org_slug = '', ), - ) - """ - - def testApiV1AdminConfigPatch200Response(self): - """Test ApiV1AdminConfigPatch200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_admin_config_patch200_response_config.py b/test/test_api_v1_admin_config_patch200_response_config.py deleted file mode 100644 index 4130305..0000000 --- a/test/test_api_v1_admin_config_patch200_response_config.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_admin_config_patch200_response_config import ApiV1AdminConfigPatch200ResponseConfig # noqa: E501 - -class TestApiV1AdminConfigPatch200ResponseConfig(unittest.TestCase): - """ApiV1AdminConfigPatch200ResponseConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdminConfigPatch200ResponseConfig: - """Test ApiV1AdminConfigPatch200ResponseConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdminConfigPatch200ResponseConfig` - """ - model = ApiV1AdminConfigPatch200ResponseConfig() # noqa: E501 - if include_optional: - return ApiV1AdminConfigPatch200ResponseConfig( - id = '', - initialized = True, - allow_sign_up = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - allowed_sign_up_domain = '', - instance_id = '00000000-0000-0000-0000-000000000000', - trust_saml_emails = True, - trust_ldap_emails = True, - trust_oidc_emails = True, - default_auth_org_id = '', - enabled_login_methods = [ - '' - ], - default_auth_org_slug = '' - ) - else: - return ApiV1AdminConfigPatch200ResponseConfig( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - default_auth_org_slug = '', - ) - """ - - def testApiV1AdminConfigPatch200ResponseConfig(self): - """Test ApiV1AdminConfigPatch200ResponseConfig""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_admin_config_patch_request.py b/test/test_api_v1_admin_config_patch_request.py deleted file mode 100644 index c492f0e..0000000 --- a/test/test_api_v1_admin_config_patch_request.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_admin_config_patch_request import ApiV1AdminConfigPatchRequest # noqa: E501 - -class TestApiV1AdminConfigPatchRequest(unittest.TestCase): - """ApiV1AdminConfigPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdminConfigPatchRequest: - """Test ApiV1AdminConfigPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdminConfigPatchRequest` - """ - model = ApiV1AdminConfigPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AdminConfigPatchRequest( - allow_sign_up = True, - allowed_sign_up_domain = '', - trust_saml_emails = True, - trust_ldap_emails = True, - trust_oidc_emails = True, - default_auth_org_id = '', - enabled_login_methods = [ - 'email' - ] - ) - else: - return ApiV1AdminConfigPatchRequest( - ) - """ - - def testApiV1AdminConfigPatchRequest(self): - """Test ApiV1AdminConfigPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_admin_signup_post200_response.py b/test/test_api_v1_admin_signup_post200_response.py deleted file mode 100644 index 568c9c3..0000000 --- a/test/test_api_v1_admin_signup_post200_response.py +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_admin_signup_post200_response import ApiV1AdminSignupPost200Response # noqa: E501 - -class TestApiV1AdminSignupPost200Response(unittest.TestCase): - """ApiV1AdminSignupPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdminSignupPost200Response: - """Test ApiV1AdminSignupPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdminSignupPost200Response` - """ - model = ApiV1AdminSignupPost200Response() # noqa: E501 - if include_optional: - return ApiV1AdminSignupPost200Response( - message = '', - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ), - organization = infisicalapi_client.models._api_v1_organization_get_200_response_organizations_inner._api_v1_organization_get_200_response_organizations_inner( - id = '', - name = '', - customer_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - auth_enforced = True, - scim_enabled = True, - kms_default_key_id = '', - kms_encrypted_data_key = null, ), - token = '', - new = '' - ) - else: - return ApiV1AdminSignupPost200Response( - message = '', - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ), - organization = infisicalapi_client.models._api_v1_organization_get_200_response_organizations_inner._api_v1_organization_get_200_response_organizations_inner( - id = '', - name = '', - customer_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - auth_enforced = True, - scim_enabled = True, - kms_default_key_id = '', - kms_encrypted_data_key = null, ), - token = '', - new = '', - ) - """ - - def testApiV1AdminSignupPost200Response(self): - """Test ApiV1AdminSignupPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_admin_signup_post_request.py b/test/test_api_v1_admin_signup_post_request.py deleted file mode 100644 index 103dc55..0000000 --- a/test/test_api_v1_admin_signup_post_request.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_admin_signup_post_request import ApiV1AdminSignupPostRequest # noqa: E501 - -class TestApiV1AdminSignupPostRequest(unittest.TestCase): - """ApiV1AdminSignupPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdminSignupPostRequest: - """Test ApiV1AdminSignupPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdminSignupPostRequest` - """ - model = ApiV1AdminSignupPostRequest() # noqa: E501 - if include_optional: - return ApiV1AdminSignupPostRequest( - email = '', - password = '', - first_name = '', - last_name = '', - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - encrypted_private_key_iv = '', - encrypted_private_key_tag = '', - salt = '', - verifier = '' - ) - else: - return ApiV1AdminSignupPostRequest( - email = '', - password = '', - first_name = '', - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - encrypted_private_key_iv = '', - encrypted_private_key_tag = '', - salt = '', - verifier = '', - ) - """ - - def testApiV1AdminSignupPostRequest(self): - """Test ApiV1AdminSignupPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_admin_user_management_users_get200_response.py b/test/test_api_v1_admin_user_management_users_get200_response.py deleted file mode 100644 index 3f894a6..0000000 --- a/test/test_api_v1_admin_user_management_users_get200_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response import ApiV1AdminUserManagementUsersGet200Response # noqa: E501 - -class TestApiV1AdminUserManagementUsersGet200Response(unittest.TestCase): - """ApiV1AdminUserManagementUsersGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdminUserManagementUsersGet200Response: - """Test ApiV1AdminUserManagementUsersGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdminUserManagementUsersGet200Response` - """ - model = ApiV1AdminUserManagementUsersGet200Response() # noqa: E501 - if include_optional: - return ApiV1AdminUserManagementUsersGet200Response( - users = [ - infisicalapi_client.models._api_v1_admin_user_management_users_get_200_response_users_inner._api_v1_admin_user_management_users_get_200_response_users_inner( - username = '', - first_name = '', - last_name = '', - email = '', - id = '', ) - ] - ) - else: - return ApiV1AdminUserManagementUsersGet200Response( - users = [ - infisicalapi_client.models._api_v1_admin_user_management_users_get_200_response_users_inner._api_v1_admin_user_management_users_get_200_response_users_inner( - username = '', - first_name = '', - last_name = '', - email = '', - id = '', ) - ], - ) - """ - - def testApiV1AdminUserManagementUsersGet200Response(self): - """Test ApiV1AdminUserManagementUsersGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_admin_user_management_users_get200_response_users_inner.py b/test/test_api_v1_admin_user_management_users_get200_response_users_inner.py deleted file mode 100644 index 7bb13ef..0000000 --- a/test/test_api_v1_admin_user_management_users_get200_response_users_inner.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_admin_user_management_users_get200_response_users_inner import ApiV1AdminUserManagementUsersGet200ResponseUsersInner # noqa: E501 - -class TestApiV1AdminUserManagementUsersGet200ResponseUsersInner(unittest.TestCase): - """ApiV1AdminUserManagementUsersGet200ResponseUsersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdminUserManagementUsersGet200ResponseUsersInner: - """Test ApiV1AdminUserManagementUsersGet200ResponseUsersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdminUserManagementUsersGet200ResponseUsersInner` - """ - model = ApiV1AdminUserManagementUsersGet200ResponseUsersInner() # noqa: E501 - if include_optional: - return ApiV1AdminUserManagementUsersGet200ResponseUsersInner( - username = '', - first_name = '', - last_name = '', - email = '', - id = '' - ) - else: - return ApiV1AdminUserManagementUsersGet200ResponseUsersInner( - username = '', - id = '', - ) - """ - - def testApiV1AdminUserManagementUsersGet200ResponseUsersInner(self): - """Test ApiV1AdminUserManagementUsersGet200ResponseUsersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_admin_user_management_users_user_id_delete200_response.py b/test/test_api_v1_admin_user_management_users_user_id_delete200_response.py deleted file mode 100644 index 31662ab..0000000 --- a/test/test_api_v1_admin_user_management_users_user_id_delete200_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_admin_user_management_users_user_id_delete200_response import ApiV1AdminUserManagementUsersUserIdDelete200Response # noqa: E501 - -class TestApiV1AdminUserManagementUsersUserIdDelete200Response(unittest.TestCase): - """ApiV1AdminUserManagementUsersUserIdDelete200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AdminUserManagementUsersUserIdDelete200Response: - """Test ApiV1AdminUserManagementUsersUserIdDelete200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AdminUserManagementUsersUserIdDelete200Response` - """ - model = ApiV1AdminUserManagementUsersUserIdDelete200Response() # noqa: E501 - if include_optional: - return ApiV1AdminUserManagementUsersUserIdDelete200Response( - users = infisicalapi_client.models._api_v1_admin_user_management_users_get_200_response_users_inner._api_v1_admin_user_management_users_get_200_response_users_inner( - username = '', - first_name = '', - last_name = '', - email = '', - id = '', ) - ) - else: - return ApiV1AdminUserManagementUsersUserIdDelete200Response( - users = infisicalapi_client.models._api_v1_admin_user_management_users_get_200_response_users_inner._api_v1_admin_user_management_users_get_200_response_users_inner( - username = '', - first_name = '', - last_name = '', - email = '', - id = '', ), - ) - """ - - def testApiV1AdminUserManagementUsersUserIdDelete200Response(self): - """Test ApiV1AdminUserManagementUsersUserIdDelete200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_audit_log_streams_get200_response.py b/test/test_api_v1_audit_log_streams_get200_response.py deleted file mode 100644 index 2be2705..0000000 --- a/test/test_api_v1_audit_log_streams_get200_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response import ApiV1AuditLogStreamsGet200Response # noqa: E501 - -class TestApiV1AuditLogStreamsGet200Response(unittest.TestCase): - """ApiV1AuditLogStreamsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuditLogStreamsGet200Response: - """Test ApiV1AuditLogStreamsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuditLogStreamsGet200Response` - """ - model = ApiV1AuditLogStreamsGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuditLogStreamsGet200Response( - audit_log_streams = [ - infisicalapi_client.models._api_v1_audit_log_streams_get_200_response_audit_log_streams_inner._api_v1_audit_log_streams_get_200_response_auditLogStreams_inner( - id = '', - url = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1AuditLogStreamsGet200Response( - audit_log_streams = [ - infisicalapi_client.models._api_v1_audit_log_streams_get_200_response_audit_log_streams_inner._api_v1_audit_log_streams_get_200_response_auditLogStreams_inner( - id = '', - url = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1AuditLogStreamsGet200Response(self): - """Test ApiV1AuditLogStreamsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_audit_log_streams_get200_response_audit_log_streams_inner.py b/test/test_api_v1_audit_log_streams_get200_response_audit_log_streams_inner.py deleted file mode 100644 index c551df1..0000000 --- a/test/test_api_v1_audit_log_streams_get200_response_audit_log_streams_inner.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_audit_log_streams_get200_response_audit_log_streams_inner import ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner # noqa: E501 - -class TestApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner(unittest.TestCase): - """ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner: - """Test ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner` - """ - model = ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner() # noqa: E501 - if include_optional: - return ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner( - id = '', - url = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner( - id = '', - url = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner(self): - """Test ApiV1AuditLogStreamsGet200ResponseAuditLogStreamsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_audit_log_streams_id_get200_response.py b/test/test_api_v1_audit_log_streams_id_get200_response.py deleted file mode 100644 index f054404..0000000 --- a/test/test_api_v1_audit_log_streams_id_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response import ApiV1AuditLogStreamsIdGet200Response # noqa: E501 - -class TestApiV1AuditLogStreamsIdGet200Response(unittest.TestCase): - """ApiV1AuditLogStreamsIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuditLogStreamsIdGet200Response: - """Test ApiV1AuditLogStreamsIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuditLogStreamsIdGet200Response` - """ - model = ApiV1AuditLogStreamsIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuditLogStreamsIdGet200Response( - audit_log_stream = infisicalapi_client.models._api_v1_audit_log_streams__id__get_200_response_audit_log_stream._api_v1_audit_log_streams__id__get_200_response_auditLogStream( - id = '', - url = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - headers = [ - infisicalapi_client.models._api_v1_audit_log_streams__id__get_200_response_audit_log_stream_headers_inner._api_v1_audit_log_streams__id__get_200_response_auditLogStream_headers_inner( - key = '', - value = '', ) - ], ) - ) - else: - return ApiV1AuditLogStreamsIdGet200Response( - audit_log_stream = infisicalapi_client.models._api_v1_audit_log_streams__id__get_200_response_audit_log_stream._api_v1_audit_log_streams__id__get_200_response_auditLogStream( - id = '', - url = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - headers = [ - infisicalapi_client.models._api_v1_audit_log_streams__id__get_200_response_audit_log_stream_headers_inner._api_v1_audit_log_streams__id__get_200_response_auditLogStream_headers_inner( - key = '', - value = '', ) - ], ), - ) - """ - - def testApiV1AuditLogStreamsIdGet200Response(self): - """Test ApiV1AuditLogStreamsIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_audit_log_streams_id_get200_response_audit_log_stream.py b/test/test_api_v1_audit_log_streams_id_get200_response_audit_log_stream.py deleted file mode 100644 index 13f5bda..0000000 --- a/test/test_api_v1_audit_log_streams_id_get200_response_audit_log_stream.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream # noqa: E501 - -class TestApiV1AuditLogStreamsIdGet200ResponseAuditLogStream(unittest.TestCase): - """ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream: - """Test ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream` - """ - model = ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream() # noqa: E501 - if include_optional: - return ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream( - id = '', - url = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - headers = [ - infisicalapi_client.models._api_v1_audit_log_streams__id__get_200_response_audit_log_stream_headers_inner._api_v1_audit_log_streams__id__get_200_response_auditLogStream_headers_inner( - key = '', - value = '', ) - ] - ) - else: - return ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream( - id = '', - url = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1AuditLogStreamsIdGet200ResponseAuditLogStream(self): - """Test ApiV1AuditLogStreamsIdGet200ResponseAuditLogStream""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner.py b/test/test_api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner.py deleted file mode 100644 index 036b318..0000000 --- a/test/test_api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner import ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner # noqa: E501 - -class TestApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner(unittest.TestCase): - """ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner: - """Test ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner` - """ - model = ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner() # noqa: E501 - if include_optional: - return ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner( - key = '', - value = '' - ) - else: - return ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner( - key = '', - value = '', - ) - """ - - def testApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner(self): - """Test ApiV1AuditLogStreamsIdGet200ResponseAuditLogStreamHeadersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_audit_log_streams_id_patch_request.py b/test/test_api_v1_audit_log_streams_id_patch_request.py deleted file mode 100644 index 5c89cfe..0000000 --- a/test/test_api_v1_audit_log_streams_id_patch_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_audit_log_streams_id_patch_request import ApiV1AuditLogStreamsIdPatchRequest # noqa: E501 - -class TestApiV1AuditLogStreamsIdPatchRequest(unittest.TestCase): - """ApiV1AuditLogStreamsIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuditLogStreamsIdPatchRequest: - """Test ApiV1AuditLogStreamsIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuditLogStreamsIdPatchRequest` - """ - model = ApiV1AuditLogStreamsIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AuditLogStreamsIdPatchRequest( - url = '', - headers = [ - infisicalapi_client.models._api_v1_audit_log_streams_post_request_headers_inner._api_v1_audit_log_streams_post_request_headers_inner( - key = '0', - value = '0', ) - ] - ) - else: - return ApiV1AuditLogStreamsIdPatchRequest( - ) - """ - - def testApiV1AuditLogStreamsIdPatchRequest(self): - """Test ApiV1AuditLogStreamsIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_audit_log_streams_post200_response.py b/test/test_api_v1_audit_log_streams_post200_response.py deleted file mode 100644 index 2bf8206..0000000 --- a/test/test_api_v1_audit_log_streams_post200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_audit_log_streams_post200_response import ApiV1AuditLogStreamsPost200Response # noqa: E501 - -class TestApiV1AuditLogStreamsPost200Response(unittest.TestCase): - """ApiV1AuditLogStreamsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuditLogStreamsPost200Response: - """Test ApiV1AuditLogStreamsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuditLogStreamsPost200Response` - """ - model = ApiV1AuditLogStreamsPost200Response() # noqa: E501 - if include_optional: - return ApiV1AuditLogStreamsPost200Response( - audit_log_stream = infisicalapi_client.models._api_v1_audit_log_streams_get_200_response_audit_log_streams_inner._api_v1_audit_log_streams_get_200_response_auditLogStreams_inner( - id = '', - url = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1AuditLogStreamsPost200Response( - audit_log_stream = infisicalapi_client.models._api_v1_audit_log_streams_get_200_response_audit_log_streams_inner._api_v1_audit_log_streams_get_200_response_auditLogStreams_inner( - id = '', - url = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1AuditLogStreamsPost200Response(self): - """Test ApiV1AuditLogStreamsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_audit_log_streams_post_request.py b/test/test_api_v1_audit_log_streams_post_request.py deleted file mode 100644 index 7c37687..0000000 --- a/test/test_api_v1_audit_log_streams_post_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_audit_log_streams_post_request import ApiV1AuditLogStreamsPostRequest # noqa: E501 - -class TestApiV1AuditLogStreamsPostRequest(unittest.TestCase): - """ApiV1AuditLogStreamsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuditLogStreamsPostRequest: - """Test ApiV1AuditLogStreamsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuditLogStreamsPostRequest` - """ - model = ApiV1AuditLogStreamsPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuditLogStreamsPostRequest( - url = '0', - headers = [ - infisicalapi_client.models._api_v1_audit_log_streams_post_request_headers_inner._api_v1_audit_log_streams_post_request_headers_inner( - key = '0', - value = '0', ) - ] - ) - else: - return ApiV1AuditLogStreamsPostRequest( - url = '0', - ) - """ - - def testApiV1AuditLogStreamsPostRequest(self): - """Test ApiV1AuditLogStreamsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_audit_log_streams_post_request_headers_inner.py b/test/test_api_v1_audit_log_streams_post_request_headers_inner.py deleted file mode 100644 index 3030932..0000000 --- a/test/test_api_v1_audit_log_streams_post_request_headers_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_audit_log_streams_post_request_headers_inner import ApiV1AuditLogStreamsPostRequestHeadersInner # noqa: E501 - -class TestApiV1AuditLogStreamsPostRequestHeadersInner(unittest.TestCase): - """ApiV1AuditLogStreamsPostRequestHeadersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuditLogStreamsPostRequestHeadersInner: - """Test ApiV1AuditLogStreamsPostRequestHeadersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuditLogStreamsPostRequestHeadersInner` - """ - model = ApiV1AuditLogStreamsPostRequestHeadersInner() # noqa: E501 - if include_optional: - return ApiV1AuditLogStreamsPostRequestHeadersInner( - key = '0', - value = '0' - ) - else: - return ApiV1AuditLogStreamsPostRequestHeadersInner( - key = '0', - value = '0', - ) - """ - - def testApiV1AuditLogStreamsPostRequestHeadersInner(self): - """Test ApiV1AuditLogStreamsPostRequestHeadersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_aws_auth_identities_identity_id_get200_response.py b/test/test_api_v1_auth_aws_auth_identities_identity_id_get200_response.py deleted file mode 100644 index a550126..0000000 --- a/test/test_api_v1_auth_aws_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response # noqa: E501 - -class TestApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response(unittest.TestCase): - """ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response: - """Test ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response` - """ - model = ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response( - identity_aws_auth = infisicalapi_client.models._api_v1_auth_aws_auth_identities__identity_id__get_200_response_identity_aws_auth._api_v1_auth_aws_auth_identities__identityId__get_200_response_identityAwsAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - type = '', - sts_endpoint = '', - allowed_principal_arns = '', - allowed_account_ids = '', ) - ) - else: - return ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response( - identity_aws_auth = infisicalapi_client.models._api_v1_auth_aws_auth_identities__identity_id__get_200_response_identity_aws_auth._api_v1_auth_aws_auth_identities__identityId__get_200_response_identityAwsAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - type = '', - sts_endpoint = '', - allowed_principal_arns = '', - allowed_account_ids = '', ), - ) - """ - - def testApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response(self): - """Test ApiV1AuthAwsAuthIdentitiesIdentityIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth.py b/test/test_api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth.py deleted file mode 100644 index fd1c80c..0000000 --- a/test/test_api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth import ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth # noqa: E501 - -class TestApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth(unittest.TestCase): - """ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth: - """Test ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth` - """ - model = ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth() # noqa: E501 - if include_optional: - return ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - type = '', - sts_endpoint = '', - allowed_principal_arns = '', - allowed_account_ids = '' - ) - else: - return ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - type = '', - sts_endpoint = '', - allowed_principal_arns = '', - allowed_account_ids = '', - ) - """ - - def testApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth(self): - """Test ApiV1AuthAwsAuthIdentitiesIdentityIdGet200ResponseIdentityAwsAuth""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_aws_auth_identities_identity_id_patch_request.py b/test/test_api_v1_auth_aws_auth_identities_identity_id_patch_request.py deleted file mode 100644 index cc5f06d..0000000 --- a/test/test_api_v1_auth_aws_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_patch_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest # noqa: E501 - -class TestApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest(unittest.TestCase): - """ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest: - """Test ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest` - """ - model = ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest( - sts_endpoint = '0', - allowed_principal_arns = '', - allowed_account_ids = '', - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 0, - access_token_num_uses_limit = 0, - access_token_max_ttl = 56 - ) - else: - return ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest( - ) - """ - - def testApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest(self): - """Test ApiV1AuthAwsAuthIdentitiesIdentityIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_aws_auth_identities_identity_id_post_request.py b/test/test_api_v1_auth_aws_auth_identities_identity_id_post_request.py deleted file mode 100644 index fcbdf27..0000000 --- a/test/test_api_v1_auth_aws_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_aws_auth_identities_identity_id_post_request import ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest # noqa: E501 - -class TestApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest(unittest.TestCase): - """ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest: - """Test ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest` - """ - model = ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest( - sts_endpoint = 'https://sts.amazonaws.com/', - allowed_principal_arns = '', - allowed_account_ids = '', - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 1, - access_token_max_ttl = 56, - access_token_num_uses_limit = 0 - ) - else: - return ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest( - ) - """ - - def testApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest(self): - """Test ApiV1AuthAwsAuthIdentitiesIdentityIdPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_aws_auth_login_post_request.py b/test/test_api_v1_auth_aws_auth_login_post_request.py deleted file mode 100644 index 4a852cb..0000000 --- a/test/test_api_v1_auth_aws_auth_login_post_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_aws_auth_login_post_request import ApiV1AuthAwsAuthLoginPostRequest # noqa: E501 - -class TestApiV1AuthAwsAuthLoginPostRequest(unittest.TestCase): - """ApiV1AuthAwsAuthLoginPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthAwsAuthLoginPostRequest: - """Test ApiV1AuthAwsAuthLoginPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthAwsAuthLoginPostRequest` - """ - model = ApiV1AuthAwsAuthLoginPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthAwsAuthLoginPostRequest( - identity_id = '', - iam_http_request_method = 'POST', - iam_request_body = '', - iam_request_headers = '' - ) - else: - return ApiV1AuthAwsAuthLoginPostRequest( - identity_id = '', - iam_request_body = '', - iam_request_headers = '', - ) - """ - - def testApiV1AuthAwsAuthLoginPostRequest(self): - """Test ApiV1AuthAwsAuthLoginPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_azure_auth_identities_identity_id_get200_response.py b/test/test_api_v1_auth_azure_auth_identities_identity_id_get200_response.py deleted file mode 100644 index 6819be7..0000000 --- a/test/test_api_v1_auth_azure_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response # noqa: E501 - -class TestApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response(unittest.TestCase): - """ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response: - """Test ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response` - """ - model = ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response( - identity_azure_auth = infisicalapi_client.models._api_v1_auth_azure_auth_identities__identity_id__get_200_response_identity_azure_auth._api_v1_auth_azure_auth_identities__identityId__get_200_response_identityAzureAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - tenant_id = '', - resource = '', - allowed_service_principal_ids = '', ) - ) - else: - return ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response( - identity_azure_auth = infisicalapi_client.models._api_v1_auth_azure_auth_identities__identity_id__get_200_response_identity_azure_auth._api_v1_auth_azure_auth_identities__identityId__get_200_response_identityAzureAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - tenant_id = '', - resource = '', - allowed_service_principal_ids = '', ), - ) - """ - - def testApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response(self): - """Test ApiV1AuthAzureAuthIdentitiesIdentityIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth.py b/test/test_api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth.py deleted file mode 100644 index 1affc49..0000000 --- a/test/test_api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth import ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth # noqa: E501 - -class TestApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth(unittest.TestCase): - """ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth: - """Test ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth` - """ - model = ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth() # noqa: E501 - if include_optional: - return ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - tenant_id = '', - resource = '', - allowed_service_principal_ids = '' - ) - else: - return ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - tenant_id = '', - resource = '', - allowed_service_principal_ids = '', - ) - """ - - def testApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth(self): - """Test ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_azure_auth_identities_identity_id_patch_request.py b/test/test_api_v1_auth_azure_auth_identities_identity_id_patch_request.py deleted file mode 100644 index 0ec3049..0000000 --- a/test/test_api_v1_auth_azure_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_patch_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest # noqa: E501 - -class TestApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest(unittest.TestCase): - """ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest: - """Test ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest` - """ - model = ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest( - tenant_id = '', - resource = '', - allowed_service_principal_ids = '', - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 0, - access_token_num_uses_limit = 0, - access_token_max_ttl = 56 - ) - else: - return ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest( - ) - """ - - def testApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest(self): - """Test ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_azure_auth_identities_identity_id_post_request.py b/test/test_api_v1_auth_azure_auth_identities_identity_id_post_request.py deleted file mode 100644 index c886242..0000000 --- a/test/test_api_v1_auth_azure_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_azure_auth_identities_identity_id_post_request import ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest # noqa: E501 - -class TestApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest(unittest.TestCase): - """ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest: - """Test ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest` - """ - model = ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest( - tenant_id = '', - resource = '', - allowed_service_principal_ids = '', - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 1, - access_token_max_ttl = 56, - access_token_num_uses_limit = 0 - ) - else: - return ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest( - tenant_id = '', - resource = '', - ) - """ - - def testApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest(self): - """Test ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_check_auth_post200_response.py b/test/test_api_v1_auth_check_auth_post200_response.py deleted file mode 100644 index 999ee07..0000000 --- a/test/test_api_v1_auth_check_auth_post200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_check_auth_post200_response import ApiV1AuthCheckAuthPost200Response # noqa: E501 - -class TestApiV1AuthCheckAuthPost200Response(unittest.TestCase): - """ApiV1AuthCheckAuthPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthCheckAuthPost200Response: - """Test ApiV1AuthCheckAuthPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthCheckAuthPost200Response` - """ - model = ApiV1AuthCheckAuthPost200Response() # noqa: E501 - if include_optional: - return ApiV1AuthCheckAuthPost200Response( - message = 'Authenticated' - ) - else: - return ApiV1AuthCheckAuthPost200Response( - message = 'Authenticated', - ) - """ - - def testApiV1AuthCheckAuthPost200Response(self): - """Test ApiV1AuthCheckAuthPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_gcp_auth_identities_identity_id_get200_response.py b/test/test_api_v1_auth_gcp_auth_identities_identity_id_get200_response.py deleted file mode 100644 index 3749d07..0000000 --- a/test/test_api_v1_auth_gcp_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response # noqa: E501 - -class TestApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response(unittest.TestCase): - """ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response: - """Test ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response` - """ - model = ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response( - identity_gcp_auth = infisicalapi_client.models._api_v1_auth_gcp_auth_identities__identity_id__get_200_response_identity_gcp_auth._api_v1_auth_gcp_auth_identities__identityId__get_200_response_identityGcpAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - type = '', - allowed_service_accounts = '', - allowed_projects = '', - allowed_zones = '', ) - ) - else: - return ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response( - identity_gcp_auth = infisicalapi_client.models._api_v1_auth_gcp_auth_identities__identity_id__get_200_response_identity_gcp_auth._api_v1_auth_gcp_auth_identities__identityId__get_200_response_identityGcpAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - type = '', - allowed_service_accounts = '', - allowed_projects = '', - allowed_zones = '', ), - ) - """ - - def testApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response(self): - """Test ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth.py b/test/test_api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth.py deleted file mode 100644 index b211c95..0000000 --- a/test/test_api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth # noqa: E501 - -class TestApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth(unittest.TestCase): - """ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth: - """Test ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth` - """ - model = ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth() # noqa: E501 - if include_optional: - return ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - type = '', - allowed_service_accounts = '', - allowed_projects = '', - allowed_zones = '' - ) - else: - return ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - type = '', - allowed_service_accounts = '', - allowed_projects = '', - allowed_zones = '', - ) - """ - - def testApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth(self): - """Test ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_gcp_auth_identities_identity_id_patch_request.py b/test/test_api_v1_auth_gcp_auth_identities_identity_id_patch_request.py deleted file mode 100644 index 4d6c900..0000000 --- a/test/test_api_v1_auth_gcp_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_patch_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest # noqa: E501 - -class TestApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest(unittest.TestCase): - """ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest: - """Test ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest` - """ - model = ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest( - type = 'iam', - allowed_service_accounts = '', - allowed_projects = '', - allowed_zones = '', - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 0, - access_token_num_uses_limit = 0, - access_token_max_ttl = 56 - ) - else: - return ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest( - ) - """ - - def testApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest(self): - """Test ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_gcp_auth_identities_identity_id_post_request.py b/test/test_api_v1_auth_gcp_auth_identities_identity_id_post_request.py deleted file mode 100644 index b3ad066..0000000 --- a/test/test_api_v1_auth_gcp_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_post_request import ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest # noqa: E501 - -class TestApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest(unittest.TestCase): - """ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest: - """Test ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest` - """ - model = ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest( - type = 'iam', - allowed_service_accounts = '', - allowed_projects = '', - allowed_zones = '', - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 1, - access_token_max_ttl = 56, - access_token_num_uses_limit = 0 - ) - else: - return ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest( - type = 'iam', - ) - """ - - def testApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest(self): - """Test ApiV1AuthGcpAuthIdentitiesIdentityIdPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response.py b/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response.py deleted file mode 100644 index d66bc22..0000000 --- a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response # noqa: E501 - -class TestApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response(unittest.TestCase): - """ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response: - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response` - """ - model = ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response() # noqa: E501 - if include_optional: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response( - identity_kubernetes_auth = infisicalapi_client.models._api_v1_auth_kubernetes_auth_identities__identity_id__delete_200_response_identity_kubernetes_auth._api_v1_auth_kubernetes_auth_identities__identityId__delete_200_response_identityKubernetesAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - kubernetes_host = '', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '', ) - ) - else: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response( - identity_kubernetes_auth = infisicalapi_client.models._api_v1_auth_kubernetes_auth_identities__identity_id__delete_200_response_identity_kubernetes_auth._api_v1_auth_kubernetes_auth_identities__identityId__delete_200_response_identityKubernetesAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - kubernetes_host = '', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '', ), - ) - """ - - def testApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response(self): - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth.py b/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth.py deleted file mode 100644 index 484ba1e..0000000 --- a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth import ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth # noqa: E501 - -class TestApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth(unittest.TestCase): - """ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth: - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth` - """ - model = ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth() # noqa: E501 - if include_optional: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - kubernetes_host = '', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '' - ) - else: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - kubernetes_host = '', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '', - ) - """ - - def testApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth(self): - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdDelete200ResponseIdentityKubernetesAuth""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_get200_response.py b/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_get200_response.py deleted file mode 100644 index 92cc0a4..0000000 --- a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response # noqa: E501 - -class TestApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response(unittest.TestCase): - """ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response: - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response` - """ - model = ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response( - identity_kubernetes_auth = infisicalapi_client.models._api_v1_auth_kubernetes_auth_identities__identity_id__get_200_response_identity_kubernetes_auth._api_v1_auth_kubernetes_auth_identities__identityId__get_200_response_identityKubernetesAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - kubernetes_host = '', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '', - ca_cert = '', - token_reviewer_jwt = '', ) - ) - else: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response( - identity_kubernetes_auth = infisicalapi_client.models._api_v1_auth_kubernetes_auth_identities__identity_id__get_200_response_identity_kubernetes_auth._api_v1_auth_kubernetes_auth_identities__identityId__get_200_response_identityKubernetesAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - kubernetes_host = '', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '', - ca_cert = '', - token_reviewer_jwt = '', ), - ) - """ - - def testApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response(self): - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth.py b/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth.py deleted file mode 100644 index 21be182..0000000 --- a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth import ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth # noqa: E501 - -class TestApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth(unittest.TestCase): - """ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth: - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth` - """ - model = ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth() # noqa: E501 - if include_optional: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - kubernetes_host = '', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '', - ca_cert = '', - token_reviewer_jwt = '' - ) - else: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - kubernetes_host = '', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '', - ca_cert = '', - token_reviewer_jwt = '', - ) - """ - - def testApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth(self): - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdGet200ResponseIdentityKubernetesAuth""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_patch_request.py b/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_patch_request.py deleted file mode 100644 index c219f1c..0000000 --- a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_patch_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest # noqa: E501 - -class TestApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest(unittest.TestCase): - """ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest: - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest` - """ - model = ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest( - kubernetes_host = '0', - ca_cert = '', - token_reviewer_jwt = '0', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '', - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 0, - access_token_num_uses_limit = 0, - access_token_max_ttl = 56 - ) - else: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest( - ) - """ - - def testApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest(self): - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_post_request.py b/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_post_request.py deleted file mode 100644 index e446188..0000000 --- a/test/test_api_v1_auth_kubernetes_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_identities_identity_id_post_request import ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest # noqa: E501 - -class TestApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest(unittest.TestCase): - """ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest: - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest` - """ - model = ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest( - kubernetes_host = '0', - ca_cert = '', - token_reviewer_jwt = '0', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '', - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 1, - access_token_max_ttl = 56, - access_token_num_uses_limit = 0 - ) - else: - return ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest( - kubernetes_host = '0', - token_reviewer_jwt = '0', - allowed_namespaces = '', - allowed_names = '', - allowed_audience = '', - ) - """ - - def testApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest(self): - """Test ApiV1AuthKubernetesAuthIdentitiesIdentityIdPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_kubernetes_auth_login_post_request.py b/test/test_api_v1_auth_kubernetes_auth_login_post_request.py deleted file mode 100644 index 863c85b..0000000 --- a/test/test_api_v1_auth_kubernetes_auth_login_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_kubernetes_auth_login_post_request import ApiV1AuthKubernetesAuthLoginPostRequest # noqa: E501 - -class TestApiV1AuthKubernetesAuthLoginPostRequest(unittest.TestCase): - """ApiV1AuthKubernetesAuthLoginPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthKubernetesAuthLoginPostRequest: - """Test ApiV1AuthKubernetesAuthLoginPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthKubernetesAuthLoginPostRequest` - """ - model = ApiV1AuthKubernetesAuthLoginPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthKubernetesAuthLoginPostRequest( - identity_id = '', - jwt = '' - ) - else: - return ApiV1AuthKubernetesAuthLoginPostRequest( - identity_id = '', - jwt = '', - ) - """ - - def testApiV1AuthKubernetesAuthLoginPostRequest(self): - """Test ApiV1AuthKubernetesAuthLoginPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_oidc_auth_identities_identity_id_delete200_response.py b/test/test_api_v1_auth_oidc_auth_identities_identity_id_delete200_response.py deleted file mode 100644 index 5e014a1..0000000 --- a/test/test_api_v1_auth_oidc_auth_identities_identity_id_delete200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response # noqa: E501 - -class TestApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response(unittest.TestCase): - """ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response: - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response` - """ - model = ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response() # noqa: E501 - if include_optional: - return ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response( - identity_oidc_auth = infisicalapi_client.models._api_v1_auth_oidc_auth_identities__identity_id__delete_200_response_identity_oidc_auth._api_v1_auth_oidc_auth_identities__identityId__delete_200_response_identityOidcAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - identity_id = '', - oidc_discovery_url = '', - bound_issuer = '', - bound_audiences = '', - bound_claims = null, - bound_subject = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response( - identity_oidc_auth = infisicalapi_client.models._api_v1_auth_oidc_auth_identities__identity_id__delete_200_response_identity_oidc_auth._api_v1_auth_oidc_auth_identities__identityId__delete_200_response_identityOidcAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - identity_id = '', - oidc_discovery_url = '', - bound_issuer = '', - bound_audiences = '', - bound_claims = null, - bound_subject = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response(self): - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth.py b/test/test_api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth.py deleted file mode 100644 index 23835fa..0000000 --- a/test/test_api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth import ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth # noqa: E501 - -class TestApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth(unittest.TestCase): - """ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth: - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth` - """ - model = ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth() # noqa: E501 - if include_optional: - return ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = None, - identity_id = '', - oidc_discovery_url = '', - bound_issuer = '', - bound_audiences = '', - bound_claims = None, - bound_subject = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth( - id = '', - identity_id = '', - oidc_discovery_url = '', - bound_issuer = '', - bound_audiences = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth(self): - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdDelete200ResponseIdentityOidcAuth""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_oidc_auth_identities_identity_id_get200_response.py b/test/test_api_v1_auth_oidc_auth_identities_identity_id_get200_response.py deleted file mode 100644 index 84fd03c..0000000 --- a/test/test_api_v1_auth_oidc_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response # noqa: E501 - -class TestApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response(unittest.TestCase): - """ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response: - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response` - """ - model = ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response( - identity_oidc_auth = infisicalapi_client.models._api_v1_auth_oidc_auth_identities__identity_id__get_200_response_identity_oidc_auth._api_v1_auth_oidc_auth_identities__identityId__get_200_response_identityOidcAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - identity_id = '', - oidc_discovery_url = '', - bound_issuer = '', - bound_audiences = '', - bound_claims = null, - bound_subject = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ca_cert = '', ) - ) - else: - return ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response( - identity_oidc_auth = infisicalapi_client.models._api_v1_auth_oidc_auth_identities__identity_id__get_200_response_identity_oidc_auth._api_v1_auth_oidc_auth_identities__identityId__get_200_response_identityOidcAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - identity_id = '', - oidc_discovery_url = '', - bound_issuer = '', - bound_audiences = '', - bound_claims = null, - bound_subject = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ca_cert = '', ), - ) - """ - - def testApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response(self): - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth.py b/test/test_api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth.py deleted file mode 100644 index 146e41b..0000000 --- a/test/test_api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth import ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth # noqa: E501 - -class TestApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth(unittest.TestCase): - """ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth: - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth` - """ - model = ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth() # noqa: E501 - if include_optional: - return ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = None, - identity_id = '', - oidc_discovery_url = '', - bound_issuer = '', - bound_audiences = '', - bound_claims = None, - bound_subject = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ca_cert = '' - ) - else: - return ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth( - id = '', - identity_id = '', - oidc_discovery_url = '', - bound_issuer = '', - bound_audiences = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ca_cert = '', - ) - """ - - def testApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth(self): - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdGet200ResponseIdentityOidcAuth""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_oidc_auth_identities_identity_id_patch_request.py b/test/test_api_v1_auth_oidc_auth_identities_identity_id_patch_request.py deleted file mode 100644 index a2f2e7a..0000000 --- a/test/test_api_v1_auth_oidc_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_patch_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest # noqa: E501 - -class TestApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest(unittest.TestCase): - """ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest: - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest` - """ - model = ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest( - oidc_discovery_url = '0', - ca_cert = '', - bound_issuer = '0', - bound_audiences = '', - bound_claims = { - 'key' : '' - }, - bound_subject = '', - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 1, - access_token_max_ttl = 56, - access_token_num_uses_limit = 0 - ) - else: - return ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest( - ) - """ - - def testApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest(self): - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_oidc_auth_identities_identity_id_post_request.py b/test/test_api_v1_auth_oidc_auth_identities_identity_id_post_request.py deleted file mode 100644 index fa135b0..0000000 --- a/test/test_api_v1_auth_oidc_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_oidc_auth_identities_identity_id_post_request import ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest # noqa: E501 - -class TestApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest(unittest.TestCase): - """ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest: - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest` - """ - model = ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest( - oidc_discovery_url = '0', - ca_cert = '', - bound_issuer = '0', - bound_audiences = '', - bound_claims = { - 'key' : '' - }, - bound_subject = '', - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 1, - access_token_max_ttl = 56, - access_token_num_uses_limit = 0 - ) - else: - return ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest( - oidc_discovery_url = '0', - bound_issuer = '0', - bound_claims = { - 'key' : '' - }, - ) - """ - - def testApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest(self): - """Test ApiV1AuthOidcAuthIdentitiesIdentityIdPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_identities_identity_id_get200_response.py b/test/test_api_v1_auth_token_auth_identities_identity_id_get200_response.py deleted file mode 100644 index b8fcd53..0000000 --- a/test/test_api_v1_auth_token_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response # noqa: E501 - -class TestApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response(unittest.TestCase): - """ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response: - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response` - """ - model = ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response( - identity_token_auth = infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__get_200_response_identity_token_auth._api_v1_auth_token_auth_identities__identityId__get_200_response_identityTokenAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', ) - ) - else: - return ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response( - identity_token_auth = infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__get_200_response_identity_token_auth._api_v1_auth_token_auth_identities__identityId__get_200_response_identityTokenAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', ), - ) - """ - - def testApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response(self): - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth.py b/test/test_api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth.py deleted file mode 100644 index b8ecc4e..0000000 --- a/test/test_api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth import ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth # noqa: E501 - -class TestApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth(unittest.TestCase): - """ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth: - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth` - """ - model = ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - access_token_trusted_ips = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '' - ) - else: - return ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - ) - """ - - def testApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth(self): - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdGet200ResponseIdentityTokenAuth""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_identities_identity_id_patch_request.py b/test/test_api_v1_auth_token_auth_identities_identity_id_patch_request.py deleted file mode 100644 index 983f06b..0000000 --- a/test/test_api_v1_auth_token_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_patch_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest # noqa: E501 - -class TestApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest(unittest.TestCase): - """ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest: - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest` - """ - model = ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest( - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 0, - access_token_num_uses_limit = 0, - access_token_max_ttl = 56 - ) - else: - return ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest( - ) - """ - - def testApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest(self): - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_identities_identity_id_post_request.py b/test/test_api_v1_auth_token_auth_identities_identity_id_post_request.py deleted file mode 100644 index 0e928aa..0000000 --- a/test/test_api_v1_auth_token_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest # noqa: E501 - -class TestApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest(unittest.TestCase): - """ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest: - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest` - """ - model = ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest( - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 1, - access_token_max_ttl = 56, - access_token_num_uses_limit = 0 - ) - else: - return ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest( - ) - """ - - def testApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest(self): - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner.py b/test/test_api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner.py deleted file mode 100644 index f79bfac..0000000 --- a/test/test_api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner # noqa: E501 - -class TestApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner(unittest.TestCase): - """ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner: - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner` - """ - model = ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner( - ip_address = '' - ) - else: - return ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner( - ip_address = '', - ) - """ - - def testApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner(self): - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_get200_response.py b/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_get200_response.py deleted file mode 100644 index 25c88e1..0000000 --- a/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_get200_response.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response # noqa: E501 - -class TestApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response(unittest.TestCase): - """ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response: - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response` - """ - model = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response( - tokens = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__tokens_get_200_response_tokens_inner._api_v1_auth_token_auth_identities__identityId__tokens_get_200_response_tokens_inner( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses = 1.337, - access_token_num_uses_limit = 1.337, - access_token_last_used_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - access_token_last_renewed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_access_token_revoked = True, - identity_ua_client_secret_id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - name = '', ) - ] - ) - else: - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response( - tokens = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__tokens_get_200_response_tokens_inner._api_v1_auth_token_auth_identities__identityId__tokens_get_200_response_tokens_inner( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses = 1.337, - access_token_num_uses_limit = 1.337, - access_token_last_used_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - access_token_last_renewed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_access_token_revoked = True, - identity_ua_client_secret_id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - name = '', ) - ], - ) - """ - - def testApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response(self): - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner.py b/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner.py deleted file mode 100644 index dff414f..0000000 --- a/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner # noqa: E501 - -class TestApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner(unittest.TestCase): - """ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner: - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner` - """ - model = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses = 1.337, - access_token_num_uses_limit = 1.337, - access_token_last_used_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - access_token_last_renewed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_access_token_revoked = True, - identity_ua_client_secret_id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - name = '' - ) - else: - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner( - id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner(self): - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdTokensGet200ResponseTokensInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_post200_response.py b/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_post200_response.py deleted file mode 100644 index 0806bdb..0000000 --- a/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_post200_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post200_response import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response # noqa: E501 - -class TestApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response(unittest.TestCase): - """ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response: - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response` - """ - model = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response( - access_token = '', - expires_in = 1.337, - access_token_max_ttl = 1.337, - token_type = 'Bearer' - ) - else: - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response( - access_token = '', - expires_in = 1.337, - access_token_max_ttl = 1.337, - token_type = 'Bearer', - ) - """ - - def testApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response(self): - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_post_request.py b/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_post_request.py deleted file mode 100644 index 2f37662..0000000 --- a/test/test_api_v1_auth_token_auth_identities_identity_id_tokens_post_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_tokens_post_request import ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest # noqa: E501 - -class TestApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest(unittest.TestCase): - """ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest: - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest` - """ - model = ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest( - name = '' - ) - else: - return ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest( - ) - """ - - def testApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest(self): - """Test ApiV1AuthTokenAuthIdentitiesIdentityIdTokensPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_tokens_token_id_patch200_response.py b/test/test_api_v1_auth_token_auth_tokens_token_id_patch200_response.py deleted file mode 100644 index 36a1798..0000000 --- a/test/test_api_v1_auth_token_auth_tokens_token_id_patch200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch200_response import ApiV1AuthTokenAuthTokensTokenIdPatch200Response # noqa: E501 - -class TestApiV1AuthTokenAuthTokensTokenIdPatch200Response(unittest.TestCase): - """ApiV1AuthTokenAuthTokensTokenIdPatch200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthTokensTokenIdPatch200Response: - """Test ApiV1AuthTokenAuthTokensTokenIdPatch200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthTokensTokenIdPatch200Response` - """ - model = ApiV1AuthTokenAuthTokensTokenIdPatch200Response() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthTokensTokenIdPatch200Response( - token = infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__tokens_get_200_response_tokens_inner._api_v1_auth_token_auth_identities__identityId__tokens_get_200_response_tokens_inner( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses = 1.337, - access_token_num_uses_limit = 1.337, - access_token_last_used_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - access_token_last_renewed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_access_token_revoked = True, - identity_ua_client_secret_id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - name = '', ) - ) - else: - return ApiV1AuthTokenAuthTokensTokenIdPatch200Response( - token = infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__tokens_get_200_response_tokens_inner._api_v1_auth_token_auth_identities__identityId__tokens_get_200_response_tokens_inner( - id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses = 1.337, - access_token_num_uses_limit = 1.337, - access_token_last_used_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - access_token_last_renewed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_access_token_revoked = True, - identity_ua_client_secret_id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - name = '', ), - ) - """ - - def testApiV1AuthTokenAuthTokensTokenIdPatch200Response(self): - """Test ApiV1AuthTokenAuthTokensTokenIdPatch200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_auth_tokens_token_id_patch_request.py b/test/test_api_v1_auth_token_auth_tokens_token_id_patch_request.py deleted file mode 100644 index da86131..0000000 --- a/test/test_api_v1_auth_token_auth_tokens_token_id_patch_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_auth_tokens_token_id_patch_request import ApiV1AuthTokenAuthTokensTokenIdPatchRequest # noqa: E501 - -class TestApiV1AuthTokenAuthTokensTokenIdPatchRequest(unittest.TestCase): - """ApiV1AuthTokenAuthTokensTokenIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenAuthTokensTokenIdPatchRequest: - """Test ApiV1AuthTokenAuthTokensTokenIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenAuthTokensTokenIdPatchRequest` - """ - model = ApiV1AuthTokenAuthTokensTokenIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AuthTokenAuthTokensTokenIdPatchRequest( - name = '' - ) - else: - return ApiV1AuthTokenAuthTokensTokenIdPatchRequest( - ) - """ - - def testApiV1AuthTokenAuthTokensTokenIdPatchRequest(self): - """Test ApiV1AuthTokenAuthTokensTokenIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_post200_response.py b/test/test_api_v1_auth_token_post200_response.py deleted file mode 100644 index 05da136..0000000 --- a/test/test_api_v1_auth_token_post200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_post200_response import ApiV1AuthTokenPost200Response # noqa: E501 - -class TestApiV1AuthTokenPost200Response(unittest.TestCase): - """ApiV1AuthTokenPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenPost200Response: - """Test ApiV1AuthTokenPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenPost200Response` - """ - model = ApiV1AuthTokenPost200Response() # noqa: E501 - if include_optional: - return ApiV1AuthTokenPost200Response( - token = '' - ) - else: - return ApiV1AuthTokenPost200Response( - token = '', - ) - """ - - def testApiV1AuthTokenPost200Response(self): - """Test ApiV1AuthTokenPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_renew_post_request.py b/test/test_api_v1_auth_token_renew_post_request.py deleted file mode 100644 index 0459a12..0000000 --- a/test/test_api_v1_auth_token_renew_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_renew_post_request import ApiV1AuthTokenRenewPostRequest # noqa: E501 - -class TestApiV1AuthTokenRenewPostRequest(unittest.TestCase): - """ApiV1AuthTokenRenewPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenRenewPostRequest: - """Test ApiV1AuthTokenRenewPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenRenewPostRequest` - """ - model = ApiV1AuthTokenRenewPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthTokenRenewPostRequest( - access_token = '' - ) - else: - return ApiV1AuthTokenRenewPostRequest( - access_token = '', - ) - """ - - def testApiV1AuthTokenRenewPostRequest(self): - """Test ApiV1AuthTokenRenewPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_token_revoke_post_request.py b/test/test_api_v1_auth_token_revoke_post_request.py deleted file mode 100644 index a52e0c9..0000000 --- a/test/test_api_v1_auth_token_revoke_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_token_revoke_post_request import ApiV1AuthTokenRevokePostRequest # noqa: E501 - -class TestApiV1AuthTokenRevokePostRequest(unittest.TestCase): - """ApiV1AuthTokenRevokePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthTokenRevokePostRequest: - """Test ApiV1AuthTokenRevokePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthTokenRevokePostRequest` - """ - model = ApiV1AuthTokenRevokePostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthTokenRevokePostRequest( - access_token = '' - ) - else: - return ApiV1AuthTokenRevokePostRequest( - access_token = '', - ) - """ - - def testApiV1AuthTokenRevokePostRequest(self): - """Test ApiV1AuthTokenRevokePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response.py b/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response.py deleted file mode 100644 index 803eb89..0000000 --- a/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response # noqa: E501 - -class TestApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response(unittest.TestCase): - """ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response: - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response` - """ - model = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response( - client_secret_data = infisicalapi_client.models._api_v1_auth_universal_auth_identities__identity_id__client_secrets_get_200_response_client_secret_data_inner._api_v1_auth_universal_auth_identities__identityId__client_secrets_get_200_response_clientSecretData_inner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - description = '', - client_secret_prefix = '', - client_secret_num_uses = 1.337, - client_secret_num_uses_limit = 1.337, - client_secret_ttl = 1.337, - identity_uaid = '', - is_client_secret_revoked = True, ) - ) - else: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response( - client_secret_data = infisicalapi_client.models._api_v1_auth_universal_auth_identities__identity_id__client_secrets_get_200_response_client_secret_data_inner._api_v1_auth_universal_auth_identities__identityId__client_secrets_get_200_response_clientSecretData_inner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - description = '', - client_secret_prefix = '', - client_secret_num_uses = 1.337, - client_secret_num_uses_limit = 1.337, - client_secret_ttl = 1.337, - identity_uaid = '', - is_client_secret_revoked = True, ), - ) - """ - - def testApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response(self): - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsClientSecretIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response.py b/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response.py deleted file mode 100644 index 79c75e2..0000000 --- a/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response # noqa: E501 - -class TestApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response(unittest.TestCase): - """ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response: - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response` - """ - model = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response( - client_secret_data = [ - infisicalapi_client.models._api_v1_auth_universal_auth_identities__identity_id__client_secrets_get_200_response_client_secret_data_inner._api_v1_auth_universal_auth_identities__identityId__client_secrets_get_200_response_clientSecretData_inner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - description = '', - client_secret_prefix = '', - client_secret_num_uses = 1.337, - client_secret_num_uses_limit = 1.337, - client_secret_ttl = 1.337, - identity_uaid = '', - is_client_secret_revoked = True, ) - ] - ) - else: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response( - client_secret_data = [ - infisicalapi_client.models._api_v1_auth_universal_auth_identities__identity_id__client_secrets_get_200_response_client_secret_data_inner._api_v1_auth_universal_auth_identities__identityId__client_secrets_get_200_response_clientSecretData_inner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - description = '', - client_secret_prefix = '', - client_secret_num_uses = 1.337, - client_secret_num_uses_limit = 1.337, - client_secret_ttl = 1.337, - identity_uaid = '', - is_client_secret_revoked = True, ) - ], - ) - """ - - def testApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response(self): - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner.py b/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner.py deleted file mode 100644 index 599addf..0000000 --- a/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner # noqa: E501 - -class TestApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner(unittest.TestCase): - """ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner: - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner` - """ - model = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner() # noqa: E501 - if include_optional: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - description = '', - client_secret_prefix = '', - client_secret_num_uses = 1.337, - client_secret_num_uses_limit = 1.337, - client_secret_ttl = 1.337, - identity_uaid = '', - is_client_secret_revoked = True - ) - else: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - description = '', - client_secret_prefix = '', - identity_uaid = '', - ) - """ - - def testApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner(self): - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsGet200ResponseClientSecretDataInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response.py b/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response.py deleted file mode 100644 index 5efb2ae..0000000 --- a/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response # noqa: E501 - -class TestApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response(unittest.TestCase): - """ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response: - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response` - """ - model = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response() # noqa: E501 - if include_optional: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response( - client_secret = '', - client_secret_data = infisicalapi_client.models._api_v1_auth_universal_auth_identities__identity_id__client_secrets_get_200_response_client_secret_data_inner._api_v1_auth_universal_auth_identities__identityId__client_secrets_get_200_response_clientSecretData_inner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - description = '', - client_secret_prefix = '', - client_secret_num_uses = 1.337, - client_secret_num_uses_limit = 1.337, - client_secret_ttl = 1.337, - identity_uaid = '', - is_client_secret_revoked = True, ) - ) - else: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response( - client_secret = '', - client_secret_data = infisicalapi_client.models._api_v1_auth_universal_auth_identities__identity_id__client_secrets_get_200_response_client_secret_data_inner._api_v1_auth_universal_auth_identities__identityId__client_secrets_get_200_response_clientSecretData_inner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - description = '', - client_secret_prefix = '', - client_secret_num_uses = 1.337, - client_secret_num_uses_limit = 1.337, - client_secret_ttl = 1.337, - identity_uaid = '', - is_client_secret_revoked = True, ), - ) - """ - - def testApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response(self): - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request.py b/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request.py deleted file mode 100644 index c2d4161..0000000 --- a/test/test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest # noqa: E501 - -class TestApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest(unittest.TestCase): - """ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest: - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest` - """ - model = ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest( - description = '', - num_uses_limit = 0, - ttl = 0 - ) - else: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest( - ) - """ - - def testApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest(self): - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdClientSecretsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_universal_auth_identities_identity_id_get200_response.py b/test/test_api_v1_auth_universal_auth_identities_identity_id_get200_response.py deleted file mode 100644 index 479a3be..0000000 --- a/test/test_api_v1_auth_universal_auth_identities_identity_id_get200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response # noqa: E501 - -class TestApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response(unittest.TestCase): - """ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response: - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response` - """ - model = ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response( - identity_universal_auth = infisicalapi_client.models._api_v1_auth_universal_auth_identities__identity_id__get_200_response_identity_universal_auth._api_v1_auth_universal_auth_identities__identityId__get_200_response_identityUniversalAuth( - id = '', - client_id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - client_secret_trusted_ips = null, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', ) - ) - else: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response( - identity_universal_auth = infisicalapi_client.models._api_v1_auth_universal_auth_identities__identity_id__get_200_response_identity_universal_auth._api_v1_auth_universal_auth_identities__identityId__get_200_response_identityUniversalAuth( - id = '', - client_id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - client_secret_trusted_ips = null, - access_token_trusted_ips = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', ), - ) - """ - - def testApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response(self): - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth.py b/test/test_api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth.py deleted file mode 100644 index 9c4cc13..0000000 --- a/test/test_api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth import ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth # noqa: E501 - -class TestApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth(unittest.TestCase): - """ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth: - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth` - """ - model = ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth() # noqa: E501 - if include_optional: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth( - id = '', - client_id = '', - access_token_ttl = 1.337, - access_token_max_ttl = 1.337, - access_token_num_uses_limit = 1.337, - client_secret_trusted_ips = None, - access_token_trusted_ips = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '' - ) - else: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth( - id = '', - client_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - ) - """ - - def testApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth(self): - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdGet200ResponseIdentityUniversalAuth""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_universal_auth_identities_identity_id_patch_request.py b/test/test_api_v1_auth_universal_auth_identities_identity_id_patch_request.py deleted file mode 100644 index efbe973..0000000 --- a/test/test_api_v1_auth_universal_auth_identities_identity_id_patch_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_patch_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest # noqa: E501 - -class TestApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest(unittest.TestCase): - """ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest: - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest` - """ - model = ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest( - client_secret_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 0, - access_token_num_uses_limit = 0, - access_token_max_ttl = 56 - ) - else: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest( - ) - """ - - def testApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest(self): - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_universal_auth_identities_identity_id_post_request.py b/test/test_api_v1_auth_universal_auth_identities_identity_id_post_request.py deleted file mode 100644 index 115fdf1..0000000 --- a/test/test_api_v1_auth_universal_auth_identities_identity_id_post_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_universal_auth_identities_identity_id_post_request import ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest # noqa: E501 - -class TestApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest(unittest.TestCase): - """ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest: - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest` - """ - model = ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest( - client_secret_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_trusted_ips = [ - infisicalapi_client.models._api_v1_auth_token_auth_identities__identity_id__post_request_access_token_trusted_ips_inner._api_v1_auth_token_auth_identities__identityId__post_request_accessTokenTrustedIps_inner( - ip_address = '', ) - ], - access_token_ttl = 1, - access_token_max_ttl = 56, - access_token_num_uses_limit = 0 - ) - else: - return ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest( - ) - """ - - def testApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest(self): - """Test ApiV1AuthUniversalAuthIdentitiesIdentityIdPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_auth_universal_auth_login_post_request.py b/test/test_api_v1_auth_universal_auth_login_post_request.py deleted file mode 100644 index 55b31d5..0000000 --- a/test/test_api_v1_auth_universal_auth_login_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_auth_universal_auth_login_post_request import ApiV1AuthUniversalAuthLoginPostRequest # noqa: E501 - -class TestApiV1AuthUniversalAuthLoginPostRequest(unittest.TestCase): - """ApiV1AuthUniversalAuthLoginPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1AuthUniversalAuthLoginPostRequest: - """Test ApiV1AuthUniversalAuthLoginPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1AuthUniversalAuthLoginPostRequest` - """ - model = ApiV1AuthUniversalAuthLoginPostRequest() # noqa: E501 - if include_optional: - return ApiV1AuthUniversalAuthLoginPostRequest( - client_id = '', - client_secret = '' - ) - else: - return ApiV1AuthUniversalAuthLoginPostRequest( - client_id = '', - client_secret = '', - ) - """ - - def testApiV1AuthUniversalAuthLoginPostRequest(self): - """Test ApiV1AuthUniversalAuthLoginPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_bot_bot_id_active_patch_request.py b/test/test_api_v1_bot_bot_id_active_patch_request.py deleted file mode 100644 index 8b3c103..0000000 --- a/test/test_api_v1_bot_bot_id_active_patch_request.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request import ApiV1BotBotIdActivePatchRequest # noqa: E501 - -class TestApiV1BotBotIdActivePatchRequest(unittest.TestCase): - """ApiV1BotBotIdActivePatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1BotBotIdActivePatchRequest: - """Test ApiV1BotBotIdActivePatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1BotBotIdActivePatchRequest` - """ - model = ApiV1BotBotIdActivePatchRequest() # noqa: E501 - if include_optional: - return ApiV1BotBotIdActivePatchRequest( - is_active = True, - bot_key = infisicalapi_client.models._api_v1_bot__bot_id__active_patch_request_bot_key._api_v1_bot__botId__active_patch_request_botKey( - nonce = '', - encrypted_key = '', ) - ) - else: - return ApiV1BotBotIdActivePatchRequest( - is_active = True, - ) - """ - - def testApiV1BotBotIdActivePatchRequest(self): - """Test ApiV1BotBotIdActivePatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_bot_bot_id_active_patch_request_bot_key.py b/test/test_api_v1_bot_bot_id_active_patch_request_bot_key.py deleted file mode 100644 index 5fd93ce..0000000 --- a/test/test_api_v1_bot_bot_id_active_patch_request_bot_key.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_bot_bot_id_active_patch_request_bot_key import ApiV1BotBotIdActivePatchRequestBotKey # noqa: E501 - -class TestApiV1BotBotIdActivePatchRequestBotKey(unittest.TestCase): - """ApiV1BotBotIdActivePatchRequestBotKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1BotBotIdActivePatchRequestBotKey: - """Test ApiV1BotBotIdActivePatchRequestBotKey - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1BotBotIdActivePatchRequestBotKey` - """ - model = ApiV1BotBotIdActivePatchRequestBotKey() # noqa: E501 - if include_optional: - return ApiV1BotBotIdActivePatchRequestBotKey( - nonce = '', - encrypted_key = '' - ) - else: - return ApiV1BotBotIdActivePatchRequestBotKey( - ) - """ - - def testApiV1BotBotIdActivePatchRequestBotKey(self): - """Test ApiV1BotBotIdActivePatchRequestBotKey""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_bot_project_id_get200_response.py b/test/test_api_v1_bot_project_id_get200_response.py deleted file mode 100644 index cb960e4..0000000 --- a/test/test_api_v1_bot_project_id_get200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_bot_project_id_get200_response import ApiV1BotProjectIdGet200Response # noqa: E501 - -class TestApiV1BotProjectIdGet200Response(unittest.TestCase): - """ApiV1BotProjectIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1BotProjectIdGet200Response: - """Test ApiV1BotProjectIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1BotProjectIdGet200Response` - """ - model = ApiV1BotProjectIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1BotProjectIdGet200Response( - bot = infisicalapi_client.models._api_v1_bot__project_id__get_200_response_bot._api_v1_bot__projectId__get_200_response_bot( - id = '', - name = '', - is_active = True, - public_key = '', - encrypted_project_key = '', - encrypted_project_key_nonce = '', - project_id = '', - sender_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1BotProjectIdGet200Response( - bot = infisicalapi_client.models._api_v1_bot__project_id__get_200_response_bot._api_v1_bot__projectId__get_200_response_bot( - id = '', - name = '', - is_active = True, - public_key = '', - encrypted_project_key = '', - encrypted_project_key_nonce = '', - project_id = '', - sender_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1BotProjectIdGet200Response(self): - """Test ApiV1BotProjectIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_bot_project_id_get200_response_bot.py b/test/test_api_v1_bot_project_id_get200_response_bot.py deleted file mode 100644 index 489588e..0000000 --- a/test/test_api_v1_bot_project_id_get200_response_bot.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_bot_project_id_get200_response_bot import ApiV1BotProjectIdGet200ResponseBot # noqa: E501 - -class TestApiV1BotProjectIdGet200ResponseBot(unittest.TestCase): - """ApiV1BotProjectIdGet200ResponseBot unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1BotProjectIdGet200ResponseBot: - """Test ApiV1BotProjectIdGet200ResponseBot - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1BotProjectIdGet200ResponseBot` - """ - model = ApiV1BotProjectIdGet200ResponseBot() # noqa: E501 - if include_optional: - return ApiV1BotProjectIdGet200ResponseBot( - id = '', - name = '', - is_active = True, - public_key = '', - encrypted_project_key = '', - encrypted_project_key_nonce = '', - project_id = '', - sender_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1BotProjectIdGet200ResponseBot( - id = '', - name = '', - public_key = '', - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1BotProjectIdGet200ResponseBot(self): - """Test ApiV1BotProjectIdGet200ResponseBot""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_get200_response.py b/test/test_api_v1_dynamic_secrets_get200_response.py deleted file mode 100644 index e86e8a2..0000000 --- a/test/test_api_v1_dynamic_secrets_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response import ApiV1DynamicSecretsGet200Response # noqa: E501 - -class TestApiV1DynamicSecretsGet200Response(unittest.TestCase): - """ApiV1DynamicSecretsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsGet200Response: - """Test ApiV1DynamicSecretsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsGet200Response` - """ - model = ApiV1DynamicSecretsGet200Response() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsGet200Response( - dynamic_secrets = [ - infisicalapi_client.models._api_v1_dynamic_secrets_get_200_response_dynamic_secrets_inner._api_v1_dynamic_secrets_get_200_response_dynamicSecrets_inner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1DynamicSecretsGet200Response( - dynamic_secrets = [ - infisicalapi_client.models._api_v1_dynamic_secrets_get_200_response_dynamic_secrets_inner._api_v1_dynamic_secrets_get_200_response_dynamicSecrets_inner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1DynamicSecretsGet200Response(self): - """Test ApiV1DynamicSecretsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner.py b/test/test_api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner.py deleted file mode 100644 index 936021c..0000000 --- a/test/test_api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner import ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner # noqa: E501 - -class TestApiV1DynamicSecretsGet200ResponseDynamicSecretsInner(unittest.TestCase): - """ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner: - """Test ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner` - """ - model = ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1DynamicSecretsGet200ResponseDynamicSecretsInner(self): - """Test ApiV1DynamicSecretsGet200ResponseDynamicSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_leases_lease_id_delete200_response.py b/test/test_api_v1_dynamic_secrets_leases_lease_id_delete200_response.py deleted file mode 100644 index 7985ec7..0000000 --- a/test/test_api_v1_dynamic_secrets_leases_lease_id_delete200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete200_response import ApiV1DynamicSecretsLeasesLeaseIdDelete200Response # noqa: E501 - -class TestApiV1DynamicSecretsLeasesLeaseIdDelete200Response(unittest.TestCase): - """ApiV1DynamicSecretsLeasesLeaseIdDelete200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsLeasesLeaseIdDelete200Response: - """Test ApiV1DynamicSecretsLeasesLeaseIdDelete200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsLeasesLeaseIdDelete200Response` - """ - model = ApiV1DynamicSecretsLeasesLeaseIdDelete200Response() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsLeasesLeaseIdDelete200Response( - lease = infisicalapi_client.models._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_details = '', - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1DynamicSecretsLeasesLeaseIdDelete200Response( - lease = infisicalapi_client.models._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_details = '', - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1DynamicSecretsLeasesLeaseIdDelete200Response(self): - """Test ApiV1DynamicSecretsLeasesLeaseIdDelete200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_leases_lease_id_delete_request.py b/test/test_api_v1_dynamic_secrets_leases_lease_id_delete_request.py deleted file mode 100644 index 0a0ede2..0000000 --- a/test/test_api_v1_dynamic_secrets_leases_lease_id_delete_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_delete_request import ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest # noqa: E501 - -class TestApiV1DynamicSecretsLeasesLeaseIdDeleteRequest(unittest.TestCase): - """ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest: - """Test ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest` - """ - model = ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest( - project_slug = '0', - path = '/', - environment_slug = '0', - is_forced = True - ) - else: - return ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest( - project_slug = '0', - environment_slug = '0', - ) - """ - - def testApiV1DynamicSecretsLeasesLeaseIdDeleteRequest(self): - """Test ApiV1DynamicSecretsLeasesLeaseIdDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_leases_lease_id_get200_response.py b/test/test_api_v1_dynamic_secrets_leases_lease_id_get200_response.py deleted file mode 100644 index d579c2d..0000000 --- a/test/test_api_v1_dynamic_secrets_leases_lease_id_get200_response.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response import ApiV1DynamicSecretsLeasesLeaseIdGet200Response # noqa: E501 - -class TestApiV1DynamicSecretsLeasesLeaseIdGet200Response(unittest.TestCase): - """ApiV1DynamicSecretsLeasesLeaseIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsLeasesLeaseIdGet200Response: - """Test ApiV1DynamicSecretsLeasesLeaseIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsLeasesLeaseIdGet200Response` - """ - model = ApiV1DynamicSecretsLeasesLeaseIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsLeasesLeaseIdGet200Response( - lease = infisicalapi_client.models._api_v1_dynamic_secrets_leases__lease_id__get_200_response_lease._api_v1_dynamic_secrets_leases__leaseId__get_200_response_lease( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_details = '', - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - dynamic_secret = infisicalapi_client.models._api_v1_dynamic_secrets_get_200_response_dynamic_secrets_inner._api_v1_dynamic_secrets_get_200_response_dynamicSecrets_inner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ) - else: - return ApiV1DynamicSecretsLeasesLeaseIdGet200Response( - lease = infisicalapi_client.models._api_v1_dynamic_secrets_leases__lease_id__get_200_response_lease._api_v1_dynamic_secrets_leases__leaseId__get_200_response_lease( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_details = '', - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - dynamic_secret = infisicalapi_client.models._api_v1_dynamic_secrets_get_200_response_dynamic_secrets_inner._api_v1_dynamic_secrets_get_200_response_dynamicSecrets_inner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), - ) - """ - - def testApiV1DynamicSecretsLeasesLeaseIdGet200Response(self): - """Test ApiV1DynamicSecretsLeasesLeaseIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_leases_lease_id_get200_response_lease.py b/test/test_api_v1_dynamic_secrets_leases_lease_id_get200_response_lease.py deleted file mode 100644 index 5eb3327..0000000 --- a/test/test_api_v1_dynamic_secrets_leases_lease_id_get200_response_lease.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_get200_response_lease import ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease # noqa: E501 - -class TestApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease(unittest.TestCase): - """ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease: - """Test ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease` - """ - model = ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_details = '', - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - dynamic_secret = infisicalapi_client.models._api_v1_dynamic_secrets_get_200_response_dynamic_secrets_inner._api_v1_dynamic_secrets_get_200_response_dynamicSecrets_inner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - dynamic_secret = infisicalapi_client.models._api_v1_dynamic_secrets_get_200_response_dynamic_secrets_inner._api_v1_dynamic_secrets_get_200_response_dynamicSecrets_inner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease(self): - """Test ApiV1DynamicSecretsLeasesLeaseIdGet200ResponseLease""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_leases_lease_id_renew_post_request.py b/test/test_api_v1_dynamic_secrets_leases_lease_id_renew_post_request.py deleted file mode 100644 index ec29fb0..0000000 --- a/test/test_api_v1_dynamic_secrets_leases_lease_id_renew_post_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_lease_id_renew_post_request import ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest # noqa: E501 - -class TestApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest(unittest.TestCase): - """ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest: - """Test ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest` - """ - model = ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest( - ttl = '', - project_slug = '0', - path = '/', - environment_slug = '0' - ) - else: - return ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest( - project_slug = '0', - environment_slug = '0', - ) - """ - - def testApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest(self): - """Test ApiV1DynamicSecretsLeasesLeaseIdRenewPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_leases_post200_response.py b/test/test_api_v1_dynamic_secrets_leases_post200_response.py deleted file mode 100644 index cffcf80..0000000 --- a/test/test_api_v1_dynamic_secrets_leases_post200_response.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post200_response import ApiV1DynamicSecretsLeasesPost200Response # noqa: E501 - -class TestApiV1DynamicSecretsLeasesPost200Response(unittest.TestCase): - """ApiV1DynamicSecretsLeasesPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsLeasesPost200Response: - """Test ApiV1DynamicSecretsLeasesPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsLeasesPost200Response` - """ - model = ApiV1DynamicSecretsLeasesPost200Response() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsLeasesPost200Response( - lease = infisicalapi_client.models._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_details = '', - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - dynamic_secret = infisicalapi_client.models._api_v1_dynamic_secrets_get_200_response_dynamic_secrets_inner._api_v1_dynamic_secrets_get_200_response_dynamicSecrets_inner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - data = None - ) - else: - return ApiV1DynamicSecretsLeasesPost200Response( - lease = infisicalapi_client.models._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_details = '', - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - dynamic_secret = infisicalapi_client.models._api_v1_dynamic_secrets_get_200_response_dynamic_secrets_inner._api_v1_dynamic_secrets_get_200_response_dynamicSecrets_inner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1DynamicSecretsLeasesPost200Response(self): - """Test ApiV1DynamicSecretsLeasesPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_leases_post_request.py b/test/test_api_v1_dynamic_secrets_leases_post_request.py deleted file mode 100644 index cbfa2fb..0000000 --- a/test/test_api_v1_dynamic_secrets_leases_post_request.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_leases_post_request import ApiV1DynamicSecretsLeasesPostRequest # noqa: E501 - -class TestApiV1DynamicSecretsLeasesPostRequest(unittest.TestCase): - """ApiV1DynamicSecretsLeasesPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsLeasesPostRequest: - """Test ApiV1DynamicSecretsLeasesPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsLeasesPostRequest` - """ - model = ApiV1DynamicSecretsLeasesPostRequest() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsLeasesPostRequest( - dynamic_secret_name = '0', - project_slug = '0', - ttl = '', - path = '/', - environment_slug = '0' - ) - else: - return ApiV1DynamicSecretsLeasesPostRequest( - dynamic_secret_name = '0', - project_slug = '0', - environment_slug = '0', - ) - """ - - def testApiV1DynamicSecretsLeasesPostRequest(self): - """Test ApiV1DynamicSecretsLeasesPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_name_delete_request.py b/test/test_api_v1_dynamic_secrets_name_delete_request.py deleted file mode 100644 index 6458693..0000000 --- a/test/test_api_v1_dynamic_secrets_name_delete_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_name_delete_request import ApiV1DynamicSecretsNameDeleteRequest # noqa: E501 - -class TestApiV1DynamicSecretsNameDeleteRequest(unittest.TestCase): - """ApiV1DynamicSecretsNameDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsNameDeleteRequest: - """Test ApiV1DynamicSecretsNameDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsNameDeleteRequest` - """ - model = ApiV1DynamicSecretsNameDeleteRequest() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsNameDeleteRequest( - project_slug = '0', - path = '/', - environment_slug = '0', - is_forced = True - ) - else: - return ApiV1DynamicSecretsNameDeleteRequest( - project_slug = '0', - environment_slug = '0', - ) - """ - - def testApiV1DynamicSecretsNameDeleteRequest(self): - """Test ApiV1DynamicSecretsNameDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_name_get200_response.py b/test/test_api_v1_dynamic_secrets_name_get200_response.py deleted file mode 100644 index 0f4b871..0000000 --- a/test/test_api_v1_dynamic_secrets_name_get200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response import ApiV1DynamicSecretsNameGet200Response # noqa: E501 - -class TestApiV1DynamicSecretsNameGet200Response(unittest.TestCase): - """ApiV1DynamicSecretsNameGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsNameGet200Response: - """Test ApiV1DynamicSecretsNameGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsNameGet200Response` - """ - model = ApiV1DynamicSecretsNameGet200Response() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsNameGet200Response( - dynamic_secret = infisicalapi_client.models._api_v1_dynamic_secrets__name__get_200_response_dynamic_secret._api_v1_dynamic_secrets__name__get_200_response_dynamicSecret( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - inputs = null, ) - ) - else: - return ApiV1DynamicSecretsNameGet200Response( - dynamic_secret = infisicalapi_client.models._api_v1_dynamic_secrets__name__get_200_response_dynamic_secret._api_v1_dynamic_secrets__name__get_200_response_dynamicSecret( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - inputs = null, ), - ) - """ - - def testApiV1DynamicSecretsNameGet200Response(self): - """Test ApiV1DynamicSecretsNameGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_name_get200_response_dynamic_secret.py b/test/test_api_v1_dynamic_secrets_name_get200_response_dynamic_secret.py deleted file mode 100644 index 66f9dc2..0000000 --- a/test/test_api_v1_dynamic_secrets_name_get200_response_dynamic_secret.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_name_get200_response_dynamic_secret import ApiV1DynamicSecretsNameGet200ResponseDynamicSecret # noqa: E501 - -class TestApiV1DynamicSecretsNameGet200ResponseDynamicSecret(unittest.TestCase): - """ApiV1DynamicSecretsNameGet200ResponseDynamicSecret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsNameGet200ResponseDynamicSecret: - """Test ApiV1DynamicSecretsNameGet200ResponseDynamicSecret - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsNameGet200ResponseDynamicSecret` - """ - model = ApiV1DynamicSecretsNameGet200ResponseDynamicSecret() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsNameGet200ResponseDynamicSecret( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - inputs = None - ) - else: - return ApiV1DynamicSecretsNameGet200ResponseDynamicSecret( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1DynamicSecretsNameGet200ResponseDynamicSecret(self): - """Test ApiV1DynamicSecretsNameGet200ResponseDynamicSecret""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_name_leases_get200_response.py b/test/test_api_v1_dynamic_secrets_name_leases_get200_response.py deleted file mode 100644 index 01788d0..0000000 --- a/test/test_api_v1_dynamic_secrets_name_leases_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response import ApiV1DynamicSecretsNameLeasesGet200Response # noqa: E501 - -class TestApiV1DynamicSecretsNameLeasesGet200Response(unittest.TestCase): - """ApiV1DynamicSecretsNameLeasesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsNameLeasesGet200Response: - """Test ApiV1DynamicSecretsNameLeasesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsNameLeasesGet200Response` - """ - model = ApiV1DynamicSecretsNameLeasesGet200Response() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsNameLeasesGet200Response( - leases = [ - infisicalapi_client.models._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_details = '', - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1DynamicSecretsNameLeasesGet200Response( - leases = [ - infisicalapi_client.models._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner._api_v1_dynamic_secrets__name__leases_get_200_response_leases_inner( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_details = '', - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1DynamicSecretsNameLeasesGet200Response(self): - """Test ApiV1DynamicSecretsNameLeasesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_name_leases_get200_response_leases_inner.py b/test/test_api_v1_dynamic_secrets_name_leases_get200_response_leases_inner.py deleted file mode 100644 index aa817ba..0000000 --- a/test/test_api_v1_dynamic_secrets_name_leases_get200_response_leases_inner.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_name_leases_get200_response_leases_inner import ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner # noqa: E501 - -class TestApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner(unittest.TestCase): - """ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner: - """Test ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner` - """ - model = ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_details = '', - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner( - id = '', - version = 1.337, - external_entity_id = '', - expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - dynamic_secret_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner(self): - """Test ApiV1DynamicSecretsNameLeasesGet200ResponseLeasesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_name_patch_request.py b/test/test_api_v1_dynamic_secrets_name_patch_request.py deleted file mode 100644 index 0d41928..0000000 --- a/test/test_api_v1_dynamic_secrets_name_patch_request.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request import ApiV1DynamicSecretsNamePatchRequest # noqa: E501 - -class TestApiV1DynamicSecretsNamePatchRequest(unittest.TestCase): - """ApiV1DynamicSecretsNamePatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsNamePatchRequest: - """Test ApiV1DynamicSecretsNamePatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsNamePatchRequest` - """ - model = ApiV1DynamicSecretsNamePatchRequest() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsNamePatchRequest( - project_slug = '0', - path = '/', - environment_slug = '0', - data = infisicalapi_client.models._api_v1_dynamic_secrets__name__patch_request_data._api_v1_dynamic_secrets__name__patch_request_data( - inputs = null, - default_ttl = '', - max_ttl = '', - new_name = '', ) - ) - else: - return ApiV1DynamicSecretsNamePatchRequest( - project_slug = '0', - environment_slug = '0', - data = infisicalapi_client.models._api_v1_dynamic_secrets__name__patch_request_data._api_v1_dynamic_secrets__name__patch_request_data( - inputs = null, - default_ttl = '', - max_ttl = '', - new_name = '', ), - ) - """ - - def testApiV1DynamicSecretsNamePatchRequest(self): - """Test ApiV1DynamicSecretsNamePatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_name_patch_request_data.py b/test/test_api_v1_dynamic_secrets_name_patch_request_data.py deleted file mode 100644 index 44ab41e..0000000 --- a/test/test_api_v1_dynamic_secrets_name_patch_request_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_name_patch_request_data import ApiV1DynamicSecretsNamePatchRequestData # noqa: E501 - -class TestApiV1DynamicSecretsNamePatchRequestData(unittest.TestCase): - """ApiV1DynamicSecretsNamePatchRequestData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsNamePatchRequestData: - """Test ApiV1DynamicSecretsNamePatchRequestData - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsNamePatchRequestData` - """ - model = ApiV1DynamicSecretsNamePatchRequestData() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsNamePatchRequestData( - inputs = None, - default_ttl = '', - max_ttl = '', - new_name = '' - ) - else: - return ApiV1DynamicSecretsNamePatchRequestData( - ) - """ - - def testApiV1DynamicSecretsNamePatchRequestData(self): - """Test ApiV1DynamicSecretsNamePatchRequestData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_post200_response.py b/test/test_api_v1_dynamic_secrets_post200_response.py deleted file mode 100644 index 990dc6c..0000000 --- a/test/test_api_v1_dynamic_secrets_post200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_post200_response import ApiV1DynamicSecretsPost200Response # noqa: E501 - -class TestApiV1DynamicSecretsPost200Response(unittest.TestCase): - """ApiV1DynamicSecretsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsPost200Response: - """Test ApiV1DynamicSecretsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsPost200Response` - """ - model = ApiV1DynamicSecretsPost200Response() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsPost200Response( - dynamic_secret = infisicalapi_client.models._api_v1_dynamic_secrets_get_200_response_dynamic_secrets_inner._api_v1_dynamic_secrets_get_200_response_dynamicSecrets_inner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1DynamicSecretsPost200Response( - dynamic_secret = infisicalapi_client.models._api_v1_dynamic_secrets_get_200_response_dynamic_secrets_inner._api_v1_dynamic_secrets_get_200_response_dynamicSecrets_inner( - id = '', - name = '', - version = 1.337, - type = '', - default_ttl = '', - max_ttl = '', - folder_id = '', - status = '', - status_details = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1DynamicSecretsPost200Response(self): - """Test ApiV1DynamicSecretsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_post_request.py b/test/test_api_v1_dynamic_secrets_post_request.py deleted file mode 100644 index 5e04cd4..0000000 --- a/test/test_api_v1_dynamic_secrets_post_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request import ApiV1DynamicSecretsPostRequest # noqa: E501 - -class TestApiV1DynamicSecretsPostRequest(unittest.TestCase): - """ApiV1DynamicSecretsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsPostRequest: - """Test ApiV1DynamicSecretsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsPostRequest` - """ - model = ApiV1DynamicSecretsPostRequest() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsPostRequest( - project_slug = '0', - provider = None, - default_ttl = '', - max_ttl = '', - path = '/', - environment_slug = '0', - name = '0' - ) - else: - return ApiV1DynamicSecretsPostRequest( - project_slug = '0', - provider = None, - default_ttl = '', - environment_slug = '0', - name = '0', - ) - """ - - def testApiV1DynamicSecretsPostRequest(self): - """Test ApiV1DynamicSecretsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_post_request_provider.py b/test/test_api_v1_dynamic_secrets_post_request_provider.py deleted file mode 100644 index 67f6421..0000000 --- a/test/test_api_v1_dynamic_secrets_post_request_provider.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider import ApiV1DynamicSecretsPostRequestProvider # noqa: E501 - -class TestApiV1DynamicSecretsPostRequestProvider(unittest.TestCase): - """ApiV1DynamicSecretsPostRequestProvider unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsPostRequestProvider: - """Test ApiV1DynamicSecretsPostRequestProvider - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsPostRequestProvider` - """ - model = ApiV1DynamicSecretsPostRequestProvider() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsPostRequestProvider( - type = 'sql-database', - inputs = infisicalapi_client.models._api_v1_dynamic_secrets_post_request_provider_any_of_2_inputs._api_v1_dynamic_secrets_post_request_provider_anyOf_2_inputs( - access_key = '0', - secret_access_key = '0', - region = '0', - aws_path = '', - permission_boundary_policy_arn = '', - policy_document = '', - user_groups = '', - policy_arns = '', ) - ) - else: - return ApiV1DynamicSecretsPostRequestProvider( - type = 'sql-database', - inputs = infisicalapi_client.models._api_v1_dynamic_secrets_post_request_provider_any_of_2_inputs._api_v1_dynamic_secrets_post_request_provider_anyOf_2_inputs( - access_key = '0', - secret_access_key = '0', - region = '0', - aws_path = '', - permission_boundary_policy_arn = '', - policy_document = '', - user_groups = '', - policy_arns = '', ), - ) - """ - - def testApiV1DynamicSecretsPostRequestProvider(self): - """Test ApiV1DynamicSecretsPostRequestProvider""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of.py b/test/test_api_v1_dynamic_secrets_post_request_provider_any_of.py deleted file mode 100644 index 5b1e51e..0000000 --- a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of import ApiV1DynamicSecretsPostRequestProviderAnyOf # noqa: E501 - -class TestApiV1DynamicSecretsPostRequestProviderAnyOf(unittest.TestCase): - """ApiV1DynamicSecretsPostRequestProviderAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsPostRequestProviderAnyOf: - """Test ApiV1DynamicSecretsPostRequestProviderAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsPostRequestProviderAnyOf` - """ - model = ApiV1DynamicSecretsPostRequestProviderAnyOf() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsPostRequestProviderAnyOf( - type = 'sql-database', - inputs = infisicalapi_client.models._api_v1_dynamic_secrets_post_request_provider_any_of_inputs._api_v1_dynamic_secrets_post_request_provider_anyOf_inputs( - client = 'postgres', - host = '', - port = 1.337, - database = '', - username = '', - password = '', - creation_statement = '', - revocation_statement = '', - renew_statement = '', - ca = '', ) - ) - else: - return ApiV1DynamicSecretsPostRequestProviderAnyOf( - type = 'sql-database', - inputs = infisicalapi_client.models._api_v1_dynamic_secrets_post_request_provider_any_of_inputs._api_v1_dynamic_secrets_post_request_provider_anyOf_inputs( - client = 'postgres', - host = '', - port = 1.337, - database = '', - username = '', - password = '', - creation_statement = '', - revocation_statement = '', - renew_statement = '', - ca = '', ), - ) - """ - - def testApiV1DynamicSecretsPostRequestProviderAnyOf(self): - """Test ApiV1DynamicSecretsPostRequestProviderAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of1.py b/test/test_api_v1_dynamic_secrets_post_request_provider_any_of1.py deleted file mode 100644 index c9e5c35..0000000 --- a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of1.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of1 import ApiV1DynamicSecretsPostRequestProviderAnyOf1 # noqa: E501 - -class TestApiV1DynamicSecretsPostRequestProviderAnyOf1(unittest.TestCase): - """ApiV1DynamicSecretsPostRequestProviderAnyOf1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsPostRequestProviderAnyOf1: - """Test ApiV1DynamicSecretsPostRequestProviderAnyOf1 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsPostRequestProviderAnyOf1` - """ - model = ApiV1DynamicSecretsPostRequestProviderAnyOf1() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsPostRequestProviderAnyOf1( - type = 'cassandra', - inputs = infisicalapi_client.models._api_v1_dynamic_secrets_post_request_provider_any_of_1_inputs._api_v1_dynamic_secrets_post_request_provider_anyOf_1_inputs( - host = '', - port = 1.337, - local_data_center = '0', - keyspace = '', - username = '', - password = '', - creation_statement = '', - revocation_statement = '', - renew_statement = '', - ca = '', ) - ) - else: - return ApiV1DynamicSecretsPostRequestProviderAnyOf1( - type = 'cassandra', - inputs = infisicalapi_client.models._api_v1_dynamic_secrets_post_request_provider_any_of_1_inputs._api_v1_dynamic_secrets_post_request_provider_anyOf_1_inputs( - host = '', - port = 1.337, - local_data_center = '0', - keyspace = '', - username = '', - password = '', - creation_statement = '', - revocation_statement = '', - renew_statement = '', - ca = '', ), - ) - """ - - def testApiV1DynamicSecretsPostRequestProviderAnyOf1(self): - """Test ApiV1DynamicSecretsPostRequestProviderAnyOf1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of1_inputs.py b/test/test_api_v1_dynamic_secrets_post_request_provider_any_of1_inputs.py deleted file mode 100644 index 731a846..0000000 --- a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of1_inputs.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of1_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs # noqa: E501 - -class TestApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs(unittest.TestCase): - """ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs: - """Test ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs` - """ - model = ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs( - host = '', - port = 1.337, - local_data_center = '0', - keyspace = '', - username = '', - password = '', - creation_statement = '', - revocation_statement = '', - renew_statement = '', - ca = '' - ) - else: - return ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs( - host = '', - port = 1.337, - local_data_center = '0', - username = '', - password = '', - creation_statement = '', - revocation_statement = '', - ) - """ - - def testApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs(self): - """Test ApiV1DynamicSecretsPostRequestProviderAnyOf1Inputs""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of2.py b/test/test_api_v1_dynamic_secrets_post_request_provider_any_of2.py deleted file mode 100644 index 51b8a0a..0000000 --- a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of2.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of2 import ApiV1DynamicSecretsPostRequestProviderAnyOf2 # noqa: E501 - -class TestApiV1DynamicSecretsPostRequestProviderAnyOf2(unittest.TestCase): - """ApiV1DynamicSecretsPostRequestProviderAnyOf2 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsPostRequestProviderAnyOf2: - """Test ApiV1DynamicSecretsPostRequestProviderAnyOf2 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsPostRequestProviderAnyOf2` - """ - model = ApiV1DynamicSecretsPostRequestProviderAnyOf2() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsPostRequestProviderAnyOf2( - type = 'aws-iam', - inputs = infisicalapi_client.models._api_v1_dynamic_secrets_post_request_provider_any_of_2_inputs._api_v1_dynamic_secrets_post_request_provider_anyOf_2_inputs( - access_key = '0', - secret_access_key = '0', - region = '0', - aws_path = '', - permission_boundary_policy_arn = '', - policy_document = '', - user_groups = '', - policy_arns = '', ) - ) - else: - return ApiV1DynamicSecretsPostRequestProviderAnyOf2( - type = 'aws-iam', - inputs = infisicalapi_client.models._api_v1_dynamic_secrets_post_request_provider_any_of_2_inputs._api_v1_dynamic_secrets_post_request_provider_anyOf_2_inputs( - access_key = '0', - secret_access_key = '0', - region = '0', - aws_path = '', - permission_boundary_policy_arn = '', - policy_document = '', - user_groups = '', - policy_arns = '', ), - ) - """ - - def testApiV1DynamicSecretsPostRequestProviderAnyOf2(self): - """Test ApiV1DynamicSecretsPostRequestProviderAnyOf2""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of2_inputs.py b/test/test_api_v1_dynamic_secrets_post_request_provider_any_of2_inputs.py deleted file mode 100644 index 016723f..0000000 --- a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of2_inputs.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of2_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs # noqa: E501 - -class TestApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs(unittest.TestCase): - """ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs: - """Test ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs` - """ - model = ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs( - access_key = '0', - secret_access_key = '0', - region = '0', - aws_path = '', - permission_boundary_policy_arn = '', - policy_document = '', - user_groups = '', - policy_arns = '' - ) - else: - return ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs( - access_key = '0', - secret_access_key = '0', - region = '0', - ) - """ - - def testApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs(self): - """Test ApiV1DynamicSecretsPostRequestProviderAnyOf2Inputs""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of_inputs.py b/test/test_api_v1_dynamic_secrets_post_request_provider_any_of_inputs.py deleted file mode 100644 index a0249c8..0000000 --- a/test/test_api_v1_dynamic_secrets_post_request_provider_any_of_inputs.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_dynamic_secrets_post_request_provider_any_of_inputs import ApiV1DynamicSecretsPostRequestProviderAnyOfInputs # noqa: E501 - -class TestApiV1DynamicSecretsPostRequestProviderAnyOfInputs(unittest.TestCase): - """ApiV1DynamicSecretsPostRequestProviderAnyOfInputs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1DynamicSecretsPostRequestProviderAnyOfInputs: - """Test ApiV1DynamicSecretsPostRequestProviderAnyOfInputs - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1DynamicSecretsPostRequestProviderAnyOfInputs` - """ - model = ApiV1DynamicSecretsPostRequestProviderAnyOfInputs() # noqa: E501 - if include_optional: - return ApiV1DynamicSecretsPostRequestProviderAnyOfInputs( - client = 'postgres', - host = '', - port = 1.337, - database = '', - username = '', - password = '', - creation_statement = '', - revocation_statement = '', - renew_statement = '', - ca = '' - ) - else: - return ApiV1DynamicSecretsPostRequestProviderAnyOfInputs( - client = 'postgres', - host = '', - port = 1.337, - database = '', - username = '', - password = '', - creation_statement = '', - revocation_statement = '', - ) - """ - - def testApiV1DynamicSecretsPostRequestProviderAnyOfInputs(self): - """Test ApiV1DynamicSecretsPostRequestProviderAnyOfInputs""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_get200_response.py b/test/test_api_v1_external_kms_get200_response.py deleted file mode 100644 index ddeeaee..0000000 --- a/test/test_api_v1_external_kms_get200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_get200_response import ApiV1ExternalKmsGet200Response # noqa: E501 - -class TestApiV1ExternalKmsGet200Response(unittest.TestCase): - """ApiV1ExternalKmsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsGet200Response: - """Test ApiV1ExternalKmsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsGet200Response` - """ - model = ApiV1ExternalKmsGet200Response() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsGet200Response( - external_kms_list = [ - infisicalapi_client.models._api_v1_external_kms_get_200_response_external_kms_list_inner._api_v1_external_kms_get_200_response_externalKmsList_inner( - id = '', - description = '', - is_disabled = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - slug = '', - external_kms = infisicalapi_client.models._api_v1_external_kms_get_200_response_external_kms_list_inner_external_kms._api_v1_external_kms_get_200_response_externalKmsList_inner_externalKms( - provider = '', - status = '', - status_details = '', ), ) - ] - ) - else: - return ApiV1ExternalKmsGet200Response( - external_kms_list = [ - infisicalapi_client.models._api_v1_external_kms_get_200_response_external_kms_list_inner._api_v1_external_kms_get_200_response_externalKmsList_inner( - id = '', - description = '', - is_disabled = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - slug = '', - external_kms = infisicalapi_client.models._api_v1_external_kms_get_200_response_external_kms_list_inner_external_kms._api_v1_external_kms_get_200_response_externalKmsList_inner_externalKms( - provider = '', - status = '', - status_details = '', ), ) - ], - ) - """ - - def testApiV1ExternalKmsGet200Response(self): - """Test ApiV1ExternalKmsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_get200_response_external_kms_list_inner.py b/test/test_api_v1_external_kms_get200_response_external_kms_list_inner.py deleted file mode 100644 index 1f7f0b8..0000000 --- a/test/test_api_v1_external_kms_get200_response_external_kms_list_inner.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_get200_response_external_kms_list_inner import ApiV1ExternalKmsGet200ResponseExternalKmsListInner # noqa: E501 - -class TestApiV1ExternalKmsGet200ResponseExternalKmsListInner(unittest.TestCase): - """ApiV1ExternalKmsGet200ResponseExternalKmsListInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsGet200ResponseExternalKmsListInner: - """Test ApiV1ExternalKmsGet200ResponseExternalKmsListInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsGet200ResponseExternalKmsListInner` - """ - model = ApiV1ExternalKmsGet200ResponseExternalKmsListInner() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsGet200ResponseExternalKmsListInner( - id = '', - description = '', - is_disabled = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - slug = '', - external_kms = infisicalapi_client.models._api_v1_external_kms_get_200_response_external_kms_list_inner_external_kms._api_v1_external_kms_get_200_response_externalKmsList_inner_externalKms( - provider = '', - status = '', - status_details = '', ) - ) - else: - return ApiV1ExternalKmsGet200ResponseExternalKmsListInner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - slug = '', - external_kms = infisicalapi_client.models._api_v1_external_kms_get_200_response_external_kms_list_inner_external_kms._api_v1_external_kms_get_200_response_externalKmsList_inner_externalKms( - provider = '', - status = '', - status_details = '', ), - ) - """ - - def testApiV1ExternalKmsGet200ResponseExternalKmsListInner(self): - """Test ApiV1ExternalKmsGet200ResponseExternalKmsListInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_get200_response_external_kms_list_inner_external_kms.py b/test/test_api_v1_external_kms_get200_response_external_kms_list_inner_external_kms.py deleted file mode 100644 index 50a19ee..0000000 --- a/test/test_api_v1_external_kms_get200_response_external_kms_list_inner_external_kms.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_get200_response_external_kms_list_inner_external_kms import ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms # noqa: E501 - -class TestApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms(unittest.TestCase): - """ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms: - """Test ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms` - """ - model = ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms( - provider = '', - status = '', - status_details = '' - ) - else: - return ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms( - provider = '', - ) - """ - - def testApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms(self): - """Test ApiV1ExternalKmsGet200ResponseExternalKmsListInnerExternalKms""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_id_get200_response.py b/test/test_api_v1_external_kms_id_get200_response.py deleted file mode 100644 index 5a9b01b..0000000 --- a/test/test_api_v1_external_kms_id_get200_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_id_get200_response import ApiV1ExternalKmsIdGet200Response # noqa: E501 - -class TestApiV1ExternalKmsIdGet200Response(unittest.TestCase): - """ApiV1ExternalKmsIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsIdGet200Response: - """Test ApiV1ExternalKmsIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsIdGet200Response` - """ - model = ApiV1ExternalKmsIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsIdGet200Response( - external_kms = infisicalapi_client.models._api_v1_external_kms__id__get_200_response_external_kms._api_v1_external_kms__id__get_200_response_externalKms( - id = '', - description = '', - is_disabled = True, - is_reserved = True, - org_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - external = infisicalapi_client.models._api_v1_external_kms__id__get_200_response_external_kms_external._api_v1_external_kms__id__get_200_response_externalKms_external( - id = '', - status = '', - status_details = '', - provider = '', - provider_input = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs._api_v1_external_kms_post_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), ), ) - ) - else: - return ApiV1ExternalKmsIdGet200Response( - external_kms = infisicalapi_client.models._api_v1_external_kms__id__get_200_response_external_kms._api_v1_external_kms__id__get_200_response_externalKms( - id = '', - description = '', - is_disabled = True, - is_reserved = True, - org_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - external = infisicalapi_client.models._api_v1_external_kms__id__get_200_response_external_kms_external._api_v1_external_kms__id__get_200_response_externalKms_external( - id = '', - status = '', - status_details = '', - provider = '', - provider_input = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs._api_v1_external_kms_post_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), ), ), - ) - """ - - def testApiV1ExternalKmsIdGet200Response(self): - """Test ApiV1ExternalKmsIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_id_get200_response_external_kms.py b/test/test_api_v1_external_kms_id_get200_response_external_kms.py deleted file mode 100644 index dd1ac89..0000000 --- a/test/test_api_v1_external_kms_id_get200_response_external_kms.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_id_get200_response_external_kms import ApiV1ExternalKmsIdGet200ResponseExternalKms # noqa: E501 - -class TestApiV1ExternalKmsIdGet200ResponseExternalKms(unittest.TestCase): - """ApiV1ExternalKmsIdGet200ResponseExternalKms unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsIdGet200ResponseExternalKms: - """Test ApiV1ExternalKmsIdGet200ResponseExternalKms - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsIdGet200ResponseExternalKms` - """ - model = ApiV1ExternalKmsIdGet200ResponseExternalKms() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsIdGet200ResponseExternalKms( - id = '', - description = '', - is_disabled = True, - is_reserved = True, - org_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - external = infisicalapi_client.models._api_v1_external_kms__id__get_200_response_external_kms_external._api_v1_external_kms__id__get_200_response_externalKms_external( - id = '', - status = '', - status_details = '', - provider = '', - provider_input = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs._api_v1_external_kms_post_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), ) - ) - else: - return ApiV1ExternalKmsIdGet200ResponseExternalKms( - id = '', - org_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - external = infisicalapi_client.models._api_v1_external_kms__id__get_200_response_external_kms_external._api_v1_external_kms__id__get_200_response_externalKms_external( - id = '', - status = '', - status_details = '', - provider = '', - provider_input = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs._api_v1_external_kms_post_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), ), - ) - """ - - def testApiV1ExternalKmsIdGet200ResponseExternalKms(self): - """Test ApiV1ExternalKmsIdGet200ResponseExternalKms""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_id_get200_response_external_kms_external.py b/test/test_api_v1_external_kms_id_get200_response_external_kms_external.py deleted file mode 100644 index 71b5275..0000000 --- a/test/test_api_v1_external_kms_id_get200_response_external_kms_external.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_id_get200_response_external_kms_external import ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal # noqa: E501 - -class TestApiV1ExternalKmsIdGet200ResponseExternalKmsExternal(unittest.TestCase): - """ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal: - """Test ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal` - """ - model = ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal( - id = '', - status = '', - status_details = '', - provider = '', - provider_input = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs._api_v1_external_kms_post_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ) - ) - else: - return ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal( - id = '', - provider = '', - provider_input = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs._api_v1_external_kms_post_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), - ) - """ - - def testApiV1ExternalKmsIdGet200ResponseExternalKmsExternal(self): - """Test ApiV1ExternalKmsIdGet200ResponseExternalKmsExternal""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_id_patch_request.py b/test/test_api_v1_external_kms_id_patch_request.py deleted file mode 100644 index e7e865e..0000000 --- a/test/test_api_v1_external_kms_id_patch_request.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_id_patch_request import ApiV1ExternalKmsIdPatchRequest # noqa: E501 - -class TestApiV1ExternalKmsIdPatchRequest(unittest.TestCase): - """ApiV1ExternalKmsIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsIdPatchRequest: - """Test ApiV1ExternalKmsIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsIdPatchRequest` - """ - model = ApiV1ExternalKmsIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsIdPatchRequest( - slug = '0', - description = '', - provider = infisicalapi_client.models._api_v1_external_kms__id__patch_request_provider._api_v1_external_kms__id__patch_request_provider( - type = 'aws', - inputs = infisicalapi_client.models._api_v1_external_kms__id__patch_request_provider_inputs._api_v1_external_kms__id__patch_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), ) - ) - else: - return ApiV1ExternalKmsIdPatchRequest( - provider = infisicalapi_client.models._api_v1_external_kms__id__patch_request_provider._api_v1_external_kms__id__patch_request_provider( - type = 'aws', - inputs = infisicalapi_client.models._api_v1_external_kms__id__patch_request_provider_inputs._api_v1_external_kms__id__patch_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), ), - ) - """ - - def testApiV1ExternalKmsIdPatchRequest(self): - """Test ApiV1ExternalKmsIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_id_patch_request_provider.py b/test/test_api_v1_external_kms_id_patch_request_provider.py deleted file mode 100644 index 1a471fb..0000000 --- a/test/test_api_v1_external_kms_id_patch_request_provider.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_id_patch_request_provider import ApiV1ExternalKmsIdPatchRequestProvider # noqa: E501 - -class TestApiV1ExternalKmsIdPatchRequestProvider(unittest.TestCase): - """ApiV1ExternalKmsIdPatchRequestProvider unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsIdPatchRequestProvider: - """Test ApiV1ExternalKmsIdPatchRequestProvider - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsIdPatchRequestProvider` - """ - model = ApiV1ExternalKmsIdPatchRequestProvider() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsIdPatchRequestProvider( - type = 'aws', - inputs = infisicalapi_client.models._api_v1_external_kms__id__patch_request_provider_inputs._api_v1_external_kms__id__patch_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ) - ) - else: - return ApiV1ExternalKmsIdPatchRequestProvider( - type = 'aws', - inputs = infisicalapi_client.models._api_v1_external_kms__id__patch_request_provider_inputs._api_v1_external_kms__id__patch_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), - ) - """ - - def testApiV1ExternalKmsIdPatchRequestProvider(self): - """Test ApiV1ExternalKmsIdPatchRequestProvider""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_id_patch_request_provider_inputs.py b/test/test_api_v1_external_kms_id_patch_request_provider_inputs.py deleted file mode 100644 index d10ac90..0000000 --- a/test/test_api_v1_external_kms_id_patch_request_provider_inputs.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_id_patch_request_provider_inputs import ApiV1ExternalKmsIdPatchRequestProviderInputs # noqa: E501 - -class TestApiV1ExternalKmsIdPatchRequestProviderInputs(unittest.TestCase): - """ApiV1ExternalKmsIdPatchRequestProviderInputs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsIdPatchRequestProviderInputs: - """Test ApiV1ExternalKmsIdPatchRequestProviderInputs - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsIdPatchRequestProviderInputs` - """ - model = ApiV1ExternalKmsIdPatchRequestProviderInputs() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsIdPatchRequestProviderInputs( - credential = None, - aws_region = '0', - kms_key_id = '' - ) - else: - return ApiV1ExternalKmsIdPatchRequestProviderInputs( - ) - """ - - def testApiV1ExternalKmsIdPatchRequestProviderInputs(self): - """Test ApiV1ExternalKmsIdPatchRequestProviderInputs""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post200_response.py b/test/test_api_v1_external_kms_post200_response.py deleted file mode 100644 index 2188c73..0000000 --- a/test/test_api_v1_external_kms_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post200_response import ApiV1ExternalKmsPost200Response # noqa: E501 - -class TestApiV1ExternalKmsPost200Response(unittest.TestCase): - """ApiV1ExternalKmsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPost200Response: - """Test ApiV1ExternalKmsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPost200Response` - """ - model = ApiV1ExternalKmsPost200Response() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPost200Response( - external_kms = infisicalapi_client.models._api_v1_external_kms_post_200_response_external_kms._api_v1_external_kms_post_200_response_externalKms( - id = '', - description = '', - is_disabled = True, - is_reserved = True, - org_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - external = infisicalapi_client.models._api_v1_external_kms_post_200_response_external_kms_external._api_v1_external_kms_post_200_response_externalKms_external( - id = '', - status = '', - status_details = '', - provider = '', ), ) - ) - else: - return ApiV1ExternalKmsPost200Response( - external_kms = infisicalapi_client.models._api_v1_external_kms_post_200_response_external_kms._api_v1_external_kms_post_200_response_externalKms( - id = '', - description = '', - is_disabled = True, - is_reserved = True, - org_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - external = infisicalapi_client.models._api_v1_external_kms_post_200_response_external_kms_external._api_v1_external_kms_post_200_response_externalKms_external( - id = '', - status = '', - status_details = '', - provider = '', ), ), - ) - """ - - def testApiV1ExternalKmsPost200Response(self): - """Test ApiV1ExternalKmsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post200_response_external_kms.py b/test/test_api_v1_external_kms_post200_response_external_kms.py deleted file mode 100644 index f830c0f..0000000 --- a/test/test_api_v1_external_kms_post200_response_external_kms.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post200_response_external_kms import ApiV1ExternalKmsPost200ResponseExternalKms # noqa: E501 - -class TestApiV1ExternalKmsPost200ResponseExternalKms(unittest.TestCase): - """ApiV1ExternalKmsPost200ResponseExternalKms unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPost200ResponseExternalKms: - """Test ApiV1ExternalKmsPost200ResponseExternalKms - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPost200ResponseExternalKms` - """ - model = ApiV1ExternalKmsPost200ResponseExternalKms() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPost200ResponseExternalKms( - id = '', - description = '', - is_disabled = True, - is_reserved = True, - org_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - external = infisicalapi_client.models._api_v1_external_kms_post_200_response_external_kms_external._api_v1_external_kms_post_200_response_externalKms_external( - id = '', - status = '', - status_details = '', - provider = '', ) - ) - else: - return ApiV1ExternalKmsPost200ResponseExternalKms( - id = '', - org_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - external = infisicalapi_client.models._api_v1_external_kms_post_200_response_external_kms_external._api_v1_external_kms_post_200_response_externalKms_external( - id = '', - status = '', - status_details = '', - provider = '', ), - ) - """ - - def testApiV1ExternalKmsPost200ResponseExternalKms(self): - """Test ApiV1ExternalKmsPost200ResponseExternalKms""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post200_response_external_kms_external.py b/test/test_api_v1_external_kms_post200_response_external_kms_external.py deleted file mode 100644 index dba8459..0000000 --- a/test/test_api_v1_external_kms_post200_response_external_kms_external.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post200_response_external_kms_external import ApiV1ExternalKmsPost200ResponseExternalKmsExternal # noqa: E501 - -class TestApiV1ExternalKmsPost200ResponseExternalKmsExternal(unittest.TestCase): - """ApiV1ExternalKmsPost200ResponseExternalKmsExternal unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPost200ResponseExternalKmsExternal: - """Test ApiV1ExternalKmsPost200ResponseExternalKmsExternal - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPost200ResponseExternalKmsExternal` - """ - model = ApiV1ExternalKmsPost200ResponseExternalKmsExternal() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPost200ResponseExternalKmsExternal( - id = '', - status = '', - status_details = '', - provider = '' - ) - else: - return ApiV1ExternalKmsPost200ResponseExternalKmsExternal( - id = '', - provider = '', - ) - """ - - def testApiV1ExternalKmsPost200ResponseExternalKmsExternal(self): - """Test ApiV1ExternalKmsPost200ResponseExternalKmsExternal""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post_request.py b/test/test_api_v1_external_kms_post_request.py deleted file mode 100644 index d51971b..0000000 --- a/test/test_api_v1_external_kms_post_request.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post_request import ApiV1ExternalKmsPostRequest # noqa: E501 - -class TestApiV1ExternalKmsPostRequest(unittest.TestCase): - """ApiV1ExternalKmsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPostRequest: - """Test ApiV1ExternalKmsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPostRequest` - """ - model = ApiV1ExternalKmsPostRequest() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPostRequest( - slug = '0', - description = '', - provider = infisicalapi_client.models._api_v1_external_kms_post_request_provider._api_v1_external_kms_post_request_provider( - type = 'aws', - inputs = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs._api_v1_external_kms_post_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), ) - ) - else: - return ApiV1ExternalKmsPostRequest( - slug = '0', - provider = infisicalapi_client.models._api_v1_external_kms_post_request_provider._api_v1_external_kms_post_request_provider( - type = 'aws', - inputs = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs._api_v1_external_kms_post_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), ), - ) - """ - - def testApiV1ExternalKmsPostRequest(self): - """Test ApiV1ExternalKmsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post_request_provider.py b/test/test_api_v1_external_kms_post_request_provider.py deleted file mode 100644 index cd7339c..0000000 --- a/test/test_api_v1_external_kms_post_request_provider.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post_request_provider import ApiV1ExternalKmsPostRequestProvider # noqa: E501 - -class TestApiV1ExternalKmsPostRequestProvider(unittest.TestCase): - """ApiV1ExternalKmsPostRequestProvider unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPostRequestProvider: - """Test ApiV1ExternalKmsPostRequestProvider - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPostRequestProvider` - """ - model = ApiV1ExternalKmsPostRequestProvider() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPostRequestProvider( - type = 'aws', - inputs = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs._api_v1_external_kms_post_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ) - ) - else: - return ApiV1ExternalKmsPostRequestProvider( - type = 'aws', - inputs = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs._api_v1_external_kms_post_request_provider_inputs( - credential = null, - aws_region = '0', - kms_key_id = '', ), - ) - """ - - def testApiV1ExternalKmsPostRequestProvider(self): - """Test ApiV1ExternalKmsPostRequestProvider""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post_request_provider_inputs.py b/test/test_api_v1_external_kms_post_request_provider_inputs.py deleted file mode 100644 index fbc5f69..0000000 --- a/test/test_api_v1_external_kms_post_request_provider_inputs.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs import ApiV1ExternalKmsPostRequestProviderInputs # noqa: E501 - -class TestApiV1ExternalKmsPostRequestProviderInputs(unittest.TestCase): - """ApiV1ExternalKmsPostRequestProviderInputs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPostRequestProviderInputs: - """Test ApiV1ExternalKmsPostRequestProviderInputs - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPostRequestProviderInputs` - """ - model = ApiV1ExternalKmsPostRequestProviderInputs() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPostRequestProviderInputs( - credential = None, - aws_region = '0', - kms_key_id = '' - ) - else: - return ApiV1ExternalKmsPostRequestProviderInputs( - credential = None, - aws_region = '0', - ) - """ - - def testApiV1ExternalKmsPostRequestProviderInputs(self): - """Test ApiV1ExternalKmsPostRequestProviderInputs""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post_request_provider_inputs_credential.py b/test/test_api_v1_external_kms_post_request_provider_inputs_credential.py deleted file mode 100644 index 84bf9b6..0000000 --- a/test/test_api_v1_external_kms_post_request_provider_inputs_credential.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential import ApiV1ExternalKmsPostRequestProviderInputsCredential # noqa: E501 - -class TestApiV1ExternalKmsPostRequestProviderInputsCredential(unittest.TestCase): - """ApiV1ExternalKmsPostRequestProviderInputsCredential unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPostRequestProviderInputsCredential: - """Test ApiV1ExternalKmsPostRequestProviderInputsCredential - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPostRequestProviderInputsCredential` - """ - model = ApiV1ExternalKmsPostRequestProviderInputsCredential() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPostRequestProviderInputsCredential( - type = 'access-key', - data = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs_credential_any_of_1_data._api_v1_external_kms_post_request_provider_inputs_credential_anyOf_1_data( - assume_role_arn = '0', - external_id = '0', ) - ) - else: - return ApiV1ExternalKmsPostRequestProviderInputsCredential( - type = 'access-key', - data = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs_credential_any_of_1_data._api_v1_external_kms_post_request_provider_inputs_credential_anyOf_1_data( - assume_role_arn = '0', - external_id = '0', ), - ) - """ - - def testApiV1ExternalKmsPostRequestProviderInputsCredential(self): - """Test ApiV1ExternalKmsPostRequestProviderInputsCredential""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of.py b/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of.py deleted file mode 100644 index df2de2e..0000000 --- a/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf # noqa: E501 - -class TestApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf(unittest.TestCase): - """ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf: - """Test ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf` - """ - model = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf( - type = 'access-key', - data = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs_credential_any_of_data._api_v1_external_kms_post_request_provider_inputs_credential_anyOf_data( - access_key = '0', - secret_key = '0', ) - ) - else: - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf( - type = 'access-key', - data = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs_credential_any_of_data._api_v1_external_kms_post_request_provider_inputs_credential_anyOf_data( - access_key = '0', - secret_key = '0', ), - ) - """ - - def testApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf(self): - """Test ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of1.py b/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of1.py deleted file mode 100644 index fb8197a..0000000 --- a/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of1.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of1 import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 # noqa: E501 - -class TestApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1(unittest.TestCase): - """ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1: - """Test ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1` - """ - model = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1( - type = 'assume-role', - data = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs_credential_any_of_1_data._api_v1_external_kms_post_request_provider_inputs_credential_anyOf_1_data( - assume_role_arn = '0', - external_id = '0', ) - ) - else: - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1( - type = 'assume-role', - data = infisicalapi_client.models._api_v1_external_kms_post_request_provider_inputs_credential_any_of_1_data._api_v1_external_kms_post_request_provider_inputs_credential_anyOf_1_data( - assume_role_arn = '0', - external_id = '0', ), - ) - """ - - def testApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1(self): - """Test ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data.py b/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data.py deleted file mode 100644 index cd5622e..0000000 --- a/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data # noqa: E501 - -class TestApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data(unittest.TestCase): - """ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data: - """Test ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data` - """ - model = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data( - assume_role_arn = '0', - external_id = '0' - ) - else: - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data( - assume_role_arn = '0', - ) - """ - - def testApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data(self): - """Test ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOf1Data""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of_data.py b/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of_data.py deleted file mode 100644 index ab200d4..0000000 --- a/test/test_api_v1_external_kms_post_request_provider_inputs_credential_any_of_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_external_kms_post_request_provider_inputs_credential_any_of_data import ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData # noqa: E501 - -class TestApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData(unittest.TestCase): - """ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData: - """Test ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData` - """ - model = ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData() # noqa: E501 - if include_optional: - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData( - access_key = '0', - secret_key = '0' - ) - else: - return ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData( - access_key = '0', - secret_key = '0', - ) - """ - - def testApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData(self): - """Test ApiV1ExternalKmsPostRequestProviderInputsCredentialAnyOfData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_folders_batch_patch_request.py b/test/test_api_v1_folders_batch_patch_request.py deleted file mode 100644 index 709df0f..0000000 --- a/test/test_api_v1_folders_batch_patch_request.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_folders_batch_patch_request import ApiV1FoldersBatchPatchRequest # noqa: E501 - -class TestApiV1FoldersBatchPatchRequest(unittest.TestCase): - """ApiV1FoldersBatchPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1FoldersBatchPatchRequest: - """Test ApiV1FoldersBatchPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1FoldersBatchPatchRequest` - """ - model = ApiV1FoldersBatchPatchRequest() # noqa: E501 - if include_optional: - return ApiV1FoldersBatchPatchRequest( - project_slug = '', - folders = [ - infisicalapi_client.models._api_v1_folders_batch_patch_request_folders_inner._api_v1_folders_batch_patch_request_folders_inner( - id = '', - environment = '', - name = '', - path = '/', ) - ] - ) - else: - return ApiV1FoldersBatchPatchRequest( - project_slug = '', - folders = [ - infisicalapi_client.models._api_v1_folders_batch_patch_request_folders_inner._api_v1_folders_batch_patch_request_folders_inner( - id = '', - environment = '', - name = '', - path = '/', ) - ], - ) - """ - - def testApiV1FoldersBatchPatchRequest(self): - """Test ApiV1FoldersBatchPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_folders_batch_patch_request_folders_inner.py b/test/test_api_v1_folders_batch_patch_request_folders_inner.py deleted file mode 100644 index 5e1e6f5..0000000 --- a/test/test_api_v1_folders_batch_patch_request_folders_inner.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_folders_batch_patch_request_folders_inner import ApiV1FoldersBatchPatchRequestFoldersInner # noqa: E501 - -class TestApiV1FoldersBatchPatchRequestFoldersInner(unittest.TestCase): - """ApiV1FoldersBatchPatchRequestFoldersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1FoldersBatchPatchRequestFoldersInner: - """Test ApiV1FoldersBatchPatchRequestFoldersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1FoldersBatchPatchRequestFoldersInner` - """ - model = ApiV1FoldersBatchPatchRequestFoldersInner() # noqa: E501 - if include_optional: - return ApiV1FoldersBatchPatchRequestFoldersInner( - id = '', - environment = '', - name = '', - path = '/' - ) - else: - return ApiV1FoldersBatchPatchRequestFoldersInner( - id = '', - environment = '', - name = '', - ) - """ - - def testApiV1FoldersBatchPatchRequestFoldersInner(self): - """Test ApiV1FoldersBatchPatchRequestFoldersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_folders_folder_id_or_name_delete_request.py b/test/test_api_v1_folders_folder_id_or_name_delete_request.py deleted file mode 100644 index 10bc3ce..0000000 --- a/test/test_api_v1_folders_folder_id_or_name_delete_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_folders_folder_id_or_name_delete_request import ApiV1FoldersFolderIdOrNameDeleteRequest # noqa: E501 - -class TestApiV1FoldersFolderIdOrNameDeleteRequest(unittest.TestCase): - """ApiV1FoldersFolderIdOrNameDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1FoldersFolderIdOrNameDeleteRequest: - """Test ApiV1FoldersFolderIdOrNameDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1FoldersFolderIdOrNameDeleteRequest` - """ - model = ApiV1FoldersFolderIdOrNameDeleteRequest() # noqa: E501 - if include_optional: - return ApiV1FoldersFolderIdOrNameDeleteRequest( - workspace_id = '', - environment = '', - path = '/', - directory = '/' - ) - else: - return ApiV1FoldersFolderIdOrNameDeleteRequest( - workspace_id = '', - environment = '', - ) - """ - - def testApiV1FoldersFolderIdOrNameDeleteRequest(self): - """Test ApiV1FoldersFolderIdOrNameDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_folders_folder_id_patch_request.py b/test/test_api_v1_folders_folder_id_patch_request.py deleted file mode 100644 index 417ad16..0000000 --- a/test/test_api_v1_folders_folder_id_patch_request.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_folders_folder_id_patch_request import ApiV1FoldersFolderIdPatchRequest # noqa: E501 - -class TestApiV1FoldersFolderIdPatchRequest(unittest.TestCase): - """ApiV1FoldersFolderIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1FoldersFolderIdPatchRequest: - """Test ApiV1FoldersFolderIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1FoldersFolderIdPatchRequest` - """ - model = ApiV1FoldersFolderIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1FoldersFolderIdPatchRequest( - workspace_id = '', - environment = '', - name = '', - path = '/', - directory = '/' - ) - else: - return ApiV1FoldersFolderIdPatchRequest( - workspace_id = '', - environment = '', - name = '', - ) - """ - - def testApiV1FoldersFolderIdPatchRequest(self): - """Test ApiV1FoldersFolderIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_folders_get200_response.py b/test/test_api_v1_folders_get200_response.py deleted file mode 100644 index 373b243..0000000 --- a/test/test_api_v1_folders_get200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_folders_get200_response import ApiV1FoldersGet200Response # noqa: E501 - -class TestApiV1FoldersGet200Response(unittest.TestCase): - """ApiV1FoldersGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1FoldersGet200Response: - """Test ApiV1FoldersGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1FoldersGet200Response` - """ - model = ApiV1FoldersGet200Response() # noqa: E501 - if include_optional: - return ApiV1FoldersGet200Response( - folders = [ - infisicalapi_client.models._api_v1_folders_get_200_response_folders_inner._api_v1_folders_get_200_response_folders_inner( - id = '', - name = '', - version = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - parent_id = '', - is_reserved = True, ) - ] - ) - else: - return ApiV1FoldersGet200Response( - folders = [ - infisicalapi_client.models._api_v1_folders_get_200_response_folders_inner._api_v1_folders_get_200_response_folders_inner( - id = '', - name = '', - version = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - parent_id = '', - is_reserved = True, ) - ], - ) - """ - - def testApiV1FoldersGet200Response(self): - """Test ApiV1FoldersGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_folders_get200_response_folders_inner.py b/test/test_api_v1_folders_get200_response_folders_inner.py deleted file mode 100644 index ff37713..0000000 --- a/test/test_api_v1_folders_get200_response_folders_inner.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_folders_get200_response_folders_inner import ApiV1FoldersGet200ResponseFoldersInner # noqa: E501 - -class TestApiV1FoldersGet200ResponseFoldersInner(unittest.TestCase): - """ApiV1FoldersGet200ResponseFoldersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1FoldersGet200ResponseFoldersInner: - """Test ApiV1FoldersGet200ResponseFoldersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1FoldersGet200ResponseFoldersInner` - """ - model = ApiV1FoldersGet200ResponseFoldersInner() # noqa: E501 - if include_optional: - return ApiV1FoldersGet200ResponseFoldersInner( - id = '', - name = '', - version = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - parent_id = '', - is_reserved = True - ) - else: - return ApiV1FoldersGet200ResponseFoldersInner( - id = '', - name = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - ) - """ - - def testApiV1FoldersGet200ResponseFoldersInner(self): - """Test ApiV1FoldersGet200ResponseFoldersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_folders_post200_response.py b/test/test_api_v1_folders_post200_response.py deleted file mode 100644 index 93ac755..0000000 --- a/test/test_api_v1_folders_post200_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_folders_post200_response import ApiV1FoldersPost200Response # noqa: E501 - -class TestApiV1FoldersPost200Response(unittest.TestCase): - """ApiV1FoldersPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1FoldersPost200Response: - """Test ApiV1FoldersPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1FoldersPost200Response` - """ - model = ApiV1FoldersPost200Response() # noqa: E501 - if include_optional: - return ApiV1FoldersPost200Response( - folder = infisicalapi_client.models._api_v1_folders_get_200_response_folders_inner._api_v1_folders_get_200_response_folders_inner( - id = '', - name = '', - version = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - parent_id = '', - is_reserved = True, ) - ) - else: - return ApiV1FoldersPost200Response( - folder = infisicalapi_client.models._api_v1_folders_get_200_response_folders_inner._api_v1_folders_get_200_response_folders_inner( - id = '', - name = '', - version = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - parent_id = '', - is_reserved = True, ), - ) - """ - - def testApiV1FoldersPost200Response(self): - """Test ApiV1FoldersPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_folders_post_request.py b/test/test_api_v1_folders_post_request.py deleted file mode 100644 index 3ab293a..0000000 --- a/test/test_api_v1_folders_post_request.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_folders_post_request import ApiV1FoldersPostRequest # noqa: E501 - -class TestApiV1FoldersPostRequest(unittest.TestCase): - """ApiV1FoldersPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1FoldersPostRequest: - """Test ApiV1FoldersPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1FoldersPostRequest` - """ - model = ApiV1FoldersPostRequest() # noqa: E501 - if include_optional: - return ApiV1FoldersPostRequest( - workspace_id = '', - environment = '', - name = '', - path = '/', - directory = '/' - ) - else: - return ApiV1FoldersPostRequest( - workspace_id = '', - environment = '', - name = '', - ) - """ - - def testApiV1FoldersPostRequest(self): - """Test ApiV1FoldersPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_groups_current_slug_patch_request.py b/test/test_api_v1_groups_current_slug_patch_request.py deleted file mode 100644 index 9fcd6e7..0000000 --- a/test/test_api_v1_groups_current_slug_patch_request.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_groups_current_slug_patch_request import ApiV1GroupsCurrentSlugPatchRequest # noqa: E501 - -class TestApiV1GroupsCurrentSlugPatchRequest(unittest.TestCase): - """ApiV1GroupsCurrentSlugPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1GroupsCurrentSlugPatchRequest: - """Test ApiV1GroupsCurrentSlugPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1GroupsCurrentSlugPatchRequest` - """ - model = ApiV1GroupsCurrentSlugPatchRequest() # noqa: E501 - if include_optional: - return ApiV1GroupsCurrentSlugPatchRequest( - name = '0', - slug = '01234', - role = '0' - ) - else: - return ApiV1GroupsCurrentSlugPatchRequest( - ) - """ - - def testApiV1GroupsCurrentSlugPatchRequest(self): - """Test ApiV1GroupsCurrentSlugPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_groups_post200_response.py b/test/test_api_v1_groups_post200_response.py deleted file mode 100644 index fb3537c..0000000 --- a/test/test_api_v1_groups_post200_response.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_groups_post200_response import ApiV1GroupsPost200Response # noqa: E501 - -class TestApiV1GroupsPost200Response(unittest.TestCase): - """ApiV1GroupsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1GroupsPost200Response: - """Test ApiV1GroupsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1GroupsPost200Response` - """ - model = ApiV1GroupsPost200Response() # noqa: E501 - if include_optional: - return ApiV1GroupsPost200Response( - id = '', - org_id = '', - name = '', - slug = '', - role = '', - role_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1GroupsPost200Response( - id = '', - org_id = '', - name = '', - slug = '', - role = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1GroupsPost200Response(self): - """Test ApiV1GroupsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_groups_post_request.py b/test/test_api_v1_groups_post_request.py deleted file mode 100644 index d176809..0000000 --- a/test/test_api_v1_groups_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_groups_post_request import ApiV1GroupsPostRequest # noqa: E501 - -class TestApiV1GroupsPostRequest(unittest.TestCase): - """ApiV1GroupsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1GroupsPostRequest: - """Test ApiV1GroupsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1GroupsPostRequest` - """ - model = ApiV1GroupsPostRequest() # noqa: E501 - if include_optional: - return ApiV1GroupsPostRequest( - name = '0', - slug = '01234', - role = 'no-access' - ) - else: - return ApiV1GroupsPostRequest( - name = '0', - ) - """ - - def testApiV1GroupsPostRequest(self): - """Test ApiV1GroupsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_groups_slug_users_get200_response.py b/test/test_api_v1_groups_slug_users_get200_response.py deleted file mode 100644 index 5a8e90e..0000000 --- a/test/test_api_v1_groups_slug_users_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response import ApiV1GroupsSlugUsersGet200Response # noqa: E501 - -class TestApiV1GroupsSlugUsersGet200Response(unittest.TestCase): - """ApiV1GroupsSlugUsersGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1GroupsSlugUsersGet200Response: - """Test ApiV1GroupsSlugUsersGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1GroupsSlugUsersGet200Response` - """ - model = ApiV1GroupsSlugUsersGet200Response() # noqa: E501 - if include_optional: - return ApiV1GroupsSlugUsersGet200Response( - users = [ - infisicalapi_client.models._api_v1_groups__slug__users_get_200_response_users_inner._api_v1_groups__slug__users_get_200_response_users_inner( - email = '', - username = '', - first_name = '', - last_name = '', - id = '', - is_part_of_group = True, ) - ], - total_count = 1.337 - ) - else: - return ApiV1GroupsSlugUsersGet200Response( - users = [ - infisicalapi_client.models._api_v1_groups__slug__users_get_200_response_users_inner._api_v1_groups__slug__users_get_200_response_users_inner( - email = '', - username = '', - first_name = '', - last_name = '', - id = '', - is_part_of_group = True, ) - ], - total_count = 1.337, - ) - """ - - def testApiV1GroupsSlugUsersGet200Response(self): - """Test ApiV1GroupsSlugUsersGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_groups_slug_users_get200_response_users_inner.py b/test/test_api_v1_groups_slug_users_get200_response_users_inner.py deleted file mode 100644 index 06fb521..0000000 --- a/test/test_api_v1_groups_slug_users_get200_response_users_inner.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_groups_slug_users_get200_response_users_inner import ApiV1GroupsSlugUsersGet200ResponseUsersInner # noqa: E501 - -class TestApiV1GroupsSlugUsersGet200ResponseUsersInner(unittest.TestCase): - """ApiV1GroupsSlugUsersGet200ResponseUsersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1GroupsSlugUsersGet200ResponseUsersInner: - """Test ApiV1GroupsSlugUsersGet200ResponseUsersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1GroupsSlugUsersGet200ResponseUsersInner` - """ - model = ApiV1GroupsSlugUsersGet200ResponseUsersInner() # noqa: E501 - if include_optional: - return ApiV1GroupsSlugUsersGet200ResponseUsersInner( - email = '', - username = '', - first_name = '', - last_name = '', - id = '', - is_part_of_group = True - ) - else: - return ApiV1GroupsSlugUsersGet200ResponseUsersInner( - username = '', - id = '', - is_part_of_group = True, - ) - """ - - def testApiV1GroupsSlugUsersGet200ResponseUsersInner(self): - """Test ApiV1GroupsSlugUsersGet200ResponseUsersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_groups_slug_users_username_post200_response.py b/test/test_api_v1_groups_slug_users_username_post200_response.py deleted file mode 100644 index 715d1dc..0000000 --- a/test/test_api_v1_groups_slug_users_username_post200_response.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_groups_slug_users_username_post200_response import ApiV1GroupsSlugUsersUsernamePost200Response # noqa: E501 - -class TestApiV1GroupsSlugUsersUsernamePost200Response(unittest.TestCase): - """ApiV1GroupsSlugUsersUsernamePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1GroupsSlugUsersUsernamePost200Response: - """Test ApiV1GroupsSlugUsersUsernamePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1GroupsSlugUsersUsernamePost200Response` - """ - model = ApiV1GroupsSlugUsersUsernamePost200Response() # noqa: E501 - if include_optional: - return ApiV1GroupsSlugUsersUsernamePost200Response( - email = '', - username = '', - first_name = '', - last_name = '', - id = '' - ) - else: - return ApiV1GroupsSlugUsersUsernamePost200Response( - username = '', - id = '', - ) - """ - - def testApiV1GroupsSlugUsersUsernamePost200Response(self): - """Test ApiV1GroupsSlugUsersUsernamePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_identities_get200_response.py b/test/test_api_v1_identities_get200_response.py deleted file mode 100644 index a32f64f..0000000 --- a/test/test_api_v1_identities_get200_response.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_identities_get200_response import ApiV1IdentitiesGet200Response # noqa: E501 - -class TestApiV1IdentitiesGet200Response(unittest.TestCase): - """ApiV1IdentitiesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IdentitiesGet200Response: - """Test ApiV1IdentitiesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IdentitiesGet200Response` - """ - model = ApiV1IdentitiesGet200Response() # noqa: E501 - if include_optional: - return ApiV1IdentitiesGet200Response( - identities = [ - infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner._api_v1_identities_get_200_response_identities_inner( - id = '', - role = '', - role_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - custom_role = infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner_custom_role._api_v1_organization__organizationId__groups_get_200_response_groups_inner_customRole( - id = '', - name = '', - slug = '', - permissions = null, - description = '', ), - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), ) - ] - ) - else: - return ApiV1IdentitiesGet200Response( - identities = [ - infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner._api_v1_identities_get_200_response_identities_inner( - id = '', - role = '', - role_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - custom_role = infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner_custom_role._api_v1_organization__organizationId__groups_get_200_response_groups_inner_customRole( - id = '', - name = '', - slug = '', - permissions = null, - description = '', ), - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), ) - ], - ) - """ - - def testApiV1IdentitiesGet200Response(self): - """Test ApiV1IdentitiesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_identities_get200_response_identities_inner.py b/test/test_api_v1_identities_get200_response_identities_inner.py deleted file mode 100644 index 46b941a..0000000 --- a/test/test_api_v1_identities_get200_response_identities_inner.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner import ApiV1IdentitiesGet200ResponseIdentitiesInner # noqa: E501 - -class TestApiV1IdentitiesGet200ResponseIdentitiesInner(unittest.TestCase): - """ApiV1IdentitiesGet200ResponseIdentitiesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IdentitiesGet200ResponseIdentitiesInner: - """Test ApiV1IdentitiesGet200ResponseIdentitiesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IdentitiesGet200ResponseIdentitiesInner` - """ - model = ApiV1IdentitiesGet200ResponseIdentitiesInner() # noqa: E501 - if include_optional: - return ApiV1IdentitiesGet200ResponseIdentitiesInner( - id = '', - role = '', - role_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - custom_role = infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner_custom_role._api_v1_organization__organizationId__groups_get_200_response_groups_inner_customRole( - id = '', - name = '', - slug = '', - permissions = null, - description = '', ), - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ) - ) - else: - return ApiV1IdentitiesGet200ResponseIdentitiesInner( - id = '', - role = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), - ) - """ - - def testApiV1IdentitiesGet200ResponseIdentitiesInner(self): - """Test ApiV1IdentitiesGet200ResponseIdentitiesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_identities_get200_response_identities_inner_identity.py b/test/test_api_v1_identities_get200_response_identities_inner_identity.py deleted file mode 100644 index c9c3032..0000000 --- a/test/test_api_v1_identities_get200_response_identities_inner_identity.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_identities_get200_response_identities_inner_identity import ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity # noqa: E501 - -class TestApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity(unittest.TestCase): - """ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity: - """Test ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity` - """ - model = ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity() # noqa: E501 - if include_optional: - return ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity( - name = '', - id = '', - auth_method = '' - ) - else: - return ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity( - name = '', - id = '', - ) - """ - - def testApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity(self): - """Test ApiV1IdentitiesGet200ResponseIdentitiesInnerIdentity""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_identities_identity_id_get200_response.py b/test/test_api_v1_identities_identity_id_get200_response.py deleted file mode 100644 index ac2d3ed..0000000 --- a/test/test_api_v1_identities_identity_id_get200_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_identities_identity_id_get200_response import ApiV1IdentitiesIdentityIdGet200Response # noqa: E501 - -class TestApiV1IdentitiesIdentityIdGet200Response(unittest.TestCase): - """ApiV1IdentitiesIdentityIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IdentitiesIdentityIdGet200Response: - """Test ApiV1IdentitiesIdentityIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IdentitiesIdentityIdGet200Response` - """ - model = ApiV1IdentitiesIdentityIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1IdentitiesIdentityIdGet200Response( - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner._api_v1_identities_get_200_response_identities_inner( - id = '', - role = '', - role_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - custom_role = infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner_custom_role._api_v1_organization__organizationId__groups_get_200_response_groups_inner_customRole( - id = '', - name = '', - slug = '', - permissions = null, - description = '', ), - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), ) - ) - else: - return ApiV1IdentitiesIdentityIdGet200Response( - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner._api_v1_identities_get_200_response_identities_inner( - id = '', - role = '', - role_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - custom_role = infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner_custom_role._api_v1_organization__organizationId__groups_get_200_response_groups_inner_customRole( - id = '', - name = '', - slug = '', - permissions = null, - description = '', ), - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), ), - ) - """ - - def testApiV1IdentitiesIdentityIdGet200Response(self): - """Test ApiV1IdentitiesIdentityIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_identities_identity_id_identity_memberships_get200_response.py b/test/test_api_v1_identities_identity_id_identity_memberships_get200_response.py deleted file mode 100644 index 7b33bf1..0000000 --- a/test/test_api_v1_identities_identity_id_identity_memberships_get200_response.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response # noqa: E501 - -class TestApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response(unittest.TestCase): - """ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response: - """Test ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response` - """ - model = ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response( - identity_memberships = [ - infisicalapi_client.models._api_v1_identities__identity_id__identity_memberships_get_200_response_identity_memberships_inner._api_v1_identities__identityId__identity_memberships_get_200_response_identityMemberships_inner( - id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), ) - ] - ) - else: - return ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response( - identity_memberships = [ - infisicalapi_client.models._api_v1_identities__identity_id__identity_memberships_get_200_response_identity_memberships_inner._api_v1_identities__identityId__identity_memberships_get_200_response_identityMemberships_inner( - id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), ) - ], - ) - """ - - def testApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response(self): - """Test ApiV1IdentitiesIdentityIdIdentityMembershipsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner.py b/test/test_api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner.py deleted file mode 100644 index 6952385..0000000 --- a/test/test_api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner import ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner # noqa: E501 - -class TestApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner(unittest.TestCase): - """ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner: - """Test ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner` - """ - model = ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner() # noqa: E501 - if include_optional: - return ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner( - id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ) - ) - else: - return ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner( - id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), - ) - """ - - def testApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner(self): - """Test ApiV1IdentitiesIdentityIdIdentityMembershipsGet200ResponseIdentityMembershipsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_identities_identity_id_patch_request.py b/test/test_api_v1_identities_identity_id_patch_request.py deleted file mode 100644 index 8d4affe..0000000 --- a/test/test_api_v1_identities_identity_id_patch_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_identities_identity_id_patch_request import ApiV1IdentitiesIdentityIdPatchRequest # noqa: E501 - -class TestApiV1IdentitiesIdentityIdPatchRequest(unittest.TestCase): - """ApiV1IdentitiesIdentityIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IdentitiesIdentityIdPatchRequest: - """Test ApiV1IdentitiesIdentityIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IdentitiesIdentityIdPatchRequest` - """ - model = ApiV1IdentitiesIdentityIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1IdentitiesIdentityIdPatchRequest( - name = '', - role = '0' - ) - else: - return ApiV1IdentitiesIdentityIdPatchRequest( - ) - """ - - def testApiV1IdentitiesIdentityIdPatchRequest(self): - """Test ApiV1IdentitiesIdentityIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_identities_post200_response.py b/test/test_api_v1_identities_post200_response.py deleted file mode 100644 index bd9e022..0000000 --- a/test/test_api_v1_identities_post200_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_identities_post200_response import ApiV1IdentitiesPost200Response # noqa: E501 - -class TestApiV1IdentitiesPost200Response(unittest.TestCase): - """ApiV1IdentitiesPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IdentitiesPost200Response: - """Test ApiV1IdentitiesPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IdentitiesPost200Response` - """ - model = ApiV1IdentitiesPost200Response() # noqa: E501 - if include_optional: - return ApiV1IdentitiesPost200Response( - identity = infisicalapi_client.models._api_v1_identities_post_200_response_identity._api_v1_identities_post_200_response_identity( - id = '', - name = '', - auth_method = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1IdentitiesPost200Response( - identity = infisicalapi_client.models._api_v1_identities_post_200_response_identity._api_v1_identities_post_200_response_identity( - id = '', - name = '', - auth_method = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1IdentitiesPost200Response(self): - """Test ApiV1IdentitiesPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_identities_post200_response_identity.py b/test/test_api_v1_identities_post200_response_identity.py deleted file mode 100644 index 4fd62e9..0000000 --- a/test/test_api_v1_identities_post200_response_identity.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_identities_post200_response_identity import ApiV1IdentitiesPost200ResponseIdentity # noqa: E501 - -class TestApiV1IdentitiesPost200ResponseIdentity(unittest.TestCase): - """ApiV1IdentitiesPost200ResponseIdentity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IdentitiesPost200ResponseIdentity: - """Test ApiV1IdentitiesPost200ResponseIdentity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IdentitiesPost200ResponseIdentity` - """ - model = ApiV1IdentitiesPost200ResponseIdentity() # noqa: E501 - if include_optional: - return ApiV1IdentitiesPost200ResponseIdentity( - id = '', - name = '', - auth_method = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1IdentitiesPost200ResponseIdentity( - id = '', - name = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1IdentitiesPost200ResponseIdentity(self): - """Test ApiV1IdentitiesPost200ResponseIdentity""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_identities_post_request.py b/test/test_api_v1_identities_post_request.py deleted file mode 100644 index d6ca991..0000000 --- a/test/test_api_v1_identities_post_request.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_identities_post_request import ApiV1IdentitiesPostRequest # noqa: E501 - -class TestApiV1IdentitiesPostRequest(unittest.TestCase): - """ApiV1IdentitiesPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IdentitiesPostRequest: - """Test ApiV1IdentitiesPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IdentitiesPostRequest` - """ - model = ApiV1IdentitiesPostRequest() # noqa: E501 - if include_optional: - return ApiV1IdentitiesPostRequest( - name = '', - organization_id = '', - role = 'no-access' - ) - else: - return ApiV1IdentitiesPostRequest( - name = '', - organization_id = '', - ) - """ - - def testApiV1IdentitiesPostRequest(self): - """Test ApiV1IdentitiesPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_access_token_post_request.py b/test/test_api_v1_integration_auth_access_token_post_request.py deleted file mode 100644 index 23127a6..0000000 --- a/test/test_api_v1_integration_auth_access_token_post_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_access_token_post_request import ApiV1IntegrationAuthAccessTokenPostRequest # noqa: E501 - -class TestApiV1IntegrationAuthAccessTokenPostRequest(unittest.TestCase): - """ApiV1IntegrationAuthAccessTokenPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthAccessTokenPostRequest: - """Test ApiV1IntegrationAuthAccessTokenPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthAccessTokenPostRequest` - """ - model = ApiV1IntegrationAuthAccessTokenPostRequest() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthAccessTokenPostRequest( - workspace_id = '', - integration = '', - access_id = '', - access_token = '', - aws_assume_iam_role_arn = '', - url = '', - namespace = '', - refresh_token = '' - ) - else: - return ApiV1IntegrationAuthAccessTokenPostRequest( - workspace_id = '', - integration = '', - ) - """ - - def testApiV1IntegrationAuthAccessTokenPostRequest(self): - """Test ApiV1IntegrationAuthAccessTokenPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_delete200_response.py b/test/test_api_v1_integration_auth_delete200_response.py deleted file mode 100644 index 6194641..0000000 --- a/test/test_api_v1_integration_auth_delete200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_delete200_response import ApiV1IntegrationAuthDelete200Response # noqa: E501 - -class TestApiV1IntegrationAuthDelete200Response(unittest.TestCase): - """ApiV1IntegrationAuthDelete200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthDelete200Response: - """Test ApiV1IntegrationAuthDelete200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthDelete200Response` - """ - model = ApiV1IntegrationAuthDelete200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthDelete200Response( - integration_auth = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__authorizations_get_200_response_authorizations_inner._api_v1_workspace__workspaceId__authorizations_get_200_response_authorizations_inner( - id = '', - project_id = '', - integration = '', - team_id = '', - url = '', - namespace = '', - account_id = '', - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1IntegrationAuthDelete200Response( - integration_auth = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__authorizations_get_200_response_authorizations_inner._api_v1_workspace__workspaceId__authorizations_get_200_response_authorizations_inner( - id = '', - project_id = '', - integration = '', - team_id = '', - url = '', - namespace = '', - account_id = '', - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1IntegrationAuthDelete200Response(self): - """Test ApiV1IntegrationAuthDelete200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_apps_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_apps_get200_response.py deleted file mode 100644 index 20c34d3..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_apps_get200_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response( - apps = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__apps_get_200_response_apps_inner._api_v1_integration_auth__integrationAuthId__apps_get_200_response_apps_inner( - name = '', - app_id = '', - owner = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response( - apps = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__apps_get_200_response_apps_inner._api_v1_integration_auth__integrationAuthId__apps_get_200_response_apps_inner( - name = '', - app_id = '', - owner = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdAppsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner.py deleted file mode 100644 index 02683d8..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner( - name = '', - app_id = '', - owner = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner( - name = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdAppsGet200ResponseAppsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response.py deleted file mode 100644 index 809ded4..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response( - kms_keys = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__aws_secrets_manager_kms_keys_get_200_response_kms_keys_inner._api_v1_integration_auth__integrationAuthId__aws_secrets_manager_kms_keys_get_200_response_kmsKeys_inner( - id = '', - alias = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response( - kms_keys = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__aws_secrets_manager_kms_keys_get_200_response_kms_keys_inner._api_v1_integration_auth__integrationAuthId__aws_secrets_manager_kms_keys_get_200_response_kmsKeys_inner( - id = '', - alias = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner.py deleted file mode 100644 index 8cab911..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner import ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner( - id = '', - alias = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner( - id = '', - alias = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdAwsSecretsManagerKmsKeysGet200ResponseKmsKeysInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response.py deleted file mode 100644 index d445c56..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response( - workspaces = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__bitbucket_workspaces_get_200_response_workspaces_inner._api_v1_integration_auth__integrationAuthId__bitbucket_workspaces_get_200_response_workspaces_inner( - name = '', - slug = '', - uuid = '', - type = '', - is_private = True, - created_on = '', - updated_on = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response( - workspaces = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__bitbucket_workspaces_get_200_response_workspaces_inner._api_v1_integration_auth__integrationAuthId__bitbucket_workspaces_get_200_response_workspaces_inner( - name = '', - slug = '', - uuid = '', - type = '', - is_private = True, - created_on = '', - updated_on = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner.py deleted file mode 100644 index 5b22465..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner import ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner( - name = '', - slug = '', - uuid = '', - type = '', - is_private = True, - created_on = '', - updated_on = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner( - name = '', - slug = '', - uuid = '', - type = '', - is_private = True, - created_on = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdBitbucketWorkspacesGet200ResponseWorkspacesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response.py deleted file mode 100644 index fbdf5d2..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response( - groups = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__checkly_groups_get_200_response_groups_inner._api_v1_integration_auth__integrationAuthId__checkly_groups_get_200_response_groups_inner( - name = '', - group_id = 1.337, ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response( - groups = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__checkly_groups_get_200_response_groups_inner._api_v1_integration_auth__integrationAuthId__checkly_groups_get_200_response_groups_inner( - name = '', - group_id = 1.337, ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner.py deleted file mode 100644 index 3d7f987..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner import ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner( - name = '', - group_id = 1.337 - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner( - name = '', - group_id = 1.337, - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdChecklyGroupsGet200ResponseGroupsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_get200_response.py deleted file mode 100644 index 9ca8a3b..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_get200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdGet200Response( - integration_auth = infisicalapi_client.models._api_v1_workspace__workspace_id__authorizations_get_200_response_authorizations_inner._api_v1_workspace__workspaceId__authorizations_get_200_response_authorizations_inner( - id = '', - project_id = '', - integration = '', - team_id = '', - url = '', - namespace = '', - account_id = '', - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdGet200Response( - integration_auth = infisicalapi_client.models._api_v1_workspace__workspace_id__authorizations_get_200_response_authorizations_inner._api_v1_workspace__workspaceId__authorizations_get_200_response_authorizations_inner( - id = '', - project_id = '', - integration = '', - team_id = '', - url = '', - namespace = '', - account_id = '', - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_github_envs_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_github_envs_get200_response.py deleted file mode 100644 index 2e97962..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_github_envs_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response( - envs = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__github_envs_get_200_response_envs_inner._api_v1_integration_auth__integrationAuthId__github_envs_get_200_response_envs_inner( - name = '', - env_id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response( - envs = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__github_envs_get_200_response_envs_inner._api_v1_integration_auth__integrationAuthId__github_envs_get_200_response_envs_inner( - name = '', - env_id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner.py deleted file mode 100644 index d09221f..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner import ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner( - name = '', - env_id = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner( - name = '', - env_id = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdGithubEnvsGet200ResponseEnvsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_github_orgs_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_github_orgs_get200_response.py deleted file mode 100644 index 0ecc821..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_github_orgs_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response( - orgs = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__github_orgs_get_200_response_orgs_inner._api_v1_integration_auth__integrationAuthId__github_orgs_get_200_response_orgs_inner( - name = '', - org_id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response( - orgs = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__github_orgs_get_200_response_orgs_inner._api_v1_integration_auth__integrationAuthId__github_orgs_get_200_response_orgs_inner( - name = '', - org_id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner.py deleted file mode 100644 index 438315b..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner import ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner( - name = '', - org_id = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner( - name = '', - org_id = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdGithubOrgsGet200ResponseOrgsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response.py deleted file mode 100644 index e3d33f4..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response( - pipelines = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__heroku_pipelines_get_200_response_pipelines_inner._api_v1_integration_auth__integrationAuthId__heroku_pipelines_get_200_response_pipelines_inner( - app = infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__heroku_pipelines_get_200_response_pipelines_inner_app._api_v1_integration_auth__integrationAuthId__heroku_pipelines_get_200_response_pipelines_inner_app( - app_id = '', ), - stage = '', - pipeline = infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__heroku_pipelines_get_200_response_pipelines_inner_pipeline._api_v1_integration_auth__integrationAuthId__heroku_pipelines_get_200_response_pipelines_inner_pipeline( - name = '', - pipeline_id = '', ), ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response( - pipelines = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__heroku_pipelines_get_200_response_pipelines_inner._api_v1_integration_auth__integrationAuthId__heroku_pipelines_get_200_response_pipelines_inner( - app = infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__heroku_pipelines_get_200_response_pipelines_inner_app._api_v1_integration_auth__integrationAuthId__heroku_pipelines_get_200_response_pipelines_inner_app( - app_id = '', ), - stage = '', - pipeline = infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__heroku_pipelines_get_200_response_pipelines_inner_pipeline._api_v1_integration_auth__integrationAuthId__heroku_pipelines_get_200_response_pipelines_inner_pipeline( - name = '', - pipeline_id = '', ), ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner.py deleted file mode 100644 index 38d9128..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner( - app = infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__heroku_pipelines_get_200_response_pipelines_inner_app._api_v1_integration_auth__integrationAuthId__heroku_pipelines_get_200_response_pipelines_inner_app( - app_id = '', ), - stage = '', - pipeline = infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__heroku_pipelines_get_200_response_pipelines_inner_pipeline._api_v1_integration_auth__integrationAuthId__heroku_pipelines_get_200_response_pipelines_inner_pipeline( - name = '', - pipeline_id = '', ) - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner( - app = infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__heroku_pipelines_get_200_response_pipelines_inner_app._api_v1_integration_auth__integrationAuthId__heroku_pipelines_get_200_response_pipelines_inner_app( - app_id = '', ), - stage = '', - pipeline = infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__heroku_pipelines_get_200_response_pipelines_inner_pipeline._api_v1_integration_auth__integrationAuthId__heroku_pipelines_get_200_response_pipelines_inner_pipeline( - name = '', - pipeline_id = '', ), - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app.py b/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app.py deleted file mode 100644 index 7c0b4a2..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp: - """Test ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp( - app_id = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp( - app_id = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerApp""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline.py b/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline.py deleted file mode 100644 index 5d8f177..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline import ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline: - """Test ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline( - name = '', - pipeline_id = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline( - name = '', - pipeline_id = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdHerokuPipelinesGet200ResponsePipelinesInnerPipeline""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response.py deleted file mode 100644 index a373ca4..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response( - secret_groups = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__northflank_secret_groups_get_200_response_secret_groups_inner._api_v1_integration_auth__integrationAuthId__northflank_secret_groups_get_200_response_secretGroups_inner( - name = '', - group_id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response( - secret_groups = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__northflank_secret_groups_get_200_response_secret_groups_inner._api_v1_integration_auth__integrationAuthId__northflank_secret_groups_get_200_response_secretGroups_inner( - name = '', - group_id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner.py deleted file mode 100644 index 50ff39b..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner import ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner( - name = '', - group_id = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner( - name = '', - group_id = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdNorthflankSecretGroupsGet200ResponseSecretGroupsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response.py deleted file mode 100644 index aad7532..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response( - apps = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__qovery_apps_get_200_response_apps_inner._api_v1_integration_auth__integrationAuthId__qovery_apps_get_200_response_apps_inner( - name = '', - app_id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response( - apps = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__qovery_apps_get_200_response_apps_inner._api_v1_integration_auth__integrationAuthId__qovery_apps_get_200_response_apps_inner( - name = '', - app_id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner.py deleted file mode 100644 index ac27ceb..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner( - name = '', - app_id = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner( - name = '', - app_id = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryAppsGet200ResponseAppsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response.py deleted file mode 100644 index f1e96a7..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response( - containers = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__qovery_apps_get_200_response_apps_inner._api_v1_integration_auth__integrationAuthId__qovery_apps_get_200_response_apps_inner( - name = '', - app_id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response( - containers = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__qovery_apps_get_200_response_apps_inner._api_v1_integration_auth__integrationAuthId__qovery_apps_get_200_response_apps_inner( - name = '', - app_id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryContainersGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response.py deleted file mode 100644 index a70967d..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response( - environments = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__qovery_environments_get_200_response_environments_inner._api_v1_integration_auth__integrationAuthId__qovery_environments_get_200_response_environments_inner( - name = '', - environment_id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response( - environments = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__qovery_environments_get_200_response_environments_inner._api_v1_integration_auth__integrationAuthId__qovery_environments_get_200_response_environments_inner( - name = '', - environment_id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner.py deleted file mode 100644 index 74d701c..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner( - name = '', - environment_id = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner( - name = '', - environment_id = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryEnvironmentsGet200ResponseEnvironmentsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response.py deleted file mode 100644 index d940136..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response( - jobs = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__qovery_apps_get_200_response_apps_inner._api_v1_integration_auth__integrationAuthId__qovery_apps_get_200_response_apps_inner( - name = '', - app_id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response( - jobs = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__qovery_apps_get_200_response_apps_inner._api_v1_integration_auth__integrationAuthId__qovery_apps_get_200_response_apps_inner( - name = '', - app_id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryJobsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response.py deleted file mode 100644 index ff4e7af..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response( - projects = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__qovery_projects_get_200_response_projects_inner._api_v1_integration_auth__integrationAuthId__qovery_projects_get_200_response_projects_inner( - name = '', - project_id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response( - projects = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__qovery_projects_get_200_response_projects_inner._api_v1_integration_auth__integrationAuthId__qovery_projects_get_200_response_projects_inner( - name = '', - project_id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner.py deleted file mode 100644 index 00c92af..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner import ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner( - name = '', - project_id = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner( - name = '', - project_id = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdQoveryProjectsGet200ResponseProjectsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_railway_services_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_railway_services_get200_response.py deleted file mode 100644 index ac94034..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_railway_services_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response( - services = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__railway_services_get_200_response_services_inner._api_v1_integration_auth__integrationAuthId__railway_services_get_200_response_services_inner( - name = '', - service_id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response( - services = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__railway_services_get_200_response_services_inner._api_v1_integration_auth__integrationAuthId__railway_services_get_200_response_services_inner( - name = '', - service_id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner.py deleted file mode 100644 index 605aca9..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner import ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner( - name = '', - service_id = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner( - name = '', - service_id = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdRailwayServicesGet200ResponseServicesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response.py deleted file mode 100644 index c88d673..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response( - build_configs = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__teamcity_build_configs_get_200_response_build_configs_inner._api_v1_integration_auth__integrationAuthId__teamcity_build_configs_get_200_response_buildConfigs_inner( - name = '', - build_config_id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response( - build_configs = [ - infisicalapi_client.models._api_v1_integration_auth__integration_auth_id__teamcity_build_configs_get_200_response_build_configs_inner._api_v1_integration_auth__integrationAuthId__teamcity_build_configs_get_200_response_buildConfigs_inner( - name = '', - build_config_id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner.py b/test/test_api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner.py deleted file mode 100644 index 5dd55e3..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner import ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner: - """Test ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner( - name = '', - build_config_id = '' - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner( - name = '', - build_config_id = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdTeamcityBuildConfigsGet200ResponseBuildConfigsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_teams_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_teams_get200_response.py deleted file mode 100644 index 491e3c7..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_teams_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_teams_get200_response import ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response( - teams = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response( - teams = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdTeamsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response.py b/test/test_api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response.py deleted file mode 100644 index 471aa64..0000000 --- a/test/test_api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response import ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response: - """Test ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response( - branches = [ - '' - ] - ) - else: - return ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response( - branches = [ - '' - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationAuthIdVercelBranchesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_options_get200_response.py b/test/test_api_v1_integration_auth_integration_options_get200_response.py deleted file mode 100644 index 61b2322..0000000 --- a/test/test_api_v1_integration_auth_integration_options_get200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response import ApiV1IntegrationAuthIntegrationOptionsGet200Response # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationOptionsGet200Response(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationOptionsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationOptionsGet200Response: - """Test ApiV1IntegrationAuthIntegrationOptionsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationOptionsGet200Response` - """ - model = ApiV1IntegrationAuthIntegrationOptionsGet200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationOptionsGet200Response( - integration_options = [ - infisicalapi_client.models._api_v1_integration_auth_integration_options_get_200_response_integration_options_inner._api_v1_integration_auth_integration_options_get_200_response_integrationOptions_inner( - name = '', - slug = '', - client_slug = '', - image = '', - is_available = True, - type = '', - client_id = '', - docs_link = '', ) - ] - ) - else: - return ApiV1IntegrationAuthIntegrationOptionsGet200Response( - integration_options = [ - infisicalapi_client.models._api_v1_integration_auth_integration_options_get_200_response_integration_options_inner._api_v1_integration_auth_integration_options_get_200_response_integrationOptions_inner( - name = '', - slug = '', - client_slug = '', - image = '', - is_available = True, - type = '', - client_id = '', - docs_link = '', ) - ], - ) - """ - - def testApiV1IntegrationAuthIntegrationOptionsGet200Response(self): - """Test ApiV1IntegrationAuthIntegrationOptionsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_integration_options_get200_response_integration_options_inner.py b/test/test_api_v1_integration_auth_integration_options_get200_response_integration_options_inner.py deleted file mode 100644 index 9229bf9..0000000 --- a/test/test_api_v1_integration_auth_integration_options_get200_response_integration_options_inner.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_integration_options_get200_response_integration_options_inner import ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner # noqa: E501 - -class TestApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner(unittest.TestCase): - """ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner: - """Test ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner` - """ - model = ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner( - name = '', - slug = '', - client_slug = '', - image = '', - is_available = True, - type = '', - client_id = '', - docs_link = '' - ) - else: - return ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner( - name = '', - slug = '', - image = '', - type = '', - ) - """ - - def testApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner(self): - """Test ApiV1IntegrationAuthIntegrationOptionsGet200ResponseIntegrationOptionsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_auth_oauth_token_post_request.py b/test/test_api_v1_integration_auth_oauth_token_post_request.py deleted file mode 100644 index 8ac1cac..0000000 --- a/test/test_api_v1_integration_auth_oauth_token_post_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_auth_oauth_token_post_request import ApiV1IntegrationAuthOauthTokenPostRequest # noqa: E501 - -class TestApiV1IntegrationAuthOauthTokenPostRequest(unittest.TestCase): - """ApiV1IntegrationAuthOauthTokenPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationAuthOauthTokenPostRequest: - """Test ApiV1IntegrationAuthOauthTokenPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationAuthOauthTokenPostRequest` - """ - model = ApiV1IntegrationAuthOauthTokenPostRequest() # noqa: E501 - if include_optional: - return ApiV1IntegrationAuthOauthTokenPostRequest( - workspace_id = '', - code = '', - integration = '', - url = '' - ) - else: - return ApiV1IntegrationAuthOauthTokenPostRequest( - workspace_id = '', - code = '', - integration = '', - ) - """ - - def testApiV1IntegrationAuthOauthTokenPostRequest(self): - """Test ApiV1IntegrationAuthOauthTokenPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_integration_id_patch_request.py b/test/test_api_v1_integration_integration_id_patch_request.py deleted file mode 100644 index 8b72543..0000000 --- a/test/test_api_v1_integration_integration_id_patch_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request import ApiV1IntegrationIntegrationIdPatchRequest # noqa: E501 - -class TestApiV1IntegrationIntegrationIdPatchRequest(unittest.TestCase): - """ApiV1IntegrationIntegrationIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationIntegrationIdPatchRequest: - """Test ApiV1IntegrationIntegrationIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationIntegrationIdPatchRequest` - """ - model = ApiV1IntegrationIntegrationIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1IntegrationIntegrationIdPatchRequest( - app = '', - app_id = '', - is_active = True, - secret_path = '/', - target_environment = '', - owner = '', - environment = '', - metadata = infisicalapi_client.models._api_v1_integration__integration_id__patch_request_metadata._api_v1_integration__integrationId__patch_request_metadata( - secret_prefix = '', - secret_suffix = '', - initial_sync_behavior = '', - mapping_behavior = 'one-to-one', - should_auto_redeploy = True, - secret_gcp_label = infisicalapi_client.models._api_v1_integration_post_request_metadata_secret_gcp_label._api_v1_integration_post_request_metadata_secretGCPLabel( - label_name = '', - label_value = '', ), - secret_aws_tag = [ - infisicalapi_client.models._api_v1_audit_log_streams__id__get_200_response_audit_log_stream_headers_inner._api_v1_audit_log_streams__id__get_200_response_auditLogStream_headers_inner( - key = '', - value = '', ) - ], - kms_key_id = '', - should_disable_delete = True, - should_enable_delete = True, - should_mask_secrets = True, - should_protect_secrets = True, ) - ) - else: - return ApiV1IntegrationIntegrationIdPatchRequest( - is_active = True, - target_environment = '', - owner = '', - environment = '', - ) - """ - - def testApiV1IntegrationIntegrationIdPatchRequest(self): - """Test ApiV1IntegrationIntegrationIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_integration_id_patch_request_metadata.py b/test/test_api_v1_integration_integration_id_patch_request_metadata.py deleted file mode 100644 index 7d82c69..0000000 --- a/test/test_api_v1_integration_integration_id_patch_request_metadata.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_integration_id_patch_request_metadata import ApiV1IntegrationIntegrationIdPatchRequestMetadata # noqa: E501 - -class TestApiV1IntegrationIntegrationIdPatchRequestMetadata(unittest.TestCase): - """ApiV1IntegrationIntegrationIdPatchRequestMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationIntegrationIdPatchRequestMetadata: - """Test ApiV1IntegrationIntegrationIdPatchRequestMetadata - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationIntegrationIdPatchRequestMetadata` - """ - model = ApiV1IntegrationIntegrationIdPatchRequestMetadata() # noqa: E501 - if include_optional: - return ApiV1IntegrationIntegrationIdPatchRequestMetadata( - secret_prefix = '', - secret_suffix = '', - initial_sync_behavior = '', - mapping_behavior = 'one-to-one', - should_auto_redeploy = True, - secret_gcp_label = infisicalapi_client.models._api_v1_integration_post_request_metadata_secret_gcp_label._api_v1_integration_post_request_metadata_secretGCPLabel( - label_name = '', - label_value = '', ), - secret_aws_tag = [ - infisicalapi_client.models._api_v1_audit_log_streams__id__get_200_response_audit_log_stream_headers_inner._api_v1_audit_log_streams__id__get_200_response_auditLogStream_headers_inner( - key = '', - value = '', ) - ], - kms_key_id = '', - should_disable_delete = True, - should_enable_delete = True, - should_mask_secrets = True, - should_protect_secrets = True - ) - else: - return ApiV1IntegrationIntegrationIdPatchRequestMetadata( - ) - """ - - def testApiV1IntegrationIntegrationIdPatchRequestMetadata(self): - """Test ApiV1IntegrationIntegrationIdPatchRequestMetadata""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_post200_response.py b/test/test_api_v1_integration_post200_response.py deleted file mode 100644 index 1b0fc0d..0000000 --- a/test/test_api_v1_integration_post200_response.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_post200_response import ApiV1IntegrationPost200Response # noqa: E501 - -class TestApiV1IntegrationPost200Response(unittest.TestCase): - """ApiV1IntegrationPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationPost200Response: - """Test ApiV1IntegrationPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationPost200Response` - """ - model = ApiV1IntegrationPost200Response() # noqa: E501 - if include_optional: - return ApiV1IntegrationPost200Response( - integration = infisicalapi_client.models._api_v1_integration_post_200_response_integration._api_v1_integration_post_200_response_integration( - id = '', - is_active = True, - url = '', - app = '', - app_id = '', - target_environment = '', - target_environment_id = '', - target_service = '', - target_service_id = '', - owner = '', - path = '', - region = '', - scope = '', - integration = '', - metadata = null, - integration_auth_id = '', - env_id = '', - secret_path = '/', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_synced = True, - sync_message = '', - last_sync_job_id = '', ) - ) - else: - return ApiV1IntegrationPost200Response( - integration = infisicalapi_client.models._api_v1_integration_post_200_response_integration._api_v1_integration_post_200_response_integration( - id = '', - is_active = True, - url = '', - app = '', - app_id = '', - target_environment = '', - target_environment_id = '', - target_service = '', - target_service_id = '', - owner = '', - path = '', - region = '', - scope = '', - integration = '', - metadata = null, - integration_auth_id = '', - env_id = '', - secret_path = '/', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_synced = True, - sync_message = '', - last_sync_job_id = '', ), - ) - """ - - def testApiV1IntegrationPost200Response(self): - """Test ApiV1IntegrationPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_post200_response_integration.py b/test/test_api_v1_integration_post200_response_integration.py deleted file mode 100644 index c0e2deb..0000000 --- a/test/test_api_v1_integration_post200_response_integration.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_post200_response_integration import ApiV1IntegrationPost200ResponseIntegration # noqa: E501 - -class TestApiV1IntegrationPost200ResponseIntegration(unittest.TestCase): - """ApiV1IntegrationPost200ResponseIntegration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationPost200ResponseIntegration: - """Test ApiV1IntegrationPost200ResponseIntegration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationPost200ResponseIntegration` - """ - model = ApiV1IntegrationPost200ResponseIntegration() # noqa: E501 - if include_optional: - return ApiV1IntegrationPost200ResponseIntegration( - id = '', - is_active = True, - url = '', - app = '', - app_id = '', - target_environment = '', - target_environment_id = '', - target_service = '', - target_service_id = '', - owner = '', - path = '', - region = '', - scope = '', - integration = '', - metadata = None, - integration_auth_id = '', - env_id = '', - secret_path = '/', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_synced = True, - sync_message = '', - last_sync_job_id = '' - ) - else: - return ApiV1IntegrationPost200ResponseIntegration( - id = '', - is_active = True, - integration = '', - integration_auth_id = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1IntegrationPost200ResponseIntegration(self): - """Test ApiV1IntegrationPost200ResponseIntegration""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_post_request.py b/test/test_api_v1_integration_post_request.py deleted file mode 100644 index e18c693..0000000 --- a/test/test_api_v1_integration_post_request.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_post_request import ApiV1IntegrationPostRequest # noqa: E501 - -class TestApiV1IntegrationPostRequest(unittest.TestCase): - """ApiV1IntegrationPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationPostRequest: - """Test ApiV1IntegrationPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationPostRequest` - """ - model = ApiV1IntegrationPostRequest() # noqa: E501 - if include_optional: - return ApiV1IntegrationPostRequest( - integration_auth_id = '', - app = '', - is_active = True, - app_id = '', - secret_path = '/', - source_environment = '', - target_environment = '', - target_environment_id = '', - target_service = '', - target_service_id = '', - owner = '', - url = '', - path = '', - region = '', - scope = '', - metadata = infisicalapi_client.models._api_v1_integration_post_request_metadata._api_v1_integration_post_request_metadata( - secret_prefix = '', - secret_suffix = '', - initial_sync_behavior = '', - mapping_behavior = 'one-to-one', - should_auto_redeploy = True, - secret_gcp_label = infisicalapi_client.models._api_v1_integration_post_request_metadata_secret_gcp_label._api_v1_integration_post_request_metadata_secretGCPLabel( - label_name = '', - label_value = '', ), - secret_aws_tag = [ - infisicalapi_client.models._api_v1_audit_log_streams__id__get_200_response_audit_log_stream_headers_inner._api_v1_audit_log_streams__id__get_200_response_auditLogStream_headers_inner( - key = '', - value = '', ) - ], - kms_key_id = '', - should_disable_delete = True, - should_enable_delete = True, - should_mask_secrets = True, - should_protect_secrets = True, ) - ) - else: - return ApiV1IntegrationPostRequest( - integration_auth_id = '', - source_environment = '', - ) - """ - - def testApiV1IntegrationPostRequest(self): - """Test ApiV1IntegrationPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_post_request_metadata.py b/test/test_api_v1_integration_post_request_metadata.py deleted file mode 100644 index 604dc7d..0000000 --- a/test/test_api_v1_integration_post_request_metadata.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_post_request_metadata import ApiV1IntegrationPostRequestMetadata # noqa: E501 - -class TestApiV1IntegrationPostRequestMetadata(unittest.TestCase): - """ApiV1IntegrationPostRequestMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationPostRequestMetadata: - """Test ApiV1IntegrationPostRequestMetadata - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationPostRequestMetadata` - """ - model = ApiV1IntegrationPostRequestMetadata() # noqa: E501 - if include_optional: - return ApiV1IntegrationPostRequestMetadata( - secret_prefix = '', - secret_suffix = '', - initial_sync_behavior = '', - mapping_behavior = 'one-to-one', - should_auto_redeploy = True, - secret_gcp_label = infisicalapi_client.models._api_v1_integration_post_request_metadata_secret_gcp_label._api_v1_integration_post_request_metadata_secretGCPLabel( - label_name = '', - label_value = '', ), - secret_aws_tag = [ - infisicalapi_client.models._api_v1_audit_log_streams__id__get_200_response_audit_log_stream_headers_inner._api_v1_audit_log_streams__id__get_200_response_auditLogStream_headers_inner( - key = '', - value = '', ) - ], - kms_key_id = '', - should_disable_delete = True, - should_enable_delete = True, - should_mask_secrets = True, - should_protect_secrets = True - ) - else: - return ApiV1IntegrationPostRequestMetadata( - ) - """ - - def testApiV1IntegrationPostRequestMetadata(self): - """Test ApiV1IntegrationPostRequestMetadata""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_integration_post_request_metadata_secret_gcp_label.py b/test/test_api_v1_integration_post_request_metadata_secret_gcp_label.py deleted file mode 100644 index 25f1ba1..0000000 --- a/test/test_api_v1_integration_post_request_metadata_secret_gcp_label.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_integration_post_request_metadata_secret_gcp_label import ApiV1IntegrationPostRequestMetadataSecretGCPLabel # noqa: E501 - -class TestApiV1IntegrationPostRequestMetadataSecretGCPLabel(unittest.TestCase): - """ApiV1IntegrationPostRequestMetadataSecretGCPLabel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1IntegrationPostRequestMetadataSecretGCPLabel: - """Test ApiV1IntegrationPostRequestMetadataSecretGCPLabel - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1IntegrationPostRequestMetadataSecretGCPLabel` - """ - model = ApiV1IntegrationPostRequestMetadataSecretGCPLabel() # noqa: E501 - if include_optional: - return ApiV1IntegrationPostRequestMetadataSecretGCPLabel( - label_name = '', - label_value = '' - ) - else: - return ApiV1IntegrationPostRequestMetadataSecretGCPLabel( - label_name = '', - label_value = '', - ) - """ - - def testApiV1IntegrationPostRequestMetadataSecretGCPLabel(self): - """Test ApiV1IntegrationPostRequestMetadataSecretGCPLabel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_invite_org_signup_post200_response.py b/test/test_api_v1_invite_org_signup_post200_response.py deleted file mode 100644 index 033efd1..0000000 --- a/test/test_api_v1_invite_org_signup_post200_response.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_invite_org_signup_post200_response import ApiV1InviteOrgSignupPost200Response # noqa: E501 - -class TestApiV1InviteOrgSignupPost200Response(unittest.TestCase): - """ApiV1InviteOrgSignupPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1InviteOrgSignupPost200Response: - """Test ApiV1InviteOrgSignupPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1InviteOrgSignupPost200Response` - """ - model = ApiV1InviteOrgSignupPost200Response() # noqa: E501 - if include_optional: - return ApiV1InviteOrgSignupPost200Response( - message = '', - complete_invite_link = '' - ) - else: - return ApiV1InviteOrgSignupPost200Response( - message = '', - ) - """ - - def testApiV1InviteOrgSignupPost200Response(self): - """Test ApiV1InviteOrgSignupPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_invite_org_signup_post_request.py b/test/test_api_v1_invite_org_signup_post_request.py deleted file mode 100644 index 1fe744c..0000000 --- a/test/test_api_v1_invite_org_signup_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_invite_org_signup_post_request import ApiV1InviteOrgSignupPostRequest # noqa: E501 - -class TestApiV1InviteOrgSignupPostRequest(unittest.TestCase): - """ApiV1InviteOrgSignupPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1InviteOrgSignupPostRequest: - """Test ApiV1InviteOrgSignupPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1InviteOrgSignupPostRequest` - """ - model = ApiV1InviteOrgSignupPostRequest() # noqa: E501 - if include_optional: - return ApiV1InviteOrgSignupPostRequest( - invitee_email = '', - organization_id = '' - ) - else: - return ApiV1InviteOrgSignupPostRequest( - invitee_email = '', - organization_id = '', - ) - """ - - def testApiV1InviteOrgSignupPostRequest(self): - """Test ApiV1InviteOrgSignupPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_invite_org_verify_post200_response.py b/test/test_api_v1_invite_org_verify_post200_response.py deleted file mode 100644 index 831062c..0000000 --- a/test/test_api_v1_invite_org_verify_post200_response.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_invite_org_verify_post200_response import ApiV1InviteOrgVerifyPost200Response # noqa: E501 - -class TestApiV1InviteOrgVerifyPost200Response(unittest.TestCase): - """ApiV1InviteOrgVerifyPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1InviteOrgVerifyPost200Response: - """Test ApiV1InviteOrgVerifyPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1InviteOrgVerifyPost200Response` - """ - model = ApiV1InviteOrgVerifyPost200Response() # noqa: E501 - if include_optional: - return ApiV1InviteOrgVerifyPost200Response( - message = '', - token = '', - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ) - ) - else: - return ApiV1InviteOrgVerifyPost200Response( - message = '', - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ), - ) - """ - - def testApiV1InviteOrgVerifyPost200Response(self): - """Test ApiV1InviteOrgVerifyPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_invite_org_verify_post_request.py b/test/test_api_v1_invite_org_verify_post_request.py deleted file mode 100644 index 15e2476..0000000 --- a/test/test_api_v1_invite_org_verify_post_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_invite_org_verify_post_request import ApiV1InviteOrgVerifyPostRequest # noqa: E501 - -class TestApiV1InviteOrgVerifyPostRequest(unittest.TestCase): - """ApiV1InviteOrgVerifyPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1InviteOrgVerifyPostRequest: - """Test ApiV1InviteOrgVerifyPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1InviteOrgVerifyPostRequest` - """ - model = ApiV1InviteOrgVerifyPostRequest() # noqa: E501 - if include_optional: - return ApiV1InviteOrgVerifyPostRequest( - email = '', - organization_id = '', - code = '' - ) - else: - return ApiV1InviteOrgVerifyPostRequest( - email = '', - organization_id = '', - code = '', - ) - """ - - def testApiV1InviteOrgVerifyPostRequest(self): - """Test ApiV1InviteOrgVerifyPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_ldap_config_config_id_group_maps_get200_response_inner.py b/test/test_api_v1_ldap_config_config_id_group_maps_get200_response_inner.py deleted file mode 100644 index 7061aba..0000000 --- a/test/test_api_v1_ldap_config_config_id_group_maps_get200_response_inner.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_get200_response_inner import ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner # noqa: E501 - -class TestApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner(unittest.TestCase): - """ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner: - """Test ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner` - """ - model = ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner() # noqa: E501 - if include_optional: - return ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner( - id = '', - ldap_config_id = '', - ldap_group_cn = '', - group = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ) - ) - else: - return ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner( - id = '', - ldap_config_id = '', - ldap_group_cn = '', - group = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - ) - """ - - def testApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner(self): - """Test ApiV1LdapConfigConfigIdGroupMapsGet200ResponseInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_ldap_config_config_id_group_maps_post200_response.py b/test/test_api_v1_ldap_config_config_id_group_maps_post200_response.py deleted file mode 100644 index 95e1782..0000000 --- a/test/test_api_v1_ldap_config_config_id_group_maps_post200_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post200_response import ApiV1LdapConfigConfigIdGroupMapsPost200Response # noqa: E501 - -class TestApiV1LdapConfigConfigIdGroupMapsPost200Response(unittest.TestCase): - """ApiV1LdapConfigConfigIdGroupMapsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1LdapConfigConfigIdGroupMapsPost200Response: - """Test ApiV1LdapConfigConfigIdGroupMapsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1LdapConfigConfigIdGroupMapsPost200Response` - """ - model = ApiV1LdapConfigConfigIdGroupMapsPost200Response() # noqa: E501 - if include_optional: - return ApiV1LdapConfigConfigIdGroupMapsPost200Response( - id = '', - ldap_config_id = '', - ldap_group_cn = '', - group_id = '' - ) - else: - return ApiV1LdapConfigConfigIdGroupMapsPost200Response( - id = '', - ldap_config_id = '', - ldap_group_cn = '', - group_id = '', - ) - """ - - def testApiV1LdapConfigConfigIdGroupMapsPost200Response(self): - """Test ApiV1LdapConfigConfigIdGroupMapsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_ldap_config_config_id_group_maps_post_request.py b/test/test_api_v1_ldap_config_config_id_group_maps_post_request.py deleted file mode 100644 index 5c4b28e..0000000 --- a/test/test_api_v1_ldap_config_config_id_group_maps_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_ldap_config_config_id_group_maps_post_request import ApiV1LdapConfigConfigIdGroupMapsPostRequest # noqa: E501 - -class TestApiV1LdapConfigConfigIdGroupMapsPostRequest(unittest.TestCase): - """ApiV1LdapConfigConfigIdGroupMapsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1LdapConfigConfigIdGroupMapsPostRequest: - """Test ApiV1LdapConfigConfigIdGroupMapsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1LdapConfigConfigIdGroupMapsPostRequest` - """ - model = ApiV1LdapConfigConfigIdGroupMapsPostRequest() # noqa: E501 - if include_optional: - return ApiV1LdapConfigConfigIdGroupMapsPostRequest( - ldap_group_cn = '', - group_slug = '' - ) - else: - return ApiV1LdapConfigConfigIdGroupMapsPostRequest( - ldap_group_cn = '', - group_slug = '', - ) - """ - - def testApiV1LdapConfigConfigIdGroupMapsPostRequest(self): - """Test ApiV1LdapConfigConfigIdGroupMapsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_ldap_config_get200_response.py b/test/test_api_v1_ldap_config_get200_response.py deleted file mode 100644 index 4689971..0000000 --- a/test/test_api_v1_ldap_config_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_ldap_config_get200_response import ApiV1LdapConfigGet200Response # noqa: E501 - -class TestApiV1LdapConfigGet200Response(unittest.TestCase): - """ApiV1LdapConfigGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1LdapConfigGet200Response: - """Test ApiV1LdapConfigGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1LdapConfigGet200Response` - """ - model = ApiV1LdapConfigGet200Response() # noqa: E501 - if include_optional: - return ApiV1LdapConfigGet200Response( - id = '', - organization = '', - is_active = True, - url = '', - bind_dn = '', - bind_pass = '', - unique_user_attribute = '', - search_base = '', - search_filter = '', - group_search_base = '', - group_search_filter = '', - ca_cert = '' - ) - else: - return ApiV1LdapConfigGet200Response( - id = '', - organization = '', - is_active = True, - url = '', - bind_dn = '', - bind_pass = '', - unique_user_attribute = '', - search_base = '', - search_filter = '', - group_search_base = '', - group_search_filter = '', - ca_cert = '', - ) - """ - - def testApiV1LdapConfigGet200Response(self): - """Test ApiV1LdapConfigGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_ldap_config_patch_request.py b/test/test_api_v1_ldap_config_patch_request.py deleted file mode 100644 index 8c32e30..0000000 --- a/test/test_api_v1_ldap_config_patch_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_ldap_config_patch_request import ApiV1LdapConfigPatchRequest # noqa: E501 - -class TestApiV1LdapConfigPatchRequest(unittest.TestCase): - """ApiV1LdapConfigPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1LdapConfigPatchRequest: - """Test ApiV1LdapConfigPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1LdapConfigPatchRequest` - """ - model = ApiV1LdapConfigPatchRequest() # noqa: E501 - if include_optional: - return ApiV1LdapConfigPatchRequest( - is_active = True, - url = '', - bind_dn = '', - bind_pass = '', - unique_user_attribute = '', - search_base = '', - search_filter = '', - group_search_base = '', - group_search_filter = '', - ca_cert = '', - organization_id = '' - ) - else: - return ApiV1LdapConfigPatchRequest( - organization_id = '', - ) - """ - - def testApiV1LdapConfigPatchRequest(self): - """Test ApiV1LdapConfigPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_ldap_config_post200_response.py b/test/test_api_v1_ldap_config_post200_response.py deleted file mode 100644 index 41ef59b..0000000 --- a/test/test_api_v1_ldap_config_post200_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_ldap_config_post200_response import ApiV1LdapConfigPost200Response # noqa: E501 - -class TestApiV1LdapConfigPost200Response(unittest.TestCase): - """ApiV1LdapConfigPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1LdapConfigPost200Response: - """Test ApiV1LdapConfigPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1LdapConfigPost200Response` - """ - model = ApiV1LdapConfigPost200Response() # noqa: E501 - if include_optional: - return ApiV1LdapConfigPost200Response( - id = '', - org_id = '', - is_active = True, - url = '', - encrypted_bind_dn = '', - bind_dniv = '', - bind_dn_tag = '', - encrypted_bind_pass = '', - bind_pass_iv = '', - bind_pass_tag = '', - search_base = '', - encrypted_ca_cert = '', - ca_cert_iv = '', - ca_cert_tag = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - group_search_base = '', - group_search_filter = '', - search_filter = '', - unique_user_attribute = '' - ) - else: - return ApiV1LdapConfigPost200Response( - id = '', - org_id = '', - is_active = True, - url = '', - encrypted_bind_dn = '', - bind_dniv = '', - bind_dn_tag = '', - encrypted_bind_pass = '', - bind_pass_iv = '', - bind_pass_tag = '', - search_base = '', - encrypted_ca_cert = '', - ca_cert_iv = '', - ca_cert_tag = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1LdapConfigPost200Response(self): - """Test ApiV1LdapConfigPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_ldap_config_post_request.py b/test/test_api_v1_ldap_config_post_request.py deleted file mode 100644 index 314da26..0000000 --- a/test/test_api_v1_ldap_config_post_request.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_ldap_config_post_request import ApiV1LdapConfigPostRequest # noqa: E501 - -class TestApiV1LdapConfigPostRequest(unittest.TestCase): - """ApiV1LdapConfigPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1LdapConfigPostRequest: - """Test ApiV1LdapConfigPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1LdapConfigPostRequest` - """ - model = ApiV1LdapConfigPostRequest() # noqa: E501 - if include_optional: - return ApiV1LdapConfigPostRequest( - organization_id = '', - is_active = True, - url = '', - bind_dn = '', - bind_pass = '', - unique_user_attribute = 'uidNumber', - search_base = '', - search_filter = '(uid={{username}})', - group_search_base = '', - group_search_filter = '(|(memberUid={{.Username}})(member={{.UserDN}})(uniqueMember={{.UserDN}}))', - ca_cert = '' - ) - else: - return ApiV1LdapConfigPostRequest( - organization_id = '', - is_active = True, - url = '', - bind_dn = '', - bind_pass = '', - search_base = '', - group_search_base = '', - ) - """ - - def testApiV1LdapConfigPostRequest(self): - """Test ApiV1LdapConfigPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_ldap_login_post_request.py b/test/test_api_v1_ldap_login_post_request.py deleted file mode 100644 index fe6fafa..0000000 --- a/test/test_api_v1_ldap_login_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_ldap_login_post_request import ApiV1LdapLoginPostRequest # noqa: E501 - -class TestApiV1LdapLoginPostRequest(unittest.TestCase): - """ApiV1LdapLoginPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1LdapLoginPostRequest: - """Test ApiV1LdapLoginPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1LdapLoginPostRequest` - """ - model = ApiV1LdapLoginPostRequest() # noqa: E501 - if include_optional: - return ApiV1LdapLoginPostRequest( - organization_slug = '' - ) - else: - return ApiV1LdapLoginPostRequest( - organization_slug = '', - ) - """ - - def testApiV1LdapLoginPostRequest(self): - """Test ApiV1LdapLoginPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_admin_projects_get200_response.py b/test/test_api_v1_organization_admin_projects_get200_response.py deleted file mode 100644 index a17173a..0000000 --- a/test/test_api_v1_organization_admin_projects_get200_response.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response import ApiV1OrganizationAdminProjectsGet200Response # noqa: E501 - -class TestApiV1OrganizationAdminProjectsGet200Response(unittest.TestCase): - """ApiV1OrganizationAdminProjectsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationAdminProjectsGet200Response: - """Test ApiV1OrganizationAdminProjectsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationAdminProjectsGet200Response` - """ - model = ApiV1OrganizationAdminProjectsGet200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationAdminProjectsGet200Response( - projects = [ - infisicalapi_client.models._api_v1_organization_admin_projects_get_200_response_projects_inner._api_v1_organization_admin_projects_get_200_response_projects_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, ) - ], - count = 1.337 - ) - else: - return ApiV1OrganizationAdminProjectsGet200Response( - projects = [ - infisicalapi_client.models._api_v1_organization_admin_projects_get_200_response_projects_inner._api_v1_organization_admin_projects_get_200_response_projects_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, ) - ], - count = 1.337, - ) - """ - - def testApiV1OrganizationAdminProjectsGet200Response(self): - """Test ApiV1OrganizationAdminProjectsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_admin_projects_get200_response_projects_inner.py b/test/test_api_v1_organization_admin_projects_get200_response_projects_inner.py deleted file mode 100644 index f31c30c..0000000 --- a/test/test_api_v1_organization_admin_projects_get200_response_projects_inner.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_admin_projects_get200_response_projects_inner import ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner # noqa: E501 - -class TestApiV1OrganizationAdminProjectsGet200ResponseProjectsInner(unittest.TestCase): - """ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner: - """Test ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner` - """ - model = ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner() # noqa: E501 - if include_optional: - return ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337 - ) - else: - return ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner( - id = '', - name = '', - slug = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1OrganizationAdminProjectsGet200ResponseProjectsInner(self): - """Test ApiV1OrganizationAdminProjectsGet200ResponseProjectsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response.py b/test/test_api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response.py deleted file mode 100644 index 1bc7f7b..0000000 --- a/test/test_api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response # noqa: E501 - -class TestApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response(unittest.TestCase): - """ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response: - """Test ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response` - """ - model = ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response( - membership = infisicalapi_client.models._api_v1_organization_admin_projects__project_id__grant_admin_access_post_200_response_membership._api_v1_organization_admin_projects__projectId__grant_admin_access_post_200_response_membership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', ) - ) - else: - return ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response( - membership = infisicalapi_client.models._api_v1_organization_admin_projects__project_id__grant_admin_access_post_200_response_membership._api_v1_organization_admin_projects__projectId__grant_admin_access_post_200_response_membership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', ), - ) - """ - - def testApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response(self): - """Test ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership.py b/test/test_api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership.py deleted file mode 100644 index 8186fb0..0000000 --- a/test/test_api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership import ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership # noqa: E501 - -class TestApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership(unittest.TestCase): - """ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership: - """Test ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership` - """ - model = ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership() # noqa: E501 - if include_optional: - return ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '' - ) - else: - return ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', - ) - """ - - def testApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership(self): - """Test ApiV1OrganizationAdminProjectsProjectIdGrantAdminAccessPost200ResponseMembership""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_get200_response.py b/test/test_api_v1_organization_get200_response.py deleted file mode 100644 index 702b47b..0000000 --- a/test/test_api_v1_organization_get200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_get200_response import ApiV1OrganizationGet200Response # noqa: E501 - -class TestApiV1OrganizationGet200Response(unittest.TestCase): - """ApiV1OrganizationGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationGet200Response: - """Test ApiV1OrganizationGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationGet200Response` - """ - model = ApiV1OrganizationGet200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationGet200Response( - organizations = [ - infisicalapi_client.models._api_v1_organization_get_200_response_organizations_inner._api_v1_organization_get_200_response_organizations_inner( - id = '', - name = '', - customer_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - auth_enforced = True, - scim_enabled = True, - kms_default_key_id = '', - kms_encrypted_data_key = null, ) - ] - ) - else: - return ApiV1OrganizationGet200Response( - organizations = [ - infisicalapi_client.models._api_v1_organization_get_200_response_organizations_inner._api_v1_organization_get_200_response_organizations_inner( - id = '', - name = '', - customer_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - auth_enforced = True, - scim_enabled = True, - kms_default_key_id = '', - kms_encrypted_data_key = null, ) - ], - ) - """ - - def testApiV1OrganizationGet200Response(self): - """Test ApiV1OrganizationGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_get200_response_organizations_inner.py b/test/test_api_v1_organization_get200_response_organizations_inner.py deleted file mode 100644 index 23ffdc3..0000000 --- a/test/test_api_v1_organization_get200_response_organizations_inner.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_get200_response_organizations_inner import ApiV1OrganizationGet200ResponseOrganizationsInner # noqa: E501 - -class TestApiV1OrganizationGet200ResponseOrganizationsInner(unittest.TestCase): - """ApiV1OrganizationGet200ResponseOrganizationsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationGet200ResponseOrganizationsInner: - """Test ApiV1OrganizationGet200ResponseOrganizationsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationGet200ResponseOrganizationsInner` - """ - model = ApiV1OrganizationGet200ResponseOrganizationsInner() # noqa: E501 - if include_optional: - return ApiV1OrganizationGet200ResponseOrganizationsInner( - id = '', - name = '', - customer_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - auth_enforced = True, - scim_enabled = True, - kms_default_key_id = '', - kms_encrypted_data_key = None - ) - else: - return ApiV1OrganizationGet200ResponseOrganizationsInner( - id = '', - name = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1OrganizationGet200ResponseOrganizationsInner(self): - """Test ApiV1OrganizationGet200ResponseOrganizationsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_get200_response.py b/test/test_api_v1_organization_organization_id_get200_response.py deleted file mode 100644 index f08c74e..0000000 --- a/test/test_api_v1_organization_organization_id_get200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_get200_response import ApiV1OrganizationOrganizationIdGet200Response # noqa: E501 - -class TestApiV1OrganizationOrganizationIdGet200Response(unittest.TestCase): - """ApiV1OrganizationOrganizationIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdGet200Response: - """Test ApiV1OrganizationOrganizationIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdGet200Response` - """ - model = ApiV1OrganizationOrganizationIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdGet200Response( - organization = infisicalapi_client.models._api_v1_organization_get_200_response_organizations_inner._api_v1_organization_get_200_response_organizations_inner( - id = '', - name = '', - customer_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - auth_enforced = True, - scim_enabled = True, - kms_default_key_id = '', - kms_encrypted_data_key = null, ) - ) - else: - return ApiV1OrganizationOrganizationIdGet200Response( - organization = infisicalapi_client.models._api_v1_organization_get_200_response_organizations_inner._api_v1_organization_get_200_response_organizations_inner( - id = '', - name = '', - customer_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - auth_enforced = True, - scim_enabled = True, - kms_default_key_id = '', - kms_encrypted_data_key = null, ), - ) - """ - - def testApiV1OrganizationOrganizationIdGet200Response(self): - """Test ApiV1OrganizationOrganizationIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_groups_get200_response.py b/test/test_api_v1_organization_organization_id_groups_get200_response.py deleted file mode 100644 index dd960a0..0000000 --- a/test/test_api_v1_organization_organization_id_groups_get200_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response import ApiV1OrganizationOrganizationIdGroupsGet200Response # noqa: E501 - -class TestApiV1OrganizationOrganizationIdGroupsGet200Response(unittest.TestCase): - """ApiV1OrganizationOrganizationIdGroupsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdGroupsGet200Response: - """Test ApiV1OrganizationOrganizationIdGroupsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdGroupsGet200Response` - """ - model = ApiV1OrganizationOrganizationIdGroupsGet200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdGroupsGet200Response( - groups = [ - infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner._api_v1_organization__organizationId__groups_get_200_response_groups_inner( - id = '', - org_id = '', - name = '', - slug = '', - role = '', - role_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - custom_role = infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner_custom_role._api_v1_organization__organizationId__groups_get_200_response_groups_inner_customRole( - id = '', - name = '', - slug = '', - permissions = null, - description = '', ), ) - ] - ) - else: - return ApiV1OrganizationOrganizationIdGroupsGet200Response( - groups = [ - infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner._api_v1_organization__organizationId__groups_get_200_response_groups_inner( - id = '', - org_id = '', - name = '', - slug = '', - role = '', - role_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - custom_role = infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner_custom_role._api_v1_organization__organizationId__groups_get_200_response_groups_inner_customRole( - id = '', - name = '', - slug = '', - permissions = null, - description = '', ), ) - ], - ) - """ - - def testApiV1OrganizationOrganizationIdGroupsGet200Response(self): - """Test ApiV1OrganizationOrganizationIdGroupsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_groups_get200_response_groups_inner.py b/test/test_api_v1_organization_organization_id_groups_get200_response_groups_inner.py deleted file mode 100644 index 0c0e213..0000000 --- a/test/test_api_v1_organization_organization_id_groups_get200_response_groups_inner.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner # noqa: E501 - -class TestApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner(unittest.TestCase): - """ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner: - """Test ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner` - """ - model = ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner( - id = '', - org_id = '', - name = '', - slug = '', - role = '', - role_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - custom_role = infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner_custom_role._api_v1_organization__organizationId__groups_get_200_response_groups_inner_customRole( - id = '', - name = '', - slug = '', - permissions = null, - description = '', ) - ) - else: - return ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner( - id = '', - org_id = '', - name = '', - slug = '', - role = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner(self): - """Test ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role.py b/test/test_api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role.py deleted file mode 100644 index a85b14a..0000000 --- a/test/test_api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role import ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole # noqa: E501 - -class TestApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole(unittest.TestCase): - """ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole: - """Test ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole` - """ - model = ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole( - id = '', - name = '', - slug = '', - permissions = None, - description = '' - ) - else: - return ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole( - id = '', - name = '', - slug = '', - ) - """ - - def testApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole(self): - """Test ApiV1OrganizationOrganizationIdGroupsGet200ResponseGroupsInnerCustomRole""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_incident_contact_org_get200_response.py b/test/test_api_v1_organization_organization_id_incident_contact_org_get200_response.py deleted file mode 100644 index 66425c8..0000000 --- a/test/test_api_v1_organization_organization_id_incident_contact_org_get200_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response # noqa: E501 - -class TestApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response(unittest.TestCase): - """ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response: - """Test ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response` - """ - model = ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response( - incident_contacts_org = [ - infisicalapi_client.models._api_v1_organization__organization_id__incident_contact_org_get_200_response_incident_contacts_org_inner._api_v1_organization__organizationId__incidentContactOrg_get_200_response_incidentContactsOrg_inner( - id = '', - email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', ) - ] - ) - else: - return ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response( - incident_contacts_org = [ - infisicalapi_client.models._api_v1_organization__organization_id__incident_contact_org_get_200_response_incident_contacts_org_inner._api_v1_organization__organizationId__incidentContactOrg_get_200_response_incidentContactsOrg_inner( - id = '', - email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', ) - ], - ) - """ - - def testApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response(self): - """Test ApiV1OrganizationOrganizationIdIncidentContactOrgGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner.py b/test/test_api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner.py deleted file mode 100644 index 133f85b..0000000 --- a/test/test_api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner import ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner # noqa: E501 - -class TestApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner(unittest.TestCase): - """ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner: - """Test ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner` - """ - model = ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner( - id = '', - email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '' - ) - else: - return ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner( - id = '', - email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - ) - """ - - def testApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner(self): - """Test ApiV1OrganizationOrganizationIdIncidentContactOrgGet200ResponseIncidentContactsOrgInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_incident_contact_org_post200_response.py b/test/test_api_v1_organization_organization_id_incident_contact_org_post200_response.py deleted file mode 100644 index 92d1553..0000000 --- a/test/test_api_v1_organization_organization_id_incident_contact_org_post200_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_incident_contact_org_post200_response import ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response # noqa: E501 - -class TestApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response(unittest.TestCase): - """ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response: - """Test ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response` - """ - model = ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response( - incident_contacts_org = infisicalapi_client.models._api_v1_organization__organization_id__incident_contact_org_get_200_response_incident_contacts_org_inner._api_v1_organization__organizationId__incidentContactOrg_get_200_response_incidentContactsOrg_inner( - id = '', - email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', ) - ) - else: - return ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response( - incident_contacts_org = infisicalapi_client.models._api_v1_organization__organization_id__incident_contact_org_get_200_response_incident_contacts_org_inner._api_v1_organization__organizationId__incidentContactOrg_get_200_response_incidentContactsOrg_inner( - id = '', - email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', ), - ) - """ - - def testApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response(self): - """Test ApiV1OrganizationOrganizationIdIncidentContactOrgPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_patch200_response.py b/test/test_api_v1_organization_organization_id_patch200_response.py deleted file mode 100644 index 5e015c7..0000000 --- a/test/test_api_v1_organization_organization_id_patch200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_patch200_response import ApiV1OrganizationOrganizationIdPatch200Response # noqa: E501 - -class TestApiV1OrganizationOrganizationIdPatch200Response(unittest.TestCase): - """ApiV1OrganizationOrganizationIdPatch200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdPatch200Response: - """Test ApiV1OrganizationOrganizationIdPatch200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdPatch200Response` - """ - model = ApiV1OrganizationOrganizationIdPatch200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdPatch200Response( - message = '', - organization = infisicalapi_client.models._api_v1_organization_get_200_response_organizations_inner._api_v1_organization_get_200_response_organizations_inner( - id = '', - name = '', - customer_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - auth_enforced = True, - scim_enabled = True, - kms_default_key_id = '', - kms_encrypted_data_key = null, ) - ) - else: - return ApiV1OrganizationOrganizationIdPatch200Response( - message = '', - organization = infisicalapi_client.models._api_v1_organization_get_200_response_organizations_inner._api_v1_organization_get_200_response_organizations_inner( - id = '', - name = '', - customer_id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - auth_enforced = True, - scim_enabled = True, - kms_default_key_id = '', - kms_encrypted_data_key = null, ), - ) - """ - - def testApiV1OrganizationOrganizationIdPatch200Response(self): - """Test ApiV1OrganizationOrganizationIdPatch200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_patch_request.py b/test/test_api_v1_organization_organization_id_patch_request.py deleted file mode 100644 index aba0f08..0000000 --- a/test/test_api_v1_organization_organization_id_patch_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_patch_request import ApiV1OrganizationOrganizationIdPatchRequest # noqa: E501 - -class TestApiV1OrganizationOrganizationIdPatchRequest(unittest.TestCase): - """ApiV1OrganizationOrganizationIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdPatchRequest: - """Test ApiV1OrganizationOrganizationIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdPatchRequest` - """ - model = ApiV1OrganizationOrganizationIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdPatchRequest( - name = '', - slug = 'G', - auth_enforced = True, - scim_enabled = True - ) - else: - return ApiV1OrganizationOrganizationIdPatchRequest( - ) - """ - - def testApiV1OrganizationOrganizationIdPatchRequest(self): - """Test ApiV1OrganizationOrganizationIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_permissions_get200_response.py b/test/test_api_v1_organization_organization_id_permissions_get200_response.py deleted file mode 100644 index 9a40fb8..0000000 --- a/test/test_api_v1_organization_organization_id_permissions_get200_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response import ApiV1OrganizationOrganizationIdPermissionsGet200Response # noqa: E501 - -class TestApiV1OrganizationOrganizationIdPermissionsGet200Response(unittest.TestCase): - """ApiV1OrganizationOrganizationIdPermissionsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdPermissionsGet200Response: - """Test ApiV1OrganizationOrganizationIdPermissionsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdPermissionsGet200Response` - """ - model = ApiV1OrganizationOrganizationIdPermissionsGet200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdPermissionsGet200Response( - membership = infisicalapi_client.models._api_v1_organization__organization_id__permissions_get_200_response_membership._api_v1_organization__organizationId__permissions_get_200_response_membership( - id = '', - role = '', - status = 'invited', - invite_email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, ), - permissions = [ - '' - ] - ) - else: - return ApiV1OrganizationOrganizationIdPermissionsGet200Response( - membership = infisicalapi_client.models._api_v1_organization__organization_id__permissions_get_200_response_membership._api_v1_organization__organizationId__permissions_get_200_response_membership( - id = '', - role = '', - status = 'invited', - invite_email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, ), - permissions = [ - '' - ], - ) - """ - - def testApiV1OrganizationOrganizationIdPermissionsGet200Response(self): - """Test ApiV1OrganizationOrganizationIdPermissionsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_permissions_get200_response_membership.py b/test/test_api_v1_organization_organization_id_permissions_get200_response_membership.py deleted file mode 100644 index 8df6fe3..0000000 --- a/test/test_api_v1_organization_organization_id_permissions_get200_response_membership.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_permissions_get200_response_membership import ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership # noqa: E501 - -class TestApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership(unittest.TestCase): - """ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership: - """Test ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership` - """ - model = ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership( - id = '', - role = '', - status = 'invited', - invite_email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True - ) - else: - return ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership( - id = '', - role = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - ) - """ - - def testApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership(self): - """Test ApiV1OrganizationOrganizationIdPermissionsGet200ResponseMembership""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_roles_get200_response.py b/test/test_api_v1_organization_organization_id_roles_get200_response.py deleted file mode 100644 index 6452bc8..0000000 --- a/test/test_api_v1_organization_organization_id_roles_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response import ApiV1OrganizationOrganizationIdRolesGet200Response # noqa: E501 - -class TestApiV1OrganizationOrganizationIdRolesGet200Response(unittest.TestCase): - """ApiV1OrganizationOrganizationIdRolesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdRolesGet200Response: - """Test ApiV1OrganizationOrganizationIdRolesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdRolesGet200Response` - """ - model = ApiV1OrganizationOrganizationIdRolesGet200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdRolesGet200Response( - data = infisicalapi_client.models._api_v1_organization__organization_id__roles_get_200_response_data._api_v1_organization__organizationId__roles_get_200_response_data( - roles = [ - infisicalapi_client.models._api_v1_organization__organization_id__roles_get_200_response_data_roles_inner._api_v1_organization__organizationId__roles_get_200_response_data_roles_inner( - id = '', - name = '', - description = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - permissions = null, ) - ], ) - ) - else: - return ApiV1OrganizationOrganizationIdRolesGet200Response( - data = infisicalapi_client.models._api_v1_organization__organization_id__roles_get_200_response_data._api_v1_organization__organizationId__roles_get_200_response_data( - roles = [ - infisicalapi_client.models._api_v1_organization__organization_id__roles_get_200_response_data_roles_inner._api_v1_organization__organizationId__roles_get_200_response_data_roles_inner( - id = '', - name = '', - description = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - permissions = null, ) - ], ), - ) - """ - - def testApiV1OrganizationOrganizationIdRolesGet200Response(self): - """Test ApiV1OrganizationOrganizationIdRolesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_roles_get200_response_data.py b/test/test_api_v1_organization_organization_id_roles_get200_response_data.py deleted file mode 100644 index 7a0fa7e..0000000 --- a/test/test_api_v1_organization_organization_id_roles_get200_response_data.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response_data import ApiV1OrganizationOrganizationIdRolesGet200ResponseData # noqa: E501 - -class TestApiV1OrganizationOrganizationIdRolesGet200ResponseData(unittest.TestCase): - """ApiV1OrganizationOrganizationIdRolesGet200ResponseData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdRolesGet200ResponseData: - """Test ApiV1OrganizationOrganizationIdRolesGet200ResponseData - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdRolesGet200ResponseData` - """ - model = ApiV1OrganizationOrganizationIdRolesGet200ResponseData() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdRolesGet200ResponseData( - roles = [ - infisicalapi_client.models._api_v1_organization__organization_id__roles_get_200_response_data_roles_inner._api_v1_organization__organizationId__roles_get_200_response_data_roles_inner( - id = '', - name = '', - description = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - permissions = null, ) - ] - ) - else: - return ApiV1OrganizationOrganizationIdRolesGet200ResponseData( - roles = [ - infisicalapi_client.models._api_v1_organization__organization_id__roles_get_200_response_data_roles_inner._api_v1_organization__organizationId__roles_get_200_response_data_roles_inner( - id = '', - name = '', - description = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - permissions = null, ) - ], - ) - """ - - def testApiV1OrganizationOrganizationIdRolesGet200ResponseData(self): - """Test ApiV1OrganizationOrganizationIdRolesGet200ResponseData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_roles_get200_response_data_roles_inner.py b/test/test_api_v1_organization_organization_id_roles_get200_response_data_roles_inner.py deleted file mode 100644 index 42fef72..0000000 --- a/test/test_api_v1_organization_organization_id_roles_get200_response_data_roles_inner.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_roles_get200_response_data_roles_inner import ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner # noqa: E501 - -class TestApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner(unittest.TestCase): - """ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner: - """Test ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner` - """ - model = ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner( - id = '', - name = '', - description = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - permissions = None - ) - else: - return ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner( - id = '', - name = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - ) - """ - - def testApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner(self): - """Test ApiV1OrganizationOrganizationIdRolesGet200ResponseDataRolesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_roles_post200_response.py b/test/test_api_v1_organization_organization_id_roles_post200_response.py deleted file mode 100644 index b584cf3..0000000 --- a/test/test_api_v1_organization_organization_id_roles_post200_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response import ApiV1OrganizationOrganizationIdRolesPost200Response # noqa: E501 - -class TestApiV1OrganizationOrganizationIdRolesPost200Response(unittest.TestCase): - """ApiV1OrganizationOrganizationIdRolesPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdRolesPost200Response: - """Test ApiV1OrganizationOrganizationIdRolesPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdRolesPost200Response` - """ - model = ApiV1OrganizationOrganizationIdRolesPost200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdRolesPost200Response( - role = infisicalapi_client.models._api_v1_organization__organization_id__roles_post_200_response_role._api_v1_organization__organizationId__roles_post_200_response_role( - id = '', - name = '', - description = '', - slug = '', - permissions = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', ) - ) - else: - return ApiV1OrganizationOrganizationIdRolesPost200Response( - role = infisicalapi_client.models._api_v1_organization__organization_id__roles_post_200_response_role._api_v1_organization__organizationId__roles_post_200_response_role( - id = '', - name = '', - description = '', - slug = '', - permissions = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', ), - ) - """ - - def testApiV1OrganizationOrganizationIdRolesPost200Response(self): - """Test ApiV1OrganizationOrganizationIdRolesPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_roles_post200_response_role.py b/test/test_api_v1_organization_organization_id_roles_post200_response_role.py deleted file mode 100644 index e29b625..0000000 --- a/test/test_api_v1_organization_organization_id_roles_post200_response_role.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post200_response_role import ApiV1OrganizationOrganizationIdRolesPost200ResponseRole # noqa: E501 - -class TestApiV1OrganizationOrganizationIdRolesPost200ResponseRole(unittest.TestCase): - """ApiV1OrganizationOrganizationIdRolesPost200ResponseRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdRolesPost200ResponseRole: - """Test ApiV1OrganizationOrganizationIdRolesPost200ResponseRole - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdRolesPost200ResponseRole` - """ - model = ApiV1OrganizationOrganizationIdRolesPost200ResponseRole() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdRolesPost200ResponseRole( - id = '', - name = '', - description = '', - slug = '', - permissions = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '' - ) - else: - return ApiV1OrganizationOrganizationIdRolesPost200ResponseRole( - id = '', - name = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - ) - """ - - def testApiV1OrganizationOrganizationIdRolesPost200ResponseRole(self): - """Test ApiV1OrganizationOrganizationIdRolesPost200ResponseRole""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_roles_post_request.py b/test/test_api_v1_organization_organization_id_roles_post_request.py deleted file mode 100644 index 57120e1..0000000 --- a/test/test_api_v1_organization_organization_id_roles_post_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_roles_post_request import ApiV1OrganizationOrganizationIdRolesPostRequest # noqa: E501 - -class TestApiV1OrganizationOrganizationIdRolesPostRequest(unittest.TestCase): - """ApiV1OrganizationOrganizationIdRolesPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdRolesPostRequest: - """Test ApiV1OrganizationOrganizationIdRolesPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdRolesPostRequest` - """ - model = ApiV1OrganizationOrganizationIdRolesPostRequest() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdRolesPostRequest( - slug = '0', - name = '', - description = '', - permissions = [ - '' - ] - ) - else: - return ApiV1OrganizationOrganizationIdRolesPostRequest( - slug = '0', - name = '', - permissions = [ - '' - ], - ) - """ - - def testApiV1OrganizationOrganizationIdRolesPostRequest(self): - """Test ApiV1OrganizationOrganizationIdRolesPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_roles_role_id_patch_request.py b/test/test_api_v1_organization_organization_id_roles_role_id_patch_request.py deleted file mode 100644 index d9cd2a1..0000000 --- a/test/test_api_v1_organization_organization_id_roles_role_id_patch_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_roles_role_id_patch_request import ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest # noqa: E501 - -class TestApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest(unittest.TestCase): - """ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest: - """Test ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest` - """ - model = ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest( - slug = '', - name = '', - description = '', - permissions = [ - '' - ] - ) - else: - return ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest( - slug = '', - ) - """ - - def testApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest(self): - """Test ApiV1OrganizationOrganizationIdRolesRoleIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_users_get200_response.py b/test/test_api_v1_organization_organization_id_users_get200_response.py deleted file mode 100644 index a9b33ea..0000000 --- a/test/test_api_v1_organization_organization_id_users_get200_response.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response import ApiV1OrganizationOrganizationIdUsersGet200Response # noqa: E501 - -class TestApiV1OrganizationOrganizationIdUsersGet200Response(unittest.TestCase): - """ApiV1OrganizationOrganizationIdUsersGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdUsersGet200Response: - """Test ApiV1OrganizationOrganizationIdUsersGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdUsersGet200Response` - """ - model = ApiV1OrganizationOrganizationIdUsersGet200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdUsersGet200Response( - users = [ - infisicalapi_client.models._api_v1_organization__organization_id__users_get_200_response_users_inner._api_v1_organization__organizationId__users_get_200_response_users_inner( - id = '', - role = '', - status = 'invited', - invite_email = '', - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, - user = infisicalapi_client.models._api_v1_organization__organization_id__users_get_200_response_users_inner_user._api_v1_organization__organizationId__users_get_200_response_users_inner_user( - username = '', - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), ) - ] - ) - else: - return ApiV1OrganizationOrganizationIdUsersGet200Response( - users = [ - infisicalapi_client.models._api_v1_organization__organization_id__users_get_200_response_users_inner._api_v1_organization__organizationId__users_get_200_response_users_inner( - id = '', - role = '', - status = 'invited', - invite_email = '', - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, - user = infisicalapi_client.models._api_v1_organization__organization_id__users_get_200_response_users_inner_user._api_v1_organization__organizationId__users_get_200_response_users_inner_user( - username = '', - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), ) - ], - ) - """ - - def testApiV1OrganizationOrganizationIdUsersGet200Response(self): - """Test ApiV1OrganizationOrganizationIdUsersGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_users_get200_response_users_inner.py b/test/test_api_v1_organization_organization_id_users_get200_response_users_inner.py deleted file mode 100644 index ed4bf3c..0000000 --- a/test/test_api_v1_organization_organization_id_users_get200_response_users_inner.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response_users_inner import ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner # noqa: E501 - -class TestApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner(unittest.TestCase): - """ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner: - """Test ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner` - """ - model = ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner( - id = '', - role = '', - status = 'invited', - invite_email = '', - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, - user = infisicalapi_client.models._api_v1_organization__organization_id__users_get_200_response_users_inner_user._api_v1_organization__organizationId__users_get_200_response_users_inner_user( - username = '', - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ) - ) - else: - return ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner( - id = '', - role = '', - org_id = '', - user = infisicalapi_client.models._api_v1_organization__organization_id__users_get_200_response_users_inner_user._api_v1_organization__organizationId__users_get_200_response_users_inner_user( - username = '', - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - ) - """ - - def testApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner(self): - """Test ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organization_organization_id_users_get200_response_users_inner_user.py b/test/test_api_v1_organization_organization_id_users_get200_response_users_inner_user.py deleted file mode 100644 index 3650f6e..0000000 --- a/test/test_api_v1_organization_organization_id_users_get200_response_users_inner_user.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organization_organization_id_users_get200_response_users_inner_user import ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser # noqa: E501 - -class TestApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser(unittest.TestCase): - """ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser: - """Test ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser` - """ - model = ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser() # noqa: E501 - if include_optional: - return ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser( - username = '', - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '' - ) - else: - return ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser( - username = '', - id = '', - public_key = '', - ) - """ - - def testApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser(self): - """Test ApiV1OrganizationOrganizationIdUsersGet200ResponseUsersInnerUser""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organizations_organization_id_billing_details_patch_request.py b/test/test_api_v1_organizations_organization_id_billing_details_patch_request.py deleted file mode 100644 index 9be3023..0000000 --- a/test/test_api_v1_organizations_organization_id_billing_details_patch_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_patch_request import ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest # noqa: E501 - -class TestApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest(unittest.TestCase): - """ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest: - """Test ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest` - """ - model = ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest() # noqa: E501 - if include_optional: - return ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest( - email = '', - name = '' - ) - else: - return ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest( - ) - """ - - def testApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest(self): - """Test ApiV1OrganizationsOrganizationIdBillingDetailsPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organizations_organization_id_billing_details_payment_methods_post_request.py b/test/test_api_v1_organizations_organization_id_billing_details_payment_methods_post_request.py deleted file mode 100644 index 43de5a6..0000000 --- a/test/test_api_v1_organizations_organization_id_billing_details_payment_methods_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_payment_methods_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest # noqa: E501 - -class TestApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest(unittest.TestCase): - """ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest: - """Test ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest` - """ - model = ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest() # noqa: E501 - if include_optional: - return ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest( - success_url = '', - cancel_url = '' - ) - else: - return ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest( - success_url = '', - cancel_url = '', - ) - """ - - def testApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest(self): - """Test ApiV1OrganizationsOrganizationIdBillingDetailsPaymentMethodsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organizations_organization_id_billing_details_tax_ids_post_request.py b/test/test_api_v1_organizations_organization_id_billing_details_tax_ids_post_request.py deleted file mode 100644 index 549b1b0..0000000 --- a/test/test_api_v1_organizations_organization_id_billing_details_tax_ids_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organizations_organization_id_billing_details_tax_ids_post_request import ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest # noqa: E501 - -class TestApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest(unittest.TestCase): - """ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest: - """Test ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest` - """ - model = ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest() # noqa: E501 - if include_optional: - return ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest( - type = '', - value = '' - ) - else: - return ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest( - type = '', - value = '', - ) - """ - - def testApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest(self): - """Test ApiV1OrganizationsOrganizationIdBillingDetailsTaxIdsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organizations_organization_id_plan_get200_response.py b/test/test_api_v1_organizations_organization_id_plan_get200_response.py deleted file mode 100644 index e37f464..0000000 --- a/test/test_api_v1_organizations_organization_id_plan_get200_response.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organizations_organization_id_plan_get200_response import ApiV1OrganizationsOrganizationIdPlanGet200Response # noqa: E501 - -class TestApiV1OrganizationsOrganizationIdPlanGet200Response(unittest.TestCase): - """ApiV1OrganizationsOrganizationIdPlanGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationsOrganizationIdPlanGet200Response: - """Test ApiV1OrganizationsOrganizationIdPlanGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationsOrganizationIdPlanGet200Response` - """ - model = ApiV1OrganizationsOrganizationIdPlanGet200Response() # noqa: E501 - if include_optional: - return ApiV1OrganizationsOrganizationIdPlanGet200Response( - plan = None - ) - else: - return ApiV1OrganizationsOrganizationIdPlanGet200Response( - ) - """ - - def testApiV1OrganizationsOrganizationIdPlanGet200Response(self): - """Test ApiV1OrganizationsOrganizationIdPlanGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_organizations_organization_id_session_trial_post_request.py b/test/test_api_v1_organizations_organization_id_session_trial_post_request.py deleted file mode 100644 index 586dd73..0000000 --- a/test/test_api_v1_organizations_organization_id_session_trial_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_organizations_organization_id_session_trial_post_request import ApiV1OrganizationsOrganizationIdSessionTrialPostRequest # noqa: E501 - -class TestApiV1OrganizationsOrganizationIdSessionTrialPostRequest(unittest.TestCase): - """ApiV1OrganizationsOrganizationIdSessionTrialPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1OrganizationsOrganizationIdSessionTrialPostRequest: - """Test ApiV1OrganizationsOrganizationIdSessionTrialPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1OrganizationsOrganizationIdSessionTrialPostRequest` - """ - model = ApiV1OrganizationsOrganizationIdSessionTrialPostRequest() # noqa: E501 - if include_optional: - return ApiV1OrganizationsOrganizationIdSessionTrialPostRequest( - success_url = '' - ) - else: - return ApiV1OrganizationsOrganizationIdSessionTrialPostRequest( - success_url = '', - ) - """ - - def testApiV1OrganizationsOrganizationIdSessionTrialPostRequest(self): - """Test ApiV1OrganizationsOrganizationIdSessionTrialPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_backup_private_key_get200_response.py b/test/test_api_v1_password_backup_private_key_get200_response.py deleted file mode 100644 index 8d86345..0000000 --- a/test/test_api_v1_password_backup_private_key_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response import ApiV1PasswordBackupPrivateKeyGet200Response # noqa: E501 - -class TestApiV1PasswordBackupPrivateKeyGet200Response(unittest.TestCase): - """ApiV1PasswordBackupPrivateKeyGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordBackupPrivateKeyGet200Response: - """Test ApiV1PasswordBackupPrivateKeyGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordBackupPrivateKeyGet200Response` - """ - model = ApiV1PasswordBackupPrivateKeyGet200Response() # noqa: E501 - if include_optional: - return ApiV1PasswordBackupPrivateKeyGet200Response( - message = '', - backup_private_key = infisicalapi_client.models._api_v1_password_backup_private_key_get_200_response_backup_private_key._api_v1_password_backup_private_key_get_200_response_backupPrivateKey( - id = '', - encrypted_private_key = '', - iv = '', - tag = '', - algorithm = '', - key_encoding = '', - salt = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ) - ) - else: - return ApiV1PasswordBackupPrivateKeyGet200Response( - message = '', - backup_private_key = infisicalapi_client.models._api_v1_password_backup_private_key_get_200_response_backup_private_key._api_v1_password_backup_private_key_get_200_response_backupPrivateKey( - id = '', - encrypted_private_key = '', - iv = '', - tag = '', - algorithm = '', - key_encoding = '', - salt = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ), - ) - """ - - def testApiV1PasswordBackupPrivateKeyGet200Response(self): - """Test ApiV1PasswordBackupPrivateKeyGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_backup_private_key_get200_response_backup_private_key.py b/test/test_api_v1_password_backup_private_key_get200_response_backup_private_key.py deleted file mode 100644 index 071e8d9..0000000 --- a/test/test_api_v1_password_backup_private_key_get200_response_backup_private_key.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_backup_private_key_get200_response_backup_private_key import ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey # noqa: E501 - -class TestApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey(unittest.TestCase): - """ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey: - """Test ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey` - """ - model = ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey() # noqa: E501 - if include_optional: - return ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey( - id = '', - encrypted_private_key = '', - iv = '', - tag = '', - algorithm = '', - key_encoding = '', - salt = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '' - ) - else: - return ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey( - id = '', - encrypted_private_key = '', - iv = '', - tag = '', - algorithm = '', - key_encoding = '', - salt = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - ) - """ - - def testApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey(self): - """Test ApiV1PasswordBackupPrivateKeyGet200ResponseBackupPrivateKey""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_backup_private_key_post_request.py b/test/test_api_v1_password_backup_private_key_post_request.py deleted file mode 100644 index 8e0a801..0000000 --- a/test/test_api_v1_password_backup_private_key_post_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_backup_private_key_post_request import ApiV1PasswordBackupPrivateKeyPostRequest # noqa: E501 - -class TestApiV1PasswordBackupPrivateKeyPostRequest(unittest.TestCase): - """ApiV1PasswordBackupPrivateKeyPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordBackupPrivateKeyPostRequest: - """Test ApiV1PasswordBackupPrivateKeyPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordBackupPrivateKeyPostRequest` - """ - model = ApiV1PasswordBackupPrivateKeyPostRequest() # noqa: E501 - if include_optional: - return ApiV1PasswordBackupPrivateKeyPostRequest( - client_proof = '', - encrypted_private_key = '', - iv = '', - tag = '', - salt = '', - verifier = '' - ) - else: - return ApiV1PasswordBackupPrivateKeyPostRequest( - client_proof = '', - encrypted_private_key = '', - iv = '', - tag = '', - salt = '', - verifier = '', - ) - """ - - def testApiV1PasswordBackupPrivateKeyPostRequest(self): - """Test ApiV1PasswordBackupPrivateKeyPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_change_password_post_request.py b/test/test_api_v1_password_change_password_post_request.py deleted file mode 100644 index ef2b9bd..0000000 --- a/test/test_api_v1_password_change_password_post_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_change_password_post_request import ApiV1PasswordChangePasswordPostRequest # noqa: E501 - -class TestApiV1PasswordChangePasswordPostRequest(unittest.TestCase): - """ApiV1PasswordChangePasswordPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordChangePasswordPostRequest: - """Test ApiV1PasswordChangePasswordPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordChangePasswordPostRequest` - """ - model = ApiV1PasswordChangePasswordPostRequest() # noqa: E501 - if include_optional: - return ApiV1PasswordChangePasswordPostRequest( - client_proof = '', - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - encrypted_private_key = '', - encrypted_private_key_iv = '', - encrypted_private_key_tag = '', - salt = '', - verifier = '', - password = '' - ) - else: - return ApiV1PasswordChangePasswordPostRequest( - client_proof = '', - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - encrypted_private_key = '', - encrypted_private_key_iv = '', - encrypted_private_key_tag = '', - salt = '', - verifier = '', - password = '', - ) - """ - - def testApiV1PasswordChangePasswordPostRequest(self): - """Test ApiV1PasswordChangePasswordPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_email_password_reset_post_request.py b/test/test_api_v1_password_email_password_reset_post_request.py deleted file mode 100644 index c71bfc6..0000000 --- a/test/test_api_v1_password_email_password_reset_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_email_password_reset_post_request import ApiV1PasswordEmailPasswordResetPostRequest # noqa: E501 - -class TestApiV1PasswordEmailPasswordResetPostRequest(unittest.TestCase): - """ApiV1PasswordEmailPasswordResetPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordEmailPasswordResetPostRequest: - """Test ApiV1PasswordEmailPasswordResetPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordEmailPasswordResetPostRequest` - """ - model = ApiV1PasswordEmailPasswordResetPostRequest() # noqa: E501 - if include_optional: - return ApiV1PasswordEmailPasswordResetPostRequest( - email = '' - ) - else: - return ApiV1PasswordEmailPasswordResetPostRequest( - email = '', - ) - """ - - def testApiV1PasswordEmailPasswordResetPostRequest(self): - """Test ApiV1PasswordEmailPasswordResetPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_email_password_reset_verify_post200_response.py b/test/test_api_v1_password_email_password_reset_verify_post200_response.py deleted file mode 100644 index 5799d9c..0000000 --- a/test/test_api_v1_password_email_password_reset_verify_post200_response.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response import ApiV1PasswordEmailPasswordResetVerifyPost200Response # noqa: E501 - -class TestApiV1PasswordEmailPasswordResetVerifyPost200Response(unittest.TestCase): - """ApiV1PasswordEmailPasswordResetVerifyPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordEmailPasswordResetVerifyPost200Response: - """Test ApiV1PasswordEmailPasswordResetVerifyPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordEmailPasswordResetVerifyPost200Response` - """ - model = ApiV1PasswordEmailPasswordResetVerifyPost200Response() # noqa: E501 - if include_optional: - return ApiV1PasswordEmailPasswordResetVerifyPost200Response( - message = '', - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ), - token = '' - ) - else: - return ApiV1PasswordEmailPasswordResetVerifyPost200Response( - message = '', - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ), - token = '', - ) - """ - - def testApiV1PasswordEmailPasswordResetVerifyPost200Response(self): - """Test ApiV1PasswordEmailPasswordResetVerifyPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_email_password_reset_verify_post200_response_user.py b/test/test_api_v1_password_email_password_reset_verify_post200_response_user.py deleted file mode 100644 index 13d34fa..0000000 --- a/test/test_api_v1_password_email_password_reset_verify_post200_response_user.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post200_response_user import ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser # noqa: E501 - -class TestApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser(unittest.TestCase): - """ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser: - """Test ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser` - """ - model = ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser() # noqa: E501 - if include_optional: - return ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337 - ) - else: - return ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - username = '', - ) - """ - - def testApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser(self): - """Test ApiV1PasswordEmailPasswordResetVerifyPost200ResponseUser""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_email_password_reset_verify_post_request.py b/test/test_api_v1_password_email_password_reset_verify_post_request.py deleted file mode 100644 index eec2037..0000000 --- a/test/test_api_v1_password_email_password_reset_verify_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_email_password_reset_verify_post_request import ApiV1PasswordEmailPasswordResetVerifyPostRequest # noqa: E501 - -class TestApiV1PasswordEmailPasswordResetVerifyPostRequest(unittest.TestCase): - """ApiV1PasswordEmailPasswordResetVerifyPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordEmailPasswordResetVerifyPostRequest: - """Test ApiV1PasswordEmailPasswordResetVerifyPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordEmailPasswordResetVerifyPostRequest` - """ - model = ApiV1PasswordEmailPasswordResetVerifyPostRequest() # noqa: E501 - if include_optional: - return ApiV1PasswordEmailPasswordResetVerifyPostRequest( - email = '', - code = '' - ) - else: - return ApiV1PasswordEmailPasswordResetVerifyPostRequest( - email = '', - code = '', - ) - """ - - def testApiV1PasswordEmailPasswordResetVerifyPostRequest(self): - """Test ApiV1PasswordEmailPasswordResetVerifyPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_password_reset_post_request.py b/test/test_api_v1_password_password_reset_post_request.py deleted file mode 100644 index 9e7db3d..0000000 --- a/test/test_api_v1_password_password_reset_post_request.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_password_reset_post_request import ApiV1PasswordPasswordResetPostRequest # noqa: E501 - -class TestApiV1PasswordPasswordResetPostRequest(unittest.TestCase): - """ApiV1PasswordPasswordResetPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordPasswordResetPostRequest: - """Test ApiV1PasswordPasswordResetPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordPasswordResetPostRequest` - """ - model = ApiV1PasswordPasswordResetPostRequest() # noqa: E501 - if include_optional: - return ApiV1PasswordPasswordResetPostRequest( - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - encrypted_private_key = '', - encrypted_private_key_iv = '', - encrypted_private_key_tag = '', - salt = '', - verifier = '' - ) - else: - return ApiV1PasswordPasswordResetPostRequest( - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - encrypted_private_key = '', - encrypted_private_key_iv = '', - encrypted_private_key_tag = '', - salt = '', - verifier = '', - ) - """ - - def testApiV1PasswordPasswordResetPostRequest(self): - """Test ApiV1PasswordPasswordResetPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_srp1_post200_response.py b/test/test_api_v1_password_srp1_post200_response.py deleted file mode 100644 index 137ac1c..0000000 --- a/test/test_api_v1_password_srp1_post200_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_srp1_post200_response import ApiV1PasswordSrp1Post200Response # noqa: E501 - -class TestApiV1PasswordSrp1Post200Response(unittest.TestCase): - """ApiV1PasswordSrp1Post200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordSrp1Post200Response: - """Test ApiV1PasswordSrp1Post200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordSrp1Post200Response` - """ - model = ApiV1PasswordSrp1Post200Response() # noqa: E501 - if include_optional: - return ApiV1PasswordSrp1Post200Response( - server_public_key = '', - salt = '' - ) - else: - return ApiV1PasswordSrp1Post200Response( - server_public_key = '', - salt = '', - ) - """ - - def testApiV1PasswordSrp1Post200Response(self): - """Test ApiV1PasswordSrp1Post200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_password_srp1_post_request.py b/test/test_api_v1_password_srp1_post_request.py deleted file mode 100644 index 4da6e78..0000000 --- a/test/test_api_v1_password_srp1_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_password_srp1_post_request import ApiV1PasswordSrp1PostRequest # noqa: E501 - -class TestApiV1PasswordSrp1PostRequest(unittest.TestCase): - """ApiV1PasswordSrp1PostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PasswordSrp1PostRequest: - """Test ApiV1PasswordSrp1PostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PasswordSrp1PostRequest` - """ - model = ApiV1PasswordSrp1PostRequest() # noqa: E501 - if include_optional: - return ApiV1PasswordSrp1PostRequest( - client_public_key = '' - ) - else: - return ApiV1PasswordSrp1PostRequest( - client_public_key = '', - ) - """ - - def testApiV1PasswordSrp1PostRequest(self): - """Test ApiV1PasswordSrp1PostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_certificate_get200_response.py b/test/test_api_v1_pki_ca_ca_id_certificate_get200_response.py deleted file mode 100644 index 37e1469..0000000 --- a/test/test_api_v1_pki_ca_ca_id_certificate_get200_response.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_certificate_get200_response import ApiV1PkiCaCaIdCertificateGet200Response # noqa: E501 - -class TestApiV1PkiCaCaIdCertificateGet200Response(unittest.TestCase): - """ApiV1PkiCaCaIdCertificateGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdCertificateGet200Response: - """Test ApiV1PkiCaCaIdCertificateGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdCertificateGet200Response` - """ - model = ApiV1PkiCaCaIdCertificateGet200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdCertificateGet200Response( - certificate = '', - certificate_chain = '', - serial_number = '' - ) - else: - return ApiV1PkiCaCaIdCertificateGet200Response( - certificate = '', - certificate_chain = '', - serial_number = '', - ) - """ - - def testApiV1PkiCaCaIdCertificateGet200Response(self): - """Test ApiV1PkiCaCaIdCertificateGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_crl_get200_response.py b/test/test_api_v1_pki_ca_ca_id_crl_get200_response.py deleted file mode 100644 index f1b6a87..0000000 --- a/test/test_api_v1_pki_ca_ca_id_crl_get200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_crl_get200_response import ApiV1PkiCaCaIdCrlGet200Response # noqa: E501 - -class TestApiV1PkiCaCaIdCrlGet200Response(unittest.TestCase): - """ApiV1PkiCaCaIdCrlGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdCrlGet200Response: - """Test ApiV1PkiCaCaIdCrlGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdCrlGet200Response` - """ - model = ApiV1PkiCaCaIdCrlGet200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdCrlGet200Response( - crl = '' - ) - else: - return ApiV1PkiCaCaIdCrlGet200Response( - crl = '', - ) - """ - - def testApiV1PkiCaCaIdCrlGet200Response(self): - """Test ApiV1PkiCaCaIdCrlGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_csr_get200_response.py b/test/test_api_v1_pki_ca_ca_id_csr_get200_response.py deleted file mode 100644 index df2cf9f..0000000 --- a/test/test_api_v1_pki_ca_ca_id_csr_get200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_csr_get200_response import ApiV1PkiCaCaIdCsrGet200Response # noqa: E501 - -class TestApiV1PkiCaCaIdCsrGet200Response(unittest.TestCase): - """ApiV1PkiCaCaIdCsrGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdCsrGet200Response: - """Test ApiV1PkiCaCaIdCsrGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdCsrGet200Response` - """ - model = ApiV1PkiCaCaIdCsrGet200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdCsrGet200Response( - csr = '' - ) - else: - return ApiV1PkiCaCaIdCsrGet200Response( - csr = '', - ) - """ - - def testApiV1PkiCaCaIdCsrGet200Response(self): - """Test ApiV1PkiCaCaIdCsrGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_import_certificate_post200_response.py b/test/test_api_v1_pki_ca_ca_id_import_certificate_post200_response.py deleted file mode 100644 index 3ae1420..0000000 --- a/test/test_api_v1_pki_ca_ca_id_import_certificate_post200_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post200_response import ApiV1PkiCaCaIdImportCertificatePost200Response # noqa: E501 - -class TestApiV1PkiCaCaIdImportCertificatePost200Response(unittest.TestCase): - """ApiV1PkiCaCaIdImportCertificatePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdImportCertificatePost200Response: - """Test ApiV1PkiCaCaIdImportCertificatePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdImportCertificatePost200Response` - """ - model = ApiV1PkiCaCaIdImportCertificatePost200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdImportCertificatePost200Response( - message = '', - ca_id = '' - ) - else: - return ApiV1PkiCaCaIdImportCertificatePost200Response( - message = '', - ca_id = '', - ) - """ - - def testApiV1PkiCaCaIdImportCertificatePost200Response(self): - """Test ApiV1PkiCaCaIdImportCertificatePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_import_certificate_post_request.py b/test/test_api_v1_pki_ca_ca_id_import_certificate_post_request.py deleted file mode 100644 index e6ae51e..0000000 --- a/test/test_api_v1_pki_ca_ca_id_import_certificate_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_import_certificate_post_request import ApiV1PkiCaCaIdImportCertificatePostRequest # noqa: E501 - -class TestApiV1PkiCaCaIdImportCertificatePostRequest(unittest.TestCase): - """ApiV1PkiCaCaIdImportCertificatePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdImportCertificatePostRequest: - """Test ApiV1PkiCaCaIdImportCertificatePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdImportCertificatePostRequest` - """ - model = ApiV1PkiCaCaIdImportCertificatePostRequest() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdImportCertificatePostRequest( - certificate = '', - certificate_chain = '' - ) - else: - return ApiV1PkiCaCaIdImportCertificatePostRequest( - certificate = '', - certificate_chain = '', - ) - """ - - def testApiV1PkiCaCaIdImportCertificatePostRequest(self): - """Test ApiV1PkiCaCaIdImportCertificatePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_issue_certificate_post200_response.py b/test/test_api_v1_pki_ca_ca_id_issue_certificate_post200_response.py deleted file mode 100644 index b974138..0000000 --- a/test/test_api_v1_pki_ca_ca_id_issue_certificate_post200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post200_response import ApiV1PkiCaCaIdIssueCertificatePost200Response # noqa: E501 - -class TestApiV1PkiCaCaIdIssueCertificatePost200Response(unittest.TestCase): - """ApiV1PkiCaCaIdIssueCertificatePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdIssueCertificatePost200Response: - """Test ApiV1PkiCaCaIdIssueCertificatePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdIssueCertificatePost200Response` - """ - model = ApiV1PkiCaCaIdIssueCertificatePost200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdIssueCertificatePost200Response( - certificate = '', - issuing_ca_certificate = '', - certificate_chain = '', - private_key = '', - serial_number = '' - ) - else: - return ApiV1PkiCaCaIdIssueCertificatePost200Response( - certificate = '', - issuing_ca_certificate = '', - certificate_chain = '', - private_key = '', - serial_number = '', - ) - """ - - def testApiV1PkiCaCaIdIssueCertificatePost200Response(self): - """Test ApiV1PkiCaCaIdIssueCertificatePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_issue_certificate_post_request.py b/test/test_api_v1_pki_ca_ca_id_issue_certificate_post_request.py deleted file mode 100644 index 7b053ab..0000000 --- a/test/test_api_v1_pki_ca_ca_id_issue_certificate_post_request.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_issue_certificate_post_request import ApiV1PkiCaCaIdIssueCertificatePostRequest # noqa: E501 - -class TestApiV1PkiCaCaIdIssueCertificatePostRequest(unittest.TestCase): - """ApiV1PkiCaCaIdIssueCertificatePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdIssueCertificatePostRequest: - """Test ApiV1PkiCaCaIdIssueCertificatePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdIssueCertificatePostRequest` - """ - model = ApiV1PkiCaCaIdIssueCertificatePostRequest() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdIssueCertificatePostRequest( - friendly_name = '', - common_name = '0', - alt_names = '', - ttl = '', - not_before = '', - not_after = '' - ) - else: - return ApiV1PkiCaCaIdIssueCertificatePostRequest( - common_name = '0', - ttl = '', - ) - """ - - def testApiV1PkiCaCaIdIssueCertificatePostRequest(self): - """Test ApiV1PkiCaCaIdIssueCertificatePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_patch_request.py b/test/test_api_v1_pki_ca_ca_id_patch_request.py deleted file mode 100644 index 9915e0e..0000000 --- a/test/test_api_v1_pki_ca_ca_id_patch_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_patch_request import ApiV1PkiCaCaIdPatchRequest # noqa: E501 - -class TestApiV1PkiCaCaIdPatchRequest(unittest.TestCase): - """ApiV1PkiCaCaIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdPatchRequest: - """Test ApiV1PkiCaCaIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdPatchRequest` - """ - model = ApiV1PkiCaCaIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdPatchRequest( - status = 'active' - ) - else: - return ApiV1PkiCaCaIdPatchRequest( - ) - """ - - def testApiV1PkiCaCaIdPatchRequest(self): - """Test ApiV1PkiCaCaIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_sign_certificate_post200_response.py b/test/test_api_v1_pki_ca_ca_id_sign_certificate_post200_response.py deleted file mode 100644 index 3029bd7..0000000 --- a/test/test_api_v1_pki_ca_ca_id_sign_certificate_post200_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post200_response import ApiV1PkiCaCaIdSignCertificatePost200Response # noqa: E501 - -class TestApiV1PkiCaCaIdSignCertificatePost200Response(unittest.TestCase): - """ApiV1PkiCaCaIdSignCertificatePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdSignCertificatePost200Response: - """Test ApiV1PkiCaCaIdSignCertificatePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdSignCertificatePost200Response` - """ - model = ApiV1PkiCaCaIdSignCertificatePost200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdSignCertificatePost200Response( - certificate = '', - issuing_ca_certificate = '', - certificate_chain = '', - serial_number = '' - ) - else: - return ApiV1PkiCaCaIdSignCertificatePost200Response( - certificate = '', - issuing_ca_certificate = '', - certificate_chain = '', - serial_number = '', - ) - """ - - def testApiV1PkiCaCaIdSignCertificatePost200Response(self): - """Test ApiV1PkiCaCaIdSignCertificatePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_sign_certificate_post_request.py b/test/test_api_v1_pki_ca_ca_id_sign_certificate_post_request.py deleted file mode 100644 index 9e73275..0000000 --- a/test/test_api_v1_pki_ca_ca_id_sign_certificate_post_request.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_certificate_post_request import ApiV1PkiCaCaIdSignCertificatePostRequest # noqa: E501 - -class TestApiV1PkiCaCaIdSignCertificatePostRequest(unittest.TestCase): - """ApiV1PkiCaCaIdSignCertificatePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdSignCertificatePostRequest: - """Test ApiV1PkiCaCaIdSignCertificatePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdSignCertificatePostRequest` - """ - model = ApiV1PkiCaCaIdSignCertificatePostRequest() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdSignCertificatePostRequest( - csr = '0', - friendly_name = '', - common_name = '0', - alt_names = '', - ttl = '', - not_before = '', - not_after = '' - ) - else: - return ApiV1PkiCaCaIdSignCertificatePostRequest( - csr = '0', - ttl = '', - ) - """ - - def testApiV1PkiCaCaIdSignCertificatePostRequest(self): - """Test ApiV1PkiCaCaIdSignCertificatePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_sign_intermediate_post200_response.py b/test/test_api_v1_pki_ca_ca_id_sign_intermediate_post200_response.py deleted file mode 100644 index aa2a76c..0000000 --- a/test/test_api_v1_pki_ca_ca_id_sign_intermediate_post200_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post200_response import ApiV1PkiCaCaIdSignIntermediatePost200Response # noqa: E501 - -class TestApiV1PkiCaCaIdSignIntermediatePost200Response(unittest.TestCase): - """ApiV1PkiCaCaIdSignIntermediatePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdSignIntermediatePost200Response: - """Test ApiV1PkiCaCaIdSignIntermediatePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdSignIntermediatePost200Response` - """ - model = ApiV1PkiCaCaIdSignIntermediatePost200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdSignIntermediatePost200Response( - certificate = '', - certificate_chain = '', - issuing_ca_certificate = '', - serial_number = '' - ) - else: - return ApiV1PkiCaCaIdSignIntermediatePost200Response( - certificate = '', - certificate_chain = '', - issuing_ca_certificate = '', - serial_number = '', - ) - """ - - def testApiV1PkiCaCaIdSignIntermediatePost200Response(self): - """Test ApiV1PkiCaCaIdSignIntermediatePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_ca_id_sign_intermediate_post_request.py b/test/test_api_v1_pki_ca_ca_id_sign_intermediate_post_request.py deleted file mode 100644 index dc7bf61..0000000 --- a/test/test_api_v1_pki_ca_ca_id_sign_intermediate_post_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_ca_id_sign_intermediate_post_request import ApiV1PkiCaCaIdSignIntermediatePostRequest # noqa: E501 - -class TestApiV1PkiCaCaIdSignIntermediatePostRequest(unittest.TestCase): - """ApiV1PkiCaCaIdSignIntermediatePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaCaIdSignIntermediatePostRequest: - """Test ApiV1PkiCaCaIdSignIntermediatePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaCaIdSignIntermediatePostRequest` - """ - model = ApiV1PkiCaCaIdSignIntermediatePostRequest() # noqa: E501 - if include_optional: - return ApiV1PkiCaCaIdSignIntermediatePostRequest( - csr = '0', - not_before = '', - not_after = '', - max_path_length = -1 - ) - else: - return ApiV1PkiCaCaIdSignIntermediatePostRequest( - csr = '0', - not_after = '', - ) - """ - - def testApiV1PkiCaCaIdSignIntermediatePostRequest(self): - """Test ApiV1PkiCaCaIdSignIntermediatePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_post200_response.py b/test/test_api_v1_pki_ca_post200_response.py deleted file mode 100644 index 4f50c0a..0000000 --- a/test/test_api_v1_pki_ca_post200_response.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_post200_response import ApiV1PkiCaPost200Response # noqa: E501 - -class TestApiV1PkiCaPost200Response(unittest.TestCase): - """ApiV1PkiCaPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaPost200Response: - """Test ApiV1PkiCaPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaPost200Response` - """ - model = ApiV1PkiCaPost200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCaPost200Response( - ca = infisicalapi_client.models._api_v1_pki_ca_post_200_response_ca._api_v1_pki_ca_post_200_response_ca( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - parent_ca_id = '', - project_id = '', - type = '', - status = '', - friendly_name = '', - organization = '', - ou = '', - country = '', - province = '', - locality = '', - common_name = '', - dn = '', - serial_number = '', - max_path_length = 1.337, - key_algorithm = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1PkiCaPost200Response( - ca = infisicalapi_client.models._api_v1_pki_ca_post_200_response_ca._api_v1_pki_ca_post_200_response_ca( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - parent_ca_id = '', - project_id = '', - type = '', - status = '', - friendly_name = '', - organization = '', - ou = '', - country = '', - province = '', - locality = '', - common_name = '', - dn = '', - serial_number = '', - max_path_length = 1.337, - key_algorithm = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1PkiCaPost200Response(self): - """Test ApiV1PkiCaPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_post200_response_ca.py b/test/test_api_v1_pki_ca_post200_response_ca.py deleted file mode 100644 index 5e2ec7a..0000000 --- a/test/test_api_v1_pki_ca_post200_response_ca.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_post200_response_ca import ApiV1PkiCaPost200ResponseCa # noqa: E501 - -class TestApiV1PkiCaPost200ResponseCa(unittest.TestCase): - """ApiV1PkiCaPost200ResponseCa unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaPost200ResponseCa: - """Test ApiV1PkiCaPost200ResponseCa - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaPost200ResponseCa` - """ - model = ApiV1PkiCaPost200ResponseCa() # noqa: E501 - if include_optional: - return ApiV1PkiCaPost200ResponseCa( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - parent_ca_id = '', - project_id = '', - type = '', - status = '', - friendly_name = '', - organization = '', - ou = '', - country = '', - province = '', - locality = '', - common_name = '', - dn = '', - serial_number = '', - max_path_length = 1.337, - key_algorithm = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1PkiCaPost200ResponseCa( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '', - type = '', - status = '', - friendly_name = '', - organization = '', - ou = '', - country = '', - province = '', - locality = '', - common_name = '', - dn = '', - key_algorithm = '', - ) - """ - - def testApiV1PkiCaPost200ResponseCa(self): - """Test ApiV1PkiCaPost200ResponseCa""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_ca_post_request.py b/test/test_api_v1_pki_ca_post_request.py deleted file mode 100644 index 7f66627..0000000 --- a/test/test_api_v1_pki_ca_post_request.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_ca_post_request import ApiV1PkiCaPostRequest # noqa: E501 - -class TestApiV1PkiCaPostRequest(unittest.TestCase): - """ApiV1PkiCaPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCaPostRequest: - """Test ApiV1PkiCaPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCaPostRequest` - """ - model = ApiV1PkiCaPostRequest() # noqa: E501 - if include_optional: - return ApiV1PkiCaPostRequest( - project_slug = '', - type = 'root', - friendly_name = '', - common_name = '', - organization = '', - ou = '', - country = '', - province = '', - locality = '', - not_before = '', - not_after = '', - max_path_length = -1, - key_algorithm = 'RSA_2048' - ) - else: - return ApiV1PkiCaPostRequest( - project_slug = '', - type = 'root', - common_name = '', - organization = '', - ou = '', - country = '', - province = '', - locality = '', - ) - """ - - def testApiV1PkiCaPostRequest(self): - """Test ApiV1PkiCaPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_certificates_serial_number_certificate_get200_response.py b/test/test_api_v1_pki_certificates_serial_number_certificate_get200_response.py deleted file mode 100644 index b5b4962..0000000 --- a/test/test_api_v1_pki_certificates_serial_number_certificate_get200_response.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_certificate_get200_response import ApiV1PkiCertificatesSerialNumberCertificateGet200Response # noqa: E501 - -class TestApiV1PkiCertificatesSerialNumberCertificateGet200Response(unittest.TestCase): - """ApiV1PkiCertificatesSerialNumberCertificateGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCertificatesSerialNumberCertificateGet200Response: - """Test ApiV1PkiCertificatesSerialNumberCertificateGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCertificatesSerialNumberCertificateGet200Response` - """ - model = ApiV1PkiCertificatesSerialNumberCertificateGet200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCertificatesSerialNumberCertificateGet200Response( - certificate = '', - certificate_chain = '', - serial_number = '' - ) - else: - return ApiV1PkiCertificatesSerialNumberCertificateGet200Response( - certificate = '', - certificate_chain = '', - serial_number = '', - ) - """ - - def testApiV1PkiCertificatesSerialNumberCertificateGet200Response(self): - """Test ApiV1PkiCertificatesSerialNumberCertificateGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_certificates_serial_number_get200_response.py b/test/test_api_v1_pki_certificates_serial_number_get200_response.py deleted file mode 100644 index dde3e31..0000000 --- a/test/test_api_v1_pki_certificates_serial_number_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response import ApiV1PkiCertificatesSerialNumberGet200Response # noqa: E501 - -class TestApiV1PkiCertificatesSerialNumberGet200Response(unittest.TestCase): - """ApiV1PkiCertificatesSerialNumberGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCertificatesSerialNumberGet200Response: - """Test ApiV1PkiCertificatesSerialNumberGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCertificatesSerialNumberGet200Response` - """ - model = ApiV1PkiCertificatesSerialNumberGet200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCertificatesSerialNumberGet200Response( - certificate = infisicalapi_client.models._api_v1_pki_certificates__serial_number__get_200_response_certificate._api_v1_pki_certificates__serialNumber__get_200_response_certificate( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ca_id = '', - status = '', - serial_number = '', - friendly_name = '', - common_name = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - revoked_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - revocation_reason = 1.337, - alt_names = '', ) - ) - else: - return ApiV1PkiCertificatesSerialNumberGet200Response( - certificate = infisicalapi_client.models._api_v1_pki_certificates__serial_number__get_200_response_certificate._api_v1_pki_certificates__serialNumber__get_200_response_certificate( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ca_id = '', - status = '', - serial_number = '', - friendly_name = '', - common_name = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - revoked_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - revocation_reason = 1.337, - alt_names = '', ), - ) - """ - - def testApiV1PkiCertificatesSerialNumberGet200Response(self): - """Test ApiV1PkiCertificatesSerialNumberGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_certificates_serial_number_get200_response_certificate.py b/test/test_api_v1_pki_certificates_serial_number_get200_response_certificate.py deleted file mode 100644 index f677dc2..0000000 --- a/test/test_api_v1_pki_certificates_serial_number_get200_response_certificate.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_get200_response_certificate import ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate # noqa: E501 - -class TestApiV1PkiCertificatesSerialNumberGet200ResponseCertificate(unittest.TestCase): - """ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate: - """Test ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate` - """ - model = ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate() # noqa: E501 - if include_optional: - return ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ca_id = '', - status = '', - serial_number = '', - friendly_name = '', - common_name = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - revoked_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - revocation_reason = 1.337, - alt_names = '' - ) - else: - return ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ca_id = '', - status = '', - serial_number = '', - friendly_name = '', - common_name = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1PkiCertificatesSerialNumberGet200ResponseCertificate(self): - """Test ApiV1PkiCertificatesSerialNumberGet200ResponseCertificate""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_certificates_serial_number_revoke_post200_response.py b/test/test_api_v1_pki_certificates_serial_number_revoke_post200_response.py deleted file mode 100644 index d2833ca..0000000 --- a/test/test_api_v1_pki_certificates_serial_number_revoke_post200_response.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post200_response import ApiV1PkiCertificatesSerialNumberRevokePost200Response # noqa: E501 - -class TestApiV1PkiCertificatesSerialNumberRevokePost200Response(unittest.TestCase): - """ApiV1PkiCertificatesSerialNumberRevokePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCertificatesSerialNumberRevokePost200Response: - """Test ApiV1PkiCertificatesSerialNumberRevokePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCertificatesSerialNumberRevokePost200Response` - """ - model = ApiV1PkiCertificatesSerialNumberRevokePost200Response() # noqa: E501 - if include_optional: - return ApiV1PkiCertificatesSerialNumberRevokePost200Response( - message = '', - serial_number = '', - revoked_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1PkiCertificatesSerialNumberRevokePost200Response( - message = '', - serial_number = '', - revoked_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1PkiCertificatesSerialNumberRevokePost200Response(self): - """Test ApiV1PkiCertificatesSerialNumberRevokePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_pki_certificates_serial_number_revoke_post_request.py b/test/test_api_v1_pki_certificates_serial_number_revoke_post_request.py deleted file mode 100644 index af14fe7..0000000 --- a/test/test_api_v1_pki_certificates_serial_number_revoke_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_pki_certificates_serial_number_revoke_post_request import ApiV1PkiCertificatesSerialNumberRevokePostRequest # noqa: E501 - -class TestApiV1PkiCertificatesSerialNumberRevokePostRequest(unittest.TestCase): - """ApiV1PkiCertificatesSerialNumberRevokePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1PkiCertificatesSerialNumberRevokePostRequest: - """Test ApiV1PkiCertificatesSerialNumberRevokePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1PkiCertificatesSerialNumberRevokePostRequest` - """ - model = ApiV1PkiCertificatesSerialNumberRevokePostRequest() # noqa: E501 - if include_optional: - return ApiV1PkiCertificatesSerialNumberRevokePostRequest( - revocation_reason = 'UNSPECIFIED' - ) - else: - return ApiV1PkiCertificatesSerialNumberRevokePostRequest( - revocation_reason = 'UNSPECIFIED', - ) - """ - - def testApiV1PkiCertificatesSerialNumberRevokePostRequest(self): - """Test ApiV1PkiCertificatesSerialNumberRevokePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_rate_limit_get200_response.py b/test/test_api_v1_rate_limit_get200_response.py deleted file mode 100644 index 5de6164..0000000 --- a/test/test_api_v1_rate_limit_get200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_rate_limit_get200_response import ApiV1RateLimitGet200Response # noqa: E501 - -class TestApiV1RateLimitGet200Response(unittest.TestCase): - """ApiV1RateLimitGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1RateLimitGet200Response: - """Test ApiV1RateLimitGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1RateLimitGet200Response` - """ - model = ApiV1RateLimitGet200Response() # noqa: E501 - if include_optional: - return ApiV1RateLimitGet200Response( - rate_limit = infisicalapi_client.models._api_v1_rate_limit_get_200_response_rate_limit._api_v1_rate_limit_get_200_response_rateLimit( - id = '', - read_rate_limit = 1.337, - write_rate_limit = 1.337, - secrets_rate_limit = 1.337, - auth_rate_limit = 1.337, - invite_user_rate_limit = 1.337, - mfa_rate_limit = 1.337, - public_endpoint_limit = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1RateLimitGet200Response( - rate_limit = infisicalapi_client.models._api_v1_rate_limit_get_200_response_rate_limit._api_v1_rate_limit_get_200_response_rateLimit( - id = '', - read_rate_limit = 1.337, - write_rate_limit = 1.337, - secrets_rate_limit = 1.337, - auth_rate_limit = 1.337, - invite_user_rate_limit = 1.337, - mfa_rate_limit = 1.337, - public_endpoint_limit = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1RateLimitGet200Response(self): - """Test ApiV1RateLimitGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_rate_limit_get200_response_rate_limit.py b/test/test_api_v1_rate_limit_get200_response_rate_limit.py deleted file mode 100644 index 4e8ee01..0000000 --- a/test/test_api_v1_rate_limit_get200_response_rate_limit.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_rate_limit_get200_response_rate_limit import ApiV1RateLimitGet200ResponseRateLimit # noqa: E501 - -class TestApiV1RateLimitGet200ResponseRateLimit(unittest.TestCase): - """ApiV1RateLimitGet200ResponseRateLimit unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1RateLimitGet200ResponseRateLimit: - """Test ApiV1RateLimitGet200ResponseRateLimit - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1RateLimitGet200ResponseRateLimit` - """ - model = ApiV1RateLimitGet200ResponseRateLimit() # noqa: E501 - if include_optional: - return ApiV1RateLimitGet200ResponseRateLimit( - id = '', - read_rate_limit = 1.337, - write_rate_limit = 1.337, - secrets_rate_limit = 1.337, - auth_rate_limit = 1.337, - invite_user_rate_limit = 1.337, - mfa_rate_limit = 1.337, - public_endpoint_limit = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1RateLimitGet200ResponseRateLimit( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1RateLimitGet200ResponseRateLimit(self): - """Test ApiV1RateLimitGet200ResponseRateLimit""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_rate_limit_put_request.py b/test/test_api_v1_rate_limit_put_request.py deleted file mode 100644 index 5a49958..0000000 --- a/test/test_api_v1_rate_limit_put_request.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_rate_limit_put_request import ApiV1RateLimitPutRequest # noqa: E501 - -class TestApiV1RateLimitPutRequest(unittest.TestCase): - """ApiV1RateLimitPutRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1RateLimitPutRequest: - """Test ApiV1RateLimitPutRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1RateLimitPutRequest` - """ - model = ApiV1RateLimitPutRequest() # noqa: E501 - if include_optional: - return ApiV1RateLimitPutRequest( - read_rate_limit = 1.337, - write_rate_limit = 1.337, - secrets_rate_limit = 1.337, - auth_rate_limit = 1.337, - invite_user_rate_limit = 1.337, - mfa_rate_limit = 1.337, - public_endpoint_limit = 1.337 - ) - else: - return ApiV1RateLimitPutRequest( - read_rate_limit = 1.337, - write_rate_limit = 1.337, - secrets_rate_limit = 1.337, - auth_rate_limit = 1.337, - invite_user_rate_limit = 1.337, - mfa_rate_limit = 1.337, - public_endpoint_limit = 1.337, - ) - """ - - def testApiV1RateLimitPutRequest(self): - """Test ApiV1RateLimitPutRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_get200_response.py b/test/test_api_v1_scim_groups_get200_response.py deleted file mode 100644 index 9ae256e..0000000 --- a/test/test_api_v1_scim_groups_get200_response.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_get200_response import ApiV1ScimGroupsGet200Response # noqa: E501 - -class TestApiV1ScimGroupsGet200Response(unittest.TestCase): - """ApiV1ScimGroupsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGet200Response: - """Test ApiV1ScimGroupsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGet200Response` - """ - model = ApiV1ScimGroupsGet200Response() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGet200Response( - resources = [ - infisicalapi_client.models._api_v1_scim_groups_get_200_response_resources_inner._api_v1_scim_Groups_get_200_response_Resources_inner( - schemas = [ - '' - ], - id = '', - display_name = '', - members = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ], - meta = infisicalapi_client.models._api_v1_scim_groups_get_200_response_resources_inner_meta._api_v1_scim_Groups_get_200_response_Resources_inner_meta( - resource_type = '', ), ) - ], - items_per_page = 1.337, - schemas = [ - '' - ], - start_index = 1.337, - total_results = 1.337 - ) - else: - return ApiV1ScimGroupsGet200Response( - resources = [ - infisicalapi_client.models._api_v1_scim_groups_get_200_response_resources_inner._api_v1_scim_Groups_get_200_response_Resources_inner( - schemas = [ - '' - ], - id = '', - display_name = '', - members = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ], - meta = infisicalapi_client.models._api_v1_scim_groups_get_200_response_resources_inner_meta._api_v1_scim_Groups_get_200_response_Resources_inner_meta( - resource_type = '', ), ) - ], - items_per_page = 1.337, - schemas = [ - '' - ], - start_index = 1.337, - total_results = 1.337, - ) - """ - - def testApiV1ScimGroupsGet200Response(self): - """Test ApiV1ScimGroupsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_get200_response_resources_inner.py b/test/test_api_v1_scim_groups_get200_response_resources_inner.py deleted file mode 100644 index a603bd6..0000000 --- a/test/test_api_v1_scim_groups_get200_response_resources_inner.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner import ApiV1ScimGroupsGet200ResponseResourcesInner # noqa: E501 - -class TestApiV1ScimGroupsGet200ResponseResourcesInner(unittest.TestCase): - """ApiV1ScimGroupsGet200ResponseResourcesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGet200ResponseResourcesInner: - """Test ApiV1ScimGroupsGet200ResponseResourcesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGet200ResponseResourcesInner` - """ - model = ApiV1ScimGroupsGet200ResponseResourcesInner() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGet200ResponseResourcesInner( - schemas = [ - '' - ], - id = '', - display_name = '', - members = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ], - meta = infisicalapi_client.models._api_v1_scim_groups_get_200_response_resources_inner_meta._api_v1_scim_Groups_get_200_response_Resources_inner_meta( - resource_type = '', ) - ) - else: - return ApiV1ScimGroupsGet200ResponseResourcesInner( - schemas = [ - '' - ], - id = '', - display_name = '', - members = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ], - meta = infisicalapi_client.models._api_v1_scim_groups_get_200_response_resources_inner_meta._api_v1_scim_Groups_get_200_response_Resources_inner_meta( - resource_type = '', ), - ) - """ - - def testApiV1ScimGroupsGet200ResponseResourcesInner(self): - """Test ApiV1ScimGroupsGet200ResponseResourcesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_get200_response_resources_inner_meta.py b/test/test_api_v1_scim_groups_get200_response_resources_inner_meta.py deleted file mode 100644 index 1518a8e..0000000 --- a/test/test_api_v1_scim_groups_get200_response_resources_inner_meta.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_get200_response_resources_inner_meta import ApiV1ScimGroupsGet200ResponseResourcesInnerMeta # noqa: E501 - -class TestApiV1ScimGroupsGet200ResponseResourcesInnerMeta(unittest.TestCase): - """ApiV1ScimGroupsGet200ResponseResourcesInnerMeta unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGet200ResponseResourcesInnerMeta: - """Test ApiV1ScimGroupsGet200ResponseResourcesInnerMeta - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGet200ResponseResourcesInnerMeta` - """ - model = ApiV1ScimGroupsGet200ResponseResourcesInnerMeta() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGet200ResponseResourcesInnerMeta( - resource_type = '' - ) - else: - return ApiV1ScimGroupsGet200ResponseResourcesInnerMeta( - resource_type = '', - ) - """ - - def testApiV1ScimGroupsGet200ResponseResourcesInnerMeta(self): - """Test ApiV1ScimGroupsGet200ResponseResourcesInnerMeta""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_group_id_patch_request.py b/test/test_api_v1_scim_groups_group_id_patch_request.py deleted file mode 100644 index b441541..0000000 --- a/test/test_api_v1_scim_groups_group_id_patch_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request import ApiV1ScimGroupsGroupIdPatchRequest # noqa: E501 - -class TestApiV1ScimGroupsGroupIdPatchRequest(unittest.TestCase): - """ApiV1ScimGroupsGroupIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGroupIdPatchRequest: - """Test ApiV1ScimGroupsGroupIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGroupIdPatchRequest` - """ - model = ApiV1ScimGroupsGroupIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGroupIdPatchRequest( - schemas = [ - '' - ], - operations = [ - null - ] - ) - else: - return ApiV1ScimGroupsGroupIdPatchRequest( - schemas = [ - '' - ], - operations = [ - null - ], - ) - """ - - def testApiV1ScimGroupsGroupIdPatchRequest(self): - """Test ApiV1ScimGroupsGroupIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner.py b/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner.py deleted file mode 100644 index 326e305..0000000 --- a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner import ApiV1ScimGroupsGroupIdPatchRequestOperationsInner # noqa: E501 - -class TestApiV1ScimGroupsGroupIdPatchRequestOperationsInner(unittest.TestCase): - """ApiV1ScimGroupsGroupIdPatchRequestOperationsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInner: - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGroupIdPatchRequestOperationsInner` - """ - model = ApiV1ScimGroupsGroupIdPatchRequestOperationsInner() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInner( - op = 'add', - value = [ - infisicalapi_client.models._api_v1_scim_groups__group_id__patch_request_operations_inner_any_of_2_value_inner._api_v1_scim_Groups__groupId__patch_request_Operations_inner_anyOf_2_value_inner( - value = '', - display = '', ) - ], - path = '' - ) - else: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInner( - op = 'add', - value = [ - infisicalapi_client.models._api_v1_scim_groups__group_id__patch_request_operations_inner_any_of_2_value_inner._api_v1_scim_Groups__groupId__patch_request_Operations_inner_anyOf_2_value_inner( - value = '', - display = '', ) - ], - path = '', - ) - """ - - def testApiV1ScimGroupsGroupIdPatchRequestOperationsInner(self): - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of.py b/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of.py deleted file mode 100644 index d04a55f..0000000 --- a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf # noqa: E501 - -class TestApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf(unittest.TestCase): - """ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf: - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf` - """ - model = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf( - op = 'replace', - value = infisicalapi_client.models._api_v1_scim_groups__group_id__patch_request_operations_inner_any_of_value._api_v1_scim_Groups__groupId__patch_request_Operations_inner_anyOf_value( - id = '', - display_name = '', ) - ) - else: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf( - op = 'replace', - value = infisicalapi_client.models._api_v1_scim_groups__group_id__patch_request_operations_inner_any_of_value._api_v1_scim_Groups__groupId__patch_request_Operations_inner_anyOf_value( - id = '', - display_name = '', ), - ) - """ - - def testApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf(self): - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1.py b/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1.py deleted file mode 100644 index fc2d304..0000000 --- a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1 import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 # noqa: E501 - -class TestApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1(unittest.TestCase): - """ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1: - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1` - """ - model = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1( - op = 'remove', - path = '' - ) - else: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1( - op = 'remove', - path = '', - ) - """ - - def testApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1(self): - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2.py b/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2.py deleted file mode 100644 index 81a450e..0000000 --- a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2 import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 # noqa: E501 - -class TestApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2(unittest.TestCase): - """ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2: - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2` - """ - model = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2( - op = 'add', - path = '', - value = [ - infisicalapi_client.models._api_v1_scim_groups__group_id__patch_request_operations_inner_any_of_2_value_inner._api_v1_scim_Groups__groupId__patch_request_Operations_inner_anyOf_2_value_inner( - value = '', - display = '', ) - ] - ) - else: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2( - op = 'add', - path = '', - value = [ - infisicalapi_client.models._api_v1_scim_groups__group_id__patch_request_operations_inner_any_of_2_value_inner._api_v1_scim_Groups__groupId__patch_request_Operations_inner_anyOf_2_value_inner( - value = '', - display = '', ) - ], - ) - """ - - def testApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2(self): - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner.py b/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner.py deleted file mode 100644 index c965f7f..0000000 --- a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner # noqa: E501 - -class TestApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner(unittest.TestCase): - """ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner: - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner` - """ - model = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner( - value = '', - display = '' - ) - else: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner( - value = '', - ) - """ - - def testApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner(self): - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOf2ValueInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value.py b/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value.py deleted file mode 100644 index fda112d..0000000 --- a/test/test_api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value import ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue # noqa: E501 - -class TestApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue(unittest.TestCase): - """ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue: - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue` - """ - model = ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue( - id = '', - display_name = '' - ) - else: - return ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue( - id = '', - display_name = '', - ) - """ - - def testApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue(self): - """Test ApiV1ScimGroupsGroupIdPatchRequestOperationsInnerAnyOfValue""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_group_id_put_request.py b/test/test_api_v1_scim_groups_group_id_put_request.py deleted file mode 100644 index 2c94ef8..0000000 --- a/test/test_api_v1_scim_groups_group_id_put_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_group_id_put_request import ApiV1ScimGroupsGroupIdPutRequest # noqa: E501 - -class TestApiV1ScimGroupsGroupIdPutRequest(unittest.TestCase): - """ApiV1ScimGroupsGroupIdPutRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsGroupIdPutRequest: - """Test ApiV1ScimGroupsGroupIdPutRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsGroupIdPutRequest` - """ - model = ApiV1ScimGroupsGroupIdPutRequest() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsGroupIdPutRequest( - schemas = [ - '' - ], - id = '', - display_name = '', - members = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ] - ) - else: - return ApiV1ScimGroupsGroupIdPutRequest( - schemas = [ - '' - ], - id = '', - display_name = '', - members = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ], - ) - """ - - def testApiV1ScimGroupsGroupIdPutRequest(self): - """Test ApiV1ScimGroupsGroupIdPutRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_post200_response.py b/test/test_api_v1_scim_groups_post200_response.py deleted file mode 100644 index 4235f41..0000000 --- a/test/test_api_v1_scim_groups_post200_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_post200_response import ApiV1ScimGroupsPost200Response # noqa: E501 - -class TestApiV1ScimGroupsPost200Response(unittest.TestCase): - """ApiV1ScimGroupsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsPost200Response: - """Test ApiV1ScimGroupsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsPost200Response` - """ - model = ApiV1ScimGroupsPost200Response() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsPost200Response( - schemas = [ - '' - ], - id = '', - display_name = '', - members = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ], - meta = infisicalapi_client.models._api_v1_scim_groups_get_200_response_resources_inner_meta._api_v1_scim_Groups_get_200_response_Resources_inner_meta( - resource_type = '', ) - ) - else: - return ApiV1ScimGroupsPost200Response( - schemas = [ - '' - ], - id = '', - display_name = '', - meta = infisicalapi_client.models._api_v1_scim_groups_get_200_response_resources_inner_meta._api_v1_scim_Groups_get_200_response_Resources_inner_meta( - resource_type = '', ), - ) - """ - - def testApiV1ScimGroupsPost200Response(self): - """Test ApiV1ScimGroupsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_groups_post_request.py b/test/test_api_v1_scim_groups_post_request.py deleted file mode 100644 index 6496f31..0000000 --- a/test/test_api_v1_scim_groups_post_request.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_groups_post_request import ApiV1ScimGroupsPostRequest # noqa: E501 - -class TestApiV1ScimGroupsPostRequest(unittest.TestCase): - """ApiV1ScimGroupsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimGroupsPostRequest: - """Test ApiV1ScimGroupsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimGroupsPostRequest` - """ - model = ApiV1ScimGroupsPostRequest() # noqa: E501 - if include_optional: - return ApiV1ScimGroupsPostRequest( - schemas = [ - '' - ], - display_name = '', - members = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ] - ) - else: - return ApiV1ScimGroupsPostRequest( - schemas = [ - '' - ], - display_name = '', - ) - """ - - def testApiV1ScimGroupsPostRequest(self): - """Test ApiV1ScimGroupsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_scim_tokens_get200_response.py b/test/test_api_v1_scim_scim_tokens_get200_response.py deleted file mode 100644 index 0e20674..0000000 --- a/test/test_api_v1_scim_scim_tokens_get200_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response import ApiV1ScimScimTokensGet200Response # noqa: E501 - -class TestApiV1ScimScimTokensGet200Response(unittest.TestCase): - """ApiV1ScimScimTokensGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimScimTokensGet200Response: - """Test ApiV1ScimScimTokensGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimScimTokensGet200Response` - """ - model = ApiV1ScimScimTokensGet200Response() # noqa: E501 - if include_optional: - return ApiV1ScimScimTokensGet200Response( - scim_tokens = [ - infisicalapi_client.models._api_v1_scim_scim_tokens_get_200_response_scim_tokens_inner._api_v1_scim_scim_tokens_get_200_response_scimTokens_inner( - id = '', - ttl_days = 1.337, - description = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1ScimScimTokensGet200Response( - scim_tokens = [ - infisicalapi_client.models._api_v1_scim_scim_tokens_get_200_response_scim_tokens_inner._api_v1_scim_scim_tokens_get_200_response_scimTokens_inner( - id = '', - ttl_days = 1.337, - description = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1ScimScimTokensGet200Response(self): - """Test ApiV1ScimScimTokensGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_scim_tokens_get200_response_scim_tokens_inner.py b/test/test_api_v1_scim_scim_tokens_get200_response_scim_tokens_inner.py deleted file mode 100644 index 12ad1eb..0000000 --- a/test/test_api_v1_scim_scim_tokens_get200_response_scim_tokens_inner.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_scim_tokens_get200_response_scim_tokens_inner import ApiV1ScimScimTokensGet200ResponseScimTokensInner # noqa: E501 - -class TestApiV1ScimScimTokensGet200ResponseScimTokensInner(unittest.TestCase): - """ApiV1ScimScimTokensGet200ResponseScimTokensInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimScimTokensGet200ResponseScimTokensInner: - """Test ApiV1ScimScimTokensGet200ResponseScimTokensInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimScimTokensGet200ResponseScimTokensInner` - """ - model = ApiV1ScimScimTokensGet200ResponseScimTokensInner() # noqa: E501 - if include_optional: - return ApiV1ScimScimTokensGet200ResponseScimTokensInner( - id = '', - ttl_days = 1.337, - description = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1ScimScimTokensGet200ResponseScimTokensInner( - id = '', - description = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1ScimScimTokensGet200ResponseScimTokensInner(self): - """Test ApiV1ScimScimTokensGet200ResponseScimTokensInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_scim_tokens_post200_response.py b/test/test_api_v1_scim_scim_tokens_post200_response.py deleted file mode 100644 index 2bdd2bc..0000000 --- a/test/test_api_v1_scim_scim_tokens_post200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_scim_tokens_post200_response import ApiV1ScimScimTokensPost200Response # noqa: E501 - -class TestApiV1ScimScimTokensPost200Response(unittest.TestCase): - """ApiV1ScimScimTokensPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimScimTokensPost200Response: - """Test ApiV1ScimScimTokensPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimScimTokensPost200Response` - """ - model = ApiV1ScimScimTokensPost200Response() # noqa: E501 - if include_optional: - return ApiV1ScimScimTokensPost200Response( - scim_token = '' - ) - else: - return ApiV1ScimScimTokensPost200Response( - scim_token = '', - ) - """ - - def testApiV1ScimScimTokensPost200Response(self): - """Test ApiV1ScimScimTokensPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_scim_tokens_post_request.py b/test/test_api_v1_scim_scim_tokens_post_request.py deleted file mode 100644 index 9aa1afe..0000000 --- a/test/test_api_v1_scim_scim_tokens_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_scim_tokens_post_request import ApiV1ScimScimTokensPostRequest # noqa: E501 - -class TestApiV1ScimScimTokensPostRequest(unittest.TestCase): - """ApiV1ScimScimTokensPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimScimTokensPostRequest: - """Test ApiV1ScimScimTokensPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimScimTokensPostRequest` - """ - model = ApiV1ScimScimTokensPostRequest() # noqa: E501 - if include_optional: - return ApiV1ScimScimTokensPostRequest( - organization_id = '', - description = '', - ttl_days = 0 - ) - else: - return ApiV1ScimScimTokensPostRequest( - organization_id = '', - ) - """ - - def testApiV1ScimScimTokensPostRequest(self): - """Test ApiV1ScimScimTokensPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_scim_tokens_scim_token_id_delete200_response.py b/test/test_api_v1_scim_scim_tokens_scim_token_id_delete200_response.py deleted file mode 100644 index fbc4540..0000000 --- a/test/test_api_v1_scim_scim_tokens_scim_token_id_delete200_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_scim_tokens_scim_token_id_delete200_response import ApiV1ScimScimTokensScimTokenIdDelete200Response # noqa: E501 - -class TestApiV1ScimScimTokensScimTokenIdDelete200Response(unittest.TestCase): - """ApiV1ScimScimTokensScimTokenIdDelete200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimScimTokensScimTokenIdDelete200Response: - """Test ApiV1ScimScimTokensScimTokenIdDelete200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimScimTokensScimTokenIdDelete200Response` - """ - model = ApiV1ScimScimTokensScimTokenIdDelete200Response() # noqa: E501 - if include_optional: - return ApiV1ScimScimTokensScimTokenIdDelete200Response( - scim_token = infisicalapi_client.models._api_v1_scim_scim_tokens_get_200_response_scim_tokens_inner._api_v1_scim_scim_tokens_get_200_response_scimTokens_inner( - id = '', - ttl_days = 1.337, - description = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1ScimScimTokensScimTokenIdDelete200Response( - scim_token = infisicalapi_client.models._api_v1_scim_scim_tokens_get_200_response_scim_tokens_inner._api_v1_scim_scim_tokens_get_200_response_scimTokens_inner( - id = '', - ttl_days = 1.337, - description = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1ScimScimTokensScimTokenIdDelete200Response(self): - """Test ApiV1ScimScimTokensScimTokenIdDelete200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_get200_response.py b/test/test_api_v1_scim_users_get200_response.py deleted file mode 100644 index 5a59fa4..0000000 --- a/test/test_api_v1_scim_users_get200_response.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_get200_response import ApiV1ScimUsersGet200Response # noqa: E501 - -class TestApiV1ScimUsersGet200Response(unittest.TestCase): - """ApiV1ScimUsersGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersGet200Response: - """Test ApiV1ScimUsersGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersGet200Response` - """ - model = ApiV1ScimUsersGet200Response() # noqa: E501 - if include_optional: - return ApiV1ScimUsersGet200Response( - resources = [ - infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner._api_v1_scim_Users_get_200_response_Resources_inner( - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_emails_inner._api_v1_scim_Users_get_200_response_Resources_inner_emails_inner( - primary = True, - value = '', - type = '', ) - ], - display_name = '', - active = True, ) - ], - items_per_page = 1.337, - schemas = [ - '' - ], - start_index = 1.337, - total_results = 1.337 - ) - else: - return ApiV1ScimUsersGet200Response( - resources = [ - infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner._api_v1_scim_Users_get_200_response_Resources_inner( - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_emails_inner._api_v1_scim_Users_get_200_response_Resources_inner_emails_inner( - primary = True, - value = '', - type = '', ) - ], - display_name = '', - active = True, ) - ], - items_per_page = 1.337, - schemas = [ - '' - ], - start_index = 1.337, - total_results = 1.337, - ) - """ - - def testApiV1ScimUsersGet200Response(self): - """Test ApiV1ScimUsersGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_get200_response_resources_inner.py b/test/test_api_v1_scim_users_get200_response_resources_inner.py deleted file mode 100644 index 705d5f3..0000000 --- a/test/test_api_v1_scim_users_get200_response_resources_inner.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner import ApiV1ScimUsersGet200ResponseResourcesInner # noqa: E501 - -class TestApiV1ScimUsersGet200ResponseResourcesInner(unittest.TestCase): - """ApiV1ScimUsersGet200ResponseResourcesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersGet200ResponseResourcesInner: - """Test ApiV1ScimUsersGet200ResponseResourcesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersGet200ResponseResourcesInner` - """ - model = ApiV1ScimUsersGet200ResponseResourcesInner() # noqa: E501 - if include_optional: - return ApiV1ScimUsersGet200ResponseResourcesInner( - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_emails_inner._api_v1_scim_Users_get_200_response_Resources_inner_emails_inner( - primary = True, - value = '', - type = '', ) - ], - display_name = '', - active = True - ) - else: - return ApiV1ScimUsersGet200ResponseResourcesInner( - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_emails_inner._api_v1_scim_Users_get_200_response_Resources_inner_emails_inner( - primary = True, - value = '', - type = '', ) - ], - display_name = '', - active = True, - ) - """ - - def testApiV1ScimUsersGet200ResponseResourcesInner(self): - """Test ApiV1ScimUsersGet200ResponseResourcesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_get200_response_resources_inner_emails_inner.py b/test/test_api_v1_scim_users_get200_response_resources_inner_emails_inner.py deleted file mode 100644 index 2227d51..0000000 --- a/test/test_api_v1_scim_users_get200_response_resources_inner_emails_inner.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_emails_inner import ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner # noqa: E501 - -class TestApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner(unittest.TestCase): - """ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner: - """Test ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner` - """ - model = ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner() # noqa: E501 - if include_optional: - return ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner( - primary = True, - value = '', - type = '' - ) - else: - return ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner( - primary = True, - value = '', - type = '', - ) - """ - - def testApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner(self): - """Test ApiV1ScimUsersGet200ResponseResourcesInnerEmailsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_get200_response_resources_inner_name.py b/test/test_api_v1_scim_users_get200_response_resources_inner_name.py deleted file mode 100644 index 288ce25..0000000 --- a/test/test_api_v1_scim_users_get200_response_resources_inner_name.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_get200_response_resources_inner_name import ApiV1ScimUsersGet200ResponseResourcesInnerName # noqa: E501 - -class TestApiV1ScimUsersGet200ResponseResourcesInnerName(unittest.TestCase): - """ApiV1ScimUsersGet200ResponseResourcesInnerName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersGet200ResponseResourcesInnerName: - """Test ApiV1ScimUsersGet200ResponseResourcesInnerName - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersGet200ResponseResourcesInnerName` - """ - model = ApiV1ScimUsersGet200ResponseResourcesInnerName() # noqa: E501 - if include_optional: - return ApiV1ScimUsersGet200ResponseResourcesInnerName( - family_name = '', - given_name = '' - ) - else: - return ApiV1ScimUsersGet200ResponseResourcesInnerName( - family_name = '', - given_name = '', - ) - """ - - def testApiV1ScimUsersGet200ResponseResourcesInnerName(self): - """Test ApiV1ScimUsersGet200ResponseResourcesInnerName""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_org_membership_id_get201_response.py b/test/test_api_v1_scim_users_org_membership_id_get201_response.py deleted file mode 100644 index 6ef290c..0000000 --- a/test/test_api_v1_scim_users_org_membership_id_get201_response.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response import ApiV1ScimUsersOrgMembershipIdGet201Response # noqa: E501 - -class TestApiV1ScimUsersOrgMembershipIdGet201Response(unittest.TestCase): - """ApiV1ScimUsersOrgMembershipIdGet201Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersOrgMembershipIdGet201Response: - """Test ApiV1ScimUsersOrgMembershipIdGet201Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersOrgMembershipIdGet201Response` - """ - model = ApiV1ScimUsersOrgMembershipIdGet201Response() # noqa: E501 - if include_optional: - return ApiV1ScimUsersOrgMembershipIdGet201Response( - schemas = [ - '' - ], - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_emails_inner._api_v1_scim_Users_get_200_response_Resources_inner_emails_inner( - primary = True, - value = '', - type = '', ) - ], - display_name = '', - active = True, - groups = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ] - ) - else: - return ApiV1ScimUsersOrgMembershipIdGet201Response( - schemas = [ - '' - ], - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_emails_inner._api_v1_scim_Users_get_200_response_Resources_inner_emails_inner( - primary = True, - value = '', - type = '', ) - ], - display_name = '', - active = True, - groups = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ], - ) - """ - - def testApiV1ScimUsersOrgMembershipIdGet201Response(self): - """Test ApiV1ScimUsersOrgMembershipIdGet201Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_org_membership_id_get201_response_groups_inner.py b/test/test_api_v1_scim_users_org_membership_id_get201_response_groups_inner.py deleted file mode 100644 index db303a7..0000000 --- a/test/test_api_v1_scim_users_org_membership_id_get201_response_groups_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_get201_response_groups_inner import ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner # noqa: E501 - -class TestApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner(unittest.TestCase): - """ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner: - """Test ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner` - """ - model = ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner() # noqa: E501 - if include_optional: - return ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner( - value = '', - display = '' - ) - else: - return ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner( - value = '', - display = '', - ) - """ - - def testApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner(self): - """Test ApiV1ScimUsersOrgMembershipIdGet201ResponseGroupsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_org_membership_id_put200_response.py b/test/test_api_v1_scim_users_org_membership_id_put200_response.py deleted file mode 100644 index 95348c2..0000000 --- a/test/test_api_v1_scim_users_org_membership_id_put200_response.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put200_response import ApiV1ScimUsersOrgMembershipIdPut200Response # noqa: E501 - -class TestApiV1ScimUsersOrgMembershipIdPut200Response(unittest.TestCase): - """ApiV1ScimUsersOrgMembershipIdPut200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersOrgMembershipIdPut200Response: - """Test ApiV1ScimUsersOrgMembershipIdPut200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersOrgMembershipIdPut200Response` - """ - model = ApiV1ScimUsersOrgMembershipIdPut200Response() # noqa: E501 - if include_optional: - return ApiV1ScimUsersOrgMembershipIdPut200Response( - schemas = [ - '' - ], - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_post_request_emails_inner._api_v1_scim_Users_post_request_emails_inner( - primary = True, - value = '', - type = '', ) - ], - display_name = '', - active = True, - groups = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ] - ) - else: - return ApiV1ScimUsersOrgMembershipIdPut200Response( - schemas = [ - '' - ], - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_post_request_emails_inner._api_v1_scim_Users_post_request_emails_inner( - primary = True, - value = '', - type = '', ) - ], - display_name = '', - active = True, - groups = [ - infisicalapi_client.models._api_v1_scim_users__org_membership_id__get_201_response_groups_inner._api_v1_scim_Users__orgMembershipId__get_201_response_groups_inner( - value = '', - display = '', ) - ], - ) - """ - - def testApiV1ScimUsersOrgMembershipIdPut200Response(self): - """Test ApiV1ScimUsersOrgMembershipIdPut200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_org_membership_id_put_request.py b/test/test_api_v1_scim_users_org_membership_id_put_request.py deleted file mode 100644 index f8bbadd..0000000 --- a/test/test_api_v1_scim_users_org_membership_id_put_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_org_membership_id_put_request import ApiV1ScimUsersOrgMembershipIdPutRequest # noqa: E501 - -class TestApiV1ScimUsersOrgMembershipIdPutRequest(unittest.TestCase): - """ApiV1ScimUsersOrgMembershipIdPutRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersOrgMembershipIdPutRequest: - """Test ApiV1ScimUsersOrgMembershipIdPutRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersOrgMembershipIdPutRequest` - """ - model = ApiV1ScimUsersOrgMembershipIdPutRequest() # noqa: E501 - if include_optional: - return ApiV1ScimUsersOrgMembershipIdPutRequest( - schemas = [ - '' - ], - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - display_name = '', - active = True - ) - else: - return ApiV1ScimUsersOrgMembershipIdPutRequest( - schemas = [ - '' - ], - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - display_name = '', - active = True, - ) - """ - - def testApiV1ScimUsersOrgMembershipIdPutRequest(self): - """Test ApiV1ScimUsersOrgMembershipIdPutRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_post200_response.py b/test/test_api_v1_scim_users_post200_response.py deleted file mode 100644 index 9b1ce85..0000000 --- a/test/test_api_v1_scim_users_post200_response.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_post200_response import ApiV1ScimUsersPost200Response # noqa: E501 - -class TestApiV1ScimUsersPost200Response(unittest.TestCase): - """ApiV1ScimUsersPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersPost200Response: - """Test ApiV1ScimUsersPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersPost200Response` - """ - model = ApiV1ScimUsersPost200Response() # noqa: E501 - if include_optional: - return ApiV1ScimUsersPost200Response( - schemas = [ - '' - ], - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_post_request_emails_inner._api_v1_scim_Users_post_request_emails_inner( - primary = True, - value = '', - type = '', ) - ], - display_name = '', - active = True - ) - else: - return ApiV1ScimUsersPost200Response( - schemas = [ - '' - ], - id = '', - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_post_request_emails_inner._api_v1_scim_Users_post_request_emails_inner( - primary = True, - value = '', - type = '', ) - ], - display_name = '', - active = True, - ) - """ - - def testApiV1ScimUsersPost200Response(self): - """Test ApiV1ScimUsersPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_post_request.py b/test/test_api_v1_scim_users_post_request.py deleted file mode 100644 index 7ab779b..0000000 --- a/test/test_api_v1_scim_users_post_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_post_request import ApiV1ScimUsersPostRequest # noqa: E501 - -class TestApiV1ScimUsersPostRequest(unittest.TestCase): - """ApiV1ScimUsersPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersPostRequest: - """Test ApiV1ScimUsersPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersPostRequest` - """ - model = ApiV1ScimUsersPostRequest() # noqa: E501 - if include_optional: - return ApiV1ScimUsersPostRequest( - schemas = [ - '' - ], - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - emails = [ - infisicalapi_client.models._api_v1_scim_users_post_request_emails_inner._api_v1_scim_Users_post_request_emails_inner( - primary = True, - value = '', - type = '', ) - ], - active = True - ) - else: - return ApiV1ScimUsersPostRequest( - schemas = [ - '' - ], - user_name = '', - name = infisicalapi_client.models._api_v1_scim_users_get_200_response_resources_inner_name._api_v1_scim_Users_get_200_response_Resources_inner_name( - family_name = '', - given_name = '', ), - active = True, - ) - """ - - def testApiV1ScimUsersPostRequest(self): - """Test ApiV1ScimUsersPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_scim_users_post_request_emails_inner.py b/test/test_api_v1_scim_users_post_request_emails_inner.py deleted file mode 100644 index 452d0f3..0000000 --- a/test/test_api_v1_scim_users_post_request_emails_inner.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_scim_users_post_request_emails_inner import ApiV1ScimUsersPostRequestEmailsInner # noqa: E501 - -class TestApiV1ScimUsersPostRequestEmailsInner(unittest.TestCase): - """ApiV1ScimUsersPostRequestEmailsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1ScimUsersPostRequestEmailsInner: - """Test ApiV1ScimUsersPostRequestEmailsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1ScimUsersPostRequestEmailsInner` - """ - model = ApiV1ScimUsersPostRequestEmailsInner() # noqa: E501 - if include_optional: - return ApiV1ScimUsersPostRequestEmailsInner( - primary = True, - value = '', - type = '' - ) - else: - return ApiV1ScimUsersPostRequestEmailsInner( - primary = True, - value = '', - type = '', - ) - """ - - def testApiV1ScimUsersPostRequestEmailsInner(self): - """Test ApiV1ScimUsersPostRequestEmailsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_count_get200_response.py b/test/test_api_v1_secret_approval_requests_count_get200_response.py deleted file mode 100644 index f91f39f..0000000 --- a/test/test_api_v1_secret_approval_requests_count_get200_response.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response import ApiV1SecretApprovalRequestsCountGet200Response # noqa: E501 - -class TestApiV1SecretApprovalRequestsCountGet200Response(unittest.TestCase): - """ApiV1SecretApprovalRequestsCountGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsCountGet200Response: - """Test ApiV1SecretApprovalRequestsCountGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsCountGet200Response` - """ - model = ApiV1SecretApprovalRequestsCountGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsCountGet200Response( - approvals = infisicalapi_client.models._api_v1_secret_approval_requests_count_get_200_response_approvals._api_v1_secret_approval_requests_count_get_200_response_approvals( - open = 1.337, - closed = 1.337, ) - ) - else: - return ApiV1SecretApprovalRequestsCountGet200Response( - approvals = infisicalapi_client.models._api_v1_secret_approval_requests_count_get_200_response_approvals._api_v1_secret_approval_requests_count_get_200_response_approvals( - open = 1.337, - closed = 1.337, ), - ) - """ - - def testApiV1SecretApprovalRequestsCountGet200Response(self): - """Test ApiV1SecretApprovalRequestsCountGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_count_get200_response_approvals.py b/test/test_api_v1_secret_approval_requests_count_get200_response_approvals.py deleted file mode 100644 index 22cacf8..0000000 --- a/test/test_api_v1_secret_approval_requests_count_get200_response_approvals.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_count_get200_response_approvals import ApiV1SecretApprovalRequestsCountGet200ResponseApprovals # noqa: E501 - -class TestApiV1SecretApprovalRequestsCountGet200ResponseApprovals(unittest.TestCase): - """ApiV1SecretApprovalRequestsCountGet200ResponseApprovals unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsCountGet200ResponseApprovals: - """Test ApiV1SecretApprovalRequestsCountGet200ResponseApprovals - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsCountGet200ResponseApprovals` - """ - model = ApiV1SecretApprovalRequestsCountGet200ResponseApprovals() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsCountGet200ResponseApprovals( - open = 1.337, - closed = 1.337 - ) - else: - return ApiV1SecretApprovalRequestsCountGet200ResponseApprovals( - ) - """ - - def testApiV1SecretApprovalRequestsCountGet200ResponseApprovals(self): - """Test ApiV1SecretApprovalRequestsCountGet200ResponseApprovals""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_get200_response.py b/test/test_api_v1_secret_approval_requests_get200_response.py deleted file mode 100644 index 7ed8375..0000000 --- a/test/test_api_v1_secret_approval_requests_get200_response.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response import ApiV1SecretApprovalRequestsGet200Response # noqa: E501 - -class TestApiV1SecretApprovalRequestsGet200Response(unittest.TestCase): - """ApiV1SecretApprovalRequestsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsGet200Response: - """Test ApiV1SecretApprovalRequestsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsGet200Response` - """ - model = ApiV1SecretApprovalRequestsGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsGet200Response( - approvals = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner._api_v1_secret_approval_requests_get_200_response_approvals_inner( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', - policy = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_policy._api_v1_secret_approval_requests_get_200_response_approvals_inner_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - secret_path = '', - enforcement_level = '', ), - committer_user = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ), - commits = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_commits_inner._api_v1_secret_approval_requests_get_200_response_approvals_inner_commits_inner( - op = '', - secret_id = '', ) - ], - environment = '', - reviewers = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_reviewers_inner._api_v1_secret_approval_requests_get_200_response_approvals_inner_reviewers_inner( - user_id = '', - status = '', ) - ], - approvers = [ - '' - ], ) - ] - ) - else: - return ApiV1SecretApprovalRequestsGet200Response( - approvals = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner._api_v1_secret_approval_requests_get_200_response_approvals_inner( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', - policy = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_policy._api_v1_secret_approval_requests_get_200_response_approvals_inner_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - secret_path = '', - enforcement_level = '', ), - committer_user = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ), - commits = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_commits_inner._api_v1_secret_approval_requests_get_200_response_approvals_inner_commits_inner( - op = '', - secret_id = '', ) - ], - environment = '', - reviewers = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_reviewers_inner._api_v1_secret_approval_requests_get_200_response_approvals_inner_reviewers_inner( - user_id = '', - status = '', ) - ], - approvers = [ - '' - ], ) - ], - ) - """ - - def testApiV1SecretApprovalRequestsGet200Response(self): - """Test ApiV1SecretApprovalRequestsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner.py b/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner.py deleted file mode 100644 index 0fd2751..0000000 --- a/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner # noqa: E501 - -class TestApiV1SecretApprovalRequestsGet200ResponseApprovalsInner(unittest.TestCase): - """ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner: - """Test ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner` - """ - model = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = None, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', - policy = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_policy._api_v1_secret_approval_requests_get_200_response_approvals_inner_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - secret_path = '', - enforcement_level = '', ), - committer_user = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ), - commits = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_commits_inner._api_v1_secret_approval_requests_get_200_response_approvals_inner_commits_inner( - op = '', - secret_id = '', ) - ], - environment = '', - reviewers = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_reviewers_inner._api_v1_secret_approval_requests_get_200_response_approvals_inner_reviewers_inner( - user_id = '', - status = '', ) - ], - approvers = [ - '' - ] - ) - else: - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner( - id = '', - policy_id = '', - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - committer_user_id = '', - policy = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_policy._api_v1_secret_approval_requests_get_200_response_approvals_inner_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - secret_path = '', - enforcement_level = '', ), - committer_user = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ), - commits = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_commits_inner._api_v1_secret_approval_requests_get_200_response_approvals_inner_commits_inner( - op = '', - secret_id = '', ) - ], - environment = '', - reviewers = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_reviewers_inner._api_v1_secret_approval_requests_get_200_response_approvals_inner_reviewers_inner( - user_id = '', - status = '', ) - ], - approvers = [ - '' - ], - ) - """ - - def testApiV1SecretApprovalRequestsGet200ResponseApprovalsInner(self): - """Test ApiV1SecretApprovalRequestsGet200ResponseApprovalsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner.py b/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner.py deleted file mode 100644 index fef531e..0000000 --- a/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner # noqa: E501 - -class TestApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner(unittest.TestCase): - """ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner: - """Test ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner` - """ - model = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner( - op = '', - secret_id = '' - ) - else: - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner( - op = '', - ) - """ - - def testApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner(self): - """Test ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user.py b/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user.py deleted file mode 100644 index f089d29..0000000 --- a/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser # noqa: E501 - -class TestApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser(unittest.TestCase): - """ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser: - """Test ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser` - """ - model = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '' - ) - else: - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser( - user_id = '', - username = '', - ) - """ - - def testApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser(self): - """Test ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerCommitterUser""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_policy.py b/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_policy.py deleted file mode 100644 index 9fec91f..0000000 --- a/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_policy.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_policy import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy # noqa: E501 - -class TestApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy(unittest.TestCase): - """ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy: - """Test ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy` - """ - model = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - secret_path = '', - enforcement_level = '' - ) - else: - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - '' - ], - enforcement_level = '', - ) - """ - - def testApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy(self): - """Test ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerPolicy""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner.py b/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner.py deleted file mode 100644 index 86e06aa..0000000 --- a/test/test_api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner import ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner # noqa: E501 - -class TestApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner(unittest.TestCase): - """ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner: - """Test ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner` - """ - model = ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner( - user_id = '', - status = '' - ) - else: - return ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner( - user_id = '', - status = '', - ) - """ - - def testApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner(self): - """Test ApiV1SecretApprovalRequestsGet200ResponseApprovalsInnerReviewersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_get200_response.py b/test/test_api_v1_secret_approval_requests_id_get200_response.py deleted file mode 100644 index 4c9c343..0000000 --- a/test/test_api_v1_secret_approval_requests_id_get200_response.py +++ /dev/null @@ -1,207 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response import ApiV1SecretApprovalRequestsIdGet200Response # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdGet200Response(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdGet200Response: - """Test ApiV1SecretApprovalRequestsIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdGet200Response` - """ - model = ApiV1SecretApprovalRequestsIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdGet200Response( - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval._api_v1_secret_approval_requests__id__get_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', - policy = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_policy._api_v1_secret_approval_requests__id__get_200_response_approval_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ) - ], - secret_path = '', - enforcement_level = '', ), - environment = '', - status_changed_by_user = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ), - committer_user = , - reviewers = [ - infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_reviewers_inner._api_v1_secret_approval_requests__id__get_200_response_approval_reviewers_inner( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', - status = '', ) - ], - secret_path = '', - commits = [ - infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner( - id = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - op = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], - secret = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', ), - secret_version = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret_version._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secretVersion( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', ), ) - ], ) - ) - else: - return ApiV1SecretApprovalRequestsIdGet200Response( - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval._api_v1_secret_approval_requests__id__get_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', - policy = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_policy._api_v1_secret_approval_requests__id__get_200_response_approval_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ) - ], - secret_path = '', - enforcement_level = '', ), - environment = '', - status_changed_by_user = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ), - committer_user = , - reviewers = [ - infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_reviewers_inner._api_v1_secret_approval_requests__id__get_200_response_approval_reviewers_inner( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', - status = '', ) - ], - secret_path = '', - commits = [ - infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner( - id = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - op = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], - secret = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', ), - secret_version = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret_version._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secretVersion( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', ), ) - ], ), - ) - """ - - def testApiV1SecretApprovalRequestsIdGet200Response(self): - """Test ApiV1SecretApprovalRequestsIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_get200_response_approval.py b/test/test_api_v1_secret_approval_requests_id_get200_response_approval.py deleted file mode 100644 index 0771d07..0000000 --- a/test/test_api_v1_secret_approval_requests_id_get200_response_approval.py +++ /dev/null @@ -1,203 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval import ApiV1SecretApprovalRequestsIdGet200ResponseApproval # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdGet200ResponseApproval(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdGet200ResponseApproval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdGet200ResponseApproval: - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApproval - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdGet200ResponseApproval` - """ - model = ApiV1SecretApprovalRequestsIdGet200ResponseApproval() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdGet200ResponseApproval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = None, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', - policy = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_policy._api_v1_secret_approval_requests__id__get_200_response_approval_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ) - ], - secret_path = '', - enforcement_level = '', ), - environment = '', - status_changed_by_user = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ), - committer_user = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ), - reviewers = [ - infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_reviewers_inner._api_v1_secret_approval_requests__id__get_200_response_approval_reviewers_inner( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', - status = '', ) - ], - secret_path = '', - commits = [ - infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner( - id = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - op = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], - secret = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', ), - secret_version = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret_version._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secretVersion( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', ), ) - ] - ) - else: - return ApiV1SecretApprovalRequestsIdGet200ResponseApproval( - id = '', - policy_id = '', - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - committer_user_id = '', - policy = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_policy._api_v1_secret_approval_requests__id__get_200_response_approval_policy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ) - ], - secret_path = '', - enforcement_level = '', ), - environment = '', - committer_user = infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ), - reviewers = [ - infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_reviewers_inner._api_v1_secret_approval_requests__id__get_200_response_approval_reviewers_inner( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', - status = '', ) - ], - secret_path = '', - commits = [ - infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner( - id = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - op = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], - secret = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', ), - secret_version = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret_version._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secretVersion( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', ), ) - ], - ) - """ - - def testApiV1SecretApprovalRequestsIdGet200ResponseApproval(self): - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApproval""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner.py b/test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner.py deleted file mode 100644 index 7c36d15..0000000 --- a/test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner: - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner` - """ - model = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner( - id = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - op = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], - secret = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', ), - secret_version = infisicalapi_client.models._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secret_version._api_v1_secret_approval_requests__id__get_200_response_approval_commits_inner_secretVersion( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], ) - ) - else: - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner( - id = '', - secret_key = '', - secret_value = '', - secret_comment = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - op = '', - ) - """ - - def testApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner(self): - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret.py b/test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret.py deleted file mode 100644 index 2de7f36..0000000 --- a/test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret: - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret` - """ - model = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '' - ) - else: - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret( - id = '', - version = 1.337, - secret_key = '', - ) - """ - - def testApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret(self): - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecret""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version.py b/test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version.py deleted file mode 100644 index 9c99e81..0000000 --- a/test/test_api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion: - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion` - """ - model = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ] - ) - else: - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion( - id = '', - version = 1.337, - secret_key = '', - ) - """ - - def testApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion(self): - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApprovalCommitsInnerSecretVersion""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_get200_response_approval_policy.py b/test/test_api_v1_secret_approval_requests_id_get200_response_approval_policy.py deleted file mode 100644 index e8c7934..0000000 --- a/test/test_api_v1_secret_approval_requests_id_get200_response_approval_policy.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_policy import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy: - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy` - """ - model = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ) - ], - secret_path = '', - enforcement_level = '' - ) - else: - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy( - id = '', - name = '', - approvals = 1.337, - approvers = [ - infisicalapi_client.models._api_v1_secret_approval_requests_get_200_response_approvals_inner_committer_user._api_v1_secret_approval_requests_get_200_response_approvals_inner_committerUser( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', ) - ], - enforcement_level = '', - ) - """ - - def testApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy(self): - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApprovalPolicy""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner.py b/test/test_api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner.py deleted file mode 100644 index 0929560..0000000 --- a/test/test_api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner import ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner: - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner` - """ - model = ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner( - user_id = '', - email = '', - first_name = '', - last_name = '', - username = '', - status = '' - ) - else: - return ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner( - user_id = '', - username = '', - status = '', - ) - """ - - def testApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner(self): - """Test ApiV1SecretApprovalRequestsIdGet200ResponseApprovalReviewersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_merge_post200_response.py b/test/test_api_v1_secret_approval_requests_id_merge_post200_response.py deleted file mode 100644 index 6ce5663..0000000 --- a/test/test_api_v1_secret_approval_requests_id_merge_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response import ApiV1SecretApprovalRequestsIdMergePost200Response # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdMergePost200Response(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdMergePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdMergePost200Response: - """Test ApiV1SecretApprovalRequestsIdMergePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdMergePost200Response` - """ - model = ApiV1SecretApprovalRequestsIdMergePost200Response() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdMergePost200Response( - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ) - ) - else: - return ApiV1SecretApprovalRequestsIdMergePost200Response( - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ), - ) - """ - - def testApiV1SecretApprovalRequestsIdMergePost200Response(self): - """Test ApiV1SecretApprovalRequestsIdMergePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_merge_post200_response_approval.py b/test/test_api_v1_secret_approval_requests_id_merge_post200_response_approval.py deleted file mode 100644 index 4a3f5d8..0000000 --- a/test/test_api_v1_secret_approval_requests_id_merge_post200_response_approval.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post200_response_approval import ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdMergePost200ResponseApproval(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval: - """Test ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval` - """ - model = ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = None, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '' - ) - else: - return ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval( - id = '', - policy_id = '', - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - committer_user_id = '', - ) - """ - - def testApiV1SecretApprovalRequestsIdMergePost200ResponseApproval(self): - """Test ApiV1SecretApprovalRequestsIdMergePost200ResponseApproval""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_merge_post_request.py b/test/test_api_v1_secret_approval_requests_id_merge_post_request.py deleted file mode 100644 index b4c3a5b..0000000 --- a/test/test_api_v1_secret_approval_requests_id_merge_post_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_merge_post_request import ApiV1SecretApprovalRequestsIdMergePostRequest # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdMergePostRequest(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdMergePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdMergePostRequest: - """Test ApiV1SecretApprovalRequestsIdMergePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdMergePostRequest` - """ - model = ApiV1SecretApprovalRequestsIdMergePostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdMergePostRequest( - bypass_reason = '' - ) - else: - return ApiV1SecretApprovalRequestsIdMergePostRequest( - ) - """ - - def testApiV1SecretApprovalRequestsIdMergePostRequest(self): - """Test ApiV1SecretApprovalRequestsIdMergePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_review_post200_response.py b/test/test_api_v1_secret_approval_requests_id_review_post200_response.py deleted file mode 100644 index 7ef3411..0000000 --- a/test/test_api_v1_secret_approval_requests_id_review_post200_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response import ApiV1SecretApprovalRequestsIdReviewPost200Response # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdReviewPost200Response(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdReviewPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdReviewPost200Response: - """Test ApiV1SecretApprovalRequestsIdReviewPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdReviewPost200Response` - """ - model = ApiV1SecretApprovalRequestsIdReviewPost200Response() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdReviewPost200Response( - review = infisicalapi_client.models._api_v1_secret_approval_requests__id__review_post_200_response_review._api_v1_secret_approval_requests__id__review_post_200_response_review( - id = '', - status = '', - request_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - reviewer_user_id = '', ) - ) - else: - return ApiV1SecretApprovalRequestsIdReviewPost200Response( - review = infisicalapi_client.models._api_v1_secret_approval_requests__id__review_post_200_response_review._api_v1_secret_approval_requests__id__review_post_200_response_review( - id = '', - status = '', - request_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - reviewer_user_id = '', ), - ) - """ - - def testApiV1SecretApprovalRequestsIdReviewPost200Response(self): - """Test ApiV1SecretApprovalRequestsIdReviewPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_review_post200_response_review.py b/test/test_api_v1_secret_approval_requests_id_review_post200_response_review.py deleted file mode 100644 index 94e5525..0000000 --- a/test/test_api_v1_secret_approval_requests_id_review_post200_response_review.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post200_response_review import ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdReviewPost200ResponseReview(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview: - """Test ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview` - """ - model = ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview( - id = '', - status = '', - request_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - reviewer_user_id = '' - ) - else: - return ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview( - id = '', - status = '', - request_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - reviewer_user_id = '', - ) - """ - - def testApiV1SecretApprovalRequestsIdReviewPost200ResponseReview(self): - """Test ApiV1SecretApprovalRequestsIdReviewPost200ResponseReview""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_review_post_request.py b/test/test_api_v1_secret_approval_requests_id_review_post_request.py deleted file mode 100644 index 27ec085..0000000 --- a/test/test_api_v1_secret_approval_requests_id_review_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_review_post_request import ApiV1SecretApprovalRequestsIdReviewPostRequest # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdReviewPostRequest(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdReviewPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdReviewPostRequest: - """Test ApiV1SecretApprovalRequestsIdReviewPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdReviewPostRequest` - """ - model = ApiV1SecretApprovalRequestsIdReviewPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdReviewPostRequest( - status = 'approved' - ) - else: - return ApiV1SecretApprovalRequestsIdReviewPostRequest( - status = 'approved', - ) - """ - - def testApiV1SecretApprovalRequestsIdReviewPostRequest(self): - """Test ApiV1SecretApprovalRequestsIdReviewPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approval_requests_id_status_post_request.py b/test/test_api_v1_secret_approval_requests_id_status_post_request.py deleted file mode 100644 index 7eccc96..0000000 --- a/test/test_api_v1_secret_approval_requests_id_status_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approval_requests_id_status_post_request import ApiV1SecretApprovalRequestsIdStatusPostRequest # noqa: E501 - -class TestApiV1SecretApprovalRequestsIdStatusPostRequest(unittest.TestCase): - """ApiV1SecretApprovalRequestsIdStatusPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalRequestsIdStatusPostRequest: - """Test ApiV1SecretApprovalRequestsIdStatusPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalRequestsIdStatusPostRequest` - """ - model = ApiV1SecretApprovalRequestsIdStatusPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalRequestsIdStatusPostRequest( - status = 'open' - ) - else: - return ApiV1SecretApprovalRequestsIdStatusPostRequest( - status = 'open', - ) - """ - - def testApiV1SecretApprovalRequestsIdStatusPostRequest(self): - """Test ApiV1SecretApprovalRequestsIdStatusPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approvals_board_get200_response.py b/test/test_api_v1_secret_approvals_board_get200_response.py deleted file mode 100644 index fe865d1..0000000 --- a/test/test_api_v1_secret_approvals_board_get200_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approvals_board_get200_response import ApiV1SecretApprovalsBoardGet200Response # noqa: E501 - -class TestApiV1SecretApprovalsBoardGet200Response(unittest.TestCase): - """ApiV1SecretApprovalsBoardGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalsBoardGet200Response: - """Test ApiV1SecretApprovalsBoardGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalsBoardGet200Response` - """ - model = ApiV1SecretApprovalsBoardGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalsBoardGet200Response( - policy = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner._api_v1_secret_approvals_get_200_response_approvals_inner( - id = '', - name = '', - secret_path = '', - approvals = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - enforcement_level = 'hard', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', - user_approvers = [ - infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_user_approvers_inner._api_v1_secret_approvals_get_200_response_approvals_inner_userApprovers_inner( - user_id = '', ) - ], ) - ) - else: - return ApiV1SecretApprovalsBoardGet200Response( - ) - """ - - def testApiV1SecretApprovalsBoardGet200Response(self): - """Test ApiV1SecretApprovalsBoardGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approvals_get200_response.py b/test/test_api_v1_secret_approvals_get200_response.py deleted file mode 100644 index 450eec5..0000000 --- a/test/test_api_v1_secret_approvals_get200_response.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approvals_get200_response import ApiV1SecretApprovalsGet200Response # noqa: E501 - -class TestApiV1SecretApprovalsGet200Response(unittest.TestCase): - """ApiV1SecretApprovalsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalsGet200Response: - """Test ApiV1SecretApprovalsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalsGet200Response` - """ - model = ApiV1SecretApprovalsGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalsGet200Response( - approvals = [ - infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner._api_v1_secret_approvals_get_200_response_approvals_inner( - id = '', - name = '', - secret_path = '', - approvals = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - enforcement_level = 'hard', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', - user_approvers = [ - infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_user_approvers_inner._api_v1_secret_approvals_get_200_response_approvals_inner_userApprovers_inner( - user_id = '', ) - ], ) - ] - ) - else: - return ApiV1SecretApprovalsGet200Response( - approvals = [ - infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner._api_v1_secret_approvals_get_200_response_approvals_inner( - id = '', - name = '', - secret_path = '', - approvals = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - enforcement_level = 'hard', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', - user_approvers = [ - infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_user_approvers_inner._api_v1_secret_approvals_get_200_response_approvals_inner_userApprovers_inner( - user_id = '', ) - ], ) - ], - ) - """ - - def testApiV1SecretApprovalsGet200Response(self): - """Test ApiV1SecretApprovalsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approvals_get200_response_approvals_inner.py b/test/test_api_v1_secret_approvals_get200_response_approvals_inner.py deleted file mode 100644 index 4bc5d47..0000000 --- a/test/test_api_v1_secret_approvals_get200_response_approvals_inner.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInner # noqa: E501 - -class TestApiV1SecretApprovalsGet200ResponseApprovalsInner(unittest.TestCase): - """ApiV1SecretApprovalsGet200ResponseApprovalsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalsGet200ResponseApprovalsInner: - """Test ApiV1SecretApprovalsGet200ResponseApprovalsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalsGet200ResponseApprovalsInner` - """ - model = ApiV1SecretApprovalsGet200ResponseApprovalsInner() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalsGet200ResponseApprovalsInner( - id = '', - name = '', - secret_path = '', - approvals = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - enforcement_level = 'hard', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', - user_approvers = [ - infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_user_approvers_inner._api_v1_secret_approvals_get_200_response_approvals_inner_userApprovers_inner( - user_id = '', ) - ] - ) - else: - return ApiV1SecretApprovalsGet200ResponseApprovalsInner( - id = '', - name = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', - user_approvers = [ - infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_user_approvers_inner._api_v1_secret_approvals_get_200_response_approvals_inner_userApprovers_inner( - user_id = '', ) - ], - ) - """ - - def testApiV1SecretApprovalsGet200ResponseApprovalsInner(self): - """Test ApiV1SecretApprovalsGet200ResponseApprovalsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approvals_get200_response_approvals_inner_environment.py b/test/test_api_v1_secret_approvals_get200_response_approvals_inner_environment.py deleted file mode 100644 index 23dc656..0000000 --- a/test/test_api_v1_secret_approvals_get200_response_approvals_inner_environment.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_environment import ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment # noqa: E501 - -class TestApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment(unittest.TestCase): - """ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment: - """Test ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment` - """ - model = ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment( - id = '', - name = '', - slug = '' - ) - else: - return ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment( - id = '', - name = '', - slug = '', - ) - """ - - def testApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment(self): - """Test ApiV1SecretApprovalsGet200ResponseApprovalsInnerEnvironment""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner.py b/test/test_api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner.py deleted file mode 100644 index ee9aa6c..0000000 --- a/test/test_api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner import ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner # noqa: E501 - -class TestApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner(unittest.TestCase): - """ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner: - """Test ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner` - """ - model = ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner( - user_id = '' - ) - else: - return ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner( - user_id = '', - ) - """ - - def testApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner(self): - """Test ApiV1SecretApprovalsGet200ResponseApprovalsInnerUserApproversInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approvals_post200_response.py b/test/test_api_v1_secret_approvals_post200_response.py deleted file mode 100644 index f1114f9..0000000 --- a/test/test_api_v1_secret_approvals_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approvals_post200_response import ApiV1SecretApprovalsPost200Response # noqa: E501 - -class TestApiV1SecretApprovalsPost200Response(unittest.TestCase): - """ApiV1SecretApprovalsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalsPost200Response: - """Test ApiV1SecretApprovalsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalsPost200Response` - """ - model = ApiV1SecretApprovalsPost200Response() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalsPost200Response( - approval = infisicalapi_client.models._api_v1_secret_approvals_post_200_response_approval._api_v1_secret_approvals_post_200_response_approval( - id = '', - name = '', - secret_path = '', - approvals = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - enforcement_level = 'hard', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', ) - ) - else: - return ApiV1SecretApprovalsPost200Response( - approval = infisicalapi_client.models._api_v1_secret_approvals_post_200_response_approval._api_v1_secret_approvals_post_200_response_approval( - id = '', - name = '', - secret_path = '', - approvals = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - enforcement_level = 'hard', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', ), - ) - """ - - def testApiV1SecretApprovalsPost200Response(self): - """Test ApiV1SecretApprovalsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approvals_post200_response_approval.py b/test/test_api_v1_secret_approvals_post200_response_approval.py deleted file mode 100644 index 38d2b24..0000000 --- a/test/test_api_v1_secret_approvals_post200_response_approval.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approvals_post200_response_approval import ApiV1SecretApprovalsPost200ResponseApproval # noqa: E501 - -class TestApiV1SecretApprovalsPost200ResponseApproval(unittest.TestCase): - """ApiV1SecretApprovalsPost200ResponseApproval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalsPost200ResponseApproval: - """Test ApiV1SecretApprovalsPost200ResponseApproval - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalsPost200ResponseApproval` - """ - model = ApiV1SecretApprovalsPost200ResponseApproval() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalsPost200ResponseApproval( - id = '', - name = '', - secret_path = '', - approvals = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - enforcement_level = 'hard', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '' - ) - else: - return ApiV1SecretApprovalsPost200ResponseApproval( - id = '', - name = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - project_id = '', - ) - """ - - def testApiV1SecretApprovalsPost200ResponseApproval(self): - """Test ApiV1SecretApprovalsPost200ResponseApproval""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approvals_post_request.py b/test/test_api_v1_secret_approvals_post_request.py deleted file mode 100644 index bd1c402..0000000 --- a/test/test_api_v1_secret_approvals_post_request.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approvals_post_request import ApiV1SecretApprovalsPostRequest # noqa: E501 - -class TestApiV1SecretApprovalsPostRequest(unittest.TestCase): - """ApiV1SecretApprovalsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalsPostRequest: - """Test ApiV1SecretApprovalsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalsPostRequest` - """ - model = ApiV1SecretApprovalsPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalsPostRequest( - workspace_id = '', - name = '', - environment = '', - secret_path = '/', - approvers = [ - '' - ], - approvals = 1, - enforcement_level = 'hard' - ) - else: - return ApiV1SecretApprovalsPostRequest( - workspace_id = '', - environment = '', - approvers = [ - '' - ], - ) - """ - - def testApiV1SecretApprovalsPostRequest(self): - """Test ApiV1SecretApprovalsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_approvals_sap_id_patch_request.py b/test/test_api_v1_secret_approvals_sap_id_patch_request.py deleted file mode 100644 index de358bd..0000000 --- a/test/test_api_v1_secret_approvals_sap_id_patch_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_approvals_sap_id_patch_request import ApiV1SecretApprovalsSapIdPatchRequest # noqa: E501 - -class TestApiV1SecretApprovalsSapIdPatchRequest(unittest.TestCase): - """ApiV1SecretApprovalsSapIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretApprovalsSapIdPatchRequest: - """Test ApiV1SecretApprovalsSapIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretApprovalsSapIdPatchRequest` - """ - model = ApiV1SecretApprovalsSapIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1SecretApprovalsSapIdPatchRequest( - name = '', - approvers = [ - '' - ], - approvals = 1, - secret_path = '', - enforcement_level = 'hard' - ) - else: - return ApiV1SecretApprovalsSapIdPatchRequest( - approvers = [ - '' - ], - ) - """ - - def testApiV1SecretApprovalsSapIdPatchRequest(self): - """Test ApiV1SecretApprovalsSapIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_get200_response.py b/test/test_api_v1_secret_imports_get200_response.py deleted file mode 100644 index 4712454..0000000 --- a/test/test_api_v1_secret_imports_get200_response.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_get200_response import ApiV1SecretImportsGet200Response # noqa: E501 - -class TestApiV1SecretImportsGet200Response(unittest.TestCase): - """ApiV1SecretImportsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsGet200Response: - """Test ApiV1SecretImportsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsGet200Response` - """ - model = ApiV1SecretImportsGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretImportsGet200Response( - message = '', - secret_imports = [ - infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner._api_v1_secret_imports_get_200_response_secretImports_inner( - id = '', - version = 1.337, - import_path = '', - position = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - folder_id = '', - is_replication = True, - is_replication_success = True, - replication_status = '', - last_replicated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_reserved = True, - import_env = infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ), ) - ] - ) - else: - return ApiV1SecretImportsGet200Response( - message = '', - secret_imports = [ - infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner._api_v1_secret_imports_get_200_response_secretImports_inner( - id = '', - version = 1.337, - import_path = '', - position = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - folder_id = '', - is_replication = True, - is_replication_success = True, - replication_status = '', - last_replicated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_reserved = True, - import_env = infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ), ) - ], - ) - """ - - def testApiV1SecretImportsGet200Response(self): - """Test ApiV1SecretImportsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_get200_response_secret_imports_inner.py b/test/test_api_v1_secret_imports_get200_response_secret_imports_inner.py deleted file mode 100644 index ba2471a..0000000 --- a/test/test_api_v1_secret_imports_get200_response_secret_imports_inner.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner import ApiV1SecretImportsGet200ResponseSecretImportsInner # noqa: E501 - -class TestApiV1SecretImportsGet200ResponseSecretImportsInner(unittest.TestCase): - """ApiV1SecretImportsGet200ResponseSecretImportsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsGet200ResponseSecretImportsInner: - """Test ApiV1SecretImportsGet200ResponseSecretImportsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsGet200ResponseSecretImportsInner` - """ - model = ApiV1SecretImportsGet200ResponseSecretImportsInner() # noqa: E501 - if include_optional: - return ApiV1SecretImportsGet200ResponseSecretImportsInner( - id = '', - version = 1.337, - import_path = '', - position = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - folder_id = '', - is_replication = True, - is_replication_success = True, - replication_status = '', - last_replicated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_reserved = True, - import_env = infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ) - ) - else: - return ApiV1SecretImportsGet200ResponseSecretImportsInner( - id = '', - import_path = '', - position = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - folder_id = '', - import_env = infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ), - ) - """ - - def testApiV1SecretImportsGet200ResponseSecretImportsInner(self): - """Test ApiV1SecretImportsGet200ResponseSecretImportsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_get200_response_secret_imports_inner_import_env.py b/test/test_api_v1_secret_imports_get200_response_secret_imports_inner_import_env.py deleted file mode 100644 index c2f0f93..0000000 --- a/test/test_api_v1_secret_imports_get200_response_secret_imports_inner_import_env.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_get200_response_secret_imports_inner_import_env import ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv # noqa: E501 - -class TestApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv(unittest.TestCase): - """ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv: - """Test ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv` - """ - model = ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv() # noqa: E501 - if include_optional: - return ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv( - name = '', - slug = '', - id = '' - ) - else: - return ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv( - name = '', - slug = '', - id = '', - ) - """ - - def testApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv(self): - """Test ApiV1SecretImportsGet200ResponseSecretImportsInnerImportEnv""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_post200_response.py b/test/test_api_v1_secret_imports_post200_response.py deleted file mode 100644 index d04af63..0000000 --- a/test/test_api_v1_secret_imports_post200_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_post200_response import ApiV1SecretImportsPost200Response # noqa: E501 - -class TestApiV1SecretImportsPost200Response(unittest.TestCase): - """ApiV1SecretImportsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsPost200Response: - """Test ApiV1SecretImportsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsPost200Response` - """ - model = ApiV1SecretImportsPost200Response() # noqa: E501 - if include_optional: - return ApiV1SecretImportsPost200Response( - message = '', - secret_import = infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner._api_v1_secret_imports_get_200_response_secretImports_inner( - id = '', - version = 1.337, - import_path = '', - position = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - folder_id = '', - is_replication = True, - is_replication_success = True, - replication_status = '', - last_replicated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_reserved = True, - import_env = infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ), ) - ) - else: - return ApiV1SecretImportsPost200Response( - message = '', - secret_import = infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner._api_v1_secret_imports_get_200_response_secretImports_inner( - id = '', - version = 1.337, - import_path = '', - position = 1.337, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - folder_id = '', - is_replication = True, - is_replication_success = True, - replication_status = '', - last_replicated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_reserved = True, - import_env = infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ), ), - ) - """ - - def testApiV1SecretImportsPost200Response(self): - """Test ApiV1SecretImportsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_post_request.py b/test/test_api_v1_secret_imports_post_request.py deleted file mode 100644 index 35a183a..0000000 --- a/test/test_api_v1_secret_imports_post_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_post_request import ApiV1SecretImportsPostRequest # noqa: E501 - -class TestApiV1SecretImportsPostRequest(unittest.TestCase): - """ApiV1SecretImportsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsPostRequest: - """Test ApiV1SecretImportsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsPostRequest` - """ - model = ApiV1SecretImportsPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretImportsPostRequest( - workspace_id = '', - environment = '', - path = '/', - var_import = infisicalapi_client.models._api_v1_secret_imports_post_request_import._api_v1_secret_imports_post_request_import( - environment = '', - path = '', ), - is_replication = True - ) - else: - return ApiV1SecretImportsPostRequest( - workspace_id = '', - environment = '', - var_import = infisicalapi_client.models._api_v1_secret_imports_post_request_import._api_v1_secret_imports_post_request_import( - environment = '', - path = '', ), - ) - """ - - def testApiV1SecretImportsPostRequest(self): - """Test ApiV1SecretImportsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_post_request_import.py b/test/test_api_v1_secret_imports_post_request_import.py deleted file mode 100644 index 56cce4d..0000000 --- a/test/test_api_v1_secret_imports_post_request_import.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_post_request_import import ApiV1SecretImportsPostRequestImport # noqa: E501 - -class TestApiV1SecretImportsPostRequestImport(unittest.TestCase): - """ApiV1SecretImportsPostRequestImport unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsPostRequestImport: - """Test ApiV1SecretImportsPostRequestImport - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsPostRequestImport` - """ - model = ApiV1SecretImportsPostRequestImport() # noqa: E501 - if include_optional: - return ApiV1SecretImportsPostRequestImport( - environment = '', - path = '' - ) - else: - return ApiV1SecretImportsPostRequestImport( - environment = '', - path = '', - ) - """ - - def testApiV1SecretImportsPostRequestImport(self): - """Test ApiV1SecretImportsPostRequestImport""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_secret_import_id_delete_request.py b/test/test_api_v1_secret_imports_secret_import_id_delete_request.py deleted file mode 100644 index e0f7df2..0000000 --- a/test/test_api_v1_secret_imports_secret_import_id_delete_request.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_delete_request import ApiV1SecretImportsSecretImportIdDeleteRequest # noqa: E501 - -class TestApiV1SecretImportsSecretImportIdDeleteRequest(unittest.TestCase): - """ApiV1SecretImportsSecretImportIdDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsSecretImportIdDeleteRequest: - """Test ApiV1SecretImportsSecretImportIdDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsSecretImportIdDeleteRequest` - """ - model = ApiV1SecretImportsSecretImportIdDeleteRequest() # noqa: E501 - if include_optional: - return ApiV1SecretImportsSecretImportIdDeleteRequest( - workspace_id = '', - environment = '', - path = '/' - ) - else: - return ApiV1SecretImportsSecretImportIdDeleteRequest( - workspace_id = '', - environment = '', - ) - """ - - def testApiV1SecretImportsSecretImportIdDeleteRequest(self): - """Test ApiV1SecretImportsSecretImportIdDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_secret_import_id_patch_request.py b/test/test_api_v1_secret_imports_secret_import_id_patch_request.py deleted file mode 100644 index 7889104..0000000 --- a/test/test_api_v1_secret_imports_secret_import_id_patch_request.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request import ApiV1SecretImportsSecretImportIdPatchRequest # noqa: E501 - -class TestApiV1SecretImportsSecretImportIdPatchRequest(unittest.TestCase): - """ApiV1SecretImportsSecretImportIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsSecretImportIdPatchRequest: - """Test ApiV1SecretImportsSecretImportIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsSecretImportIdPatchRequest` - """ - model = ApiV1SecretImportsSecretImportIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1SecretImportsSecretImportIdPatchRequest( - workspace_id = '', - environment = '', - path = '/', - var_import = infisicalapi_client.models._api_v1_secret_imports__secret_import_id__patch_request_import._api_v1_secret_imports__secretImportId__patch_request_import( - environment = '', - path = '', - position = 1.337, ) - ) - else: - return ApiV1SecretImportsSecretImportIdPatchRequest( - workspace_id = '', - environment = '', - var_import = infisicalapi_client.models._api_v1_secret_imports__secret_import_id__patch_request_import._api_v1_secret_imports__secretImportId__patch_request_import( - environment = '', - path = '', - position = 1.337, ), - ) - """ - - def testApiV1SecretImportsSecretImportIdPatchRequest(self): - """Test ApiV1SecretImportsSecretImportIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_secret_import_id_patch_request_import.py b/test/test_api_v1_secret_imports_secret_import_id_patch_request_import.py deleted file mode 100644 index c9e1cd0..0000000 --- a/test/test_api_v1_secret_imports_secret_import_id_patch_request_import.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_patch_request_import import ApiV1SecretImportsSecretImportIdPatchRequestImport # noqa: E501 - -class TestApiV1SecretImportsSecretImportIdPatchRequestImport(unittest.TestCase): - """ApiV1SecretImportsSecretImportIdPatchRequestImport unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsSecretImportIdPatchRequestImport: - """Test ApiV1SecretImportsSecretImportIdPatchRequestImport - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsSecretImportIdPatchRequestImport` - """ - model = ApiV1SecretImportsSecretImportIdPatchRequestImport() # noqa: E501 - if include_optional: - return ApiV1SecretImportsSecretImportIdPatchRequestImport( - environment = '', - path = '', - position = 1.337 - ) - else: - return ApiV1SecretImportsSecretImportIdPatchRequestImport( - ) - """ - - def testApiV1SecretImportsSecretImportIdPatchRequestImport(self): - """Test ApiV1SecretImportsSecretImportIdPatchRequestImport""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_secret_import_id_replication_resync_post_request.py b/test/test_api_v1_secret_imports_secret_import_id_replication_resync_post_request.py deleted file mode 100644 index db4bb74..0000000 --- a/test/test_api_v1_secret_imports_secret_import_id_replication_resync_post_request.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_secret_import_id_replication_resync_post_request import ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest # noqa: E501 - -class TestApiV1SecretImportsSecretImportIdReplicationResyncPostRequest(unittest.TestCase): - """ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest: - """Test ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest` - """ - model = ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest( - workspace_id = '', - environment = '', - path = '/' - ) - else: - return ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest( - workspace_id = '', - environment = '', - ) - """ - - def testApiV1SecretImportsSecretImportIdReplicationResyncPostRequest(self): - """Test ApiV1SecretImportsSecretImportIdReplicationResyncPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_secrets_get200_response.py b/test/test_api_v1_secret_imports_secrets_get200_response.py deleted file mode 100644 index 67d8d09..0000000 --- a/test/test_api_v1_secret_imports_secrets_get200_response.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response import ApiV1SecretImportsSecretsGet200Response # noqa: E501 - -class TestApiV1SecretImportsSecretsGet200Response(unittest.TestCase): - """ApiV1SecretImportsSecretsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsSecretsGet200Response: - """Test ApiV1SecretImportsSecretsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsSecretsGet200Response` - """ - model = ApiV1SecretImportsSecretsGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretImportsSecretsGet200Response( - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_get_200_response_secrets_inner._api_v1_secret_imports_secrets_get_200_response_secrets_inner( - secret_path = '', - environment = '', - environment_info = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - folder_id = '', - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ] - ) - else: - return ApiV1SecretImportsSecretsGet200Response( - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_get_200_response_secrets_inner._api_v1_secret_imports_secrets_get_200_response_secrets_inner( - secret_path = '', - environment = '', - environment_info = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - folder_id = '', - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ], - ) - """ - - def testApiV1SecretImportsSecretsGet200Response(self): - """Test ApiV1SecretImportsSecretsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_secrets_get200_response_secrets_inner.py b/test/test_api_v1_secret_imports_secrets_get200_response_secrets_inner.py deleted file mode 100644 index 2e5bdb6..0000000 --- a/test/test_api_v1_secret_imports_secrets_get200_response_secrets_inner.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInner # noqa: E501 - -class TestApiV1SecretImportsSecretsGet200ResponseSecretsInner(unittest.TestCase): - """ApiV1SecretImportsSecretsGet200ResponseSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsSecretsGet200ResponseSecretsInner: - """Test ApiV1SecretImportsSecretsGet200ResponseSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsSecretsGet200ResponseSecretsInner` - """ - model = ApiV1SecretImportsSecretsGet200ResponseSecretsInner() # noqa: E501 - if include_optional: - return ApiV1SecretImportsSecretsGet200ResponseSecretsInner( - secret_path = '', - environment = '', - environment_info = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - folder_id = '', - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1SecretImportsSecretsGet200ResponseSecretsInner( - secret_path = '', - environment = '', - environment_info = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1SecretImportsSecretsGet200ResponseSecretsInner(self): - """Test ApiV1SecretImportsSecretsGet200ResponseSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner.py b/test/test_api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner.py deleted file mode 100644 index b7bc6f7..0000000 --- a/test/test_api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner import ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner # noqa: E501 - -class TestApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner(unittest.TestCase): - """ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner: - """Test ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner` - """ - model = ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner() # noqa: E501 - if include_optional: - return ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = None, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner( - id = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner(self): - """Test ApiV1SecretImportsSecretsGet200ResponseSecretsInnerSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_secrets_raw_get200_response.py b/test/test_api_v1_secret_imports_secrets_raw_get200_response.py deleted file mode 100644 index ba64fa9..0000000 --- a/test/test_api_v1_secret_imports_secrets_raw_get200_response.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response import ApiV1SecretImportsSecretsRawGet200Response # noqa: E501 - -class TestApiV1SecretImportsSecretsRawGet200Response(unittest.TestCase): - """ApiV1SecretImportsSecretsRawGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsSecretsRawGet200Response: - """Test ApiV1SecretImportsSecretsRawGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsSecretsRawGet200Response` - """ - model = ApiV1SecretImportsSecretsRawGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretImportsSecretsRawGet200Response( - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_raw_get_200_response_secrets_inner._api_v1_secret_imports_secrets_raw_get_200_response_secrets_inner( - secret_path = '', - environment = '', - environment_info = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - folder_id = '', - secrets = [ - infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ] - ) - else: - return ApiV1SecretImportsSecretsRawGet200Response( - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_raw_get_200_response_secrets_inner._api_v1_secret_imports_secrets_raw_get_200_response_secrets_inner( - secret_path = '', - environment = '', - environment_info = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - folder_id = '', - secrets = [ - infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ], - ) - """ - - def testApiV1SecretImportsSecretsRawGet200Response(self): - """Test ApiV1SecretImportsSecretsRawGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_imports_secrets_raw_get200_response_secrets_inner.py b/test/test_api_v1_secret_imports_secrets_raw_get200_response_secrets_inner.py deleted file mode 100644 index f95477b..0000000 --- a/test/test_api_v1_secret_imports_secrets_raw_get200_response_secrets_inner.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_imports_secrets_raw_get200_response_secrets_inner import ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner # noqa: E501 - -class TestApiV1SecretImportsSecretsRawGet200ResponseSecretsInner(unittest.TestCase): - """ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner: - """Test ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner` - """ - model = ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner() # noqa: E501 - if include_optional: - return ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner( - secret_path = '', - environment = '', - environment_info = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - folder_id = '', - secrets = [ - infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner( - secret_path = '', - environment = '', - environment_info = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - secrets = [ - infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1SecretImportsSecretsRawGet200ResponseSecretsInner(self): - """Test ApiV1SecretImportsSecretsRawGet200ResponseSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotation_providers_workspace_id_get200_response.py b/test/test_api_v1_secret_rotation_providers_workspace_id_get200_response.py deleted file mode 100644 index 4594b52..0000000 --- a/test/test_api_v1_secret_rotation_providers_workspace_id_get200_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response import ApiV1SecretRotationProvidersWorkspaceIdGet200Response # noqa: E501 - -class TestApiV1SecretRotationProvidersWorkspaceIdGet200Response(unittest.TestCase): - """ApiV1SecretRotationProvidersWorkspaceIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationProvidersWorkspaceIdGet200Response: - """Test ApiV1SecretRotationProvidersWorkspaceIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationProvidersWorkspaceIdGet200Response` - """ - model = ApiV1SecretRotationProvidersWorkspaceIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretRotationProvidersWorkspaceIdGet200Response( - providers = [ - infisicalapi_client.models._api_v1_secret_rotation_providers__workspace_id__get_200_response_providers_inner._api_v1_secret_rotation_providers__workspaceId__get_200_response_providers_inner( - name = '', - title = '', - image = '', - description = '', - template = null, ) - ] - ) - else: - return ApiV1SecretRotationProvidersWorkspaceIdGet200Response( - providers = [ - infisicalapi_client.models._api_v1_secret_rotation_providers__workspace_id__get_200_response_providers_inner._api_v1_secret_rotation_providers__workspaceId__get_200_response_providers_inner( - name = '', - title = '', - image = '', - description = '', - template = null, ) - ], - ) - """ - - def testApiV1SecretRotationProvidersWorkspaceIdGet200Response(self): - """Test ApiV1SecretRotationProvidersWorkspaceIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner.py b/test/test_api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner.py deleted file mode 100644 index e97bb63..0000000 --- a/test/test_api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner import ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner # noqa: E501 - -class TestApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner(unittest.TestCase): - """ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner: - """Test ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner` - """ - model = ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner() # noqa: E501 - if include_optional: - return ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner( - name = '', - title = '', - image = '', - description = '', - template = None - ) - else: - return ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner( - name = '', - title = '', - ) - """ - - def testApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner(self): - """Test ApiV1SecretRotationProvidersWorkspaceIdGet200ResponseProvidersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_get200_response.py b/test/test_api_v1_secret_rotations_get200_response.py deleted file mode 100644 index 59ca155..0000000 --- a/test/test_api_v1_secret_rotations_get200_response.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_get200_response import ApiV1SecretRotationsGet200Response # noqa: E501 - -class TestApiV1SecretRotationsGet200Response(unittest.TestCase): - """ApiV1SecretRotationsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsGet200Response: - """Test ApiV1SecretRotationsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsGet200Response` - """ - model = ApiV1SecretRotationsGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsGet200Response( - secret_rotations = [ - infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner._api_v1_secret_rotations_get_200_response_secretRotations_inner( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - last_rotated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_message = '', - encrypted_data = '', - encrypted_data_iv = '', - encrypted_data_tag = '', - algorithm = '', - key_encoding = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - outputs = [ - infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner_outputs_inner._api_v1_secret_rotations_get_200_response_secretRotations_inner_outputs_inner( - key = '', - secret = infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner_outputs_inner_secret._api_v1_secret_rotations_get_200_response_secretRotations_inner_outputs_inner_secret( - secret_key = '', - id = '', - version = 1.337, ), ) - ], ) - ] - ) - else: - return ApiV1SecretRotationsGet200Response( - secret_rotations = [ - infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner._api_v1_secret_rotations_get_200_response_secretRotations_inner( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - last_rotated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_message = '', - encrypted_data = '', - encrypted_data_iv = '', - encrypted_data_tag = '', - algorithm = '', - key_encoding = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - outputs = [ - infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner_outputs_inner._api_v1_secret_rotations_get_200_response_secretRotations_inner_outputs_inner( - key = '', - secret = infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner_outputs_inner_secret._api_v1_secret_rotations_get_200_response_secretRotations_inner_outputs_inner_secret( - secret_key = '', - id = '', - version = 1.337, ), ) - ], ) - ], - ) - """ - - def testApiV1SecretRotationsGet200Response(self): - """Test ApiV1SecretRotationsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner.py b/test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner.py deleted file mode 100644 index 7b7e9c4..0000000 --- a/test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner import ApiV1SecretRotationsGet200ResponseSecretRotationsInner # noqa: E501 - -class TestApiV1SecretRotationsGet200ResponseSecretRotationsInner(unittest.TestCase): - """ApiV1SecretRotationsGet200ResponseSecretRotationsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsGet200ResponseSecretRotationsInner: - """Test ApiV1SecretRotationsGet200ResponseSecretRotationsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsGet200ResponseSecretRotationsInner` - """ - model = ApiV1SecretRotationsGet200ResponseSecretRotationsInner() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsGet200ResponseSecretRotationsInner( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - last_rotated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_message = '', - encrypted_data = '', - encrypted_data_iv = '', - encrypted_data_tag = '', - algorithm = '', - key_encoding = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - outputs = [ - infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner_outputs_inner._api_v1_secret_rotations_get_200_response_secretRotations_inner_outputs_inner( - key = '', - secret = infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner_outputs_inner_secret._api_v1_secret_rotations_get_200_response_secretRotations_inner_outputs_inner_secret( - secret_key = '', - id = '', - version = 1.337, ), ) - ] - ) - else: - return ApiV1SecretRotationsGet200ResponseSecretRotationsInner( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - outputs = [ - infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner_outputs_inner._api_v1_secret_rotations_get_200_response_secretRotations_inner_outputs_inner( - key = '', - secret = infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner_outputs_inner_secret._api_v1_secret_rotations_get_200_response_secretRotations_inner_outputs_inner_secret( - secret_key = '', - id = '', - version = 1.337, ), ) - ], - ) - """ - - def testApiV1SecretRotationsGet200ResponseSecretRotationsInner(self): - """Test ApiV1SecretRotationsGet200ResponseSecretRotationsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner.py b/test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner.py deleted file mode 100644 index 4e2e49b..0000000 --- a/test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner import ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner # noqa: E501 - -class TestApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner(unittest.TestCase): - """ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner: - """Test ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner` - """ - model = ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner( - key = '', - secret = infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner_outputs_inner_secret._api_v1_secret_rotations_get_200_response_secretRotations_inner_outputs_inner_secret( - secret_key = '', - id = '', - version = 1.337, ) - ) - else: - return ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner( - key = '', - secret = infisicalapi_client.models._api_v1_secret_rotations_get_200_response_secret_rotations_inner_outputs_inner_secret._api_v1_secret_rotations_get_200_response_secretRotations_inner_outputs_inner_secret( - secret_key = '', - id = '', - version = 1.337, ), - ) - """ - - def testApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner(self): - """Test ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret.py b/test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret.py deleted file mode 100644 index cab827e..0000000 --- a/test/test_api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret import ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret # noqa: E501 - -class TestApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret(unittest.TestCase): - """ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret: - """Test ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret` - """ - model = ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret( - secret_key = '', - id = '', - version = 1.337 - ) - else: - return ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret( - secret_key = '', - id = '', - version = 1.337, - ) - """ - - def testApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret(self): - """Test ApiV1SecretRotationsGet200ResponseSecretRotationsInnerOutputsInnerSecret""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_post200_response.py b/test/test_api_v1_secret_rotations_post200_response.py deleted file mode 100644 index 87115e5..0000000 --- a/test/test_api_v1_secret_rotations_post200_response.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_post200_response import ApiV1SecretRotationsPost200Response # noqa: E501 - -class TestApiV1SecretRotationsPost200Response(unittest.TestCase): - """ApiV1SecretRotationsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsPost200Response: - """Test ApiV1SecretRotationsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsPost200Response` - """ - model = ApiV1SecretRotationsPost200Response() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsPost200Response( - secret_rotation = infisicalapi_client.models._api_v1_secret_rotations_post_200_response_secret_rotation._api_v1_secret_rotations_post_200_response_secretRotation( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - last_rotated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_message = '', - encrypted_data = '', - encrypted_data_iv = '', - encrypted_data_tag = '', - algorithm = '', - key_encoding = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - outputs = [ - infisicalapi_client.models._api_v1_secret_rotations_post_200_response_secret_rotation_outputs_inner._api_v1_secret_rotations_post_200_response_secretRotation_outputs_inner( - id = '', - key = '', - secret_id = '', - rotation_id = '', ) - ], ) - ) - else: - return ApiV1SecretRotationsPost200Response( - secret_rotation = infisicalapi_client.models._api_v1_secret_rotations_post_200_response_secret_rotation._api_v1_secret_rotations_post_200_response_secretRotation( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - last_rotated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_message = '', - encrypted_data = '', - encrypted_data_iv = '', - encrypted_data_tag = '', - algorithm = '', - key_encoding = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - outputs = [ - infisicalapi_client.models._api_v1_secret_rotations_post_200_response_secret_rotation_outputs_inner._api_v1_secret_rotations_post_200_response_secretRotation_outputs_inner( - id = '', - key = '', - secret_id = '', - rotation_id = '', ) - ], ), - ) - """ - - def testApiV1SecretRotationsPost200Response(self): - """Test ApiV1SecretRotationsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_post200_response_secret_rotation.py b/test/test_api_v1_secret_rotations_post200_response_secret_rotation.py deleted file mode 100644 index 11d3bc5..0000000 --- a/test/test_api_v1_secret_rotations_post200_response_secret_rotation.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_post200_response_secret_rotation import ApiV1SecretRotationsPost200ResponseSecretRotation # noqa: E501 - -class TestApiV1SecretRotationsPost200ResponseSecretRotation(unittest.TestCase): - """ApiV1SecretRotationsPost200ResponseSecretRotation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsPost200ResponseSecretRotation: - """Test ApiV1SecretRotationsPost200ResponseSecretRotation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsPost200ResponseSecretRotation` - """ - model = ApiV1SecretRotationsPost200ResponseSecretRotation() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsPost200ResponseSecretRotation( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - last_rotated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_message = '', - encrypted_data = '', - encrypted_data_iv = '', - encrypted_data_tag = '', - algorithm = '', - key_encoding = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - outputs = [ - infisicalapi_client.models._api_v1_secret_rotations_post_200_response_secret_rotation_outputs_inner._api_v1_secret_rotations_post_200_response_secretRotation_outputs_inner( - id = '', - key = '', - secret_id = '', - rotation_id = '', ) - ] - ) - else: - return ApiV1SecretRotationsPost200ResponseSecretRotation( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - outputs = [ - infisicalapi_client.models._api_v1_secret_rotations_post_200_response_secret_rotation_outputs_inner._api_v1_secret_rotations_post_200_response_secretRotation_outputs_inner( - id = '', - key = '', - secret_id = '', - rotation_id = '', ) - ], - ) - """ - - def testApiV1SecretRotationsPost200ResponseSecretRotation(self): - """Test ApiV1SecretRotationsPost200ResponseSecretRotation""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner.py b/test/test_api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner.py deleted file mode 100644 index 24ec264..0000000 --- a/test/test_api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner import ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner # noqa: E501 - -class TestApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner(unittest.TestCase): - """ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner: - """Test ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner` - """ - model = ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner( - id = '', - key = '', - secret_id = '', - rotation_id = '' - ) - else: - return ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner( - id = '', - key = '', - secret_id = '', - rotation_id = '', - ) - """ - - def testApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner(self): - """Test ApiV1SecretRotationsPost200ResponseSecretRotationOutputsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_post_request.py b/test/test_api_v1_secret_rotations_post_request.py deleted file mode 100644 index 984b631..0000000 --- a/test/test_api_v1_secret_rotations_post_request.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_post_request import ApiV1SecretRotationsPostRequest # noqa: E501 - -class TestApiV1SecretRotationsPostRequest(unittest.TestCase): - """ApiV1SecretRotationsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsPostRequest: - """Test ApiV1SecretRotationsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsPostRequest` - """ - model = ApiV1SecretRotationsPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsPostRequest( - workspace_id = '', - secret_path = '', - environment = '', - interval = 1, - provider = '', - custom_provider = '', - inputs = { - 'key' : null - }, - outputs = { - 'key' : '' - } - ) - else: - return ApiV1SecretRotationsPostRequest( - workspace_id = '', - secret_path = '', - environment = '', - interval = 1, - provider = '', - inputs = { - 'key' : null - }, - outputs = { - 'key' : '' - }, - ) - """ - - def testApiV1SecretRotationsPostRequest(self): - """Test ApiV1SecretRotationsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_restart_post200_response.py b/test/test_api_v1_secret_rotations_restart_post200_response.py deleted file mode 100644 index eadc4f0..0000000 --- a/test/test_api_v1_secret_rotations_restart_post200_response.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response import ApiV1SecretRotationsRestartPost200Response # noqa: E501 - -class TestApiV1SecretRotationsRestartPost200Response(unittest.TestCase): - """ApiV1SecretRotationsRestartPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsRestartPost200Response: - """Test ApiV1SecretRotationsRestartPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsRestartPost200Response` - """ - model = ApiV1SecretRotationsRestartPost200Response() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsRestartPost200Response( - secret_rotation = infisicalapi_client.models._api_v1_secret_rotations_restart_post_200_response_secret_rotation._api_v1_secret_rotations_restart_post_200_response_secretRotation( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - last_rotated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_message = '', - encrypted_data = '', - encrypted_data_iv = '', - encrypted_data_tag = '', - algorithm = '', - key_encoding = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), ) - ) - else: - return ApiV1SecretRotationsRestartPost200Response( - secret_rotation = infisicalapi_client.models._api_v1_secret_rotations_restart_post_200_response_secret_rotation._api_v1_secret_rotations_restart_post_200_response_secretRotation( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - last_rotated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_message = '', - encrypted_data = '', - encrypted_data_iv = '', - encrypted_data_tag = '', - algorithm = '', - key_encoding = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), ), - ) - """ - - def testApiV1SecretRotationsRestartPost200Response(self): - """Test ApiV1SecretRotationsRestartPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_restart_post200_response_secret_rotation.py b/test/test_api_v1_secret_rotations_restart_post200_response_secret_rotation.py deleted file mode 100644 index 996ce38..0000000 --- a/test/test_api_v1_secret_rotations_restart_post200_response_secret_rotation.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_restart_post200_response_secret_rotation import ApiV1SecretRotationsRestartPost200ResponseSecretRotation # noqa: E501 - -class TestApiV1SecretRotationsRestartPost200ResponseSecretRotation(unittest.TestCase): - """ApiV1SecretRotationsRestartPost200ResponseSecretRotation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsRestartPost200ResponseSecretRotation: - """Test ApiV1SecretRotationsRestartPost200ResponseSecretRotation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsRestartPost200ResponseSecretRotation` - """ - model = ApiV1SecretRotationsRestartPost200ResponseSecretRotation() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsRestartPost200ResponseSecretRotation( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - last_rotated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - status = '', - status_message = '', - encrypted_data = '', - encrypted_data_iv = '', - encrypted_data_tag = '', - algorithm = '', - key_encoding = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ) - ) - else: - return ApiV1SecretRotationsRestartPost200ResponseSecretRotation( - id = '', - provider = '', - secret_path = '', - interval = 1.337, - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - ) - """ - - def testApiV1SecretRotationsRestartPost200ResponseSecretRotation(self): - """Test ApiV1SecretRotationsRestartPost200ResponseSecretRotation""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_rotations_restart_post_request.py b/test/test_api_v1_secret_rotations_restart_post_request.py deleted file mode 100644 index 0b7ad1c..0000000 --- a/test/test_api_v1_secret_rotations_restart_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_rotations_restart_post_request import ApiV1SecretRotationsRestartPostRequest # noqa: E501 - -class TestApiV1SecretRotationsRestartPostRequest(unittest.TestCase): - """ApiV1SecretRotationsRestartPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretRotationsRestartPostRequest: - """Test ApiV1SecretRotationsRestartPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretRotationsRestartPostRequest` - """ - model = ApiV1SecretRotationsRestartPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretRotationsRestartPostRequest( - id = '' - ) - else: - return ApiV1SecretRotationsRestartPostRequest( - id = '', - ) - """ - - def testApiV1SecretRotationsRestartPostRequest(self): - """Test ApiV1SecretRotationsRestartPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_scanning_create_installation_session_organization_post200_response.py b/test/test_api_v1_secret_scanning_create_installation_session_organization_post200_response.py deleted file mode 100644 index ccce4f3..0000000 --- a/test/test_api_v1_secret_scanning_create_installation_session_organization_post200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post200_response import ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response # noqa: E501 - -class TestApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response(unittest.TestCase): - """ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response: - """Test ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response` - """ - model = ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response() # noqa: E501 - if include_optional: - return ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response( - session_id = '' - ) - else: - return ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response( - session_id = '', - ) - """ - - def testApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response(self): - """Test ApiV1SecretScanningCreateInstallationSessionOrganizationPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_scanning_create_installation_session_organization_post_request.py b/test/test_api_v1_secret_scanning_create_installation_session_organization_post_request.py deleted file mode 100644 index 702b524..0000000 --- a/test/test_api_v1_secret_scanning_create_installation_session_organization_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_scanning_create_installation_session_organization_post_request import ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest # noqa: E501 - -class TestApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest(unittest.TestCase): - """ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest: - """Test ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest` - """ - model = ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest( - organization_id = '' - ) - else: - return ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest( - organization_id = '', - ) - """ - - def testApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest(self): - """Test ApiV1SecretScanningCreateInstallationSessionOrganizationPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_scanning_installation_status_organization_organization_id_get200_response.py b/test/test_api_v1_secret_scanning_installation_status_organization_organization_id_get200_response.py deleted file mode 100644 index ced7816..0000000 --- a/test/test_api_v1_secret_scanning_installation_status_organization_organization_id_get200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_scanning_installation_status_organization_organization_id_get200_response import ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response # noqa: E501 - -class TestApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response(unittest.TestCase): - """ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response: - """Test ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response` - """ - model = ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response( - app_installation_completed = True - ) - else: - return ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response( - app_installation_completed = True, - ) - """ - - def testApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response(self): - """Test ApiV1SecretScanningInstallationStatusOrganizationOrganizationIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_scanning_link_installation_post200_response.py b/test/test_api_v1_secret_scanning_link_installation_post200_response.py deleted file mode 100644 index 0d412c4..0000000 --- a/test/test_api_v1_secret_scanning_link_installation_post200_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post200_response import ApiV1SecretScanningLinkInstallationPost200Response # noqa: E501 - -class TestApiV1SecretScanningLinkInstallationPost200Response(unittest.TestCase): - """ApiV1SecretScanningLinkInstallationPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretScanningLinkInstallationPost200Response: - """Test ApiV1SecretScanningLinkInstallationPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretScanningLinkInstallationPost200Response` - """ - model = ApiV1SecretScanningLinkInstallationPost200Response() # noqa: E501 - if include_optional: - return ApiV1SecretScanningLinkInstallationPost200Response( - id = '', - installation_id = '', - user_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1SecretScanningLinkInstallationPost200Response( - id = '', - installation_id = '', - user_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1SecretScanningLinkInstallationPost200Response(self): - """Test ApiV1SecretScanningLinkInstallationPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_scanning_link_installation_post_request.py b/test/test_api_v1_secret_scanning_link_installation_post_request.py deleted file mode 100644 index d1b4ea9..0000000 --- a/test/test_api_v1_secret_scanning_link_installation_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_scanning_link_installation_post_request import ApiV1SecretScanningLinkInstallationPostRequest # noqa: E501 - -class TestApiV1SecretScanningLinkInstallationPostRequest(unittest.TestCase): - """ApiV1SecretScanningLinkInstallationPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretScanningLinkInstallationPostRequest: - """Test ApiV1SecretScanningLinkInstallationPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretScanningLinkInstallationPostRequest` - """ - model = ApiV1SecretScanningLinkInstallationPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretScanningLinkInstallationPostRequest( - installation_id = '', - session_id = '' - ) - else: - return ApiV1SecretScanningLinkInstallationPostRequest( - installation_id = '', - session_id = '', - ) - """ - - def testApiV1SecretScanningLinkInstallationPostRequest(self): - """Test ApiV1SecretScanningLinkInstallationPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_scanning_organization_organization_id_risks_get200_response.py b/test/test_api_v1_secret_scanning_organization_organization_id_risks_get200_response.py deleted file mode 100644 index f6ae7a6..0000000 --- a/test/test_api_v1_secret_scanning_organization_organization_id_risks_get200_response.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response # noqa: E501 - -class TestApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response(unittest.TestCase): - """ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response: - """Test ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response` - """ - model = ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response( - risks = [ - infisicalapi_client.models._api_v1_secret_scanning_organization__organization_id__risks_get_200_response_risks_inner._api_v1_secret_scanning_organization__organizationId__risks_get_200_response_risks_inner( - id = '', - description = '', - start_line = '', - end_line = '', - start_column = '', - end_column = '', - file = '', - symlink_file = '', - commit = '', - entropy = '', - author = '', - email = '', - date = '', - message = '', - tags = [ - '' - ], - rule_id = '', - fingerprint = '', - finger_print_without_commit_id = '', - is_false_positive = True, - is_resolved = True, - risk_owner = '', - installation_id = '', - repository_id = '', - repository_link = '', - repository_full_name = '', - pusher_name = '', - pusher_email = '', - status = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response( - risks = [ - infisicalapi_client.models._api_v1_secret_scanning_organization__organization_id__risks_get_200_response_risks_inner._api_v1_secret_scanning_organization__organizationId__risks_get_200_response_risks_inner( - id = '', - description = '', - start_line = '', - end_line = '', - start_column = '', - end_column = '', - file = '', - symlink_file = '', - commit = '', - entropy = '', - author = '', - email = '', - date = '', - message = '', - tags = [ - '' - ], - rule_id = '', - fingerprint = '', - finger_print_without_commit_id = '', - is_false_positive = True, - is_resolved = True, - risk_owner = '', - installation_id = '', - repository_id = '', - repository_link = '', - repository_full_name = '', - pusher_name = '', - pusher_email = '', - status = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response(self): - """Test ApiV1SecretScanningOrganizationOrganizationIdRisksGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner.py b/test/test_api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner.py deleted file mode 100644 index cf4e751..0000000 --- a/test/test_api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner import ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner # noqa: E501 - -class TestApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner(unittest.TestCase): - """ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner: - """Test ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner` - """ - model = ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner() # noqa: E501 - if include_optional: - return ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner( - id = '', - description = '', - start_line = '', - end_line = '', - start_column = '', - end_column = '', - file = '', - symlink_file = '', - commit = '', - entropy = '', - author = '', - email = '', - var_date = '', - message = '', - tags = [ - '' - ], - rule_id = '', - fingerprint = '', - finger_print_without_commit_id = '', - is_false_positive = True, - is_resolved = True, - risk_owner = '', - installation_id = '', - repository_id = '', - repository_link = '', - repository_full_name = '', - pusher_name = '', - pusher_email = '', - status = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner( - id = '', - installation_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner(self): - """Test ApiV1SecretScanningOrganizationOrganizationIdRisksGet200ResponseRisksInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request.py b/test/test_api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request.py deleted file mode 100644 index bb43800..0000000 --- a/test/test_api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request import ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest # noqa: E501 - -class TestApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest(unittest.TestCase): - """ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest: - """Test ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest` - """ - model = ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest( - status = 'RESOLVED_FALSE_POSITIVE' - ) - else: - return ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest( - status = 'RESOLVED_FALSE_POSITIVE', - ) - """ - - def testApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest(self): - """Test ApiV1SecretScanningOrganizationOrganizationIdRisksRiskIdStatusPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_secret_id_secret_versions_get200_response.py b/test/test_api_v1_secret_secret_id_secret_versions_get200_response.py deleted file mode 100644 index 76d4f7a..0000000 --- a/test/test_api_v1_secret_secret_id_secret_versions_get200_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response import ApiV1SecretSecretIdSecretVersionsGet200Response # noqa: E501 - -class TestApiV1SecretSecretIdSecretVersionsGet200Response(unittest.TestCase): - """ApiV1SecretSecretIdSecretVersionsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSecretIdSecretVersionsGet200Response: - """Test ApiV1SecretSecretIdSecretVersionsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSecretIdSecretVersionsGet200Response` - """ - model = ApiV1SecretSecretIdSecretVersionsGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretSecretIdSecretVersionsGet200Response( - secret_versions = [ - infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1SecretSecretIdSecretVersionsGet200Response( - secret_versions = [ - infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1SecretSecretIdSecretVersionsGet200Response(self): - """Test ApiV1SecretSecretIdSecretVersionsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner.py b/test/test_api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner.py deleted file mode 100644 index 319d3de..0000000 --- a/test/test_api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner import ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner # noqa: E501 - -class TestApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner(unittest.TestCase): - """ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner: - """Test ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner` - """ - model = ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner() # noqa: E501 - if include_optional: - return ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner( - id = '', - id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner( - id = '', - id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner(self): - """Test ApiV1SecretSecretIdSecretVersionsGet200ResponseSecretVersionsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_sharing_get200_response.py b/test/test_api_v1_secret_sharing_get200_response.py deleted file mode 100644 index a6be6b6..0000000 --- a/test/test_api_v1_secret_sharing_get200_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_sharing_get200_response import ApiV1SecretSharingGet200Response # noqa: E501 - -class TestApiV1SecretSharingGet200Response(unittest.TestCase): - """ApiV1SecretSharingGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSharingGet200Response: - """Test ApiV1SecretSharingGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSharingGet200Response` - """ - model = ApiV1SecretSharingGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretSharingGet200Response( - secrets = [ - infisicalapi_client.models._api_v1_secret_sharing_get_200_response_secrets_inner._api_v1_secret_sharing_get_200_response_secrets_inner( - id = '', - encrypted_value = '', - iv = '', - tag = '', - hashed_hex = '', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_after_views = 1.337, - access_type = 'anyone', - name = '', - last_viewed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - total_count = 1.337 - ) - else: - return ApiV1SecretSharingGet200Response( - secrets = [ - infisicalapi_client.models._api_v1_secret_sharing_get_200_response_secrets_inner._api_v1_secret_sharing_get_200_response_secrets_inner( - id = '', - encrypted_value = '', - iv = '', - tag = '', - hashed_hex = '', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_after_views = 1.337, - access_type = 'anyone', - name = '', - last_viewed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - total_count = 1.337, - ) - """ - - def testApiV1SecretSharingGet200Response(self): - """Test ApiV1SecretSharingGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_sharing_get200_response_secrets_inner.py b/test/test_api_v1_secret_sharing_get200_response_secrets_inner.py deleted file mode 100644 index 994a4fa..0000000 --- a/test/test_api_v1_secret_sharing_get200_response_secrets_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_sharing_get200_response_secrets_inner import ApiV1SecretSharingGet200ResponseSecretsInner # noqa: E501 - -class TestApiV1SecretSharingGet200ResponseSecretsInner(unittest.TestCase): - """ApiV1SecretSharingGet200ResponseSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSharingGet200ResponseSecretsInner: - """Test ApiV1SecretSharingGet200ResponseSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSharingGet200ResponseSecretsInner` - """ - model = ApiV1SecretSharingGet200ResponseSecretsInner() # noqa: E501 - if include_optional: - return ApiV1SecretSharingGet200ResponseSecretsInner( - id = '', - encrypted_value = '', - iv = '', - tag = '', - hashed_hex = '', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_after_views = 1.337, - access_type = 'anyone', - name = '', - last_viewed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1SecretSharingGet200ResponseSecretsInner( - id = '', - encrypted_value = '', - iv = '', - tag = '', - hashed_hex = '', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1SecretSharingGet200ResponseSecretsInner(self): - """Test ApiV1SecretSharingGet200ResponseSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_sharing_post200_response.py b/test/test_api_v1_secret_sharing_post200_response.py deleted file mode 100644 index 175c6a2..0000000 --- a/test/test_api_v1_secret_sharing_post200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_sharing_post200_response import ApiV1SecretSharingPost200Response # noqa: E501 - -class TestApiV1SecretSharingPost200Response(unittest.TestCase): - """ApiV1SecretSharingPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSharingPost200Response: - """Test ApiV1SecretSharingPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSharingPost200Response` - """ - model = ApiV1SecretSharingPost200Response() # noqa: E501 - if include_optional: - return ApiV1SecretSharingPost200Response( - id = '' - ) - else: - return ApiV1SecretSharingPost200Response( - id = '', - ) - """ - - def testApiV1SecretSharingPost200Response(self): - """Test ApiV1SecretSharingPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_sharing_post_request.py b/test/test_api_v1_secret_sharing_post_request.py deleted file mode 100644 index aa35996..0000000 --- a/test/test_api_v1_secret_sharing_post_request.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_sharing_post_request import ApiV1SecretSharingPostRequest # noqa: E501 - -class TestApiV1SecretSharingPostRequest(unittest.TestCase): - """ApiV1SecretSharingPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSharingPostRequest: - """Test ApiV1SecretSharingPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSharingPostRequest` - """ - model = ApiV1SecretSharingPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretSharingPostRequest( - name = '', - encrypted_value = '', - hashed_hex = '', - iv = '', - tag = '', - expires_at = '', - expires_after_views = 1, - access_type = 'organization' - ) - else: - return ApiV1SecretSharingPostRequest( - encrypted_value = '', - hashed_hex = '', - iv = '', - tag = '', - expires_at = '', - ) - """ - - def testApiV1SecretSharingPostRequest(self): - """Test ApiV1SecretSharingPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_sharing_public_id_get200_response.py b/test/test_api_v1_secret_sharing_public_id_get200_response.py deleted file mode 100644 index bff1fa4..0000000 --- a/test/test_api_v1_secret_sharing_public_id_get200_response.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_sharing_public_id_get200_response import ApiV1SecretSharingPublicIdGet200Response # noqa: E501 - -class TestApiV1SecretSharingPublicIdGet200Response(unittest.TestCase): - """ApiV1SecretSharingPublicIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSharingPublicIdGet200Response: - """Test ApiV1SecretSharingPublicIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSharingPublicIdGet200Response` - """ - model = ApiV1SecretSharingPublicIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretSharingPublicIdGet200Response( - encrypted_value = '', - iv = '', - tag = '', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_after_views = 1.337, - access_type = 'anyone', - org_name = '' - ) - else: - return ApiV1SecretSharingPublicIdGet200Response( - encrypted_value = '', - iv = '', - tag = '', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1SecretSharingPublicIdGet200Response(self): - """Test ApiV1SecretSharingPublicIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_sharing_public_post_request.py b/test/test_api_v1_secret_sharing_public_post_request.py deleted file mode 100644 index e999e08..0000000 --- a/test/test_api_v1_secret_sharing_public_post_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_sharing_public_post_request import ApiV1SecretSharingPublicPostRequest # noqa: E501 - -class TestApiV1SecretSharingPublicPostRequest(unittest.TestCase): - """ApiV1SecretSharingPublicPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSharingPublicPostRequest: - """Test ApiV1SecretSharingPublicPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSharingPublicPostRequest` - """ - model = ApiV1SecretSharingPublicPostRequest() # noqa: E501 - if include_optional: - return ApiV1SecretSharingPublicPostRequest( - encrypted_value = '', - hashed_hex = '', - iv = '', - tag = '', - expires_at = '', - expires_after_views = 1 - ) - else: - return ApiV1SecretSharingPublicPostRequest( - encrypted_value = '', - hashed_hex = '', - iv = '', - tag = '', - expires_at = '', - ) - """ - - def testApiV1SecretSharingPublicPostRequest(self): - """Test ApiV1SecretSharingPublicPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response.py b/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response.py deleted file mode 100644 index 50db4f9..0000000 --- a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response import ApiV1SecretSnapshotSecretSnapshotIdGet200Response # noqa: E501 - -class TestApiV1SecretSnapshotSecretSnapshotIdGet200Response(unittest.TestCase): - """ApiV1SecretSnapshotSecretSnapshotIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSnapshotSecretSnapshotIdGet200Response: - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSnapshotSecretSnapshotIdGet200Response` - """ - model = ApiV1SecretSnapshotSecretSnapshotIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1SecretSnapshotSecretSnapshotIdGet200Response( - secret_snapshot = infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot( - id = '', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_environment._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_environment( - id = '', - slug = '', - name = '', ), - secret_versions = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - secret_id = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], ) - ], - folder_version = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_folder_version_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_folderVersion_inner( - id = '', - name = '', ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1SecretSnapshotSecretSnapshotIdGet200Response( - secret_snapshot = infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot( - id = '', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_environment._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_environment( - id = '', - slug = '', - name = '', ), - secret_versions = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - secret_id = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], ) - ], - folder_version = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_folder_version_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_folderVersion_inner( - id = '', - name = '', ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1SecretSnapshotSecretSnapshotIdGet200Response(self): - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot.py b/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot.py deleted file mode 100644 index 931b59b..0000000 --- a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot # noqa: E501 - -class TestApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot(unittest.TestCase): - """ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot: - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot` - """ - model = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot() # noqa: E501 - if include_optional: - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot( - id = '', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_environment._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_environment( - id = '', - slug = '', - name = '', ), - secret_versions = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - secret_id = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], ) - ], - folder_version = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_folder_version_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_folderVersion_inner( - id = '', - name = '', ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot( - id = '', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_environment._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_environment( - id = '', - slug = '', - name = '', ), - secret_versions = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - secret_id = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], ) - ], - folder_version = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_folder_version_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_folderVersion_inner( - id = '', - name = '', ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot(self): - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshot""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment.py b/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment.py deleted file mode 100644 index b1e78d1..0000000 --- a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment # noqa: E501 - -class TestApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment(unittest.TestCase): - """ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment: - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment` - """ - model = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment() # noqa: E501 - if include_optional: - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment( - id = '', - slug = '', - name = '' - ) - else: - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment( - id = '', - slug = '', - name = '', - ) - """ - - def testApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment(self): - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotEnvironment""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner.py b/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner.py deleted file mode 100644 index 0b4be46..0000000 --- a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner # noqa: E501 - -class TestApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner(unittest.TestCase): - """ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner: - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner` - """ - model = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner() # noqa: E501 - if include_optional: - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner( - id = '', - name = '' - ) - else: - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner( - id = '', - name = '', - ) - """ - - def testApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner(self): - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotFolderVersionInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner.py b/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner.py deleted file mode 100644 index 59d988c..0000000 --- a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner # noqa: E501 - -class TestApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner(unittest.TestCase): - """ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner: - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner` - """ - model = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner() # noqa: E501 - if include_optional: - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - secret_id = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ] - ) - else: - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner( - id = '', - version = 1.337, - secret_key = '', - secret_value = '', - secret_comment = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - secret_id = '', - tags = [ - infisicalapi_client.models._api_v1_secret_snapshot__secret_snapshot_id__get_200_response_secret_snapshot_secret_versions_inner_tags_inner._api_v1_secret_snapshot__secretSnapshotId__get_200_response_secretSnapshot_secretVersions_inner_tags_inner( - id = '', - slug = '', - color = '', ) - ], - ) - """ - - def testApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner(self): - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner.py b/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner.py deleted file mode 100644 index fabaa9d..0000000 --- a/test/test_api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner import ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner # noqa: E501 - -class TestApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner(unittest.TestCase): - """ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner: - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner` - """ - model = ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner() # noqa: E501 - if include_optional: - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner( - id = '', - slug = '', - color = '' - ) - else: - return ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner( - id = '', - slug = '', - ) - """ - - def testApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner(self): - """Test ApiV1SecretSnapshotSecretSnapshotIdGet200ResponseSecretSnapshotSecretVersionsInnerTagsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response.py b/test/test_api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response.py deleted file mode 100644 index 65f38d1..0000000 --- a/test/test_api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response import ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response # noqa: E501 - -class TestApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response(unittest.TestCase): - """ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response: - """Test ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response` - """ - model = ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response() # noqa: E501 - if include_optional: - return ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response( - secret_snapshot = infisicalapi_client.models._api_v1_workspace__workspace_id__secret_snapshots_get_200_response_secret_snapshots_inner._api_v1_workspace__workspaceId__secret_snapshots_get_200_response_secretSnapshots_inner( - id = '', - env_id = '', - folder_id = '', - parent_folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response( - secret_snapshot = infisicalapi_client.models._api_v1_workspace__workspace_id__secret_snapshots_get_200_response_secret_snapshots_inner._api_v1_workspace__workspaceId__secret_snapshots_get_200_response_secretSnapshots_inner( - id = '', - env_id = '', - folder_id = '', - parent_folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response(self): - """Test ApiV1SecretSnapshotSecretSnapshotIdRollbackPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_sso_config_get200_response.py b/test/test_api_v1_sso_config_get200_response.py deleted file mode 100644 index a65729b..0000000 --- a/test/test_api_v1_sso_config_get200_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_sso_config_get200_response import ApiV1SsoConfigGet200Response # noqa: E501 - -class TestApiV1SsoConfigGet200Response(unittest.TestCase): - """ApiV1SsoConfigGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SsoConfigGet200Response: - """Test ApiV1SsoConfigGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SsoConfigGet200Response` - """ - model = ApiV1SsoConfigGet200Response() # noqa: E501 - if include_optional: - return ApiV1SsoConfigGet200Response( - id = '', - organization = '', - org_id = '', - auth_provider = '', - is_active = True, - entry_point = '', - issuer = '', - cert = '', - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1SsoConfigGet200Response( - id = '', - organization = '', - org_id = '', - auth_provider = '', - is_active = True, - entry_point = '', - issuer = '', - cert = '', - ) - """ - - def testApiV1SsoConfigGet200Response(self): - """Test ApiV1SsoConfigGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_sso_config_patch_request.py b/test/test_api_v1_sso_config_patch_request.py deleted file mode 100644 index 5f5ed47..0000000 --- a/test/test_api_v1_sso_config_patch_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_sso_config_patch_request import ApiV1SsoConfigPatchRequest # noqa: E501 - -class TestApiV1SsoConfigPatchRequest(unittest.TestCase): - """ApiV1SsoConfigPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SsoConfigPatchRequest: - """Test ApiV1SsoConfigPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SsoConfigPatchRequest` - """ - model = ApiV1SsoConfigPatchRequest() # noqa: E501 - if include_optional: - return ApiV1SsoConfigPatchRequest( - auth_provider = 'okta-saml', - is_active = True, - entry_point = '', - issuer = '', - cert = '', - organization_id = '' - ) - else: - return ApiV1SsoConfigPatchRequest( - organization_id = '', - ) - """ - - def testApiV1SsoConfigPatchRequest(self): - """Test ApiV1SsoConfigPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_sso_config_post200_response.py b/test/test_api_v1_sso_config_post200_response.py deleted file mode 100644 index 229e7d8..0000000 --- a/test/test_api_v1_sso_config_post200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_sso_config_post200_response import ApiV1SsoConfigPost200Response # noqa: E501 - -class TestApiV1SsoConfigPost200Response(unittest.TestCase): - """ApiV1SsoConfigPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SsoConfigPost200Response: - """Test ApiV1SsoConfigPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SsoConfigPost200Response` - """ - model = ApiV1SsoConfigPost200Response() # noqa: E501 - if include_optional: - return ApiV1SsoConfigPost200Response( - id = '', - auth_provider = '', - is_active = True, - encrypted_entry_point = '', - entry_point_iv = '', - entry_point_tag = '', - encrypted_issuer = '', - issuer_tag = '', - issuer_iv = '', - encrypted_cert = '', - cert_iv = '', - cert_tag = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1SsoConfigPost200Response( - id = '', - auth_provider = '', - is_active = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - ) - """ - - def testApiV1SsoConfigPost200Response(self): - """Test ApiV1SsoConfigPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_sso_config_post_request.py b/test/test_api_v1_sso_config_post_request.py deleted file mode 100644 index b874cfc..0000000 --- a/test/test_api_v1_sso_config_post_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_sso_config_post_request import ApiV1SsoConfigPostRequest # noqa: E501 - -class TestApiV1SsoConfigPostRequest(unittest.TestCase): - """ApiV1SsoConfigPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SsoConfigPostRequest: - """Test ApiV1SsoConfigPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SsoConfigPostRequest` - """ - model = ApiV1SsoConfigPostRequest() # noqa: E501 - if include_optional: - return ApiV1SsoConfigPostRequest( - organization_id = '', - auth_provider = 'okta-saml', - is_active = True, - entry_point = '', - issuer = '', - cert = '' - ) - else: - return ApiV1SsoConfigPostRequest( - organization_id = '', - auth_provider = 'okta-saml', - is_active = True, - entry_point = '', - issuer = '', - cert = '', - ) - """ - - def testApiV1SsoConfigPostRequest(self): - """Test ApiV1SsoConfigPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_sso_oidc_config_get200_response.py b/test/test_api_v1_sso_oidc_config_get200_response.py deleted file mode 100644 index 9403275..0000000 --- a/test/test_api_v1_sso_oidc_config_get200_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_sso_oidc_config_get200_response import ApiV1SsoOidcConfigGet200Response # noqa: E501 - -class TestApiV1SsoOidcConfigGet200Response(unittest.TestCase): - """ApiV1SsoOidcConfigGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SsoOidcConfigGet200Response: - """Test ApiV1SsoOidcConfigGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SsoOidcConfigGet200Response` - """ - model = ApiV1SsoOidcConfigGet200Response() # noqa: E501 - if include_optional: - return ApiV1SsoOidcConfigGet200Response( - id = '', - issuer = '', - authorization_endpoint = '', - jwks_uri = '', - token_endpoint = '', - userinfo_endpoint = '', - configuration_type = '', - discovery_url = '', - is_active = True, - org_id = '', - allowed_email_domains = '', - client_id = '', - client_secret = '' - ) - else: - return ApiV1SsoOidcConfigGet200Response( - id = '', - configuration_type = '', - is_active = True, - org_id = '', - client_id = '', - client_secret = '', - ) - """ - - def testApiV1SsoOidcConfigGet200Response(self): - """Test ApiV1SsoOidcConfigGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_sso_oidc_config_patch200_response.py b/test/test_api_v1_sso_oidc_config_patch200_response.py deleted file mode 100644 index bf64199..0000000 --- a/test/test_api_v1_sso_oidc_config_patch200_response.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_sso_oidc_config_patch200_response import ApiV1SsoOidcConfigPatch200Response # noqa: E501 - -class TestApiV1SsoOidcConfigPatch200Response(unittest.TestCase): - """ApiV1SsoOidcConfigPatch200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SsoOidcConfigPatch200Response: - """Test ApiV1SsoOidcConfigPatch200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SsoOidcConfigPatch200Response` - """ - model = ApiV1SsoOidcConfigPatch200Response() # noqa: E501 - if include_optional: - return ApiV1SsoOidcConfigPatch200Response( - id = '', - issuer = '', - authorization_endpoint = '', - configuration_type = '', - discovery_url = '', - jwks_uri = '', - token_endpoint = '', - userinfo_endpoint = '', - org_id = '', - allowed_email_domains = '', - is_active = True - ) - else: - return ApiV1SsoOidcConfigPatch200Response( - id = '', - configuration_type = '', - org_id = '', - is_active = True, - ) - """ - - def testApiV1SsoOidcConfigPatch200Response(self): - """Test ApiV1SsoOidcConfigPatch200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_sso_oidc_config_patch_request.py b/test/test_api_v1_sso_oidc_config_patch_request.py deleted file mode 100644 index 1b30e4b..0000000 --- a/test/test_api_v1_sso_oidc_config_patch_request.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_sso_oidc_config_patch_request import ApiV1SsoOidcConfigPatchRequest # noqa: E501 - -class TestApiV1SsoOidcConfigPatchRequest(unittest.TestCase): - """ApiV1SsoOidcConfigPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SsoOidcConfigPatchRequest: - """Test ApiV1SsoOidcConfigPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SsoOidcConfigPatchRequest` - """ - model = ApiV1SsoOidcConfigPatchRequest() # noqa: E501 - if include_optional: - return ApiV1SsoOidcConfigPatchRequest( - allowed_email_domains = '', - discovery_url = '', - configuration_type = 'custom', - issuer = '', - authorization_endpoint = '', - jwks_uri = '', - token_endpoint = '', - userinfo_endpoint = '', - client_id = '', - client_secret = '', - is_active = True, - org_slug = '' - ) - else: - return ApiV1SsoOidcConfigPatchRequest( - org_slug = '', - ) - """ - - def testApiV1SsoOidcConfigPatchRequest(self): - """Test ApiV1SsoOidcConfigPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_sso_oidc_config_post200_response.py b/test/test_api_v1_sso_oidc_config_post200_response.py deleted file mode 100644 index 1ecef76..0000000 --- a/test/test_api_v1_sso_oidc_config_post200_response.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_sso_oidc_config_post200_response import ApiV1SsoOidcConfigPost200Response # noqa: E501 - -class TestApiV1SsoOidcConfigPost200Response(unittest.TestCase): - """ApiV1SsoOidcConfigPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SsoOidcConfigPost200Response: - """Test ApiV1SsoOidcConfigPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SsoOidcConfigPost200Response` - """ - model = ApiV1SsoOidcConfigPost200Response() # noqa: E501 - if include_optional: - return ApiV1SsoOidcConfigPost200Response( - id = '', - issuer = '', - authorization_endpoint = '', - configuration_type = '', - discovery_url = '', - jwks_uri = '', - token_endpoint = '', - userinfo_endpoint = '', - org_id = '', - is_active = True, - allowed_email_domains = '' - ) - else: - return ApiV1SsoOidcConfigPost200Response( - id = '', - configuration_type = '', - org_id = '', - is_active = True, - ) - """ - - def testApiV1SsoOidcConfigPost200Response(self): - """Test ApiV1SsoOidcConfigPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_sso_oidc_config_post_request.py b/test/test_api_v1_sso_oidc_config_post_request.py deleted file mode 100644 index 79a9446..0000000 --- a/test/test_api_v1_sso_oidc_config_post_request.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_sso_oidc_config_post_request import ApiV1SsoOidcConfigPostRequest # noqa: E501 - -class TestApiV1SsoOidcConfigPostRequest(unittest.TestCase): - """ApiV1SsoOidcConfigPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SsoOidcConfigPostRequest: - """Test ApiV1SsoOidcConfigPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SsoOidcConfigPostRequest` - """ - model = ApiV1SsoOidcConfigPostRequest() # noqa: E501 - if include_optional: - return ApiV1SsoOidcConfigPostRequest( - allowed_email_domains = '', - configuration_type = 'custom', - issuer = '', - discovery_url = '', - authorization_endpoint = '', - jwks_uri = '', - token_endpoint = '', - userinfo_endpoint = '', - client_id = '', - client_secret = '', - is_active = True, - org_slug = '' - ) - else: - return ApiV1SsoOidcConfigPostRequest( - configuration_type = 'custom', - client_id = '', - client_secret = '', - is_active = True, - org_slug = '', - ) - """ - - def testApiV1SsoOidcConfigPostRequest(self): - """Test ApiV1SsoOidcConfigPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_sso_token_exchange_post_request.py b/test/test_api_v1_sso_token_exchange_post_request.py deleted file mode 100644 index a51d7b1..0000000 --- a/test/test_api_v1_sso_token_exchange_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_sso_token_exchange_post_request import ApiV1SsoTokenExchangePostRequest # noqa: E501 - -class TestApiV1SsoTokenExchangePostRequest(unittest.TestCase): - """ApiV1SsoTokenExchangePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1SsoTokenExchangePostRequest: - """Test ApiV1SsoTokenExchangePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1SsoTokenExchangePostRequest` - """ - model = ApiV1SsoTokenExchangePostRequest() # noqa: E501 - if include_optional: - return ApiV1SsoTokenExchangePostRequest( - provider_auth_token = '', - email = '' - ) - else: - return ApiV1SsoTokenExchangePostRequest( - provider_auth_token = '', - email = '', - ) - """ - - def testApiV1SsoTokenExchangePostRequest(self): - """Test ApiV1SsoTokenExchangePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_action_get200_response.py b/test/test_api_v1_user_action_get200_response.py deleted file mode 100644 index 46879a9..0000000 --- a/test/test_api_v1_user_action_get200_response.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_action_get200_response import ApiV1UserActionGet200Response # noqa: E501 - -class TestApiV1UserActionGet200Response(unittest.TestCase): - """ApiV1UserActionGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserActionGet200Response: - """Test ApiV1UserActionGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserActionGet200Response` - """ - model = ApiV1UserActionGet200Response() # noqa: E501 - if include_optional: - return ApiV1UserActionGet200Response( - user_action = infisicalapi_client.models._api_v1_user_action_get_200_response_user_action._api_v1_user_action_get_200_response_userAction( - id = '', - action = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ) - ) - else: - return ApiV1UserActionGet200Response( - ) - """ - - def testApiV1UserActionGet200Response(self): - """Test ApiV1UserActionGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_action_get200_response_user_action.py b/test/test_api_v1_user_action_get200_response_user_action.py deleted file mode 100644 index 657893b..0000000 --- a/test/test_api_v1_user_action_get200_response_user_action.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_action_get200_response_user_action import ApiV1UserActionGet200ResponseUserAction # noqa: E501 - -class TestApiV1UserActionGet200ResponseUserAction(unittest.TestCase): - """ApiV1UserActionGet200ResponseUserAction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserActionGet200ResponseUserAction: - """Test ApiV1UserActionGet200ResponseUserAction - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserActionGet200ResponseUserAction` - """ - model = ApiV1UserActionGet200ResponseUserAction() # noqa: E501 - if include_optional: - return ApiV1UserActionGet200ResponseUserAction( - id = '', - action = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '' - ) - else: - return ApiV1UserActionGet200ResponseUserAction( - id = '', - action = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - ) - """ - - def testApiV1UserActionGet200ResponseUserAction(self): - """Test ApiV1UserActionGet200ResponseUserAction""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_action_post200_response.py b/test/test_api_v1_user_action_post200_response.py deleted file mode 100644 index 76181cc..0000000 --- a/test/test_api_v1_user_action_post200_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_action_post200_response import ApiV1UserActionPost200Response # noqa: E501 - -class TestApiV1UserActionPost200Response(unittest.TestCase): - """ApiV1UserActionPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserActionPost200Response: - """Test ApiV1UserActionPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserActionPost200Response` - """ - model = ApiV1UserActionPost200Response() # noqa: E501 - if include_optional: - return ApiV1UserActionPost200Response( - message = '', - user_action = infisicalapi_client.models._api_v1_user_action_post_200_response_user_action._api_v1_user_action_post_200_response_userAction( - id = '', - action = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ) - ) - else: - return ApiV1UserActionPost200Response( - message = '', - user_action = infisicalapi_client.models._api_v1_user_action_post_200_response_user_action._api_v1_user_action_post_200_response_userAction( - id = '', - action = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ), - ) - """ - - def testApiV1UserActionPost200Response(self): - """Test ApiV1UserActionPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_action_post200_response_user_action.py b/test/test_api_v1_user_action_post200_response_user_action.py deleted file mode 100644 index df9dd3e..0000000 --- a/test/test_api_v1_user_action_post200_response_user_action.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_action_post200_response_user_action import ApiV1UserActionPost200ResponseUserAction # noqa: E501 - -class TestApiV1UserActionPost200ResponseUserAction(unittest.TestCase): - """ApiV1UserActionPost200ResponseUserAction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserActionPost200ResponseUserAction: - """Test ApiV1UserActionPost200ResponseUserAction - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserActionPost200ResponseUserAction` - """ - model = ApiV1UserActionPost200ResponseUserAction() # noqa: E501 - if include_optional: - return ApiV1UserActionPost200ResponseUserAction( - id = '', - action = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '' - ) - else: - return ApiV1UserActionPost200ResponseUserAction( - id = '', - action = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - ) - """ - - def testApiV1UserActionPost200ResponseUserAction(self): - """Test ApiV1UserActionPost200ResponseUserAction""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_action_post_request.py b/test/test_api_v1_user_action_post_request.py deleted file mode 100644 index f5adfc5..0000000 --- a/test/test_api_v1_user_action_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_action_post_request import ApiV1UserActionPostRequest # noqa: E501 - -class TestApiV1UserActionPostRequest(unittest.TestCase): - """ApiV1UserActionPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserActionPostRequest: - """Test ApiV1UserActionPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserActionPostRequest` - """ - model = ApiV1UserActionPostRequest() # noqa: E501 - if include_optional: - return ApiV1UserActionPostRequest( - action = '' - ) - else: - return ApiV1UserActionPostRequest( - action = '', - ) - """ - - def testApiV1UserActionPostRequest(self): - """Test ApiV1UserActionPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_engagement_me_wish_post_request.py b/test/test_api_v1_user_engagement_me_wish_post_request.py deleted file mode 100644 index a4dd01b..0000000 --- a/test/test_api_v1_user_engagement_me_wish_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_engagement_me_wish_post_request import ApiV1UserEngagementMeWishPostRequest # noqa: E501 - -class TestApiV1UserEngagementMeWishPostRequest(unittest.TestCase): - """ApiV1UserEngagementMeWishPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserEngagementMeWishPostRequest: - """Test ApiV1UserEngagementMeWishPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserEngagementMeWishPostRequest` - """ - model = ApiV1UserEngagementMeWishPostRequest() # noqa: E501 - if include_optional: - return ApiV1UserEngagementMeWishPostRequest( - text = '0' - ) - else: - return ApiV1UserEngagementMeWishPostRequest( - text = '0', - ) - """ - - def testApiV1UserEngagementMeWishPostRequest(self): - """Test ApiV1UserEngagementMeWishPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_get200_response.py b/test/test_api_v1_user_get200_response.py deleted file mode 100644 index 096045b..0000000 --- a/test/test_api_v1_user_get200_response.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_get200_response import ApiV1UserGet200Response # noqa: E501 - -class TestApiV1UserGet200Response(unittest.TestCase): - """ApiV1UserGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserGet200Response: - """Test ApiV1UserGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserGet200Response` - """ - model = ApiV1UserGet200Response() # noqa: E501 - if include_optional: - return ApiV1UserGet200Response( - user = infisicalapi_client.models._api_v1_user_get_200_response_user._api_v1_user_get_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, - client_public_key = '', - server_private_key = '', - encryption_version = 1.337, - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - iv = '', - tag = '', - salt = '', - verifier = '', - user_id = '', ) - ) - else: - return ApiV1UserGet200Response( - user = infisicalapi_client.models._api_v1_user_get_200_response_user._api_v1_user_get_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, - client_public_key = '', - server_private_key = '', - encryption_version = 1.337, - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - iv = '', - tag = '', - salt = '', - verifier = '', - user_id = '', ), - ) - """ - - def testApiV1UserGet200Response(self): - """Test ApiV1UserGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_get200_response_user.py b/test/test_api_v1_user_get200_response_user.py deleted file mode 100644 index a64edb1..0000000 --- a/test/test_api_v1_user_get200_response_user.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_get200_response_user import ApiV1UserGet200ResponseUser # noqa: E501 - -class TestApiV1UserGet200ResponseUser(unittest.TestCase): - """ApiV1UserGet200ResponseUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserGet200ResponseUser: - """Test ApiV1UserGet200ResponseUser - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserGet200ResponseUser` - """ - model = ApiV1UserGet200ResponseUser() # noqa: E501 - if include_optional: - return ApiV1UserGet200ResponseUser( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, - client_public_key = '', - server_private_key = '', - encryption_version = 1.337, - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - iv = '', - tag = '', - salt = '', - verifier = '', - user_id = '' - ) - else: - return ApiV1UserGet200ResponseUser( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - username = '', - public_key = '', - encrypted_private_key = '', - iv = '', - tag = '', - salt = '', - verifier = '', - user_id = '', - ) - """ - - def testApiV1UserGet200ResponseUser(self): - """Test ApiV1UserGet200ResponseUser""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_me_project_favorites_get200_response.py b/test/test_api_v1_user_me_project_favorites_get200_response.py deleted file mode 100644 index 2f952ce..0000000 --- a/test/test_api_v1_user_me_project_favorites_get200_response.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_me_project_favorites_get200_response import ApiV1UserMeProjectFavoritesGet200Response # noqa: E501 - -class TestApiV1UserMeProjectFavoritesGet200Response(unittest.TestCase): - """ApiV1UserMeProjectFavoritesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserMeProjectFavoritesGet200Response: - """Test ApiV1UserMeProjectFavoritesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserMeProjectFavoritesGet200Response` - """ - model = ApiV1UserMeProjectFavoritesGet200Response() # noqa: E501 - if include_optional: - return ApiV1UserMeProjectFavoritesGet200Response( - project_favorites = [ - '' - ] - ) - else: - return ApiV1UserMeProjectFavoritesGet200Response( - project_favorites = [ - '' - ], - ) - """ - - def testApiV1UserMeProjectFavoritesGet200Response(self): - """Test ApiV1UserMeProjectFavoritesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_me_project_favorites_put_request.py b/test/test_api_v1_user_me_project_favorites_put_request.py deleted file mode 100644 index 6ff2a44..0000000 --- a/test/test_api_v1_user_me_project_favorites_put_request.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_me_project_favorites_put_request import ApiV1UserMeProjectFavoritesPutRequest # noqa: E501 - -class TestApiV1UserMeProjectFavoritesPutRequest(unittest.TestCase): - """ApiV1UserMeProjectFavoritesPutRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserMeProjectFavoritesPutRequest: - """Test ApiV1UserMeProjectFavoritesPutRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserMeProjectFavoritesPutRequest` - """ - model = ApiV1UserMeProjectFavoritesPutRequest() # noqa: E501 - if include_optional: - return ApiV1UserMeProjectFavoritesPutRequest( - org_id = '', - project_favorites = [ - '' - ] - ) - else: - return ApiV1UserMeProjectFavoritesPutRequest( - org_id = '', - project_favorites = [ - '' - ], - ) - """ - - def testApiV1UserMeProjectFavoritesPutRequest(self): - """Test ApiV1UserMeProjectFavoritesPutRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_user_private_key_get200_response.py b/test/test_api_v1_user_private_key_get200_response.py deleted file mode 100644 index 3f81bee..0000000 --- a/test/test_api_v1_user_private_key_get200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_user_private_key_get200_response import ApiV1UserPrivateKeyGet200Response # noqa: E501 - -class TestApiV1UserPrivateKeyGet200Response(unittest.TestCase): - """ApiV1UserPrivateKeyGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1UserPrivateKeyGet200Response: - """Test ApiV1UserPrivateKeyGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1UserPrivateKeyGet200Response` - """ - model = ApiV1UserPrivateKeyGet200Response() # noqa: E501 - if include_optional: - return ApiV1UserPrivateKeyGet200Response( - private_key = '' - ) - else: - return ApiV1UserPrivateKeyGet200Response( - private_key = '', - ) - """ - - def testApiV1UserPrivateKeyGet200Response(self): - """Test ApiV1UserPrivateKeyGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_webhooks_get200_response.py b/test/test_api_v1_webhooks_get200_response.py deleted file mode 100644 index 7f3fbe7..0000000 --- a/test/test_api_v1_webhooks_get200_response.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_webhooks_get200_response import ApiV1WebhooksGet200Response # noqa: E501 - -class TestApiV1WebhooksGet200Response(unittest.TestCase): - """ApiV1WebhooksGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WebhooksGet200Response: - """Test ApiV1WebhooksGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WebhooksGet200Response` - """ - model = ApiV1WebhooksGet200Response() # noqa: E501 - if include_optional: - return ApiV1WebhooksGet200Response( - message = '', - webhooks = [ - infisicalapi_client.models._api_v1_webhooks_get_200_response_webhooks_inner._api_v1_webhooks_get_200_response_webhooks_inner( - id = '', - secret_path = '/', - last_status = '', - last_run_error_message = '', - is_disabled = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - type = 'general', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - url = '', ) - ] - ) - else: - return ApiV1WebhooksGet200Response( - message = '', - webhooks = [ - infisicalapi_client.models._api_v1_webhooks_get_200_response_webhooks_inner._api_v1_webhooks_get_200_response_webhooks_inner( - id = '', - secret_path = '/', - last_status = '', - last_run_error_message = '', - is_disabled = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - type = 'general', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - url = '', ) - ], - ) - """ - - def testApiV1WebhooksGet200Response(self): - """Test ApiV1WebhooksGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_webhooks_get200_response_webhooks_inner.py b/test/test_api_v1_webhooks_get200_response_webhooks_inner.py deleted file mode 100644 index 6193046..0000000 --- a/test/test_api_v1_webhooks_get200_response_webhooks_inner.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_webhooks_get200_response_webhooks_inner import ApiV1WebhooksGet200ResponseWebhooksInner # noqa: E501 - -class TestApiV1WebhooksGet200ResponseWebhooksInner(unittest.TestCase): - """ApiV1WebhooksGet200ResponseWebhooksInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WebhooksGet200ResponseWebhooksInner: - """Test ApiV1WebhooksGet200ResponseWebhooksInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WebhooksGet200ResponseWebhooksInner` - """ - model = ApiV1WebhooksGet200ResponseWebhooksInner() # noqa: E501 - if include_optional: - return ApiV1WebhooksGet200ResponseWebhooksInner( - id = '', - secret_path = '/', - last_status = '', - last_run_error_message = '', - is_disabled = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - type = 'general', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - url = '' - ) - else: - return ApiV1WebhooksGet200ResponseWebhooksInner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - url = '', - ) - """ - - def testApiV1WebhooksGet200ResponseWebhooksInner(self): - """Test ApiV1WebhooksGet200ResponseWebhooksInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_webhooks_post200_response.py b/test/test_api_v1_webhooks_post200_response.py deleted file mode 100644 index 3850c27..0000000 --- a/test/test_api_v1_webhooks_post200_response.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_webhooks_post200_response import ApiV1WebhooksPost200Response # noqa: E501 - -class TestApiV1WebhooksPost200Response(unittest.TestCase): - """ApiV1WebhooksPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WebhooksPost200Response: - """Test ApiV1WebhooksPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WebhooksPost200Response` - """ - model = ApiV1WebhooksPost200Response() # noqa: E501 - if include_optional: - return ApiV1WebhooksPost200Response( - message = '', - webhook = infisicalapi_client.models._api_v1_webhooks_post_200_response_webhook._api_v1_webhooks_post_200_response_webhook( - id = '', - secret_path = '/', - last_status = '', - last_run_error_message = '', - is_disabled = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - type = 'general', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), ) - ) - else: - return ApiV1WebhooksPost200Response( - message = '', - webhook = infisicalapi_client.models._api_v1_webhooks_post_200_response_webhook._api_v1_webhooks_post_200_response_webhook( - id = '', - secret_path = '/', - last_status = '', - last_run_error_message = '', - is_disabled = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - type = 'general', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), ), - ) - """ - - def testApiV1WebhooksPost200Response(self): - """Test ApiV1WebhooksPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_webhooks_post200_response_webhook.py b/test/test_api_v1_webhooks_post200_response_webhook.py deleted file mode 100644 index bbf6dbe..0000000 --- a/test/test_api_v1_webhooks_post200_response_webhook.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_webhooks_post200_response_webhook import ApiV1WebhooksPost200ResponseWebhook # noqa: E501 - -class TestApiV1WebhooksPost200ResponseWebhook(unittest.TestCase): - """ApiV1WebhooksPost200ResponseWebhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WebhooksPost200ResponseWebhook: - """Test ApiV1WebhooksPost200ResponseWebhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WebhooksPost200ResponseWebhook` - """ - model = ApiV1WebhooksPost200ResponseWebhook() # noqa: E501 - if include_optional: - return ApiV1WebhooksPost200ResponseWebhook( - id = '', - secret_path = '/', - last_status = '', - last_run_error_message = '', - is_disabled = True, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - type = 'general', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ) - ) - else: - return ApiV1WebhooksPost200ResponseWebhook( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - env_id = '', - project_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - ) - """ - - def testApiV1WebhooksPost200ResponseWebhook(self): - """Test ApiV1WebhooksPost200ResponseWebhook""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_webhooks_post_request.py b/test/test_api_v1_webhooks_post_request.py deleted file mode 100644 index 088f5fb..0000000 --- a/test/test_api_v1_webhooks_post_request.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_webhooks_post_request import ApiV1WebhooksPostRequest # noqa: E501 - -class TestApiV1WebhooksPostRequest(unittest.TestCase): - """ApiV1WebhooksPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WebhooksPostRequest: - """Test ApiV1WebhooksPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WebhooksPostRequest` - """ - model = ApiV1WebhooksPostRequest() # noqa: E501 - if include_optional: - return ApiV1WebhooksPostRequest( - type = 'general', - workspace_id = '', - environment = '', - webhook_url = '', - webhook_secret_key = '', - secret_path = '/' - ) - else: - return ApiV1WebhooksPostRequest( - workspace_id = '', - environment = '', - webhook_url = '', - ) - """ - - def testApiV1WebhooksPostRequest(self): - """Test ApiV1WebhooksPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_webhooks_webhook_id_patch_request.py b/test/test_api_v1_webhooks_webhook_id_patch_request.py deleted file mode 100644 index fbd6baa..0000000 --- a/test/test_api_v1_webhooks_webhook_id_patch_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_webhooks_webhook_id_patch_request import ApiV1WebhooksWebhookIdPatchRequest # noqa: E501 - -class TestApiV1WebhooksWebhookIdPatchRequest(unittest.TestCase): - """ApiV1WebhooksWebhookIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WebhooksWebhookIdPatchRequest: - """Test ApiV1WebhooksWebhookIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WebhooksWebhookIdPatchRequest` - """ - model = ApiV1WebhooksWebhookIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1WebhooksWebhookIdPatchRequest( - is_disabled = True - ) - else: - return ApiV1WebhooksWebhookIdPatchRequest( - ) - """ - - def testApiV1WebhooksWebhookIdPatchRequest(self): - """Test ApiV1WebhooksWebhookIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_get200_response.py b/test/test_api_v1_workspace_get200_response.py deleted file mode 100644 index 304f11d..0000000 --- a/test/test_api_v1_workspace_get200_response.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_get200_response import ApiV1WorkspaceGet200Response # noqa: E501 - -class TestApiV1WorkspaceGet200Response(unittest.TestCase): - """ApiV1WorkspaceGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceGet200Response: - """Test ApiV1WorkspaceGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceGet200Response` - """ - model = ApiV1WorkspaceGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceGet200Response( - workspaces = [ - infisicalapi_client.models._api_v1_workspace_get_200_response_workspaces_inner._api_v1_workspace_get_200_response_workspaces_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, - _id = '', - environments = [ - infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ) - ], ) - ] - ) - else: - return ApiV1WorkspaceGet200Response( - workspaces = [ - infisicalapi_client.models._api_v1_workspace_get_200_response_workspaces_inner._api_v1_workspace_get_200_response_workspaces_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, - _id = '', - environments = [ - infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ) - ], ) - ], - ) - """ - - def testApiV1WorkspaceGet200Response(self): - """Test ApiV1WorkspaceGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_get200_response_workspaces_inner.py b/test/test_api_v1_workspace_get200_response_workspaces_inner.py deleted file mode 100644 index 7ea1315..0000000 --- a/test/test_api_v1_workspace_get200_response_workspaces_inner.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_get200_response_workspaces_inner import ApiV1WorkspaceGet200ResponseWorkspacesInner # noqa: E501 - -class TestApiV1WorkspaceGet200ResponseWorkspacesInner(unittest.TestCase): - """ApiV1WorkspaceGet200ResponseWorkspacesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceGet200ResponseWorkspacesInner: - """Test ApiV1WorkspaceGet200ResponseWorkspacesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceGet200ResponseWorkspacesInner` - """ - model = ApiV1WorkspaceGet200ResponseWorkspacesInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceGet200ResponseWorkspacesInner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, - id = '', - environments = [ - infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ) - ] - ) - else: - return ApiV1WorkspaceGet200ResponseWorkspacesInner( - id = '', - name = '', - slug = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - id = '', - environments = [ - infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ) - ], - ) - """ - - def testApiV1WorkspaceGet200ResponseWorkspacesInner(self): - """Test ApiV1WorkspaceGet200ResponseWorkspacesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_permissions_get200_response.py b/test/test_api_v1_workspace_project_id_permissions_get200_response.py deleted file mode 100644 index 9b0f2f8..0000000 --- a/test/test_api_v1_workspace_project_id_permissions_get200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response import ApiV1WorkspaceProjectIdPermissionsGet200Response # noqa: E501 - -class TestApiV1WorkspaceProjectIdPermissionsGet200Response(unittest.TestCase): - """ApiV1WorkspaceProjectIdPermissionsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdPermissionsGet200Response: - """Test ApiV1WorkspaceProjectIdPermissionsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdPermissionsGet200Response` - """ - model = ApiV1WorkspaceProjectIdPermissionsGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdPermissionsGet200Response( - data = infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data._api_v1_workspace__projectId__permissions_get_200_response_data( - membership = infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data_membership._api_v1_workspace__projectId__permissions_get_200_response_data_membership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', - roles = [ - infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data_membership_roles_inner._api_v1_workspace__projectId__permissions_get_200_response_data_membership_roles_inner( - role = '', ) - ], ), - permissions = [ - '' - ], ) - ) - else: - return ApiV1WorkspaceProjectIdPermissionsGet200Response( - data = infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data._api_v1_workspace__projectId__permissions_get_200_response_data( - membership = infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data_membership._api_v1_workspace__projectId__permissions_get_200_response_data_membership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', - roles = [ - infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data_membership_roles_inner._api_v1_workspace__projectId__permissions_get_200_response_data_membership_roles_inner( - role = '', ) - ], ), - permissions = [ - '' - ], ), - ) - """ - - def testApiV1WorkspaceProjectIdPermissionsGet200Response(self): - """Test ApiV1WorkspaceProjectIdPermissionsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_permissions_get200_response_data.py b/test/test_api_v1_workspace_project_id_permissions_get200_response_data.py deleted file mode 100644 index f36ce64..0000000 --- a/test/test_api_v1_workspace_project_id_permissions_get200_response_data.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data import ApiV1WorkspaceProjectIdPermissionsGet200ResponseData # noqa: E501 - -class TestApiV1WorkspaceProjectIdPermissionsGet200ResponseData(unittest.TestCase): - """ApiV1WorkspaceProjectIdPermissionsGet200ResponseData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdPermissionsGet200ResponseData: - """Test ApiV1WorkspaceProjectIdPermissionsGet200ResponseData - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdPermissionsGet200ResponseData` - """ - model = ApiV1WorkspaceProjectIdPermissionsGet200ResponseData() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdPermissionsGet200ResponseData( - membership = infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data_membership._api_v1_workspace__projectId__permissions_get_200_response_data_membership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', - roles = [ - infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data_membership_roles_inner._api_v1_workspace__projectId__permissions_get_200_response_data_membership_roles_inner( - role = '', ) - ], ), - permissions = [ - '' - ] - ) - else: - return ApiV1WorkspaceProjectIdPermissionsGet200ResponseData( - membership = infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data_membership._api_v1_workspace__projectId__permissions_get_200_response_data_membership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', - roles = [ - infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data_membership_roles_inner._api_v1_workspace__projectId__permissions_get_200_response_data_membership_roles_inner( - role = '', ) - ], ), - permissions = [ - '' - ], - ) - """ - - def testApiV1WorkspaceProjectIdPermissionsGet200ResponseData(self): - """Test ApiV1WorkspaceProjectIdPermissionsGet200ResponseData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_permissions_get200_response_data_membership.py b/test/test_api_v1_workspace_project_id_permissions_get200_response_data_membership.py deleted file mode 100644 index 3f31c5e..0000000 --- a/test/test_api_v1_workspace_project_id_permissions_get200_response_data_membership.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data_membership import ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership # noqa: E501 - -class TestApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership(unittest.TestCase): - """ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership: - """Test ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership` - """ - model = ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', - roles = [ - infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data_membership_roles_inner._api_v1_workspace__projectId__permissions_get_200_response_data_membership_roles_inner( - role = '', ) - ] - ) - else: - return ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', - roles = [ - infisicalapi_client.models._api_v1_workspace__project_id__permissions_get_200_response_data_membership_roles_inner._api_v1_workspace__projectId__permissions_get_200_response_data_membership_roles_inner( - role = '', ) - ], - ) - """ - - def testApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership(self): - """Test ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembership""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner.py b/test/test_api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner.py deleted file mode 100644 index dbce2ea..0000000 --- a/test/test_api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner import ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner # noqa: E501 - -class TestApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner(unittest.TestCase): - """ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner: - """Test ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner` - """ - model = ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner( - role = '' - ) - else: - return ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner( - role = '', - ) - """ - - def testApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner(self): - """Test ApiV1WorkspaceProjectIdPermissionsGet200ResponseDataMembershipRolesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_tags_get200_response.py b/test/test_api_v1_workspace_project_id_tags_get200_response.py deleted file mode 100644 index 6082995..0000000 --- a/test/test_api_v1_workspace_project_id_tags_get200_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response import ApiV1WorkspaceProjectIdTagsGet200Response # noqa: E501 - -class TestApiV1WorkspaceProjectIdTagsGet200Response(unittest.TestCase): - """ApiV1WorkspaceProjectIdTagsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdTagsGet200Response: - """Test ApiV1WorkspaceProjectIdTagsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdTagsGet200Response` - """ - model = ApiV1WorkspaceProjectIdTagsGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdTagsGet200Response( - workspace_tags = [ - infisicalapi_client.models._api_v1_workspace__project_id__tags_get_200_response_workspace_tags_inner._api_v1_workspace__projectId__tags_get_200_response_workspaceTags_inner( - id = '', - slug = '', - color = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - created_by_actor_type = 'user', ) - ] - ) - else: - return ApiV1WorkspaceProjectIdTagsGet200Response( - workspace_tags = [ - infisicalapi_client.models._api_v1_workspace__project_id__tags_get_200_response_workspace_tags_inner._api_v1_workspace__projectId__tags_get_200_response_workspaceTags_inner( - id = '', - slug = '', - color = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - created_by_actor_type = 'user', ) - ], - ) - """ - - def testApiV1WorkspaceProjectIdTagsGet200Response(self): - """Test ApiV1WorkspaceProjectIdTagsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner.py b/test/test_api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner.py deleted file mode 100644 index 18ffe78..0000000 --- a/test/test_api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner import ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner # noqa: E501 - -class TestApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner(unittest.TestCase): - """ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner: - """Test ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner` - """ - model = ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner( - id = '', - slug = '', - color = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - created_by_actor_type = 'user' - ) - else: - return ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner( - id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '', - ) - """ - - def testApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner(self): - """Test ApiV1WorkspaceProjectIdTagsGet200ResponseWorkspaceTagsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_tags_post200_response.py b/test/test_api_v1_workspace_project_id_tags_post200_response.py deleted file mode 100644 index 82f0c95..0000000 --- a/test/test_api_v1_workspace_project_id_tags_post200_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post200_response import ApiV1WorkspaceProjectIdTagsPost200Response # noqa: E501 - -class TestApiV1WorkspaceProjectIdTagsPost200Response(unittest.TestCase): - """ApiV1WorkspaceProjectIdTagsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdTagsPost200Response: - """Test ApiV1WorkspaceProjectIdTagsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdTagsPost200Response` - """ - model = ApiV1WorkspaceProjectIdTagsPost200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdTagsPost200Response( - workspace_tag = infisicalapi_client.models._api_v1_workspace__project_id__tags_get_200_response_workspace_tags_inner._api_v1_workspace__projectId__tags_get_200_response_workspaceTags_inner( - id = '', - slug = '', - color = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - created_by_actor_type = 'user', ) - ) - else: - return ApiV1WorkspaceProjectIdTagsPost200Response( - workspace_tag = infisicalapi_client.models._api_v1_workspace__project_id__tags_get_200_response_workspace_tags_inner._api_v1_workspace__projectId__tags_get_200_response_workspaceTags_inner( - id = '', - slug = '', - color = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - created_by_actor_type = 'user', ), - ) - """ - - def testApiV1WorkspaceProjectIdTagsPost200Response(self): - """Test ApiV1WorkspaceProjectIdTagsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_tags_post_request.py b/test/test_api_v1_workspace_project_id_tags_post_request.py deleted file mode 100644 index 933caf4..0000000 --- a/test/test_api_v1_workspace_project_id_tags_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_tags_post_request import ApiV1WorkspaceProjectIdTagsPostRequest # noqa: E501 - -class TestApiV1WorkspaceProjectIdTagsPostRequest(unittest.TestCase): - """ApiV1WorkspaceProjectIdTagsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdTagsPostRequest: - """Test ApiV1WorkspaceProjectIdTagsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdTagsPostRequest` - """ - model = ApiV1WorkspaceProjectIdTagsPostRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdTagsPostRequest( - slug = '', - color = '' - ) - else: - return ApiV1WorkspaceProjectIdTagsPostRequest( - slug = '', - color = '', - ) - """ - - def testApiV1WorkspaceProjectIdTagsPostRequest(self): - """Test ApiV1WorkspaceProjectIdTagsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_tags_tag_id_get200_response.py b/test/test_api_v1_workspace_project_id_tags_tag_id_get200_response.py deleted file mode 100644 index 8f4b9ec..0000000 --- a/test/test_api_v1_workspace_project_id_tags_tag_id_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response import ApiV1WorkspaceProjectIdTagsTagIdGet200Response # noqa: E501 - -class TestApiV1WorkspaceProjectIdTagsTagIdGet200Response(unittest.TestCase): - """ApiV1WorkspaceProjectIdTagsTagIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdTagsTagIdGet200Response: - """Test ApiV1WorkspaceProjectIdTagsTagIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdTagsTagIdGet200Response` - """ - model = ApiV1WorkspaceProjectIdTagsTagIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdTagsTagIdGet200Response( - workspace_tag = infisicalapi_client.models._api_v1_workspace__project_id__tags__tag_id__get_200_response_workspace_tag._api_v1_workspace__projectId__tags__tagId__get_200_response_workspaceTag( - id = '', - slug = '', - color = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - created_by_actor_type = 'user', - name = '', ) - ) - else: - return ApiV1WorkspaceProjectIdTagsTagIdGet200Response( - workspace_tag = infisicalapi_client.models._api_v1_workspace__project_id__tags__tag_id__get_200_response_workspace_tag._api_v1_workspace__projectId__tags__tagId__get_200_response_workspaceTag( - id = '', - slug = '', - color = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - created_by_actor_type = 'user', - name = '', ), - ) - """ - - def testApiV1WorkspaceProjectIdTagsTagIdGet200Response(self): - """Test ApiV1WorkspaceProjectIdTagsTagIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag.py b/test/test_api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag.py deleted file mode 100644 index e915a95..0000000 --- a/test/test_api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag import ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag # noqa: E501 - -class TestApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag(unittest.TestCase): - """ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag: - """Test ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag` - """ - model = ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag( - id = '', - slug = '', - color = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - created_by_actor_type = 'user', - name = '' - ) - else: - return ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag( - id = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '', - name = '', - ) - """ - - def testApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag(self): - """Test ApiV1WorkspaceProjectIdTagsTagIdGet200ResponseWorkspaceTag""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_id_tags_tag_id_patch_request.py b/test/test_api_v1_workspace_project_id_tags_tag_id_patch_request.py deleted file mode 100644 index 4343e73..0000000 --- a/test/test_api_v1_workspace_project_id_tags_tag_id_patch_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_id_tags_tag_id_patch_request import ApiV1WorkspaceProjectIdTagsTagIdPatchRequest # noqa: E501 - -class TestApiV1WorkspaceProjectIdTagsTagIdPatchRequest(unittest.TestCase): - """ApiV1WorkspaceProjectIdTagsTagIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectIdTagsTagIdPatchRequest: - """Test ApiV1WorkspaceProjectIdTagsTagIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectIdTagsTagIdPatchRequest` - """ - model = ApiV1WorkspaceProjectIdTagsTagIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectIdTagsTagIdPatchRequest( - slug = '', - color = '' - ) - else: - return ApiV1WorkspaceProjectIdTagsTagIdPatchRequest( - slug = '', - color = '', - ) - """ - - def testApiV1WorkspaceProjectIdTagsTagIdPatchRequest(self): - """Test ApiV1WorkspaceProjectIdTagsTagIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_get200_response.py b/test/test_api_v1_workspace_project_slug_roles_get200_response.py deleted file mode 100644 index 4897ca1..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response import ApiV1WorkspaceProjectSlugRolesGet200Response # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesGet200Response(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesGet200Response: - """Test ApiV1WorkspaceProjectSlugRolesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesGet200Response` - """ - model = ApiV1WorkspaceProjectSlugRolesGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesGet200Response( - roles = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_get_200_response_roles_inner._api_v1_workspace__projectSlug__roles_get_200_response_roles_inner( - id = '', - name = '', - description = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '', ) - ] - ) - else: - return ApiV1WorkspaceProjectSlugRolesGet200Response( - roles = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_get_200_response_roles_inner._api_v1_workspace__projectSlug__roles_get_200_response_roles_inner( - id = '', - name = '', - description = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '', ) - ], - ) - """ - - def testApiV1WorkspaceProjectSlugRolesGet200Response(self): - """Test ApiV1WorkspaceProjectSlugRolesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_get200_response_roles_inner.py b/test/test_api_v1_workspace_project_slug_roles_get200_response_roles_inner.py deleted file mode 100644 index 75dc735..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_get200_response_roles_inner.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_get200_response_roles_inner import ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner: - """Test ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner` - """ - model = ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner( - id = '', - name = '', - description = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '' - ) - else: - return ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner( - id = '', - name = '', - slug = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '', - ) - """ - - def testApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner(self): - """Test ApiV1WorkspaceProjectSlugRolesGet200ResponseRolesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_post200_response.py b/test/test_api_v1_workspace_project_slug_roles_post200_response.py deleted file mode 100644 index f5e5f2d..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_post200_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response import ApiV1WorkspaceProjectSlugRolesPost200Response # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesPost200Response(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesPost200Response: - """Test ApiV1WorkspaceProjectSlugRolesPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesPost200Response` - """ - model = ApiV1WorkspaceProjectSlugRolesPost200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesPost200Response( - role = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role._api_v1_workspace__projectSlug__roles_post_200_response_role( - id = '', - name = '', - description = '', - slug = '', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner( - subject = null, - action = null, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '', ) - ) - else: - return ApiV1WorkspaceProjectSlugRolesPost200Response( - role = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role._api_v1_workspace__projectSlug__roles_post_200_response_role( - id = '', - name = '', - description = '', - slug = '', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner( - subject = null, - action = null, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '', ), - ) - """ - - def testApiV1WorkspaceProjectSlugRolesPost200Response(self): - """Test ApiV1WorkspaceProjectSlugRolesPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_post200_response_role.py b/test/test_api_v1_workspace_project_slug_roles_post200_response_role.py deleted file mode 100644 index a1ed1a4..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_post200_response_role.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role import ApiV1WorkspaceProjectSlugRolesPost200ResponseRole # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesPost200ResponseRole(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesPost200ResponseRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRole: - """Test ApiV1WorkspaceProjectSlugRolesPost200ResponseRole - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesPost200ResponseRole` - """ - model = ApiV1WorkspaceProjectSlugRolesPost200ResponseRole() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRole( - id = '', - name = '', - description = '', - slug = '', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner( - subject = null, - action = null, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '' - ) - else: - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRole( - id = '', - name = '', - slug = '', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner( - subject = null, - action = null, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - project_id = '', - ) - """ - - def testApiV1WorkspaceProjectSlugRolesPost200ResponseRole(self): - """Test ApiV1WorkspaceProjectSlugRolesPost200ResponseRole""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner.py b/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner.py deleted file mode 100644 index 945cb93..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner: - """Test ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner` - """ - model = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner( - subject = None, - action = None, - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ), ) - ) - else: - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner( - action = None, - ) - """ - - def testApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner(self): - """Test ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions.py b/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions.py deleted file mode 100644 index 48930dd..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions: - """Test ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions` - """ - model = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_200_response_role_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_200_response_role_permissions_inner_conditions_secretPath( - __glob = '0', ) - ) - else: - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions( - ) - """ - - def testApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions(self): - """Test ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditions""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path.py b/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path.py deleted file mode 100644 index a4ed926..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath: - """Test ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath` - """ - model = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath( - glob = '0' - ) - else: - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath( - glob = '0', - ) - """ - - def testApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath(self): - """Test ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerConditionsSecretPath""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject.py b/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject.py deleted file mode 100644 index 173d004..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject import ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject: - """Test ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject` - """ - model = ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject( - ) - else: - return ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject( - ) - """ - - def testApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject(self): - """Test ApiV1WorkspaceProjectSlugRolesPost200ResponseRolePermissionsInnerSubject""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_post_request.py b/test/test_api_v1_workspace_project_slug_roles_post_request.py deleted file mode 100644 index ffcb1c1..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_post_request.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request import ApiV1WorkspaceProjectSlugRolesPostRequest # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesPostRequest(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesPostRequest: - """Test ApiV1WorkspaceProjectSlugRolesPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesPostRequest` - """ - model = ApiV1WorkspaceProjectSlugRolesPostRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesPostRequest( - slug = '0', - name = '0', - description = '', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner._api_v1_workspace__projectSlug__roles_post_request_permissions_inner( - action = 'read', - subject = 'role', - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ] - ) - else: - return ApiV1WorkspaceProjectSlugRolesPostRequest( - slug = '0', - name = '0', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner._api_v1_workspace__projectSlug__roles_post_request_permissions_inner( - action = 'read', - subject = 'role', - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ], - ) - """ - - def testApiV1WorkspaceProjectSlugRolesPostRequest(self): - """Test ApiV1WorkspaceProjectSlugRolesPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner.py b/test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner.py deleted file mode 100644 index 09ea35a..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner: - """Test ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner` - """ - model = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner( - action = 'read', - subject = 'role', - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ) - ) - else: - return ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner( - action = 'read', - subject = 'role', - ) - """ - - def testApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner(self): - """Test ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions.py b/test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions.py deleted file mode 100644 index 83dbe76..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions: - """Test ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions` - """ - model = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ) - ) - else: - return ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions( - ) - """ - - def testApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions(self): - """Test ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditions""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path.py b/test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path.py deleted file mode 100644 index 01ca0f7..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path import ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath: - """Test ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath` - """ - model = ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath( - glob = '0' - ) - else: - return ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath( - glob = '0', - ) - """ - - def testApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath(self): - """Test ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInnerConditionsSecretPath""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_project_slug_roles_role_id_patch_request.py b/test/test_api_v1_workspace_project_slug_roles_role_id_patch_request.py deleted file mode 100644 index 1f1abd6..0000000 --- a/test/test_api_v1_workspace_project_slug_roles_role_id_patch_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_project_slug_roles_role_id_patch_request import ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest # noqa: E501 - -class TestApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest(unittest.TestCase): - """ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest: - """Test ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest` - """ - model = ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest( - slug = '', - name = '', - permissions = [ - infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner._api_v1_workspace__projectSlug__roles_post_request_permissions_inner( - action = 'read', - subject = 'role', - conditions = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions( - environment = '', - secret_path = infisicalapi_client.models._api_v1_workspace__project_slug__roles_post_request_permissions_inner_conditions_secret_path._api_v1_workspace__projectSlug__roles_post_request_permissions_inner_conditions_secretPath( - __glob = '0', ), ), ) - ] - ) - else: - return ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest( - ) - """ - - def testApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest(self): - """Test ApiV1WorkspaceProjectSlugRolesRoleIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response.py b/test/test_api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response.py deleted file mode 100644 index c49fa86..0000000 --- a/test/test_api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response: - """Test ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response( - actors = [ - '' - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response( - actors = [ - '' - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdAuditLogsFiltersActorsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_audit_logs_get200_response.py b/test/test_api_v1_workspace_workspace_id_audit_logs_get200_response.py deleted file mode 100644 index 73a2c48..0000000 --- a/test/test_api_v1_workspace_workspace_id_audit_logs_get200_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response import ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdAuditLogsGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response: - """Test ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response( - audit_logs = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__audit_logs_get_200_response_audit_logs_inner._api_v1_workspace__workspaceId__audit_logs_get_200_response_auditLogs_inner( - id = '', - ip_address = '', - user_agent = '', - user_agent_type = '', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - project_id = '', - event = infisicalapi_client.models._api_v1_workspace__workspace_id__audit_logs_get_200_response_audit_logs_inner_event._api_v1_workspace__workspaceId__audit_logs_get_200_response_auditLogs_inner_event( - type = '', - metadata = null, ), - actor = infisicalapi_client.models._api_v1_workspace__workspace_id__audit_logs_get_200_response_audit_logs_inner_event._api_v1_workspace__workspaceId__audit_logs_get_200_response_auditLogs_inner_event( - type = '', - metadata = null, ), ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response( - audit_logs = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__audit_logs_get_200_response_audit_logs_inner._api_v1_workspace__workspaceId__audit_logs_get_200_response_auditLogs_inner( - id = '', - ip_address = '', - user_agent = '', - user_agent_type = '', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - project_id = '', - event = infisicalapi_client.models._api_v1_workspace__workspace_id__audit_logs_get_200_response_audit_logs_inner_event._api_v1_workspace__workspaceId__audit_logs_get_200_response_auditLogs_inner_event( - type = '', - metadata = null, ), - actor = infisicalapi_client.models._api_v1_workspace__workspace_id__audit_logs_get_200_response_audit_logs_inner_event._api_v1_workspace__workspaceId__audit_logs_get_200_response_auditLogs_inner_event( - type = '', - metadata = null, ), ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdAuditLogsGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdAuditLogsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner.py b/test/test_api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner.py deleted file mode 100644 index 9560505..0000000 --- a/test/test_api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner import ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner: - """Test ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner` - """ - model = ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner( - id = '', - ip_address = '', - user_agent = '', - user_agent_type = '', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - org_id = '', - project_id = '', - event = infisicalapi_client.models._api_v1_workspace__workspace_id__audit_logs_get_200_response_audit_logs_inner_event._api_v1_workspace__workspaceId__audit_logs_get_200_response_auditLogs_inner_event( - type = '', - metadata = null, ), - actor = infisicalapi_client.models._api_v1_workspace__workspace_id__audit_logs_get_200_response_audit_logs_inner_event._api_v1_workspace__workspaceId__audit_logs_get_200_response_auditLogs_inner_event( - type = '', - metadata = null, ) - ) - else: - return ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - event = infisicalapi_client.models._api_v1_workspace__workspace_id__audit_logs_get_200_response_audit_logs_inner_event._api_v1_workspace__workspaceId__audit_logs_get_200_response_auditLogs_inner_event( - type = '', - metadata = null, ), - actor = infisicalapi_client.models._api_v1_workspace__workspace_id__audit_logs_get_200_response_audit_logs_inner_event._api_v1_workspace__workspaceId__audit_logs_get_200_response_auditLogs_inner_event( - type = '', - metadata = null, ), - ) - """ - - def testApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner(self): - """Test ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event.py b/test/test_api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event.py deleted file mode 100644 index 79bd55c..0000000 --- a/test/test_api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event import ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent: - """Test ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent` - """ - model = ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent( - type = '', - metadata = None - ) - else: - return ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent( - type = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent(self): - """Test ApiV1WorkspaceWorkspaceIdAuditLogsGet200ResponseAuditLogsInnerEvent""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_authorizations_get200_response.py b/test/test_api_v1_workspace_workspace_id_authorizations_get200_response.py deleted file mode 100644 index e16d759..0000000 --- a/test/test_api_v1_workspace_workspace_id_authorizations_get200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response: - """Test ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response( - authorizations = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__authorizations_get_200_response_authorizations_inner._api_v1_workspace__workspaceId__authorizations_get_200_response_authorizations_inner( - id = '', - project_id = '', - integration = '', - team_id = '', - url = '', - namespace = '', - account_id = '', - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response( - authorizations = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__authorizations_get_200_response_authorizations_inner._api_v1_workspace__workspaceId__authorizations_get_200_response_authorizations_inner( - id = '', - project_id = '', - integration = '', - team_id = '', - url = '', - namespace = '', - account_id = '', - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdAuthorizationsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner.py b/test/test_api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner.py deleted file mode 100644 index 8c12b16..0000000 --- a/test/test_api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner import ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner: - """Test ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner` - """ - model = ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner( - id = '', - project_id = '', - integration = '', - team_id = '', - url = '', - namespace = '', - account_id = '', - metadata = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner( - id = '', - project_id = '', - integration = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner(self): - """Test ApiV1WorkspaceWorkspaceIdAuthorizationsGet200ResponseAuthorizationsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_auto_capitalization_post_request.py b/test/test_api_v1_workspace_workspace_id_auto_capitalization_post_request.py deleted file mode 100644 index a807319..0000000 --- a/test/test_api_v1_workspace_workspace_id_auto_capitalization_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_auto_capitalization_post_request import ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest: - """Test ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest` - """ - model = ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest( - auto_capitalization = True - ) - else: - return ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest( - auto_capitalization = True, - ) - """ - - def testApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest(self): - """Test ApiV1WorkspaceWorkspaceIdAutoCapitalizationPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_delete200_response.py b/test/test_api_v1_workspace_workspace_id_delete200_response.py deleted file mode 100644 index 2a9e0c0..0000000 --- a/test/test_api_v1_workspace_workspace_id_delete200_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_delete200_response import ApiV1WorkspaceWorkspaceIdDelete200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdDelete200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdDelete200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdDelete200Response: - """Test ApiV1WorkspaceWorkspaceIdDelete200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdDelete200Response` - """ - model = ApiV1WorkspaceWorkspaceIdDelete200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdDelete200Response( - workspace = infisicalapi_client.models._api_v1_organization_admin_projects_get_200_response_projects_inner._api_v1_organization_admin_projects_get_200_response_projects_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, ) - ) - else: - return ApiV1WorkspaceWorkspaceIdDelete200Response( - ) - """ - - def testApiV1WorkspaceWorkspaceIdDelete200Response(self): - """Test ApiV1WorkspaceWorkspaceIdDelete200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_environments_env_id_get200_response.py b/test/test_api_v1_workspace_workspace_id_environments_env_id_get200_response.py deleted file mode 100644 index 80b816c..0000000 --- a/test/test_api_v1_workspace_workspace_id_environments_env_id_get200_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response: - """Test ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response( - environment = infisicalapi_client.models._api_v1_workspace__workspace_id__environments__env_id__get_200_response_environment._api_v1_workspace__workspaceId__environments__envId__get_200_response_environment( - id = '', - name = '', - slug = '', - position = 1.337, - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response( - environment = infisicalapi_client.models._api_v1_workspace__workspace_id__environments__env_id__get_200_response_environment._api_v1_workspace__workspaceId__environments__envId__get_200_response_environment( - id = '', - name = '', - slug = '', - position = 1.337, - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_environments_env_id_get200_response_environment.py b/test/test_api_v1_workspace_workspace_id_environments_env_id_get200_response_environment.py deleted file mode 100644 index 939e623..0000000 --- a/test/test_api_v1_workspace_workspace_id_environments_env_id_get200_response_environment.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_env_id_get200_response_environment import ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment: - """Test ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment` - """ - model = ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment( - id = '', - name = '', - slug = '', - position = 1.337, - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment( - id = '', - name = '', - slug = '', - position = 1.337, - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment(self): - """Test ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_environments_id_patch_request.py b/test/test_api_v1_workspace_workspace_id_environments_id_patch_request.py deleted file mode 100644 index da4d150..0000000 --- a/test/test_api_v1_workspace_workspace_id_environments_id_patch_request.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_id_patch_request import ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest: - """Test ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest` - """ - model = ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest( - slug = '', - name = '', - position = 1.337 - ) - else: - return ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest( - ) - """ - - def testApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest(self): - """Test ApiV1WorkspaceWorkspaceIdEnvironmentsIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_environments_post200_response.py b/test/test_api_v1_workspace_workspace_id_environments_post200_response.py deleted file mode 100644 index 61800a2..0000000 --- a/test/test_api_v1_workspace_workspace_id_environments_post200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post200_response import ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response: - """Test ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response` - """ - model = ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response( - message = '', - workspace = '', - environment = infisicalapi_client.models._api_v1_workspace__workspace_id__environments__env_id__get_200_response_environment._api_v1_workspace__workspaceId__environments__envId__get_200_response_environment( - id = '', - name = '', - slug = '', - position = 1.337, - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response( - message = '', - workspace = '', - environment = infisicalapi_client.models._api_v1_workspace__workspace_id__environments__env_id__get_200_response_environment._api_v1_workspace__workspaceId__environments__envId__get_200_response_environment( - id = '', - name = '', - slug = '', - position = 1.337, - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response(self): - """Test ApiV1WorkspaceWorkspaceIdEnvironmentsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_environments_post_request.py b/test/test_api_v1_workspace_workspace_id_environments_post_request.py deleted file mode 100644 index 0b20f3c..0000000 --- a/test/test_api_v1_workspace_workspace_id_environments_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_environments_post_request import ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest: - """Test ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest` - """ - model = ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest( - name = '', - slug = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest( - name = '', - slug = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest(self): - """Test ApiV1WorkspaceWorkspaceIdEnvironmentsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_get200_response.py b/test/test_api_v1_workspace_workspace_id_get200_response.py deleted file mode 100644 index 617b685..0000000 --- a/test/test_api_v1_workspace_workspace_id_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_get200_response import ApiV1WorkspaceWorkspaceIdGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdGet200Response: - """Test ApiV1WorkspaceWorkspaceIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdGet200Response( - workspace = infisicalapi_client.models._api_v1_workspace_get_200_response_workspaces_inner._api_v1_workspace_get_200_response_workspaces_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, - _id = '', - environments = [ - infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ) - ], ) - ) - else: - return ApiV1WorkspaceWorkspaceIdGet200Response( - ) - """ - - def testApiV1WorkspaceWorkspaceIdGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_integrations_get200_response.py b/test/test_api_v1_workspace_workspace_id_integrations_get200_response.py deleted file mode 100644 index 9db4620..0000000 --- a/test/test_api_v1_workspace_workspace_id_integrations_get200_response.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response import ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdIntegrationsGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response: - """Test ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response( - integrations = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__integrations_get_200_response_integrations_inner._api_v1_workspace__workspaceId__integrations_get_200_response_integrations_inner( - id = '', - is_active = True, - url = '', - app = '', - app_id = '', - target_environment = '', - target_environment_id = '', - target_service = '', - target_service_id = '', - owner = '', - path = '', - region = '', - scope = '', - integration = '', - metadata = null, - integration_auth_id = '', - env_id = '', - secret_path = '/', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_synced = True, - sync_message = '', - last_sync_job_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response( - integrations = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__integrations_get_200_response_integrations_inner._api_v1_workspace__workspaceId__integrations_get_200_response_integrations_inner( - id = '', - is_active = True, - url = '', - app = '', - app_id = '', - target_environment = '', - target_environment_id = '', - target_service = '', - target_service_id = '', - owner = '', - path = '', - region = '', - scope = '', - integration = '', - metadata = null, - integration_auth_id = '', - env_id = '', - secret_path = '/', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_synced = True, - sync_message = '', - last_sync_job_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdIntegrationsGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdIntegrationsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner.py b/test/test_api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner.py deleted file mode 100644 index a2103fa..0000000 --- a/test/test_api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner import ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner: - """Test ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner` - """ - model = ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner( - id = '', - is_active = True, - url = '', - app = '', - app_id = '', - target_environment = '', - target_environment_id = '', - target_service = '', - target_service_id = '', - owner = '', - path = '', - region = '', - scope = '', - integration = '', - metadata = None, - integration_auth_id = '', - env_id = '', - secret_path = '/', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_synced = True, - sync_message = '', - last_sync_job_id = '', - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ) - ) - else: - return ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner( - id = '', - is_active = True, - integration = '', - integration_auth_id = '', - env_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = infisicalapi_client.models._api_v1_secret_approvals_get_200_response_approvals_inner_environment._api_v1_secret_approvals_get_200_response_approvals_inner_environment( - id = '', - name = '', - slug = '', ), - ) - """ - - def testApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner(self): - """Test ApiV1WorkspaceWorkspaceIdIntegrationsGet200ResponseIntegrationsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_key_post_request.py b/test/test_api_v1_workspace_workspace_id_key_post_request.py deleted file mode 100644 index 458c07a..0000000 --- a/test/test_api_v1_workspace_workspace_id_key_post_request.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request import ApiV1WorkspaceWorkspaceIdKeyPostRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKeyPostRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKeyPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKeyPostRequest: - """Test ApiV1WorkspaceWorkspaceIdKeyPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKeyPostRequest` - """ - model = ApiV1WorkspaceWorkspaceIdKeyPostRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKeyPostRequest( - key = infisicalapi_client.models._api_v1_workspace__workspace_id__key_post_request_key._api_v1_workspace__workspaceId__key_post_request_key( - encrypted_key = '', - nonce = '', - user_id = '', ) - ) - else: - return ApiV1WorkspaceWorkspaceIdKeyPostRequest( - key = infisicalapi_client.models._api_v1_workspace__workspace_id__key_post_request_key._api_v1_workspace__workspaceId__key_post_request_key( - encrypted_key = '', - nonce = '', - user_id = '', ), - ) - """ - - def testApiV1WorkspaceWorkspaceIdKeyPostRequest(self): - """Test ApiV1WorkspaceWorkspaceIdKeyPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_key_post_request_key.py b/test/test_api_v1_workspace_workspace_id_key_post_request_key.py deleted file mode 100644 index 06705c9..0000000 --- a/test/test_api_v1_workspace_workspace_id_key_post_request_key.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_key_post_request_key import ApiV1WorkspaceWorkspaceIdKeyPostRequestKey # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKeyPostRequestKey(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKeyPostRequestKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKeyPostRequestKey: - """Test ApiV1WorkspaceWorkspaceIdKeyPostRequestKey - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKeyPostRequestKey` - """ - model = ApiV1WorkspaceWorkspaceIdKeyPostRequestKey() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKeyPostRequestKey( - encrypted_key = '', - nonce = '', - user_id = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdKeyPostRequestKey( - encrypted_key = '', - nonce = '', - user_id = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdKeyPostRequestKey(self): - """Test ApiV1WorkspaceWorkspaceIdKeyPostRequestKey""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_keys_get200_response.py b/test/test_api_v1_workspace_workspace_id_keys_get200_response.py deleted file mode 100644 index 22d457d..0000000 --- a/test/test_api_v1_workspace_workspace_id_keys_get200_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response import ApiV1WorkspaceWorkspaceIdKeysGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKeysGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKeysGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKeysGet200Response: - """Test ApiV1WorkspaceWorkspaceIdKeysGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKeysGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdKeysGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKeysGet200Response( - public_keys = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__keys_get_200_response_public_keys_inner._api_v1_workspace__workspaceId__keys_get_200_response_publicKeys_inner( - public_key = '', - user_id = '', ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdKeysGet200Response( - public_keys = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__keys_get_200_response_public_keys_inner._api_v1_workspace__workspaceId__keys_get_200_response_publicKeys_inner( - public_key = '', - user_id = '', ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdKeysGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdKeysGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner.py b/test/test_api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner.py deleted file mode 100644 index 6ce5cb7..0000000 --- a/test/test_api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner import ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner: - """Test ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner` - """ - model = ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner( - public_key = '', - user_id = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner( - user_id = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner(self): - """Test ApiV1WorkspaceWorkspaceIdKeysGet200ResponsePublicKeysInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_kms_backup_get200_response.py b/test/test_api_v1_workspace_workspace_id_kms_backup_get200_response.py deleted file mode 100644 index 418d5e1..0000000 --- a/test/test_api_v1_workspace_workspace_id_kms_backup_get200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_get200_response import ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKmsBackupGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response: - """Test ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response( - secret_manager = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response( - secret_manager = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdKmsBackupGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdKmsBackupGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_kms_backup_post_request.py b/test/test_api_v1_workspace_workspace_id_kms_backup_post_request.py deleted file mode 100644 index 30649c1..0000000 --- a/test/test_api_v1_workspace_workspace_id_kms_backup_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_backup_post_request import ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKmsBackupPostRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest: - """Test ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest` - """ - model = ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest( - backup = '0' - ) - else: - return ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest( - backup = '0', - ) - """ - - def testApiV1WorkspaceWorkspaceIdKmsBackupPostRequest(self): - """Test ApiV1WorkspaceWorkspaceIdKmsBackupPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_kms_get200_response.py b/test/test_api_v1_workspace_workspace_id_kms_get200_response.py deleted file mode 100644 index b12e5fb..0000000 --- a/test/test_api_v1_workspace_workspace_id_kms_get200_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response import ApiV1WorkspaceWorkspaceIdKmsGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKmsGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKmsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKmsGet200Response: - """Test ApiV1WorkspaceWorkspaceIdKmsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKmsGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdKmsGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKmsGet200Response( - secret_manager_kms_key = infisicalapi_client.models._api_v1_workspace__workspace_id__kms_get_200_response_secret_manager_kms_key._api_v1_workspace__workspaceId__kms_get_200_response_secretManagerKmsKey( - id = '', - slug = '', - is_external = True, ) - ) - else: - return ApiV1WorkspaceWorkspaceIdKmsGet200Response( - secret_manager_kms_key = infisicalapi_client.models._api_v1_workspace__workspace_id__kms_get_200_response_secret_manager_kms_key._api_v1_workspace__workspaceId__kms_get_200_response_secretManagerKmsKey( - id = '', - slug = '', - is_external = True, ), - ) - """ - - def testApiV1WorkspaceWorkspaceIdKmsGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdKmsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key.py b/test/test_api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key.py deleted file mode 100644 index 4332f16..0000000 --- a/test/test_api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key import ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey: - """Test ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey` - """ - model = ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey( - id = '', - slug = '', - is_external = True - ) - else: - return ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey( - id = '', - slug = '', - is_external = True, - ) - """ - - def testApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey(self): - """Test ApiV1WorkspaceWorkspaceIdKmsGet200ResponseSecretManagerKmsKey""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_kms_patch_request.py b/test/test_api_v1_workspace_workspace_id_kms_patch_request.py deleted file mode 100644 index ed0ace8..0000000 --- a/test/test_api_v1_workspace_workspace_id_kms_patch_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request import ApiV1WorkspaceWorkspaceIdKmsPatchRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKmsPatchRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKmsPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequest: - """Test ApiV1WorkspaceWorkspaceIdKmsPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKmsPatchRequest` - """ - model = ApiV1WorkspaceWorkspaceIdKmsPatchRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKmsPatchRequest( - kms = None - ) - else: - return ApiV1WorkspaceWorkspaceIdKmsPatchRequest( - kms = None, - ) - """ - - def testApiV1WorkspaceWorkspaceIdKmsPatchRequest(self): - """Test ApiV1WorkspaceWorkspaceIdKmsPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_kms_patch_request_kms.py b/test/test_api_v1_workspace_workspace_id_kms_patch_request_kms.py deleted file mode 100644 index 4704215..0000000 --- a/test/test_api_v1_workspace_workspace_id_kms_patch_request_kms.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKmsPatchRequestKms(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms: - """Test ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms` - """ - model = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms( - type = 'internal', - kms_id = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms( - type = 'internal', - kms_id = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdKmsPatchRequestKms(self): - """Test ApiV1WorkspaceWorkspaceIdKmsPatchRequestKms""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_kms_patch_request_kms_any_of.py b/test/test_api_v1_workspace_workspace_id_kms_patch_request_kms_any_of.py deleted file mode 100644 index b02b416..0000000 --- a/test/test_api_v1_workspace_workspace_id_kms_patch_request_kms_any_of.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms_any_of import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf: - """Test ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf` - """ - model = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf( - type = 'internal' - ) - else: - return ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf( - type = 'internal', - ) - """ - - def testApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf(self): - """Test ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1.py b/test/test_api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1.py deleted file mode 100644 index e7a4c99..0000000 --- a/test/test_api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1 import ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1: - """Test ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1` - """ - model = ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1( - type = 'external', - kms_id = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1( - type = 'external', - kms_id = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1(self): - """Test ApiV1WorkspaceWorkspaceIdKmsPatchRequestKmsAnyOf1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_details_post200_response.py b/test/test_api_v1_workspace_workspace_id_memberships_details_post200_response.py deleted file mode 100644 index 08d0427..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_details_post200_response.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response: - """Test ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response( - membership = infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_get_200_response_memberships_inner._api_v1_workspace__workspaceId__memberships_get_200_response_memberships_inner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_get_200_response_memberships_inner_user._api_v1_workspace__workspaceId__memberships_get_200_response_memberships_inner_user( - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response( - membership = infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_get_200_response_memberships_inner._api_v1_workspace__workspaceId__memberships_get_200_response_memberships_inner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_get_200_response_memberships_inner_user._api_v1_workspace__workspaceId__memberships_get_200_response_memberships_inner_user( - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ), - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsDetailsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_details_post_request.py b/test/test_api_v1_workspace_workspace_id_memberships_details_post_request.py deleted file mode 100644 index 798dee2..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_details_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_details_post_request import ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest: - """Test ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest( - username = '0' - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest( - username = '0', - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsDetailsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_get200_response.py b/test/test_api_v1_workspace_workspace_id_memberships_get200_response.py deleted file mode 100644 index 6e28c1f..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_get200_response.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response import ApiV1WorkspaceWorkspaceIdMembershipsGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsGet200Response: - """Test ApiV1WorkspaceWorkspaceIdMembershipsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsGet200Response( - memberships = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_get_200_response_memberships_inner._api_v1_workspace__workspaceId__memberships_get_200_response_memberships_inner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_get_200_response_memberships_inner_user._api_v1_workspace__workspaceId__memberships_get_200_response_memberships_inner_user( - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsGet200Response( - memberships = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_get_200_response_memberships_inner._api_v1_workspace__workspaceId__memberships_get_200_response_memberships_inner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_get_200_response_memberships_inner_user._api_v1_workspace__workspaceId__memberships_get_200_response_memberships_inner_user( - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner.py b/test/test_api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner.py deleted file mode 100644 index 91dffb8..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner: - """Test ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_get_200_response_memberships_inner_user._api_v1_workspace__workspaceId__memberships_get_200_response_memberships_inner_user( - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_get_200_response_memberships_inner_user._api_v1_workspace__workspaceId__memberships_get_200_response_memberships_inner_user( - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user.py b/test/test_api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user.py deleted file mode 100644 index a146575..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user import ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser: - """Test ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser( - email = '', - first_name = '', - last_name = '', - id = '', - public_key = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser( - id = '', - public_key = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsGet200ResponseMembershipsInnerUser""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch200_response.py b/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch200_response.py deleted file mode 100644 index 4f80a20..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response: - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response( - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__memberships__membership_id__patch_200_response_roles_inner._api_v1_workspace__workspaceId__memberships__membershipId__patch_200_response_roles_inner( - id = '', - role = '', - project_membership_id = '', - custom_role_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response( - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__memberships__membership_id__patch_200_response_roles_inner._api_v1_workspace__workspaceId__memberships__membershipId__patch_200_response_roles_inner( - id = '', - role = '', - project_membership_id = '', - custom_role_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner.py b/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner.py deleted file mode 100644 index 7c977e6..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner: - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner( - id = '', - role = '', - project_membership_id = '', - custom_role_id = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner( - id = '', - role = '', - project_membership_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatch200ResponseRolesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request.py b/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request.py deleted file mode 100644 index eea518f..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest: - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest( - roles = [ - null - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest( - roles = [ - null - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner.py b/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner.py deleted file mode 100644 index ba1bfa9..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner: - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of.py b/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of.py deleted file mode 100644 index 78a1b50..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf: - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf( - role = '', - is_temporary = True - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf( - role = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1.py b/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1.py deleted file mode 100644 index 44afb1a..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1 import ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1: - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsMembershipIdPatchRequestRolesInnerAnyOf1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_post200_response.py b/test/test_api_v1_workspace_workspace_id_memberships_post200_response.py deleted file mode 100644 index 0dfa74c..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_post200_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post200_response import ApiV1WorkspaceWorkspaceIdMembershipsPost200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsPost200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsPost200Response: - """Test ApiV1WorkspaceWorkspaceIdMembershipsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsPost200Response` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsPost200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsPost200Response( - success = True, - data = [ - infisicalapi_client.models._api_v1_organization__organization_id__permissions_get_200_response_membership._api_v1_organization__organizationId__permissions_get_200_response_membership( - id = '', - role = '', - status = 'invited', - invite_email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsPost200Response( - success = True, - data = [ - infisicalapi_client.models._api_v1_organization__organization_id__permissions_get_200_response_membership._api_v1_organization__organizationId__permissions_get_200_response_membership( - id = '', - role = '', - status = 'invited', - invite_email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsPost200Response(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_post_request.py b/test/test_api_v1_workspace_workspace_id_memberships_post_request.py deleted file mode 100644 index 2838114..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_post_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request import ApiV1WorkspaceWorkspaceIdMembershipsPostRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsPostRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsPostRequest: - """Test ApiV1WorkspaceWorkspaceIdMembershipsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsPostRequest` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsPostRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsPostRequest( - members = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_post_request_members_inner._api_v1_workspace__workspaceId__memberships_post_request_members_inner( - org_membership_id = '', - workspace_encrypted_key = '', - workspace_encrypted_nonce = '', ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsPostRequest( - members = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__memberships_post_request_members_inner._api_v1_workspace__workspaceId__memberships_post_request_members_inner( - org_membership_id = '', - workspace_encrypted_key = '', - workspace_encrypted_nonce = '', ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsPostRequest(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_memberships_post_request_members_inner.py b/test/test_api_v1_workspace_workspace_id_memberships_post_request_members_inner.py deleted file mode 100644 index 48c6878..0000000 --- a/test/test_api_v1_workspace_workspace_id_memberships_post_request_members_inner.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_memberships_post_request_members_inner import ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner: - """Test ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner` - """ - model = ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner( - org_membership_id = '', - workspace_encrypted_key = '', - workspace_encrypted_nonce = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner( - org_membership_id = '', - workspace_encrypted_key = '', - workspace_encrypted_nonce = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner(self): - """Test ApiV1WorkspaceWorkspaceIdMembershipsPostRequestMembersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_migrate_v3_post200_response.py b/test/test_api_v1_workspace_workspace_id_migrate_v3_post200_response.py deleted file mode 100644 index 9e93d84..0000000 --- a/test/test_api_v1_workspace_workspace_id_migrate_v3_post200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_migrate_v3_post200_response import ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdMigrateV3Post200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response: - """Test ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response` - """ - model = ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response( - message = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response( - message = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdMigrateV3Post200Response(self): - """Test ApiV1WorkspaceWorkspaceIdMigrateV3Post200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_name_post200_response.py b/test/test_api_v1_workspace_workspace_id_name_post200_response.py deleted file mode 100644 index 7ff97e9..0000000 --- a/test/test_api_v1_workspace_workspace_id_name_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post200_response import ApiV1WorkspaceWorkspaceIdNamePost200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdNamePost200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdNamePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdNamePost200Response: - """Test ApiV1WorkspaceWorkspaceIdNamePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdNamePost200Response` - """ - model = ApiV1WorkspaceWorkspaceIdNamePost200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdNamePost200Response( - message = '', - workspace = infisicalapi_client.models._api_v1_organization_admin_projects_get_200_response_projects_inner._api_v1_organization_admin_projects_get_200_response_projects_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, ) - ) - else: - return ApiV1WorkspaceWorkspaceIdNamePost200Response( - message = '', - workspace = infisicalapi_client.models._api_v1_organization_admin_projects_get_200_response_projects_inner._api_v1_organization_admin_projects_get_200_response_projects_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, ), - ) - """ - - def testApiV1WorkspaceWorkspaceIdNamePost200Response(self): - """Test ApiV1WorkspaceWorkspaceIdNamePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_name_post_request.py b/test/test_api_v1_workspace_workspace_id_name_post_request.py deleted file mode 100644 index 39bbeb8..0000000 --- a/test/test_api_v1_workspace_workspace_id_name_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_name_post_request import ApiV1WorkspaceWorkspaceIdNamePostRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdNamePostRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdNamePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdNamePostRequest: - """Test ApiV1WorkspaceWorkspaceIdNamePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdNamePostRequest` - """ - model = ApiV1WorkspaceWorkspaceIdNamePostRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdNamePostRequest( - name = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdNamePostRequest( - name = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdNamePostRequest(self): - """Test ApiV1WorkspaceWorkspaceIdNamePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_patch200_response.py b/test/test_api_v1_workspace_workspace_id_patch200_response.py deleted file mode 100644 index d41bf55..0000000 --- a/test/test_api_v1_workspace_workspace_id_patch200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch200_response import ApiV1WorkspaceWorkspaceIdPatch200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdPatch200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdPatch200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdPatch200Response: - """Test ApiV1WorkspaceWorkspaceIdPatch200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdPatch200Response` - """ - model = ApiV1WorkspaceWorkspaceIdPatch200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdPatch200Response( - workspace = infisicalapi_client.models._api_v1_organization_admin_projects_get_200_response_projects_inner._api_v1_organization_admin_projects_get_200_response_projects_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, ) - ) - else: - return ApiV1WorkspaceWorkspaceIdPatch200Response( - workspace = infisicalapi_client.models._api_v1_organization_admin_projects_get_200_response_projects_inner._api_v1_organization_admin_projects_get_200_response_projects_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, ), - ) - """ - - def testApiV1WorkspaceWorkspaceIdPatch200Response(self): - """Test ApiV1WorkspaceWorkspaceIdPatch200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_patch_request.py b/test/test_api_v1_workspace_workspace_id_patch_request.py deleted file mode 100644 index 31a3cf9..0000000 --- a/test/test_api_v1_workspace_workspace_id_patch_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_patch_request import ApiV1WorkspaceWorkspaceIdPatchRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdPatchRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdPatchRequest: - """Test ApiV1WorkspaceWorkspaceIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdPatchRequest` - """ - model = ApiV1WorkspaceWorkspaceIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdPatchRequest( - name = '', - auto_capitalization = True - ) - else: - return ApiV1WorkspaceWorkspaceIdPatchRequest( - ) - """ - - def testApiV1WorkspaceWorkspaceIdPatchRequest(self): - """Test ApiV1WorkspaceWorkspaceIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_secret_snapshots_count_get200_response.py b/test/test_api_v1_workspace_workspace_id_secret_snapshots_count_get200_response.py deleted file mode 100644 index 99b983c..0000000 --- a/test/test_api_v1_workspace_workspace_id_secret_snapshots_count_get200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_count_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response: - """Test ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response( - count = 1.337 - ) - else: - return ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response( - count = 1.337, - ) - """ - - def testApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdSecretSnapshotsCountGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_secret_snapshots_get200_response.py b/test/test_api_v1_workspace_workspace_id_secret_snapshots_get200_response.py deleted file mode 100644 index 01163f1..0000000 --- a/test/test_api_v1_workspace_workspace_id_secret_snapshots_get200_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response: - """Test ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response( - secret_snapshots = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__secret_snapshots_get_200_response_secret_snapshots_inner._api_v1_workspace__workspaceId__secret_snapshots_get_200_response_secretSnapshots_inner( - id = '', - env_id = '', - folder_id = '', - parent_folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response( - secret_snapshots = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__secret_snapshots_get_200_response_secret_snapshots_inner._api_v1_workspace__workspaceId__secret_snapshots_get_200_response_secretSnapshots_inner( - id = '', - env_id = '', - folder_id = '', - parent_folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner.py b/test/test_api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner.py deleted file mode 100644 index b087dda..0000000 --- a/test/test_api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner import ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner: - """Test ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner` - """ - model = ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner( - id = '', - env_id = '', - folder_id = '', - parent_folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner( - id = '', - env_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner(self): - """Test ApiV1WorkspaceWorkspaceIdSecretSnapshotsGet200ResponseSecretSnapshotsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_service_token_data_get200_response.py b/test/test_api_v1_workspace_workspace_id_service_token_data_get200_response.py deleted file mode 100644 index d842a87..0000000 --- a/test/test_api_v1_workspace_workspace_id_service_token_data_get200_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response: - """Test ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response( - service_token_data = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__service_token_data_get_200_response_service_token_data_inner._api_v1_workspace__workspaceId__service_token_data_get_200_response_serviceTokenData_inner( - id = '', - name = '', - scopes = null, - permissions = [ - '' - ], - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response( - service_token_data = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__service_token_data_get_200_response_service_token_data_inner._api_v1_workspace__workspaceId__service_token_data_get_200_response_serviceTokenData_inner( - id = '', - name = '', - scopes = null, - permissions = [ - '' - ], - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner.py b/test/test_api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner.py deleted file mode 100644 index 6d116e5..0000000 --- a/test/test_api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner import ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner: - """Test ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner` - """ - model = ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner( - id = '', - name = '', - scopes = None, - permissions = [ - '' - ], - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner( - id = '', - name = '', - permissions = [ - '' - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner(self): - """Test ApiV1WorkspaceWorkspaceIdServiceTokenDataGet200ResponseServiceTokenDataInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_trusted_ips_get200_response.py b/test/test_api_v1_workspace_workspace_id_trusted_ips_get200_response.py deleted file mode 100644 index ab5dc44..0000000 --- a/test/test_api_v1_workspace_workspace_id_trusted_ips_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response: - """Test ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response( - trusted_ips = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__trusted_ips_get_200_response_trusted_ips_inner._api_v1_workspace__workspaceId__trusted_ips_get_200_response_trustedIps_inner( - id = '', - ip_address = '', - type = '', - prefix = 1.337, - is_active = True, - comment = '', - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response( - trusted_ips = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__trusted_ips_get_200_response_trusted_ips_inner._api_v1_workspace__workspaceId__trusted_ips_get_200_response_trustedIps_inner( - id = '', - ip_address = '', - type = '', - prefix = 1.337, - is_active = True, - comment = '', - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdTrustedIpsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner.py b/test/test_api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner.py deleted file mode 100644 index 720690f..0000000 --- a/test/test_api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner import ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner: - """Test ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner` - """ - model = ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner( - id = '', - ip_address = '', - type = '', - prefix = 1.337, - is_active = True, - comment = '', - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner( - id = '', - ip_address = '', - type = '', - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner(self): - """Test ApiV1WorkspaceWorkspaceIdTrustedIpsGet200ResponseTrustedIpsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_trusted_ips_post200_response.py b/test/test_api_v1_workspace_workspace_id_trusted_ips_post200_response.py deleted file mode 100644 index b3b9987..0000000 --- a/test/test_api_v1_workspace_workspace_id_trusted_ips_post200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post200_response import ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response: - """Test ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response` - """ - model = ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response( - trusted_ip = infisicalapi_client.models._api_v1_workspace__workspace_id__trusted_ips_get_200_response_trusted_ips_inner._api_v1_workspace__workspaceId__trusted_ips_get_200_response_trustedIps_inner( - id = '', - ip_address = '', - type = '', - prefix = 1.337, - is_active = True, - comment = '', - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response( - trusted_ip = infisicalapi_client.models._api_v1_workspace__workspace_id__trusted_ips_get_200_response_trusted_ips_inner._api_v1_workspace__workspaceId__trusted_ips_get_200_response_trustedIps_inner( - id = '', - ip_address = '', - type = '', - prefix = 1.337, - is_active = True, - comment = '', - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response(self): - """Test ApiV1WorkspaceWorkspaceIdTrustedIpsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_trusted_ips_post_request.py b/test/test_api_v1_workspace_workspace_id_trusted_ips_post_request.py deleted file mode 100644 index 70d4571..0000000 --- a/test/test_api_v1_workspace_workspace_id_trusted_ips_post_request.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_post_request import ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest: - """Test ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest` - """ - model = ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest( - ip_address = '', - comment = '', - is_active = True - ) - else: - return ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest( - ip_address = '', - is_active = True, - ) - """ - - def testApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest(self): - """Test ApiV1WorkspaceWorkspaceIdTrustedIpsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request.py b/test/test_api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request.py deleted file mode 100644 index f998934..0000000 --- a/test/test_api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request import ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest: - """Test ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest` - """ - model = ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest( - ip_address = '', - comment = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest( - ip_address = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest(self): - """Test ApiV1WorkspaceWorkspaceIdTrustedIpsTrustedIpIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_users_get200_response.py b/test/test_api_v1_workspace_workspace_id_users_get200_response.py deleted file mode 100644 index ff3058a..0000000 --- a/test/test_api_v1_workspace_workspace_id_users_get200_response.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response import ApiV1WorkspaceWorkspaceIdUsersGet200Response # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdUsersGet200Response(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdUsersGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdUsersGet200Response: - """Test ApiV1WorkspaceWorkspaceIdUsersGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdUsersGet200Response` - """ - model = ApiV1WorkspaceWorkspaceIdUsersGet200Response() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdUsersGet200Response( - users = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_user._api_v1_workspace__workspaceId__users_get_200_response_users_inner_user( - email = '', - username = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdUsersGet200Response( - users = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_user._api_v1_workspace__workspaceId__users_get_200_response_users_inner_user( - email = '', - username = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdUsersGet200Response(self): - """Test ApiV1WorkspaceWorkspaceIdUsersGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner.py b/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner.py deleted file mode 100644 index 75de9e3..0000000 --- a/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner: - """Test ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner` - """ - model = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_user._api_v1_workspace__workspaceId__users_get_200_response_users_inner_user( - email = '', - username = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_user._api_v1_workspace__workspaceId__users_get_200_response_users_inner_user( - email = '', - username = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner(self): - """Test ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_project.py b/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_project.py deleted file mode 100644 index 4f46c08..0000000 --- a/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_project.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_project import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject: - """Test ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject` - """ - model = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject( - name = '', - id = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject( - name = '', - id = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject(self): - """Test ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerProject""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner.py b/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner.py deleted file mode 100644 index a861587..0000000 --- a/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner: - """Test ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner` - """ - model = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner( - id = '', - role = '', - is_temporary = True, - ) - """ - - def testApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner(self): - """Test ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerRolesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_user.py b/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_user.py deleted file mode 100644 index cf5734b..0000000 --- a/test/test_api_v1_workspace_workspace_id_users_get200_response_users_inner_user.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_id_users_get200_response_users_inner_user import ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser # noqa: E501 - -class TestApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser(unittest.TestCase): - """ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser: - """Test ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser` - """ - model = ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser( - email = '', - username = '', - first_name = '', - last_name = '', - id = '', - public_key = '' - ) - else: - return ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser( - username = '', - id = '', - public_key = '', - ) - """ - - def testApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser(self): - """Test ApiV1WorkspaceWorkspaceIdUsersGet200ResponseUsersInnerUser""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_slug_audit_logs_retention_put_request.py b/test/test_api_v1_workspace_workspace_slug_audit_logs_retention_put_request.py deleted file mode 100644 index 4806960..0000000 --- a/test/test_api_v1_workspace_workspace_slug_audit_logs_retention_put_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_slug_audit_logs_retention_put_request import ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest: - """Test ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest` - """ - model = ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest( - audit_logs_retention_days = 0 - ) - else: - return ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest( - audit_logs_retention_days = 0, - ) - """ - - def testApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest(self): - """Test ApiV1WorkspaceWorkspaceSlugAuditLogsRetentionPutRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v1_workspace_workspace_slug_version_limit_put_request.py b/test/test_api_v1_workspace_workspace_slug_version_limit_put_request.py deleted file mode 100644 index 914c939..0000000 --- a/test/test_api_v1_workspace_workspace_slug_version_limit_put_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v1_workspace_workspace_slug_version_limit_put_request import ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest # noqa: E501 - -class TestApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest(unittest.TestCase): - """ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest: - """Test ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest` - """ - model = ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest() # noqa: E501 - if include_optional: - return ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest( - pit_version_limit = 1 - ) - else: - return ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest( - pit_version_limit = 1, - ) - """ - - def testApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest(self): - """Test ApiV1WorkspaceWorkspaceSlugVersionLimitPutRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_auth_mfa_verify_post200_response.py b/test/test_api_v2_auth_mfa_verify_post200_response.py deleted file mode 100644 index 6d924df..0000000 --- a/test/test_api_v2_auth_mfa_verify_post200_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_auth_mfa_verify_post200_response import ApiV2AuthMfaVerifyPost200Response # noqa: E501 - -class TestApiV2AuthMfaVerifyPost200Response(unittest.TestCase): - """ApiV2AuthMfaVerifyPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2AuthMfaVerifyPost200Response: - """Test ApiV2AuthMfaVerifyPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2AuthMfaVerifyPost200Response` - """ - model = ApiV2AuthMfaVerifyPost200Response() # noqa: E501 - if include_optional: - return ApiV2AuthMfaVerifyPost200Response( - encryption_version = 1.337, - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - iv = '', - tag = '', - token = '' - ) - else: - return ApiV2AuthMfaVerifyPost200Response( - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - iv = '', - tag = '', - token = '', - ) - """ - - def testApiV2AuthMfaVerifyPost200Response(self): - """Test ApiV2AuthMfaVerifyPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_auth_mfa_verify_post_request.py b/test/test_api_v2_auth_mfa_verify_post_request.py deleted file mode 100644 index a880ff7..0000000 --- a/test/test_api_v2_auth_mfa_verify_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_auth_mfa_verify_post_request import ApiV2AuthMfaVerifyPostRequest # noqa: E501 - -class TestApiV2AuthMfaVerifyPostRequest(unittest.TestCase): - """ApiV2AuthMfaVerifyPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2AuthMfaVerifyPostRequest: - """Test ApiV2AuthMfaVerifyPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2AuthMfaVerifyPostRequest` - """ - model = ApiV2AuthMfaVerifyPostRequest() # noqa: E501 - if include_optional: - return ApiV2AuthMfaVerifyPostRequest( - mfa_token = '' - ) - else: - return ApiV2AuthMfaVerifyPostRequest( - mfa_token = '', - ) - """ - - def testApiV2AuthMfaVerifyPostRequest(self): - """Test ApiV2AuthMfaVerifyPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_org_id_identity_memberships_get200_response.py b/test/test_api_v2_organizations_org_id_identity_memberships_get200_response.py deleted file mode 100644 index 727d95e..0000000 --- a/test/test_api_v2_organizations_org_id_identity_memberships_get200_response.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_org_id_identity_memberships_get200_response import ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response # noqa: E501 - -class TestApiV2OrganizationsOrgIdIdentityMembershipsGet200Response(unittest.TestCase): - """ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response: - """Test ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response` - """ - model = ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response( - identity_memberships = [ - infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner._api_v1_identities_get_200_response_identities_inner( - id = '', - role = '', - role_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - custom_role = infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner_custom_role._api_v1_organization__organizationId__groups_get_200_response_groups_inner_customRole( - id = '', - name = '', - slug = '', - permissions = null, - description = '', ), - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), ) - ] - ) - else: - return ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response( - identity_memberships = [ - infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner._api_v1_identities_get_200_response_identities_inner( - id = '', - role = '', - role_id = '', - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - identity_id = '', - custom_role = infisicalapi_client.models._api_v1_organization__organization_id__groups_get_200_response_groups_inner_custom_role._api_v1_organization__organizationId__groups_get_200_response_groups_inner_customRole( - id = '', - name = '', - slug = '', - permissions = null, - description = '', ), - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), ) - ], - ) - """ - - def testApiV2OrganizationsOrgIdIdentityMembershipsGet200Response(self): - """Test ApiV2OrganizationsOrgIdIdentityMembershipsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_memberships_get200_response.py b/test/test_api_v2_organizations_organization_id_memberships_get200_response.py deleted file mode 100644 index 33fc27e..0000000 --- a/test/test_api_v2_organizations_organization_id_memberships_get200_response.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsGet200Response # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdMembershipsGet200Response(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdMembershipsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdMembershipsGet200Response: - """Test ApiV2OrganizationsOrganizationIdMembershipsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdMembershipsGet200Response` - """ - model = ApiV2OrganizationsOrganizationIdMembershipsGet200Response() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdMembershipsGet200Response( - users = [ - infisicalapi_client.models._api_v2_organizations__organization_id__memberships_get_200_response_users_inner._api_v2_organizations__organizationId__memberships_get_200_response_users_inner( - id = '', - role = '', - status = 'invited', - invite_email = '', - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, - user = infisicalapi_client.models._api_v2_organizations__organization_id__memberships_get_200_response_users_inner_user._api_v2_organizations__organizationId__memberships_get_200_response_users_inner_user( - username = '', - email = '', - is_email_verified = True, - first_name = '', - last_name = '', - id = '', - public_key = '', ), ) - ] - ) - else: - return ApiV2OrganizationsOrganizationIdMembershipsGet200Response( - users = [ - infisicalapi_client.models._api_v2_organizations__organization_id__memberships_get_200_response_users_inner._api_v2_organizations__organizationId__memberships_get_200_response_users_inner( - id = '', - role = '', - status = 'invited', - invite_email = '', - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, - user = infisicalapi_client.models._api_v2_organizations__organization_id__memberships_get_200_response_users_inner_user._api_v2_organizations__organizationId__memberships_get_200_response_users_inner_user( - username = '', - email = '', - is_email_verified = True, - first_name = '', - last_name = '', - id = '', - public_key = '', ), ) - ], - ) - """ - - def testApiV2OrganizationsOrganizationIdMembershipsGet200Response(self): - """Test ApiV2OrganizationsOrganizationIdMembershipsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_memberships_get200_response_users_inner.py b/test/test_api_v2_organizations_organization_id_memberships_get200_response_users_inner.py deleted file mode 100644 index 7c7313c..0000000 --- a/test/test_api_v2_organizations_organization_id_memberships_get200_response_users_inner.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response_users_inner import ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner: - """Test ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner` - """ - model = ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner( - id = '', - role = '', - status = 'invited', - invite_email = '', - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, - user = infisicalapi_client.models._api_v2_organizations__organization_id__memberships_get_200_response_users_inner_user._api_v2_organizations__organizationId__memberships_get_200_response_users_inner_user( - username = '', - email = '', - is_email_verified = True, - first_name = '', - last_name = '', - id = '', - public_key = '', ) - ) - else: - return ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner( - id = '', - role = '', - org_id = '', - user = infisicalapi_client.models._api_v2_organizations__organization_id__memberships_get_200_response_users_inner_user._api_v2_organizations__organizationId__memberships_get_200_response_users_inner_user( - username = '', - email = '', - is_email_verified = True, - first_name = '', - last_name = '', - id = '', - public_key = '', ), - ) - """ - - def testApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner(self): - """Test ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_memberships_get200_response_users_inner_user.py b/test/test_api_v2_organizations_organization_id_memberships_get200_response_users_inner_user.py deleted file mode 100644 index 7798355..0000000 --- a/test/test_api_v2_organizations_organization_id_memberships_get200_response_users_inner_user.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_get200_response_users_inner_user import ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser: - """Test ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser` - """ - model = ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser( - username = '', - email = '', - is_email_verified = True, - first_name = '', - last_name = '', - id = '', - public_key = '' - ) - else: - return ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser( - username = '', - id = '', - public_key = '', - ) - """ - - def testApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser(self): - """Test ApiV2OrganizationsOrganizationIdMembershipsGet200ResponseUsersInnerUser""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_memberships_membership_id_delete200_response.py b/test/test_api_v2_organizations_organization_id_memberships_membership_id_delete200_response.py deleted file mode 100644 index fa9932c..0000000 --- a/test/test_api_v2_organizations_organization_id_memberships_membership_id_delete200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_delete200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response: - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response` - """ - model = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response( - membership = infisicalapi_client.models._api_v1_organization__organization_id__permissions_get_200_response_membership._api_v1_organization__organizationId__permissions_get_200_response_membership( - id = '', - role = '', - status = 'invited', - invite_email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, ) - ) - else: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response( - membership = infisicalapi_client.models._api_v1_organization__organization_id__permissions_get_200_response_membership._api_v1_organization__organizationId__permissions_get_200_response_membership( - id = '', - role = '', - status = 'invited', - invite_email = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, ), - ) - """ - - def testApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response(self): - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdDelete200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response.py b/test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response.py deleted file mode 100644 index 949935d..0000000 --- a/test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response: - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response` - """ - model = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response( - membership = infisicalapi_client.models._api_v2_organizations__organization_id__memberships__membership_id__get_200_response_membership._api_v2_organizations__organizationId__memberships__membershipId__get_200_response_membership( - id = '', - role = '', - status = 'invited', - invite_email = '', - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, - user = infisicalapi_client.models._api_v2_organizations__organization_id__memberships__membership_id__get_200_response_membership_user._api_v2_organizations__organizationId__memberships__membershipId__get_200_response_membership_user( - username = '', - email = '', - is_email_verified = True, - first_name = '', - last_name = '', - id = '', - public_key = '', ), ) - ) - else: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response( - membership = infisicalapi_client.models._api_v2_organizations__organization_id__memberships__membership_id__get_200_response_membership._api_v2_organizations__organizationId__memberships__membershipId__get_200_response_membership( - id = '', - role = '', - status = 'invited', - invite_email = '', - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, - user = infisicalapi_client.models._api_v2_organizations__organization_id__memberships__membership_id__get_200_response_membership_user._api_v2_organizations__organizationId__memberships__membershipId__get_200_response_membership_user( - username = '', - email = '', - is_email_verified = True, - first_name = '', - last_name = '', - id = '', - public_key = '', ), ), - ) - """ - - def testApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response(self): - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership.py b/test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership.py deleted file mode 100644 index 3ba5a22..0000000 --- a/test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership: - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership` - """ - model = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership( - id = '', - role = '', - status = 'invited', - invite_email = '', - user_id = '', - org_id = '', - role_id = '', - project_favorites = [ - '' - ], - is_active = True, - user = infisicalapi_client.models._api_v2_organizations__organization_id__memberships__membership_id__get_200_response_membership_user._api_v2_organizations__organizationId__memberships__membershipId__get_200_response_membership_user( - username = '', - email = '', - is_email_verified = True, - first_name = '', - last_name = '', - id = '', - public_key = '', ) - ) - else: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership( - id = '', - role = '', - org_id = '', - user = infisicalapi_client.models._api_v2_organizations__organization_id__memberships__membership_id__get_200_response_membership_user._api_v2_organizations__organizationId__memberships__membershipId__get_200_response_membership_user( - username = '', - email = '', - is_email_verified = True, - first_name = '', - last_name = '', - id = '', - public_key = '', ), - ) - """ - - def testApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership(self): - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembership""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user.py b/test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user.py deleted file mode 100644 index d2d3926..0000000 --- a/test/test_api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser: - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser` - """ - model = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser( - username = '', - email = '', - is_email_verified = True, - first_name = '', - last_name = '', - id = '', - public_key = '' - ) - else: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser( - username = '', - id = '', - public_key = '', - ) - """ - - def testApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser(self): - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdGet200ResponseMembershipUser""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_memberships_membership_id_patch_request.py b/test/test_api_v2_organizations_organization_id_memberships_membership_id_patch_request.py deleted file mode 100644 index 8d53890..0000000 --- a/test/test_api_v2_organizations_organization_id_memberships_membership_id_patch_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_patch_request import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest: - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest` - """ - model = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest( - role = '', - is_active = True - ) - else: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest( - ) - """ - - def testApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest(self): - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response.py b/test/test_api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response.py deleted file mode 100644 index 9796677..0000000 --- a/test/test_api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response import ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response: - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response` - """ - model = ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response( - memberships = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_user._api_v1_workspace__workspaceId__users_get_200_response_users_inner_user( - email = '', - username = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ] - ) - else: - return ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response( - memberships = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner( - id = '', - user_id = '', - project_id = '', - user = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_user._api_v1_workspace__workspaceId__users_get_200_response_users_inner_user( - email = '', - username = '', - first_name = '', - last_name = '', - id = '', - public_key = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], ) - ], - ) - """ - - def testApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response(self): - """Test ApiV2OrganizationsOrganizationIdMembershipsMembershipIdProjectMembershipsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_workspaces_get200_response.py b/test/test_api_v2_organizations_organization_id_workspaces_get200_response.py deleted file mode 100644 index efb1cc4..0000000 --- a/test/test_api_v2_organizations_organization_id_workspaces_get200_response.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response import ApiV2OrganizationsOrganizationIdWorkspacesGet200Response # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdWorkspacesGet200Response(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdWorkspacesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdWorkspacesGet200Response: - """Test ApiV2OrganizationsOrganizationIdWorkspacesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdWorkspacesGet200Response` - """ - model = ApiV2OrganizationsOrganizationIdWorkspacesGet200Response() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdWorkspacesGet200Response( - workspaces = [ - infisicalapi_client.models._api_v2_organizations__organization_id__workspaces_get_200_response_workspaces_inner._api_v2_organizations__organizationId__workspaces_get_200_response_workspaces_inner( - id = '', - name = '', - slug = '', - organization = '', - environments = [ - infisicalapi_client.models._api_v2_organizations__organization_id__workspaces_get_200_response_workspaces_inner_environments_inner._api_v2_organizations__organizationId__workspaces_get_200_response_workspaces_inner_environments_inner( - name = '', - slug = '', ) - ], ) - ] - ) - else: - return ApiV2OrganizationsOrganizationIdWorkspacesGet200Response( - workspaces = [ - infisicalapi_client.models._api_v2_organizations__organization_id__workspaces_get_200_response_workspaces_inner._api_v2_organizations__organizationId__workspaces_get_200_response_workspaces_inner( - id = '', - name = '', - slug = '', - organization = '', - environments = [ - infisicalapi_client.models._api_v2_organizations__organization_id__workspaces_get_200_response_workspaces_inner_environments_inner._api_v2_organizations__organizationId__workspaces_get_200_response_workspaces_inner_environments_inner( - name = '', - slug = '', ) - ], ) - ], - ) - """ - - def testApiV2OrganizationsOrganizationIdWorkspacesGet200Response(self): - """Test ApiV2OrganizationsOrganizationIdWorkspacesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner.py b/test/test_api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner.py deleted file mode 100644 index 424261b..0000000 --- a/test/test_api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner import ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner: - """Test ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner` - """ - model = ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner( - id = '', - name = '', - slug = '', - organization = '', - environments = [ - infisicalapi_client.models._api_v2_organizations__organization_id__workspaces_get_200_response_workspaces_inner_environments_inner._api_v2_organizations__organizationId__workspaces_get_200_response_workspaces_inner_environments_inner( - name = '', - slug = '', ) - ] - ) - else: - return ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner( - id = '', - name = '', - slug = '', - organization = '', - environments = [ - infisicalapi_client.models._api_v2_organizations__organization_id__workspaces_get_200_response_workspaces_inner_environments_inner._api_v2_organizations__organizationId__workspaces_get_200_response_workspaces_inner_environments_inner( - name = '', - slug = '', ) - ], - ) - """ - - def testApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner(self): - """Test ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner.py b/test/test_api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner.py deleted file mode 100644 index 10d53a2..0000000 --- a/test/test_api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner import ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner # noqa: E501 - -class TestApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner(unittest.TestCase): - """ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner: - """Test ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner` - """ - model = ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner() # noqa: E501 - if include_optional: - return ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner( - name = '', - slug = '' - ) - else: - return ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner( - name = '', - slug = '', - ) - """ - - def testApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner(self): - """Test ApiV2OrganizationsOrganizationIdWorkspacesGet200ResponseWorkspacesInnerEnvironmentsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_service_token_get200_response.py b/test/test_api_v2_service_token_get200_response.py deleted file mode 100644 index adf8373..0000000 --- a/test/test_api_v2_service_token_get200_response.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_service_token_get200_response import ApiV2ServiceTokenGet200Response # noqa: E501 - -class TestApiV2ServiceTokenGet200Response(unittest.TestCase): - """ApiV2ServiceTokenGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2ServiceTokenGet200Response: - """Test ApiV2ServiceTokenGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2ServiceTokenGet200Response` - """ - model = ApiV2ServiceTokenGet200Response() # noqa: E501 - if include_optional: - return ApiV2ServiceTokenGet200Response( - id = '', - name = '', - scopes = None, - permissions = [ - '' - ], - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - secret_hash = '', - encrypted_key = '', - iv = '', - tag = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - workspace = '', - user = infisicalapi_client.models._api_v2_service_token_get_200_response_user._api_v2_service_token_get_200_response_user( - auth_methods = [ - '' - ], - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - devices = null, - email = '', - first_name = '', - last_name = '', - mfa_methods = [ - '' - ], - __v = 1.337, - _id = '', ), - id = '', - v = 1.337 - ) - else: - return ApiV2ServiceTokenGet200Response( - id = '', - name = '', - permissions = [ - '' - ], - secret_hash = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', - workspace = '', - user = infisicalapi_client.models._api_v2_service_token_get_200_response_user._api_v2_service_token_get_200_response_user( - auth_methods = [ - '' - ], - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - devices = null, - email = '', - first_name = '', - last_name = '', - mfa_methods = [ - '' - ], - __v = 1.337, - _id = '', ), - id = '', - ) - """ - - def testApiV2ServiceTokenGet200Response(self): - """Test ApiV2ServiceTokenGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_service_token_get200_response_user.py b/test/test_api_v2_service_token_get200_response_user.py deleted file mode 100644 index 3d1a8d4..0000000 --- a/test/test_api_v2_service_token_get200_response_user.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_service_token_get200_response_user import ApiV2ServiceTokenGet200ResponseUser # noqa: E501 - -class TestApiV2ServiceTokenGet200ResponseUser(unittest.TestCase): - """ApiV2ServiceTokenGet200ResponseUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2ServiceTokenGet200ResponseUser: - """Test ApiV2ServiceTokenGet200ResponseUser - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2ServiceTokenGet200ResponseUser` - """ - model = ApiV2ServiceTokenGet200ResponseUser() # noqa: E501 - if include_optional: - return ApiV2ServiceTokenGet200ResponseUser( - auth_methods = [ - '' - ], - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - devices = None, - email = '', - first_name = '', - last_name = '', - mfa_methods = [ - '' - ], - v = 1.337, - id = '' - ) - else: - return ApiV2ServiceTokenGet200ResponseUser( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - id = '', - ) - """ - - def testApiV2ServiceTokenGet200ResponseUser(self): - """Test ApiV2ServiceTokenGet200ResponseUser""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_service_token_post200_response.py b/test/test_api_v2_service_token_post200_response.py deleted file mode 100644 index b2719ce..0000000 --- a/test/test_api_v2_service_token_post200_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_service_token_post200_response import ApiV2ServiceTokenPost200Response # noqa: E501 - -class TestApiV2ServiceTokenPost200Response(unittest.TestCase): - """ApiV2ServiceTokenPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2ServiceTokenPost200Response: - """Test ApiV2ServiceTokenPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2ServiceTokenPost200Response` - """ - model = ApiV2ServiceTokenPost200Response() # noqa: E501 - if include_optional: - return ApiV2ServiceTokenPost200Response( - service_token = '', - service_token_data = infisicalapi_client.models._api_v1_workspace__workspace_id__service_token_data_get_200_response_service_token_data_inner._api_v1_workspace__workspaceId__service_token_data_get_200_response_serviceTokenData_inner( - id = '', - name = '', - scopes = null, - permissions = [ - '' - ], - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', ) - ) - else: - return ApiV2ServiceTokenPost200Response( - service_token = '', - service_token_data = infisicalapi_client.models._api_v1_workspace__workspace_id__service_token_data_get_200_response_service_token_data_inner._api_v1_workspace__workspaceId__service_token_data_get_200_response_serviceTokenData_inner( - id = '', - name = '', - scopes = null, - permissions = [ - '' - ], - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', ), - ) - """ - - def testApiV2ServiceTokenPost200Response(self): - """Test ApiV2ServiceTokenPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_service_token_post_request.py b/test/test_api_v2_service_token_post_request.py deleted file mode 100644 index 081af45..0000000 --- a/test/test_api_v2_service_token_post_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_service_token_post_request import ApiV2ServiceTokenPostRequest # noqa: E501 - -class TestApiV2ServiceTokenPostRequest(unittest.TestCase): - """ApiV2ServiceTokenPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2ServiceTokenPostRequest: - """Test ApiV2ServiceTokenPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2ServiceTokenPostRequest` - """ - model = ApiV2ServiceTokenPostRequest() # noqa: E501 - if include_optional: - return ApiV2ServiceTokenPostRequest( - name = '', - workspace_id = '', - scopes = [ - infisicalapi_client.models._api_v2_service_token_post_request_scopes_inner._api_v2_service_token_post_request_scopes_inner( - environment = '', - secret_path = '', ) - ], - encrypted_key = '', - iv = '', - tag = '', - expires_in = 1.337, - permissions = [ - 'read' - ] - ) - else: - return ApiV2ServiceTokenPostRequest( - name = '', - workspace_id = '', - scopes = [ - infisicalapi_client.models._api_v2_service_token_post_request_scopes_inner._api_v2_service_token_post_request_scopes_inner( - environment = '', - secret_path = '', ) - ], - encrypted_key = '', - iv = '', - tag = '', - expires_in = 1.337, - permissions = [ - 'read' - ], - ) - """ - - def testApiV2ServiceTokenPostRequest(self): - """Test ApiV2ServiceTokenPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_service_token_post_request_scopes_inner.py b/test/test_api_v2_service_token_post_request_scopes_inner.py deleted file mode 100644 index c669b21..0000000 --- a/test/test_api_v2_service_token_post_request_scopes_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_service_token_post_request_scopes_inner import ApiV2ServiceTokenPostRequestScopesInner # noqa: E501 - -class TestApiV2ServiceTokenPostRequestScopesInner(unittest.TestCase): - """ApiV2ServiceTokenPostRequestScopesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2ServiceTokenPostRequestScopesInner: - """Test ApiV2ServiceTokenPostRequestScopesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2ServiceTokenPostRequestScopesInner` - """ - model = ApiV2ServiceTokenPostRequestScopesInner() # noqa: E501 - if include_optional: - return ApiV2ServiceTokenPostRequestScopesInner( - environment = '', - secret_path = '' - ) - else: - return ApiV2ServiceTokenPostRequestScopesInner( - environment = '', - secret_path = '', - ) - """ - - def testApiV2ServiceTokenPostRequestScopesInner(self): - """Test ApiV2ServiceTokenPostRequestScopesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_service_token_service_token_id_delete200_response.py b/test/test_api_v2_service_token_service_token_id_delete200_response.py deleted file mode 100644 index 2a6be57..0000000 --- a/test/test_api_v2_service_token_service_token_id_delete200_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_service_token_service_token_id_delete200_response import ApiV2ServiceTokenServiceTokenIdDelete200Response # noqa: E501 - -class TestApiV2ServiceTokenServiceTokenIdDelete200Response(unittest.TestCase): - """ApiV2ServiceTokenServiceTokenIdDelete200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2ServiceTokenServiceTokenIdDelete200Response: - """Test ApiV2ServiceTokenServiceTokenIdDelete200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2ServiceTokenServiceTokenIdDelete200Response` - """ - model = ApiV2ServiceTokenServiceTokenIdDelete200Response() # noqa: E501 - if include_optional: - return ApiV2ServiceTokenServiceTokenIdDelete200Response( - service_token_data = infisicalapi_client.models._api_v1_workspace__workspace_id__service_token_data_get_200_response_service_token_data_inner._api_v1_workspace__workspaceId__service_token_data_get_200_response_serviceTokenData_inner( - id = '', - name = '', - scopes = null, - permissions = [ - '' - ], - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', ) - ) - else: - return ApiV2ServiceTokenServiceTokenIdDelete200Response( - service_token_data = infisicalapi_client.models._api_v1_workspace__workspace_id__service_token_data_get_200_response_service_token_data_inner._api_v1_workspace__workspaceId__service_token_data_get_200_response_serviceTokenData_inner( - id = '', - name = '', - scopes = null, - permissions = [ - '' - ], - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = '', - project_id = '', ), - ) - """ - - def testApiV2ServiceTokenServiceTokenIdDelete200Response(self): - """Test ApiV2ServiceTokenServiceTokenIdDelete200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_api_keys_api_key_data_id_delete200_response.py b/test/test_api_v2_users_me_api_keys_api_key_data_id_delete200_response.py deleted file mode 100644 index 646d904..0000000 --- a/test/test_api_v2_users_me_api_keys_api_key_data_id_delete200_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_api_keys_api_key_data_id_delete200_response import ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response # noqa: E501 - -class TestApiV2UsersMeApiKeysApiKeyDataIdDelete200Response(unittest.TestCase): - """ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response: - """Test ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response` - """ - model = ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response() # noqa: E501 - if include_optional: - return ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response( - api_key_data = infisicalapi_client.models._api_v2_users_me_api_keys_get_200_response_inner._api_v2_users_me_api_keys_get_200_response_inner( - id = '', - name = '', - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ) - ) - else: - return ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response( - api_key_data = infisicalapi_client.models._api_v2_users_me_api_keys_get_200_response_inner._api_v2_users_me_api_keys_get_200_response_inner( - id = '', - name = '', - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ), - ) - """ - - def testApiV2UsersMeApiKeysApiKeyDataIdDelete200Response(self): - """Test ApiV2UsersMeApiKeysApiKeyDataIdDelete200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_api_keys_get200_response_inner.py b/test/test_api_v2_users_me_api_keys_get200_response_inner.py deleted file mode 100644 index df96278..0000000 --- a/test/test_api_v2_users_me_api_keys_get200_response_inner.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_api_keys_get200_response_inner import ApiV2UsersMeApiKeysGet200ResponseInner # noqa: E501 - -class TestApiV2UsersMeApiKeysGet200ResponseInner(unittest.TestCase): - """ApiV2UsersMeApiKeysGet200ResponseInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeApiKeysGet200ResponseInner: - """Test ApiV2UsersMeApiKeysGet200ResponseInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeApiKeysGet200ResponseInner` - """ - model = ApiV2UsersMeApiKeysGet200ResponseInner() # noqa: E501 - if include_optional: - return ApiV2UsersMeApiKeysGet200ResponseInner( - id = '', - name = '', - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '' - ) - else: - return ApiV2UsersMeApiKeysGet200ResponseInner( - id = '', - name = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - ) - """ - - def testApiV2UsersMeApiKeysGet200ResponseInner(self): - """Test ApiV2UsersMeApiKeysGet200ResponseInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_api_keys_post200_response.py b/test/test_api_v2_users_me_api_keys_post200_response.py deleted file mode 100644 index 5f9cbf0..0000000 --- a/test/test_api_v2_users_me_api_keys_post200_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_api_keys_post200_response import ApiV2UsersMeApiKeysPost200Response # noqa: E501 - -class TestApiV2UsersMeApiKeysPost200Response(unittest.TestCase): - """ApiV2UsersMeApiKeysPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeApiKeysPost200Response: - """Test ApiV2UsersMeApiKeysPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeApiKeysPost200Response` - """ - model = ApiV2UsersMeApiKeysPost200Response() # noqa: E501 - if include_optional: - return ApiV2UsersMeApiKeysPost200Response( - api_key = '', - api_key_data = infisicalapi_client.models._api_v2_users_me_api_keys_get_200_response_inner._api_v2_users_me_api_keys_get_200_response_inner( - id = '', - name = '', - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ) - ) - else: - return ApiV2UsersMeApiKeysPost200Response( - api_key = '', - api_key_data = infisicalapi_client.models._api_v2_users_me_api_keys_get_200_response_inner._api_v2_users_me_api_keys_get_200_response_inner( - id = '', - name = '', - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ), - ) - """ - - def testApiV2UsersMeApiKeysPost200Response(self): - """Test ApiV2UsersMeApiKeysPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_api_keys_post_request.py b/test/test_api_v2_users_me_api_keys_post_request.py deleted file mode 100644 index d3c55f6..0000000 --- a/test/test_api_v2_users_me_api_keys_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_api_keys_post_request import ApiV2UsersMeApiKeysPostRequest # noqa: E501 - -class TestApiV2UsersMeApiKeysPostRequest(unittest.TestCase): - """ApiV2UsersMeApiKeysPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeApiKeysPostRequest: - """Test ApiV2UsersMeApiKeysPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeApiKeysPostRequest` - """ - model = ApiV2UsersMeApiKeysPostRequest() # noqa: E501 - if include_optional: - return ApiV2UsersMeApiKeysPostRequest( - name = '', - expires_in = 1.337 - ) - else: - return ApiV2UsersMeApiKeysPostRequest( - name = '', - expires_in = 1.337, - ) - """ - - def testApiV2UsersMeApiKeysPostRequest(self): - """Test ApiV2UsersMeApiKeysPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_auth_methods_put_request.py b/test/test_api_v2_users_me_auth_methods_put_request.py deleted file mode 100644 index 5b2f964..0000000 --- a/test/test_api_v2_users_me_auth_methods_put_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_auth_methods_put_request import ApiV2UsersMeAuthMethodsPutRequest # noqa: E501 - -class TestApiV2UsersMeAuthMethodsPutRequest(unittest.TestCase): - """ApiV2UsersMeAuthMethodsPutRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeAuthMethodsPutRequest: - """Test ApiV2UsersMeAuthMethodsPutRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeAuthMethodsPutRequest` - """ - model = ApiV2UsersMeAuthMethodsPutRequest() # noqa: E501 - if include_optional: - return ApiV2UsersMeAuthMethodsPutRequest( - auth_methods = [ - 'email' - ] - ) - else: - return ApiV2UsersMeAuthMethodsPutRequest( - auth_methods = [ - 'email' - ], - ) - """ - - def testApiV2UsersMeAuthMethodsPutRequest(self): - """Test ApiV2UsersMeAuthMethodsPutRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_emails_code_post_request.py b/test/test_api_v2_users_me_emails_code_post_request.py deleted file mode 100644 index 863a472..0000000 --- a/test/test_api_v2_users_me_emails_code_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_emails_code_post_request import ApiV2UsersMeEmailsCodePostRequest # noqa: E501 - -class TestApiV2UsersMeEmailsCodePostRequest(unittest.TestCase): - """ApiV2UsersMeEmailsCodePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeEmailsCodePostRequest: - """Test ApiV2UsersMeEmailsCodePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeEmailsCodePostRequest` - """ - model = ApiV2UsersMeEmailsCodePostRequest() # noqa: E501 - if include_optional: - return ApiV2UsersMeEmailsCodePostRequest( - username = '' - ) - else: - return ApiV2UsersMeEmailsCodePostRequest( - username = '', - ) - """ - - def testApiV2UsersMeEmailsCodePostRequest(self): - """Test ApiV2UsersMeEmailsCodePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_emails_verify_post_request.py b/test/test_api_v2_users_me_emails_verify_post_request.py deleted file mode 100644 index 599f571..0000000 --- a/test/test_api_v2_users_me_emails_verify_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_emails_verify_post_request import ApiV2UsersMeEmailsVerifyPostRequest # noqa: E501 - -class TestApiV2UsersMeEmailsVerifyPostRequest(unittest.TestCase): - """ApiV2UsersMeEmailsVerifyPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeEmailsVerifyPostRequest: - """Test ApiV2UsersMeEmailsVerifyPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeEmailsVerifyPostRequest` - """ - model = ApiV2UsersMeEmailsVerifyPostRequest() # noqa: E501 - if include_optional: - return ApiV2UsersMeEmailsVerifyPostRequest( - username = '', - code = '' - ) - else: - return ApiV2UsersMeEmailsVerifyPostRequest( - username = '', - code = '', - ) - """ - - def testApiV2UsersMeEmailsVerifyPostRequest(self): - """Test ApiV2UsersMeEmailsVerifyPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_mfa_patch200_response.py b/test/test_api_v2_users_me_mfa_patch200_response.py deleted file mode 100644 index 3bc111f..0000000 --- a/test/test_api_v2_users_me_mfa_patch200_response.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_mfa_patch200_response import ApiV2UsersMeMfaPatch200Response # noqa: E501 - -class TestApiV2UsersMeMfaPatch200Response(unittest.TestCase): - """ApiV2UsersMeMfaPatch200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeMfaPatch200Response: - """Test ApiV2UsersMeMfaPatch200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeMfaPatch200Response` - """ - model = ApiV2UsersMeMfaPatch200Response() # noqa: E501 - if include_optional: - return ApiV2UsersMeMfaPatch200Response( - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ) - ) - else: - return ApiV2UsersMeMfaPatch200Response( - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ), - ) - """ - - def testApiV2UsersMeMfaPatch200Response(self): - """Test ApiV2UsersMeMfaPatch200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_mfa_patch_request.py b/test/test_api_v2_users_me_mfa_patch_request.py deleted file mode 100644 index 237ec12..0000000 --- a/test/test_api_v2_users_me_mfa_patch_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_mfa_patch_request import ApiV2UsersMeMfaPatchRequest # noqa: E501 - -class TestApiV2UsersMeMfaPatchRequest(unittest.TestCase): - """ApiV2UsersMeMfaPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeMfaPatchRequest: - """Test ApiV2UsersMeMfaPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeMfaPatchRequest` - """ - model = ApiV2UsersMeMfaPatchRequest() # noqa: E501 - if include_optional: - return ApiV2UsersMeMfaPatchRequest( - is_mfa_enabled = True - ) - else: - return ApiV2UsersMeMfaPatchRequest( - is_mfa_enabled = True, - ) - """ - - def testApiV2UsersMeMfaPatchRequest(self): - """Test ApiV2UsersMeMfaPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_name_patch_request.py b/test/test_api_v2_users_me_name_patch_request.py deleted file mode 100644 index 9ae244f..0000000 --- a/test/test_api_v2_users_me_name_patch_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_name_patch_request import ApiV2UsersMeNamePatchRequest # noqa: E501 - -class TestApiV2UsersMeNamePatchRequest(unittest.TestCase): - """ApiV2UsersMeNamePatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeNamePatchRequest: - """Test ApiV2UsersMeNamePatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeNamePatchRequest` - """ - model = ApiV2UsersMeNamePatchRequest() # noqa: E501 - if include_optional: - return ApiV2UsersMeNamePatchRequest( - first_name = '', - last_name = '' - ) - else: - return ApiV2UsersMeNamePatchRequest( - first_name = '', - last_name = '', - ) - """ - - def testApiV2UsersMeNamePatchRequest(self): - """Test ApiV2UsersMeNamePatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_users_me_sessions_get200_response_inner.py b/test/test_api_v2_users_me_sessions_get200_response_inner.py deleted file mode 100644 index c968abe..0000000 --- a/test/test_api_v2_users_me_sessions_get200_response_inner.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_users_me_sessions_get200_response_inner import ApiV2UsersMeSessionsGet200ResponseInner # noqa: E501 - -class TestApiV2UsersMeSessionsGet200ResponseInner(unittest.TestCase): - """ApiV2UsersMeSessionsGet200ResponseInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2UsersMeSessionsGet200ResponseInner: - """Test ApiV2UsersMeSessionsGet200ResponseInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2UsersMeSessionsGet200ResponseInner` - """ - model = ApiV2UsersMeSessionsGet200ResponseInner() # noqa: E501 - if include_optional: - return ApiV2UsersMeSessionsGet200ResponseInner( - id = '', - ip = '', - user_agent = '', - refresh_version = 1.337, - access_version = 1.337, - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '' - ) - else: - return ApiV2UsersMeSessionsGet200ResponseInner( - id = '', - ip = '', - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - ) - """ - - def testApiV2UsersMeSessionsGet200ResponseInner(self): - """Test ApiV2UsersMeSessionsGet200ResponseInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_post200_response.py b/test/test_api_v2_workspace_post200_response.py deleted file mode 100644 index 257949f..0000000 --- a/test/test_api_v2_workspace_post200_response.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_post200_response import ApiV2WorkspacePost200Response # noqa: E501 - -class TestApiV2WorkspacePost200Response(unittest.TestCase): - """ApiV2WorkspacePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspacePost200Response: - """Test ApiV2WorkspacePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspacePost200Response` - """ - model = ApiV2WorkspacePost200Response() # noqa: E501 - if include_optional: - return ApiV2WorkspacePost200Response( - project = infisicalapi_client.models._api_v1_workspace_get_200_response_workspaces_inner._api_v1_workspace_get_200_response_workspaces_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, - _id = '', - environments = [ - infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ) - ], ) - ) - else: - return ApiV2WorkspacePost200Response( - project = infisicalapi_client.models._api_v1_workspace_get_200_response_workspaces_inner._api_v1_workspace_get_200_response_workspaces_inner( - id = '', - name = '', - slug = '', - auto_capitalization = True, - org_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - version = 1.337, - upgrade_status = '', - pit_version_limit = 1.337, - kms_certificate_key_id = '', - audit_logs_retention_days = 1.337, - _id = '', - environments = [ - infisicalapi_client.models._api_v1_secret_imports_get_200_response_secret_imports_inner_import_env._api_v1_secret_imports_get_200_response_secretImports_inner_importEnv( - name = '', - slug = '', - id = '', ) - ], ), - ) - """ - - def testApiV2WorkspacePost200Response(self): - """Test ApiV2WorkspacePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_post_request.py b/test/test_api_v2_workspace_post_request.py deleted file mode 100644 index a53eb01..0000000 --- a/test/test_api_v2_workspace_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_post_request import ApiV2WorkspacePostRequest # noqa: E501 - -class TestApiV2WorkspacePostRequest(unittest.TestCase): - """ApiV2WorkspacePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspacePostRequest: - """Test ApiV2WorkspacePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspacePostRequest` - """ - model = ApiV2WorkspacePostRequest() # noqa: E501 - if include_optional: - return ApiV2WorkspacePostRequest( - project_name = '', - slug = '01234', - kms_key_id = '' - ) - else: - return ApiV2WorkspacePostRequest( - project_name = '', - ) - """ - - def testApiV2WorkspacePostRequest(self): - """Test ApiV2WorkspacePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_get200_response.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_get200_response.py deleted file mode 100644 index ef66802..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_get200_response.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_get200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response( - identity_membership = infisicalapi_client.models._api_v1_identities__identity_id__identity_memberships_get_200_response_identity_memberships_inner._api_v1_identities__identityId__identity_memberships_get_200_response_identityMemberships_inner( - id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), ) - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response( - identity_membership = infisicalapi_client.models._api_v1_identities__identity_id__identity_memberships_get_200_response_identity_memberships_inner._api_v1_identities__identityId__identity_memberships_get_200_response_identityMemberships_inner( - id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - identity = infisicalapi_client.models._api_v1_identities_get_200_response_identities_inner_identity._api_v1_identities_get_200_response_identities_inner_identity( - name = '', - id = '', - auth_method = '', ), - project = infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_project._api_v1_workspace__workspaceId__users_get_200_response_users_inner_project( - name = '', - id = '', ), ), - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request.py deleted file mode 100644 index 234b1a9..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest( - roles = [ - null - ] - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest( - roles = [ - null - ], - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner.py deleted file mode 100644 index b27f312..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of.py deleted file mode 100644 index d5dade5..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf( - role = '', - is_temporary = True - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf( - role = '', - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1.py deleted file mode 100644 index 6c83a54..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post200_response.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post200_response.py deleted file mode 100644 index d0ef820..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post200_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response( - identity_membership = infisicalapi_client.models._api_v2_workspace__project_id__identity_memberships__identity_id__post_200_response_identity_membership._api_v2_workspace__projectId__identity_memberships__identityId__post_200_response_identityMembership( - id = '', - project_id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response( - identity_membership = infisicalapi_client.models._api_v2_workspace__project_id__identity_memberships__identity_id__post_200_response_identity_membership._api_v2_workspace__projectId__identity_memberships__identityId__post_200_response_identityMembership( - id = '', - project_id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership.py deleted file mode 100644 index b47b2c9..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership( - id = '', - project_id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership( - id = '', - project_id = '', - identity_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPost200ResponseIdentityMembership""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request.py deleted file mode 100644 index c849cce..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest( - role = 'no-access', - roles = [ - null - ] - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest( - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner.py deleted file mode 100644 index abe6766..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of.py deleted file mode 100644 index 255ca01..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf( - role = '', - is_temporary = True - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf( - role = '', - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1.py b/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1.py deleted file mode 100644 index 117a8bd..0000000 --- a/test/test_api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 # noqa: E501 - -class TestApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1(unittest.TestCase): - """ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1: - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1` - """ - model = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1( - role = '', - is_temporary = True, - temporary_mode = 'relative', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1(self): - """Test ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPostRequestRolesInnerAnyOf1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_memberships_delete_request.py b/test/test_api_v2_workspace_project_id_memberships_delete_request.py deleted file mode 100644 index 07d2b2c..0000000 --- a/test/test_api_v2_workspace_project_id_memberships_delete_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_delete_request import ApiV2WorkspaceProjectIdMembershipsDeleteRequest # noqa: E501 - -class TestApiV2WorkspaceProjectIdMembershipsDeleteRequest(unittest.TestCase): - """ApiV2WorkspaceProjectIdMembershipsDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdMembershipsDeleteRequest: - """Test ApiV2WorkspaceProjectIdMembershipsDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdMembershipsDeleteRequest` - """ - model = ApiV2WorkspaceProjectIdMembershipsDeleteRequest() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdMembershipsDeleteRequest( - emails = [ - '' - ], - usernames = [ - '' - ] - ) - else: - return ApiV2WorkspaceProjectIdMembershipsDeleteRequest( - ) - """ - - def testApiV2WorkspaceProjectIdMembershipsDeleteRequest(self): - """Test ApiV2WorkspaceProjectIdMembershipsDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_memberships_post200_response.py b/test/test_api_v2_workspace_project_id_memberships_post200_response.py deleted file mode 100644 index bac8785..0000000 --- a/test/test_api_v2_workspace_project_id_memberships_post200_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post200_response import ApiV2WorkspaceProjectIdMembershipsPost200Response # noqa: E501 - -class TestApiV2WorkspaceProjectIdMembershipsPost200Response(unittest.TestCase): - """ApiV2WorkspaceProjectIdMembershipsPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdMembershipsPost200Response: - """Test ApiV2WorkspaceProjectIdMembershipsPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdMembershipsPost200Response` - """ - model = ApiV2WorkspaceProjectIdMembershipsPost200Response() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdMembershipsPost200Response( - memberships = [ - infisicalapi_client.models._api_v1_organization_admin_projects__project_id__grant_admin_access_post_200_response_membership._api_v1_organization_admin_projects__projectId__grant_admin_access_post_200_response_membership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', ) - ] - ) - else: - return ApiV2WorkspaceProjectIdMembershipsPost200Response( - memberships = [ - infisicalapi_client.models._api_v1_organization_admin_projects__project_id__grant_admin_access_post_200_response_membership._api_v1_organization_admin_projects__projectId__grant_admin_access_post_200_response_membership( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', - project_id = '', ) - ], - ) - """ - - def testApiV2WorkspaceProjectIdMembershipsPost200Response(self): - """Test ApiV2WorkspaceProjectIdMembershipsPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_memberships_post_request.py b/test/test_api_v2_workspace_project_id_memberships_post_request.py deleted file mode 100644 index 2190f20..0000000 --- a/test/test_api_v2_workspace_project_id_memberships_post_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_memberships_post_request import ApiV2WorkspaceProjectIdMembershipsPostRequest # noqa: E501 - -class TestApiV2WorkspaceProjectIdMembershipsPostRequest(unittest.TestCase): - """ApiV2WorkspaceProjectIdMembershipsPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdMembershipsPostRequest: - """Test ApiV2WorkspaceProjectIdMembershipsPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdMembershipsPostRequest` - """ - model = ApiV2WorkspaceProjectIdMembershipsPostRequest() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdMembershipsPostRequest( - emails = [ - '' - ], - usernames = [ - '' - ] - ) - else: - return ApiV2WorkspaceProjectIdMembershipsPostRequest( - ) - """ - - def testApiV2WorkspaceProjectIdMembershipsPostRequest(self): - """Test ApiV2WorkspaceProjectIdMembershipsPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_upgrade_post_request.py b/test/test_api_v2_workspace_project_id_upgrade_post_request.py deleted file mode 100644 index ca788c7..0000000 --- a/test/test_api_v2_workspace_project_id_upgrade_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_post_request import ApiV2WorkspaceProjectIdUpgradePostRequest # noqa: E501 - -class TestApiV2WorkspaceProjectIdUpgradePostRequest(unittest.TestCase): - """ApiV2WorkspaceProjectIdUpgradePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdUpgradePostRequest: - """Test ApiV2WorkspaceProjectIdUpgradePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdUpgradePostRequest` - """ - model = ApiV2WorkspaceProjectIdUpgradePostRequest() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdUpgradePostRequest( - user_private_key = '' - ) - else: - return ApiV2WorkspaceProjectIdUpgradePostRequest( - user_private_key = '', - ) - """ - - def testApiV2WorkspaceProjectIdUpgradePostRequest(self): - """Test ApiV2WorkspaceProjectIdUpgradePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_id_upgrade_status_get200_response.py b/test/test_api_v2_workspace_project_id_upgrade_status_get200_response.py deleted file mode 100644 index 41f31d8..0000000 --- a/test/test_api_v2_workspace_project_id_upgrade_status_get200_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_id_upgrade_status_get200_response import ApiV2WorkspaceProjectIdUpgradeStatusGet200Response # noqa: E501 - -class TestApiV2WorkspaceProjectIdUpgradeStatusGet200Response(unittest.TestCase): - """ApiV2WorkspaceProjectIdUpgradeStatusGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectIdUpgradeStatusGet200Response: - """Test ApiV2WorkspaceProjectIdUpgradeStatusGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectIdUpgradeStatusGet200Response` - """ - model = ApiV2WorkspaceProjectIdUpgradeStatusGet200Response() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectIdUpgradeStatusGet200Response( - status = '' - ) - else: - return ApiV2WorkspaceProjectIdUpgradeStatusGet200Response( - status = '', - ) - """ - - def testApiV2WorkspaceProjectIdUpgradeStatusGet200Response(self): - """Test ApiV2WorkspaceProjectIdUpgradeStatusGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_slug_groups_get200_response.py b/test/test_api_v2_workspace_project_slug_groups_get200_response.py deleted file mode 100644 index 97b3e8c..0000000 --- a/test/test_api_v2_workspace_project_slug_groups_get200_response.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response import ApiV2WorkspaceProjectSlugGroupsGet200Response # noqa: E501 - -class TestApiV2WorkspaceProjectSlugGroupsGet200Response(unittest.TestCase): - """ApiV2WorkspaceProjectSlugGroupsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectSlugGroupsGet200Response: - """Test ApiV2WorkspaceProjectSlugGroupsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectSlugGroupsGet200Response` - """ - model = ApiV2WorkspaceProjectSlugGroupsGet200Response() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectSlugGroupsGet200Response( - group_memberships = [ - infisicalapi_client.models._api_v2_workspace__project_slug__groups_get_200_response_group_memberships_inner._api_v2_workspace__projectSlug__groups_get_200_response_groupMemberships_inner( - id = '', - group_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - group = infisicalapi_client.models._api_v2_workspace__project_slug__groups_get_200_response_group_memberships_inner_group._api_v2_workspace__projectSlug__groups_get_200_response_groupMemberships_inner_group( - name = '', - id = '', - slug = '', ), ) - ] - ) - else: - return ApiV2WorkspaceProjectSlugGroupsGet200Response( - group_memberships = [ - infisicalapi_client.models._api_v2_workspace__project_slug__groups_get_200_response_group_memberships_inner._api_v2_workspace__projectSlug__groups_get_200_response_groupMemberships_inner( - id = '', - group_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - group = infisicalapi_client.models._api_v2_workspace__project_slug__groups_get_200_response_group_memberships_inner_group._api_v2_workspace__projectSlug__groups_get_200_response_groupMemberships_inner_group( - name = '', - id = '', - slug = '', ), ) - ], - ) - """ - - def testApiV2WorkspaceProjectSlugGroupsGet200Response(self): - """Test ApiV2WorkspaceProjectSlugGroupsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner.py b/test/test_api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner.py deleted file mode 100644 index 070ba92..0000000 --- a/test/test_api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner import ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner # noqa: E501 - -class TestApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner(unittest.TestCase): - """ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner: - """Test ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner` - """ - model = ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner( - id = '', - group_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - group = infisicalapi_client.models._api_v2_workspace__project_slug__groups_get_200_response_group_memberships_inner_group._api_v2_workspace__projectSlug__groups_get_200_response_groupMemberships_inner_group( - name = '', - id = '', - slug = '', ) - ) - else: - return ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner( - id = '', - group_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - roles = [ - infisicalapi_client.models._api_v1_workspace__workspace_id__users_get_200_response_users_inner_roles_inner._api_v1_workspace__workspaceId__users_get_200_response_users_inner_roles_inner( - id = '', - role = '', - custom_role_id = '', - custom_role_name = '', - custom_role_slug = '', - is_temporary = True, - temporary_mode = '', - temporary_range = '', - temporary_access_start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - temporary_access_end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - group = infisicalapi_client.models._api_v2_workspace__project_slug__groups_get_200_response_group_memberships_inner_group._api_v2_workspace__projectSlug__groups_get_200_response_groupMemberships_inner_group( - name = '', - id = '', - slug = '', ), - ) - """ - - def testApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner(self): - """Test ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group.py b/test/test_api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group.py deleted file mode 100644 index c62637e..0000000 --- a/test/test_api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group import ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup # noqa: E501 - -class TestApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup(unittest.TestCase): - """ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup: - """Test ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup` - """ - model = ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup( - name = '', - id = '', - slug = '' - ) - else: - return ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup( - name = '', - id = '', - slug = '', - ) - """ - - def testApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup(self): - """Test ApiV2WorkspaceProjectSlugGroupsGet200ResponseGroupMembershipsInnerGroup""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_slug_groups_group_slug_patch_request.py b/test/test_api_v2_workspace_project_slug_groups_group_slug_patch_request.py deleted file mode 100644 index f9b4eac..0000000 --- a/test/test_api_v2_workspace_project_slug_groups_group_slug_patch_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_patch_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest # noqa: E501 - -class TestApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest(unittest.TestCase): - """ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest: - """Test ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest` - """ - model = ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest( - roles = [ - null - ] - ) - else: - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest( - roles = [ - null - ], - ) - """ - - def testApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest(self): - """Test ApiV2WorkspaceProjectSlugGroupsGroupSlugPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_slug_groups_group_slug_post200_response.py b/test/test_api_v2_workspace_project_slug_groups_group_slug_post200_response.py deleted file mode 100644 index 50736ac..0000000 --- a/test/test_api_v2_workspace_project_slug_groups_group_slug_post200_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response # noqa: E501 - -class TestApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response(unittest.TestCase): - """ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response: - """Test ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response` - """ - model = ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response( - group_membership = infisicalapi_client.models._api_v2_workspace__project_slug__groups__group_slug__post_200_response_group_membership._api_v2_workspace__projectSlug__groups__groupSlug__post_200_response_groupMembership( - id = '', - project_id = '', - group_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response( - group_membership = infisicalapi_client.models._api_v2_workspace__project_slug__groups__group_slug__post_200_response_group_membership._api_v2_workspace__projectSlug__groups__groupSlug__post_200_response_groupMembership( - id = '', - project_id = '', - group_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response(self): - """Test ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership.py b/test/test_api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership.py deleted file mode 100644 index f1e3742..0000000 --- a/test/test_api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership import ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership # noqa: E501 - -class TestApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership(unittest.TestCase): - """ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership: - """Test ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership` - """ - model = ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership( - id = '', - project_id = '', - group_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership( - id = '', - project_id = '', - group_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership(self): - """Test ApiV2WorkspaceProjectSlugGroupsGroupSlugPost200ResponseGroupMembership""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_project_slug_groups_group_slug_post_request.py b/test/test_api_v2_workspace_project_slug_groups_group_slug_post_request.py deleted file mode 100644 index f9fb9f0..0000000 --- a/test/test_api_v2_workspace_project_slug_groups_group_slug_post_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_project_slug_groups_group_slug_post_request import ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest # noqa: E501 - -class TestApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest(unittest.TestCase): - """ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest: - """Test ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest` - """ - model = ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest() # noqa: E501 - if include_optional: - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest( - role = 'no-access' - ) - else: - return ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest( - ) - """ - - def testApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest(self): - """Test ApiV2WorkspaceProjectSlugGroupsGroupSlugPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_slug_cas_get200_response.py b/test/test_api_v2_workspace_slug_cas_get200_response.py deleted file mode 100644 index 8e3e35c..0000000 --- a/test/test_api_v2_workspace_slug_cas_get200_response.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_slug_cas_get200_response import ApiV2WorkspaceSlugCasGet200Response # noqa: E501 - -class TestApiV2WorkspaceSlugCasGet200Response(unittest.TestCase): - """ApiV2WorkspaceSlugCasGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceSlugCasGet200Response: - """Test ApiV2WorkspaceSlugCasGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceSlugCasGet200Response` - """ - model = ApiV2WorkspaceSlugCasGet200Response() # noqa: E501 - if include_optional: - return ApiV2WorkspaceSlugCasGet200Response( - cas = [ - infisicalapi_client.models._api_v1_pki_ca_post_200_response_ca._api_v1_pki_ca_post_200_response_ca( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - parent_ca_id = '', - project_id = '', - type = '', - status = '', - friendly_name = '', - organization = '', - ou = '', - country = '', - province = '', - locality = '', - common_name = '', - dn = '', - serial_number = '', - max_path_length = 1.337, - key_algorithm = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV2WorkspaceSlugCasGet200Response( - cas = [ - infisicalapi_client.models._api_v1_pki_ca_post_200_response_ca._api_v1_pki_ca_post_200_response_ca( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - parent_ca_id = '', - project_id = '', - type = '', - status = '', - friendly_name = '', - organization = '', - ou = '', - country = '', - province = '', - locality = '', - common_name = '', - dn = '', - serial_number = '', - max_path_length = 1.337, - key_algorithm = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV2WorkspaceSlugCasGet200Response(self): - """Test ApiV2WorkspaceSlugCasGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_slug_certificates_get200_response.py b/test/test_api_v2_workspace_slug_certificates_get200_response.py deleted file mode 100644 index 30b4168..0000000 --- a/test/test_api_v2_workspace_slug_certificates_get200_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_slug_certificates_get200_response import ApiV2WorkspaceSlugCertificatesGet200Response # noqa: E501 - -class TestApiV2WorkspaceSlugCertificatesGet200Response(unittest.TestCase): - """ApiV2WorkspaceSlugCertificatesGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceSlugCertificatesGet200Response: - """Test ApiV2WorkspaceSlugCertificatesGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceSlugCertificatesGet200Response` - """ - model = ApiV2WorkspaceSlugCertificatesGet200Response() # noqa: E501 - if include_optional: - return ApiV2WorkspaceSlugCertificatesGet200Response( - certificates = [ - infisicalapi_client.models._api_v1_pki_certificates__serial_number__get_200_response_certificate._api_v1_pki_certificates__serialNumber__get_200_response_certificate( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ca_id = '', - status = '', - serial_number = '', - friendly_name = '', - common_name = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - revoked_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - revocation_reason = 1.337, - alt_names = '', ) - ], - total_count = 1.337 - ) - else: - return ApiV2WorkspaceSlugCertificatesGet200Response( - certificates = [ - infisicalapi_client.models._api_v1_pki_certificates__serial_number__get_200_response_certificate._api_v1_pki_certificates__serialNumber__get_200_response_certificate( - id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ca_id = '', - status = '', - serial_number = '', - friendly_name = '', - common_name = '', - not_before = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - not_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - revoked_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - revocation_reason = 1.337, - alt_names = '', ) - ], - total_count = 1.337, - ) - """ - - def testApiV2WorkspaceSlugCertificatesGet200Response(self): - """Test ApiV2WorkspaceSlugCertificatesGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_slug_patch_request.py b/test/test_api_v2_workspace_slug_patch_request.py deleted file mode 100644 index 788cc10..0000000 --- a/test/test_api_v2_workspace_slug_patch_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_slug_patch_request import ApiV2WorkspaceSlugPatchRequest # noqa: E501 - -class TestApiV2WorkspaceSlugPatchRequest(unittest.TestCase): - """ApiV2WorkspaceSlugPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceSlugPatchRequest: - """Test ApiV2WorkspaceSlugPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceSlugPatchRequest` - """ - model = ApiV2WorkspaceSlugPatchRequest() # noqa: E501 - if include_optional: - return ApiV2WorkspaceSlugPatchRequest( - name = '', - auto_capitalization = True - ) - else: - return ApiV2WorkspaceSlugPatchRequest( - ) - """ - - def testApiV2WorkspaceSlugPatchRequest(self): - """Test ApiV2WorkspaceSlugPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_workspace_id_encrypted_key_get200_response.py b/test/test_api_v2_workspace_workspace_id_encrypted_key_get200_response.py deleted file mode 100644 index 9b17f01..0000000 --- a/test/test_api_v2_workspace_workspace_id_encrypted_key_get200_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response # noqa: E501 - -class TestApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response(unittest.TestCase): - """ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response: - """Test ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response` - """ - model = ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response() # noqa: E501 - if include_optional: - return ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response( - id = '', - encrypted_key = '', - nonce = '', - receiver_id = '', - sender_id = '', - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - sender = infisicalapi_client.models._api_v2_workspace__workspace_id__encrypted_key_get_200_response_sender._api_v2_workspace__workspaceId__encrypted_key_get_200_response_sender( - public_key = '', ) - ) - else: - return ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response( - id = '', - encrypted_key = '', - nonce = '', - receiver_id = '', - project_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - sender = infisicalapi_client.models._api_v2_workspace__workspace_id__encrypted_key_get_200_response_sender._api_v2_workspace__workspaceId__encrypted_key_get_200_response_sender( - public_key = '', ), - ) - """ - - def testApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response(self): - """Test ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v2_workspace_workspace_id_encrypted_key_get200_response_sender.py b/test/test_api_v2_workspace_workspace_id_encrypted_key_get200_response_sender.py deleted file mode 100644 index 6649cbc..0000000 --- a/test/test_api_v2_workspace_workspace_id_encrypted_key_get200_response_sender.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v2_workspace_workspace_id_encrypted_key_get200_response_sender import ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender # noqa: E501 - -class TestApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender(unittest.TestCase): - """ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender: - """Test ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender` - """ - model = ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender() # noqa: E501 - if include_optional: - return ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender( - public_key = '' - ) - else: - return ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender( - public_key = '', - ) - """ - - def testApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender(self): - """Test ApiV2WorkspaceWorkspaceIdEncryptedKeyGet200ResponseSender""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_auth_login1_post_request.py b/test/test_api_v3_auth_login1_post_request.py deleted file mode 100644 index f9e2a18..0000000 --- a/test/test_api_v3_auth_login1_post_request.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_auth_login1_post_request import ApiV3AuthLogin1PostRequest # noqa: E501 - -class TestApiV3AuthLogin1PostRequest(unittest.TestCase): - """ApiV3AuthLogin1PostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3AuthLogin1PostRequest: - """Test ApiV3AuthLogin1PostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3AuthLogin1PostRequest` - """ - model = ApiV3AuthLogin1PostRequest() # noqa: E501 - if include_optional: - return ApiV3AuthLogin1PostRequest( - email = '', - provider_auth_token = '', - client_public_key = '' - ) - else: - return ApiV3AuthLogin1PostRequest( - email = '', - client_public_key = '', - ) - """ - - def testApiV3AuthLogin1PostRequest(self): - """Test ApiV3AuthLogin1PostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_auth_login2_post200_response.py b/test/test_api_v3_auth_login2_post200_response.py deleted file mode 100644 index ec32e21..0000000 --- a/test/test_api_v3_auth_login2_post200_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_auth_login2_post200_response import ApiV3AuthLogin2Post200Response # noqa: E501 - -class TestApiV3AuthLogin2Post200Response(unittest.TestCase): - """ApiV3AuthLogin2Post200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3AuthLogin2Post200Response: - """Test ApiV3AuthLogin2Post200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3AuthLogin2Post200Response` - """ - model = ApiV3AuthLogin2Post200Response() # noqa: E501 - if include_optional: - return ApiV3AuthLogin2Post200Response( - mfa_enabled = True, - token = '', - encryption_version = 1.337, - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - iv = '', - tag = '' - ) - else: - return ApiV3AuthLogin2Post200Response( - mfa_enabled = True, - token = '', - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - iv = '', - tag = '', - ) - """ - - def testApiV3AuthLogin2Post200Response(self): - """Test ApiV3AuthLogin2Post200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_auth_login2_post200_response_any_of.py b/test/test_api_v3_auth_login2_post200_response_any_of.py deleted file mode 100644 index 7faa199..0000000 --- a/test/test_api_v3_auth_login2_post200_response_any_of.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_auth_login2_post200_response_any_of import ApiV3AuthLogin2Post200ResponseAnyOf # noqa: E501 - -class TestApiV3AuthLogin2Post200ResponseAnyOf(unittest.TestCase): - """ApiV3AuthLogin2Post200ResponseAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3AuthLogin2Post200ResponseAnyOf: - """Test ApiV3AuthLogin2Post200ResponseAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3AuthLogin2Post200ResponseAnyOf` - """ - model = ApiV3AuthLogin2Post200ResponseAnyOf() # noqa: E501 - if include_optional: - return ApiV3AuthLogin2Post200ResponseAnyOf( - mfa_enabled = True, - token = '' - ) - else: - return ApiV3AuthLogin2Post200ResponseAnyOf( - mfa_enabled = True, - token = '', - ) - """ - - def testApiV3AuthLogin2Post200ResponseAnyOf(self): - """Test ApiV3AuthLogin2Post200ResponseAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_auth_login2_post200_response_any_of1.py b/test/test_api_v3_auth_login2_post200_response_any_of1.py deleted file mode 100644 index fbb54bd..0000000 --- a/test/test_api_v3_auth_login2_post200_response_any_of1.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_auth_login2_post200_response_any_of1 import ApiV3AuthLogin2Post200ResponseAnyOf1 # noqa: E501 - -class TestApiV3AuthLogin2Post200ResponseAnyOf1(unittest.TestCase): - """ApiV3AuthLogin2Post200ResponseAnyOf1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3AuthLogin2Post200ResponseAnyOf1: - """Test ApiV3AuthLogin2Post200ResponseAnyOf1 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3AuthLogin2Post200ResponseAnyOf1` - """ - model = ApiV3AuthLogin2Post200ResponseAnyOf1() # noqa: E501 - if include_optional: - return ApiV3AuthLogin2Post200ResponseAnyOf1( - mfa_enabled = True, - encryption_version = 1.337, - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - iv = '', - tag = '', - token = '' - ) - else: - return ApiV3AuthLogin2Post200ResponseAnyOf1( - mfa_enabled = True, - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - iv = '', - tag = '', - token = '', - ) - """ - - def testApiV3AuthLogin2Post200ResponseAnyOf1(self): - """Test ApiV3AuthLogin2Post200ResponseAnyOf1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_auth_login2_post_request.py b/test/test_api_v3_auth_login2_post_request.py deleted file mode 100644 index 8666cdd..0000000 --- a/test/test_api_v3_auth_login2_post_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_auth_login2_post_request import ApiV3AuthLogin2PostRequest # noqa: E501 - -class TestApiV3AuthLogin2PostRequest(unittest.TestCase): - """ApiV3AuthLogin2PostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3AuthLogin2PostRequest: - """Test ApiV3AuthLogin2PostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3AuthLogin2PostRequest` - """ - model = ApiV3AuthLogin2PostRequest() # noqa: E501 - if include_optional: - return ApiV3AuthLogin2PostRequest( - email = '', - provider_auth_token = '', - client_proof = '', - captcha_token = '', - password = '' - ) - else: - return ApiV3AuthLogin2PostRequest( - email = '', - client_proof = '', - ) - """ - - def testApiV3AuthLogin2PostRequest(self): - """Test ApiV3AuthLogin2PostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_backfill_secret_references_post_request.py b/test/test_api_v3_secrets_backfill_secret_references_post_request.py deleted file mode 100644 index aab06ee..0000000 --- a/test/test_api_v3_secrets_backfill_secret_references_post_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_backfill_secret_references_post_request import ApiV3SecretsBackfillSecretReferencesPostRequest # noqa: E501 - -class TestApiV3SecretsBackfillSecretReferencesPostRequest(unittest.TestCase): - """ApiV3SecretsBackfillSecretReferencesPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBackfillSecretReferencesPostRequest: - """Test ApiV3SecretsBackfillSecretReferencesPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBackfillSecretReferencesPostRequest` - """ - model = ApiV3SecretsBackfillSecretReferencesPostRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsBackfillSecretReferencesPostRequest( - project_id = '0' - ) - else: - return ApiV3SecretsBackfillSecretReferencesPostRequest( - project_id = '0', - ) - """ - - def testApiV3SecretsBackfillSecretReferencesPostRequest(self): - """Test ApiV3SecretsBackfillSecretReferencesPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_delete_request.py b/test/test_api_v3_secrets_batch_delete_request.py deleted file mode 100644 index 1be0eda..0000000 --- a/test/test_api_v3_secrets_batch_delete_request.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_delete_request import ApiV3SecretsBatchDeleteRequest # noqa: E501 - -class TestApiV3SecretsBatchDeleteRequest(unittest.TestCase): - """ApiV3SecretsBatchDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchDeleteRequest: - """Test ApiV3SecretsBatchDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchDeleteRequest` - """ - model = ApiV3SecretsBatchDeleteRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchDeleteRequest( - workspace_id = '', - environment = '', - secret_path = '/', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_delete_request_secrets_inner._api_v3_secrets_batch_delete_request_secrets_inner( - secret_name = '', - type = 'shared', ) - ] - ) - else: - return ApiV3SecretsBatchDeleteRequest( - workspace_id = '', - environment = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_delete_request_secrets_inner._api_v3_secrets_batch_delete_request_secrets_inner( - secret_name = '', - type = 'shared', ) - ], - ) - """ - - def testApiV3SecretsBatchDeleteRequest(self): - """Test ApiV3SecretsBatchDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_delete_request_secrets_inner.py b/test/test_api_v3_secrets_batch_delete_request_secrets_inner.py deleted file mode 100644 index 753c457..0000000 --- a/test/test_api_v3_secrets_batch_delete_request_secrets_inner.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_delete_request_secrets_inner import ApiV3SecretsBatchDeleteRequestSecretsInner # noqa: E501 - -class TestApiV3SecretsBatchDeleteRequestSecretsInner(unittest.TestCase): - """ApiV3SecretsBatchDeleteRequestSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchDeleteRequestSecretsInner: - """Test ApiV3SecretsBatchDeleteRequestSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchDeleteRequestSecretsInner` - """ - model = ApiV3SecretsBatchDeleteRequestSecretsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchDeleteRequestSecretsInner( - secret_name = '', - type = 'shared' - ) - else: - return ApiV3SecretsBatchDeleteRequestSecretsInner( - secret_name = '', - ) - """ - - def testApiV3SecretsBatchDeleteRequestSecretsInner(self): - """Test ApiV3SecretsBatchDeleteRequestSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_patch_request.py b/test/test_api_v3_secrets_batch_patch_request.py deleted file mode 100644 index 1ec7729..0000000 --- a/test/test_api_v3_secrets_batch_patch_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_patch_request import ApiV3SecretsBatchPatchRequest # noqa: E501 - -class TestApiV3SecretsBatchPatchRequest(unittest.TestCase): - """ApiV3SecretsBatchPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchPatchRequest: - """Test ApiV3SecretsBatchPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchPatchRequest` - """ - model = ApiV3SecretsBatchPatchRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchPatchRequest( - workspace_id = '', - environment = '', - secret_path = '/', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_patch_request_secrets_inner._api_v3_secrets_batch_patch_request_secrets_inner( - secret_name = '', - type = 'shared', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - skip_multiline_encoding = True, - tags = [ - '' - ], ) - ] - ) - else: - return ApiV3SecretsBatchPatchRequest( - workspace_id = '', - environment = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_patch_request_secrets_inner._api_v3_secrets_batch_patch_request_secrets_inner( - secret_name = '', - type = 'shared', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - skip_multiline_encoding = True, - tags = [ - '' - ], ) - ], - ) - """ - - def testApiV3SecretsBatchPatchRequest(self): - """Test ApiV3SecretsBatchPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_patch_request_secrets_inner.py b/test/test_api_v3_secrets_batch_patch_request_secrets_inner.py deleted file mode 100644 index 71a1171..0000000 --- a/test/test_api_v3_secrets_batch_patch_request_secrets_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_patch_request_secrets_inner import ApiV3SecretsBatchPatchRequestSecretsInner # noqa: E501 - -class TestApiV3SecretsBatchPatchRequestSecretsInner(unittest.TestCase): - """ApiV3SecretsBatchPatchRequestSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchPatchRequestSecretsInner: - """Test ApiV3SecretsBatchPatchRequestSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchPatchRequestSecretsInner` - """ - model = ApiV3SecretsBatchPatchRequestSecretsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchPatchRequestSecretsInner( - secret_name = '', - type = 'shared', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - skip_multiline_encoding = True, - tags = [ - '' - ] - ) - else: - return ApiV3SecretsBatchPatchRequestSecretsInner( - secret_name = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - ) - """ - - def testApiV3SecretsBatchPatchRequestSecretsInner(self): - """Test ApiV3SecretsBatchPatchRequestSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_post200_response.py b/test/test_api_v3_secrets_batch_post200_response.py deleted file mode 100644 index 02d14a3..0000000 --- a/test/test_api_v3_secrets_batch_post200_response.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_post200_response import ApiV3SecretsBatchPost200Response # noqa: E501 - -class TestApiV3SecretsBatchPost200Response(unittest.TestCase): - """ApiV3SecretsBatchPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchPost200Response: - """Test ApiV3SecretsBatchPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchPost200Response` - """ - model = ApiV3SecretsBatchPost200Response() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchPost200Response( - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ) - ) - else: - return ApiV3SecretsBatchPost200Response( - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ), - ) - """ - - def testApiV3SecretsBatchPost200Response(self): - """Test ApiV3SecretsBatchPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_post200_response_any_of.py b/test/test_api_v3_secrets_batch_post200_response_any_of.py deleted file mode 100644 index 09aea6f..0000000 --- a/test/test_api_v3_secrets_batch_post200_response_any_of.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_post200_response_any_of import ApiV3SecretsBatchPost200ResponseAnyOf # noqa: E501 - -class TestApiV3SecretsBatchPost200ResponseAnyOf(unittest.TestCase): - """ApiV3SecretsBatchPost200ResponseAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchPost200ResponseAnyOf: - """Test ApiV3SecretsBatchPost200ResponseAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchPost200ResponseAnyOf` - """ - model = ApiV3SecretsBatchPost200ResponseAnyOf() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchPost200ResponseAnyOf( - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV3SecretsBatchPost200ResponseAnyOf( - secrets = [ - infisicalapi_client.models._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner._api_v1_secret_imports_secrets_get_200_response_secrets_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV3SecretsBatchPost200ResponseAnyOf(self): - """Test ApiV3SecretsBatchPost200ResponseAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_post_request.py b/test/test_api_v3_secrets_batch_post_request.py deleted file mode 100644 index b86aca1..0000000 --- a/test/test_api_v3_secrets_batch_post_request.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_post_request import ApiV3SecretsBatchPostRequest # noqa: E501 - -class TestApiV3SecretsBatchPostRequest(unittest.TestCase): - """ApiV3SecretsBatchPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchPostRequest: - """Test ApiV3SecretsBatchPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchPostRequest` - """ - model = ApiV3SecretsBatchPostRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchPostRequest( - workspace_id = '', - environment = '', - secret_path = '/', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_post_request_secrets_inner._api_v3_secrets_batch_post_request_secrets_inner( - secret_name = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - metadata = { - 'key' : '' - }, - skip_multiline_encoding = True, ) - ] - ) - else: - return ApiV3SecretsBatchPostRequest( - workspace_id = '', - environment = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_post_request_secrets_inner._api_v3_secrets_batch_post_request_secrets_inner( - secret_name = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - metadata = { - 'key' : '' - }, - skip_multiline_encoding = True, ) - ], - ) - """ - - def testApiV3SecretsBatchPostRequest(self): - """Test ApiV3SecretsBatchPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_post_request_secrets_inner.py b/test/test_api_v3_secrets_batch_post_request_secrets_inner.py deleted file mode 100644 index 1593394..0000000 --- a/test/test_api_v3_secrets_batch_post_request_secrets_inner.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_post_request_secrets_inner import ApiV3SecretsBatchPostRequestSecretsInner # noqa: E501 - -class TestApiV3SecretsBatchPostRequestSecretsInner(unittest.TestCase): - """ApiV3SecretsBatchPostRequestSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchPostRequestSecretsInner: - """Test ApiV3SecretsBatchPostRequestSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchPostRequestSecretsInner` - """ - model = ApiV3SecretsBatchPostRequestSecretsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchPostRequestSecretsInner( - secret_name = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - metadata = { - 'key' : '' - }, - skip_multiline_encoding = True - ) - else: - return ApiV3SecretsBatchPostRequestSecretsInner( - secret_name = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - ) - """ - - def testApiV3SecretsBatchPostRequestSecretsInner(self): - """Test ApiV3SecretsBatchPostRequestSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_raw_delete_request.py b/test/test_api_v3_secrets_batch_raw_delete_request.py deleted file mode 100644 index d44040e..0000000 --- a/test/test_api_v3_secrets_batch_raw_delete_request.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request import ApiV3SecretsBatchRawDeleteRequest # noqa: E501 - -class TestApiV3SecretsBatchRawDeleteRequest(unittest.TestCase): - """ApiV3SecretsBatchRawDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchRawDeleteRequest: - """Test ApiV3SecretsBatchRawDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchRawDeleteRequest` - """ - model = ApiV3SecretsBatchRawDeleteRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchRawDeleteRequest( - project_slug = '', - workspace_id = '', - environment = '', - secret_path = '/', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_raw_delete_request_secrets_inner._api_v3_secrets_batch_raw_delete_request_secrets_inner( - secret_key = '', - type = 'shared', ) - ] - ) - else: - return ApiV3SecretsBatchRawDeleteRequest( - environment = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_raw_delete_request_secrets_inner._api_v3_secrets_batch_raw_delete_request_secrets_inner( - secret_key = '', - type = 'shared', ) - ], - ) - """ - - def testApiV3SecretsBatchRawDeleteRequest(self): - """Test ApiV3SecretsBatchRawDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_raw_delete_request_secrets_inner.py b/test/test_api_v3_secrets_batch_raw_delete_request_secrets_inner.py deleted file mode 100644 index cd29ae6..0000000 --- a/test/test_api_v3_secrets_batch_raw_delete_request_secrets_inner.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_raw_delete_request_secrets_inner import ApiV3SecretsBatchRawDeleteRequestSecretsInner # noqa: E501 - -class TestApiV3SecretsBatchRawDeleteRequestSecretsInner(unittest.TestCase): - """ApiV3SecretsBatchRawDeleteRequestSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchRawDeleteRequestSecretsInner: - """Test ApiV3SecretsBatchRawDeleteRequestSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchRawDeleteRequestSecretsInner` - """ - model = ApiV3SecretsBatchRawDeleteRequestSecretsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchRawDeleteRequestSecretsInner( - secret_key = '', - type = 'shared' - ) - else: - return ApiV3SecretsBatchRawDeleteRequestSecretsInner( - secret_key = '', - ) - """ - - def testApiV3SecretsBatchRawDeleteRequestSecretsInner(self): - """Test ApiV3SecretsBatchRawDeleteRequestSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_raw_patch_request.py b/test/test_api_v3_secrets_batch_raw_patch_request.py deleted file mode 100644 index ec7a788..0000000 --- a/test/test_api_v3_secrets_batch_raw_patch_request.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request import ApiV3SecretsBatchRawPatchRequest # noqa: E501 - -class TestApiV3SecretsBatchRawPatchRequest(unittest.TestCase): - """ApiV3SecretsBatchRawPatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchRawPatchRequest: - """Test ApiV3SecretsBatchRawPatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchRawPatchRequest` - """ - model = ApiV3SecretsBatchRawPatchRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchRawPatchRequest( - project_slug = '', - workspace_id = '', - environment = '', - secret_path = '/', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_raw_patch_request_secrets_inner._api_v3_secrets_batch_raw_patch_request_secrets_inner( - secret_key = '', - secret_value = '', - secret_comment = '', - skip_multiline_encoding = True, - new_secret_name = '0', - tag_ids = [ - '' - ], - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, ) - ] - ) - else: - return ApiV3SecretsBatchRawPatchRequest( - environment = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_raw_patch_request_secrets_inner._api_v3_secrets_batch_raw_patch_request_secrets_inner( - secret_key = '', - secret_value = '', - secret_comment = '', - skip_multiline_encoding = True, - new_secret_name = '0', - tag_ids = [ - '' - ], - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, ) - ], - ) - """ - - def testApiV3SecretsBatchRawPatchRequest(self): - """Test ApiV3SecretsBatchRawPatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_raw_patch_request_secrets_inner.py b/test/test_api_v3_secrets_batch_raw_patch_request_secrets_inner.py deleted file mode 100644 index 2583cb0..0000000 --- a/test/test_api_v3_secrets_batch_raw_patch_request_secrets_inner.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_raw_patch_request_secrets_inner import ApiV3SecretsBatchRawPatchRequestSecretsInner # noqa: E501 - -class TestApiV3SecretsBatchRawPatchRequestSecretsInner(unittest.TestCase): - """ApiV3SecretsBatchRawPatchRequestSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchRawPatchRequestSecretsInner: - """Test ApiV3SecretsBatchRawPatchRequestSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchRawPatchRequestSecretsInner` - """ - model = ApiV3SecretsBatchRawPatchRequestSecretsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchRawPatchRequestSecretsInner( - secret_key = '', - secret_value = '', - secret_comment = '', - skip_multiline_encoding = True, - new_secret_name = '0', - tag_ids = [ - '' - ], - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337 - ) - else: - return ApiV3SecretsBatchRawPatchRequestSecretsInner( - secret_key = '', - secret_value = '', - ) - """ - - def testApiV3SecretsBatchRawPatchRequestSecretsInner(self): - """Test ApiV3SecretsBatchRawPatchRequestSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_raw_post200_response.py b/test/test_api_v3_secrets_batch_raw_post200_response.py deleted file mode 100644 index ee1e21f..0000000 --- a/test/test_api_v3_secrets_batch_raw_post200_response.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response import ApiV3SecretsBatchRawPost200Response # noqa: E501 - -class TestApiV3SecretsBatchRawPost200Response(unittest.TestCase): - """ApiV3SecretsBatchRawPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchRawPost200Response: - """Test ApiV3SecretsBatchRawPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchRawPost200Response` - """ - model = ApiV3SecretsBatchRawPost200Response() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchRawPost200Response( - secrets = [ - infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ) - ) - else: - return ApiV3SecretsBatchRawPost200Response( - secrets = [ - infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ), - ) - """ - - def testApiV3SecretsBatchRawPost200Response(self): - """Test ApiV3SecretsBatchRawPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_raw_post200_response_any_of.py b/test/test_api_v3_secrets_batch_raw_post200_response_any_of.py deleted file mode 100644 index 1c50994..0000000 --- a/test/test_api_v3_secrets_batch_raw_post200_response_any_of.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_raw_post200_response_any_of import ApiV3SecretsBatchRawPost200ResponseAnyOf # noqa: E501 - -class TestApiV3SecretsBatchRawPost200ResponseAnyOf(unittest.TestCase): - """ApiV3SecretsBatchRawPost200ResponseAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchRawPost200ResponseAnyOf: - """Test ApiV3SecretsBatchRawPost200ResponseAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchRawPost200ResponseAnyOf` - """ - model = ApiV3SecretsBatchRawPost200ResponseAnyOf() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchRawPost200ResponseAnyOf( - secrets = [ - infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ] - ) - else: - return ApiV3SecretsBatchRawPost200ResponseAnyOf( - secrets = [ - infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - ) - """ - - def testApiV3SecretsBatchRawPost200ResponseAnyOf(self): - """Test ApiV3SecretsBatchRawPost200ResponseAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_raw_post_request.py b/test/test_api_v3_secrets_batch_raw_post_request.py deleted file mode 100644 index b6fd2ff..0000000 --- a/test/test_api_v3_secrets_batch_raw_post_request.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request import ApiV3SecretsBatchRawPostRequest # noqa: E501 - -class TestApiV3SecretsBatchRawPostRequest(unittest.TestCase): - """ApiV3SecretsBatchRawPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchRawPostRequest: - """Test ApiV3SecretsBatchRawPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchRawPostRequest` - """ - model = ApiV3SecretsBatchRawPostRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchRawPostRequest( - project_slug = '', - workspace_id = '', - environment = '', - secret_path = '/', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_raw_post_request_secrets_inner._api_v3_secrets_batch_raw_post_request_secrets_inner( - secret_key = '', - secret_value = '', - secret_comment = '', - skip_multiline_encoding = True, - metadata = { - 'key' : '' - }, - tag_ids = [ - '' - ], ) - ] - ) - else: - return ApiV3SecretsBatchRawPostRequest( - environment = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_batch_raw_post_request_secrets_inner._api_v3_secrets_batch_raw_post_request_secrets_inner( - secret_key = '', - secret_value = '', - secret_comment = '', - skip_multiline_encoding = True, - metadata = { - 'key' : '' - }, - tag_ids = [ - '' - ], ) - ], - ) - """ - - def testApiV3SecretsBatchRawPostRequest(self): - """Test ApiV3SecretsBatchRawPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_batch_raw_post_request_secrets_inner.py b/test/test_api_v3_secrets_batch_raw_post_request_secrets_inner.py deleted file mode 100644 index 4aa0402..0000000 --- a/test/test_api_v3_secrets_batch_raw_post_request_secrets_inner.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_batch_raw_post_request_secrets_inner import ApiV3SecretsBatchRawPostRequestSecretsInner # noqa: E501 - -class TestApiV3SecretsBatchRawPostRequestSecretsInner(unittest.TestCase): - """ApiV3SecretsBatchRawPostRequestSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsBatchRawPostRequestSecretsInner: - """Test ApiV3SecretsBatchRawPostRequestSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsBatchRawPostRequestSecretsInner` - """ - model = ApiV3SecretsBatchRawPostRequestSecretsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsBatchRawPostRequestSecretsInner( - secret_key = '', - secret_value = '', - secret_comment = '', - skip_multiline_encoding = True, - metadata = { - 'key' : '' - }, - tag_ids = [ - '' - ] - ) - else: - return ApiV3SecretsBatchRawPostRequestSecretsInner( - secret_key = '', - secret_value = '', - ) - """ - - def testApiV3SecretsBatchRawPostRequestSecretsInner(self): - """Test ApiV3SecretsBatchRawPostRequestSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_get200_response.py b/test/test_api_v3_secrets_get200_response.py deleted file mode 100644 index 71d4665..0000000 --- a/test/test_api_v3_secrets_get200_response.py +++ /dev/null @@ -1,157 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_get200_response import ApiV3SecretsGet200Response # noqa: E501 - -class TestApiV3SecretsGet200Response(unittest.TestCase): - """ApiV3SecretsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsGet200Response: - """Test ApiV3SecretsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsGet200Response` - """ - model = ApiV3SecretsGet200Response() # noqa: E501 - if include_optional: - return ApiV3SecretsGet200Response( - secrets = [ - infisicalapi_client.models._api_v3_secrets_get_200_response_secrets_inner._api_v3_secrets_get_200_response_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - _id = '', - workspace = '', - environment = '', - secret_path = '', - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ], ) - ], - imports = [ - infisicalapi_client.models._api_v3_secrets_get_200_response_imports_inner._api_v3_secrets_get_200_response_imports_inner( - secret_path = '', - environment = '', - folder_id = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_get_200_response_imports_inner_secrets_inner._api_v3_secrets_get_200_response_imports_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - _id = '', - workspace = '', - environment = '', ) - ], ) - ] - ) - else: - return ApiV3SecretsGet200Response( - secrets = [ - infisicalapi_client.models._api_v3_secrets_get_200_response_secrets_inner._api_v3_secrets_get_200_response_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - _id = '', - workspace = '', - environment = '', - secret_path = '', - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ], ) - ], - ) - """ - - def testApiV3SecretsGet200Response(self): - """Test ApiV3SecretsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_get200_response_imports_inner.py b/test/test_api_v3_secrets_get200_response_imports_inner.py deleted file mode 100644 index 87dbfd1..0000000 --- a/test/test_api_v3_secrets_get200_response_imports_inner.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner import ApiV3SecretsGet200ResponseImportsInner # noqa: E501 - -class TestApiV3SecretsGet200ResponseImportsInner(unittest.TestCase): - """ApiV3SecretsGet200ResponseImportsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsGet200ResponseImportsInner: - """Test ApiV3SecretsGet200ResponseImportsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsGet200ResponseImportsInner` - """ - model = ApiV3SecretsGet200ResponseImportsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsGet200ResponseImportsInner( - secret_path = '', - environment = '', - folder_id = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_get_200_response_imports_inner_secrets_inner._api_v3_secrets_get_200_response_imports_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - _id = '', - workspace = '', - environment = '', ) - ] - ) - else: - return ApiV3SecretsGet200ResponseImportsInner( - secret_path = '', - environment = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_get_200_response_imports_inner_secrets_inner._api_v3_secrets_get_200_response_imports_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - _id = '', - workspace = '', - environment = '', ) - ], - ) - """ - - def testApiV3SecretsGet200ResponseImportsInner(self): - """Test ApiV3SecretsGet200ResponseImportsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_get200_response_imports_inner_secrets_inner.py b/test/test_api_v3_secrets_get200_response_imports_inner_secrets_inner.py deleted file mode 100644 index 6567eaa..0000000 --- a/test/test_api_v3_secrets_get200_response_imports_inner_secrets_inner.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_get200_response_imports_inner_secrets_inner import ApiV3SecretsGet200ResponseImportsInnerSecretsInner # noqa: E501 - -class TestApiV3SecretsGet200ResponseImportsInnerSecretsInner(unittest.TestCase): - """ApiV3SecretsGet200ResponseImportsInnerSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsGet200ResponseImportsInnerSecretsInner: - """Test ApiV3SecretsGet200ResponseImportsInnerSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsGet200ResponseImportsInnerSecretsInner` - """ - model = ApiV3SecretsGet200ResponseImportsInnerSecretsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsGet200ResponseImportsInnerSecretsInner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = None, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - id = '', - workspace = '', - environment = '' - ) - else: - return ApiV3SecretsGet200ResponseImportsInnerSecretsInner( - id = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - id = '', - workspace = '', - environment = '', - ) - """ - - def testApiV3SecretsGet200ResponseImportsInnerSecretsInner(self): - """Test ApiV3SecretsGet200ResponseImportsInnerSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_get200_response_secrets_inner.py b/test/test_api_v3_secrets_get200_response_secrets_inner.py deleted file mode 100644 index 8fde5fe..0000000 --- a/test/test_api_v3_secrets_get200_response_secrets_inner.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_get200_response_secrets_inner import ApiV3SecretsGet200ResponseSecretsInner # noqa: E501 - -class TestApiV3SecretsGet200ResponseSecretsInner(unittest.TestCase): - """ApiV3SecretsGet200ResponseSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsGet200ResponseSecretsInner: - """Test ApiV3SecretsGet200ResponseSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsGet200ResponseSecretsInner` - """ - model = ApiV3SecretsGet200ResponseSecretsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsGet200ResponseSecretsInner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = None, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - id = '', - workspace = '', - environment = '', - secret_path = '', - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ] - ) - else: - return ApiV3SecretsGet200ResponseSecretsInner( - id = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - id = '', - workspace = '', - environment = '', - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ], - ) - """ - - def testApiV3SecretsGet200ResponseSecretsInner(self): - """Test ApiV3SecretsGet200ResponseSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_move_post200_response.py b/test/test_api_v3_secrets_move_post200_response.py deleted file mode 100644 index 9ebafb4..0000000 --- a/test/test_api_v3_secrets_move_post200_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_move_post200_response import ApiV3SecretsMovePost200Response # noqa: E501 - -class TestApiV3SecretsMovePost200Response(unittest.TestCase): - """ApiV3SecretsMovePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsMovePost200Response: - """Test ApiV3SecretsMovePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsMovePost200Response` - """ - model = ApiV3SecretsMovePost200Response() # noqa: E501 - if include_optional: - return ApiV3SecretsMovePost200Response( - is_source_updated = True, - is_destination_updated = True - ) - else: - return ApiV3SecretsMovePost200Response( - is_source_updated = True, - is_destination_updated = True, - ) - """ - - def testApiV3SecretsMovePost200Response(self): - """Test ApiV3SecretsMovePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_move_post_request.py b/test/test_api_v3_secrets_move_post_request.py deleted file mode 100644 index 8f0acc2..0000000 --- a/test/test_api_v3_secrets_move_post_request.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_move_post_request import ApiV3SecretsMovePostRequest # noqa: E501 - -class TestApiV3SecretsMovePostRequest(unittest.TestCase): - """ApiV3SecretsMovePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsMovePostRequest: - """Test ApiV3SecretsMovePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsMovePostRequest` - """ - model = ApiV3SecretsMovePostRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsMovePostRequest( - project_slug = '', - source_environment = '', - source_secret_path = '/', - destination_environment = '', - destination_secret_path = '/', - secret_ids = [ - '' - ], - should_overwrite = True - ) - else: - return ApiV3SecretsMovePostRequest( - project_slug = '', - source_environment = '', - destination_environment = '', - secret_ids = [ - '' - ], - ) - """ - - def testApiV3SecretsMovePostRequest(self): - """Test ApiV3SecretsMovePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_get200_response.py b/test/test_api_v3_secrets_raw_get200_response.py deleted file mode 100644 index 4cde399..0000000 --- a/test/test_api_v3_secrets_raw_get200_response.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_get200_response import ApiV3SecretsRawGet200Response # noqa: E501 - -class TestApiV3SecretsRawGet200Response(unittest.TestCase): - """ApiV3SecretsRawGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawGet200Response: - """Test ApiV3SecretsRawGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawGet200Response` - """ - model = ApiV3SecretsRawGet200Response() # noqa: E501 - if include_optional: - return ApiV3SecretsRawGet200Response( - secrets = [ - infisicalapi_client.models._api_v3_secrets_raw_get_200_response_secrets_inner._api_v3_secrets_raw_get_200_response_secrets_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - secret_path = '', - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ], ) - ], - imports = [ - infisicalapi_client.models._api_v3_secrets_raw_get_200_response_imports_inner._api_v3_secrets_raw_get_200_response_imports_inner( - secret_path = '', - environment = '', - folder_id = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_raw_get_200_response_imports_inner_secrets_inner._api_v3_secrets_raw_get_200_response_imports_inner_secrets_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, ) - ], ) - ] - ) - else: - return ApiV3SecretsRawGet200Response( - secrets = [ - infisicalapi_client.models._api_v3_secrets_raw_get_200_response_secrets_inner._api_v3_secrets_raw_get_200_response_secrets_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - secret_path = '', - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ], ) - ], - ) - """ - - def testApiV3SecretsRawGet200Response(self): - """Test ApiV3SecretsRawGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_get200_response_imports_inner.py b/test/test_api_v3_secrets_raw_get200_response_imports_inner.py deleted file mode 100644 index 96f12ff..0000000 --- a/test/test_api_v3_secrets_raw_get200_response_imports_inner.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_imports_inner import ApiV3SecretsRawGet200ResponseImportsInner # noqa: E501 - -class TestApiV3SecretsRawGet200ResponseImportsInner(unittest.TestCase): - """ApiV3SecretsRawGet200ResponseImportsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawGet200ResponseImportsInner: - """Test ApiV3SecretsRawGet200ResponseImportsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawGet200ResponseImportsInner` - """ - model = ApiV3SecretsRawGet200ResponseImportsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsRawGet200ResponseImportsInner( - secret_path = '', - environment = '', - folder_id = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_raw_get_200_response_imports_inner_secrets_inner._api_v3_secrets_raw_get_200_response_imports_inner_secrets_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, ) - ] - ) - else: - return ApiV3SecretsRawGet200ResponseImportsInner( - secret_path = '', - environment = '', - secrets = [ - infisicalapi_client.models._api_v3_secrets_raw_get_200_response_imports_inner_secrets_inner._api_v3_secrets_raw_get_200_response_imports_inner_secrets_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, ) - ], - ) - """ - - def testApiV3SecretsRawGet200ResponseImportsInner(self): - """Test ApiV3SecretsRawGet200ResponseImportsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_get200_response_imports_inner_secrets_inner.py b/test/test_api_v3_secrets_raw_get200_response_imports_inner_secrets_inner.py deleted file mode 100644 index 2b6fa44..0000000 --- a/test/test_api_v3_secrets_raw_get200_response_imports_inner_secrets_inner.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_imports_inner_secrets_inner import ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner # noqa: E501 - -class TestApiV3SecretsRawGet200ResponseImportsInnerSecretsInner(unittest.TestCase): - """ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner: - """Test ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner` - """ - model = ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner( - id = '', - id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = None - ) - else: - return ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner( - id = '', - id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - ) - """ - - def testApiV3SecretsRawGet200ResponseImportsInnerSecretsInner(self): - """Test ApiV3SecretsRawGet200ResponseImportsInnerSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_get200_response_secrets_inner.py b/test/test_api_v3_secrets_raw_get200_response_secrets_inner.py deleted file mode 100644 index dd5d145..0000000 --- a/test/test_api_v3_secrets_raw_get200_response_secrets_inner.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_get200_response_secrets_inner import ApiV3SecretsRawGet200ResponseSecretsInner # noqa: E501 - -class TestApiV3SecretsRawGet200ResponseSecretsInner(unittest.TestCase): - """ApiV3SecretsRawGet200ResponseSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawGet200ResponseSecretsInner: - """Test ApiV3SecretsRawGet200ResponseSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawGet200ResponseSecretsInner` - """ - model = ApiV3SecretsRawGet200ResponseSecretsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsRawGet200ResponseSecretsInner( - id = '', - id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - secret_path = '', - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ] - ) - else: - return ApiV3SecretsRawGet200ResponseSecretsInner( - id = '', - id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV3SecretsRawGet200ResponseSecretsInner(self): - """Test ApiV3SecretsRawGet200ResponseSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_secret_name_delete_request.py b/test/test_api_v3_secrets_raw_secret_name_delete_request.py deleted file mode 100644 index 450abf6..0000000 --- a/test/test_api_v3_secrets_raw_secret_name_delete_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_delete_request import ApiV3SecretsRawSecretNameDeleteRequest # noqa: E501 - -class TestApiV3SecretsRawSecretNameDeleteRequest(unittest.TestCase): - """ApiV3SecretsRawSecretNameDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawSecretNameDeleteRequest: - """Test ApiV3SecretsRawSecretNameDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawSecretNameDeleteRequest` - """ - model = ApiV3SecretsRawSecretNameDeleteRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsRawSecretNameDeleteRequest( - workspace_id = '', - environment = '', - secret_path = '/', - type = 'shared' - ) - else: - return ApiV3SecretsRawSecretNameDeleteRequest( - workspace_id = '', - environment = '', - ) - """ - - def testApiV3SecretsRawSecretNameDeleteRequest(self): - """Test ApiV3SecretsRawSecretNameDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_secret_name_get200_response.py b/test/test_api_v3_secrets_raw_secret_name_get200_response.py deleted file mode 100644 index 1f2b87d..0000000 --- a/test/test_api_v3_secrets_raw_secret_name_get200_response.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response import ApiV3SecretsRawSecretNameGet200Response # noqa: E501 - -class TestApiV3SecretsRawSecretNameGet200Response(unittest.TestCase): - """ApiV3SecretsRawSecretNameGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawSecretNameGet200Response: - """Test ApiV3SecretsRawSecretNameGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawSecretNameGet200Response` - """ - model = ApiV3SecretsRawSecretNameGet200Response() # noqa: E501 - if include_optional: - return ApiV3SecretsRawSecretNameGet200Response( - secret = infisicalapi_client.models._api_v3_secrets_raw__secret_name__get_200_response_secret._api_v3_secrets_raw__secretName__get_200_response_secret( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ], ) - ) - else: - return ApiV3SecretsRawSecretNameGet200Response( - secret = infisicalapi_client.models._api_v3_secrets_raw__secret_name__get_200_response_secret._api_v3_secrets_raw__secretName__get_200_response_secret( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ], ), - ) - """ - - def testApiV3SecretsRawSecretNameGet200Response(self): - """Test ApiV3SecretsRawSecretNameGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_secret_name_get200_response_secret.py b/test/test_api_v3_secrets_raw_secret_name_get200_response_secret.py deleted file mode 100644 index 34a8c05..0000000 --- a/test/test_api_v3_secrets_raw_secret_name_get200_response_secret.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_get200_response_secret import ApiV3SecretsRawSecretNameGet200ResponseSecret # noqa: E501 - -class TestApiV3SecretsRawSecretNameGet200ResponseSecret(unittest.TestCase): - """ApiV3SecretsRawSecretNameGet200ResponseSecret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawSecretNameGet200ResponseSecret: - """Test ApiV3SecretsRawSecretNameGet200ResponseSecret - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawSecretNameGet200ResponseSecret` - """ - model = ApiV3SecretsRawSecretNameGet200ResponseSecret() # noqa: E501 - if include_optional: - return ApiV3SecretsRawSecretNameGet200ResponseSecret( - id = '', - id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ] - ) - else: - return ApiV3SecretsRawSecretNameGet200ResponseSecret( - id = '', - id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testApiV3SecretsRawSecretNameGet200ResponseSecret(self): - """Test ApiV3SecretsRawSecretNameGet200ResponseSecret""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_secret_name_patch_request.py b/test/test_api_v3_secrets_raw_secret_name_patch_request.py deleted file mode 100644 index a0c5cbd..0000000 --- a/test/test_api_v3_secrets_raw_secret_name_patch_request.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_patch_request import ApiV3SecretsRawSecretNamePatchRequest # noqa: E501 - -class TestApiV3SecretsRawSecretNamePatchRequest(unittest.TestCase): - """ApiV3SecretsRawSecretNamePatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawSecretNamePatchRequest: - """Test ApiV3SecretsRawSecretNamePatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawSecretNamePatchRequest` - """ - model = ApiV3SecretsRawSecretNamePatchRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsRawSecretNamePatchRequest( - workspace_id = '', - environment = '', - secret_value = '', - secret_path = '/', - skip_multiline_encoding = True, - type = 'shared', - tag_ids = [ - '' - ], - metadata = { - 'key' : '' - }, - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - new_secret_name = '0', - secret_comment = '' - ) - else: - return ApiV3SecretsRawSecretNamePatchRequest( - workspace_id = '', - environment = '', - secret_value = '', - ) - """ - - def testApiV3SecretsRawSecretNamePatchRequest(self): - """Test ApiV3SecretsRawSecretNamePatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_secret_name_post200_response.py b/test/test_api_v3_secrets_raw_secret_name_post200_response.py deleted file mode 100644 index d5a796d..0000000 --- a/test/test_api_v3_secrets_raw_secret_name_post200_response.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response import ApiV3SecretsRawSecretNamePost200Response # noqa: E501 - -class TestApiV3SecretsRawSecretNamePost200Response(unittest.TestCase): - """ApiV3SecretsRawSecretNamePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawSecretNamePost200Response: - """Test ApiV3SecretsRawSecretNamePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawSecretNamePost200Response` - """ - model = ApiV3SecretsRawSecretNamePost200Response() # noqa: E501 - if include_optional: - return ApiV3SecretsRawSecretNamePost200Response( - secret = infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ) - ) - else: - return ApiV3SecretsRawSecretNamePost200Response( - secret = infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ), - ) - """ - - def testApiV3SecretsRawSecretNamePost200Response(self): - """Test ApiV3SecretsRawSecretNamePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_secret_name_post200_response_any_of.py b/test/test_api_v3_secrets_raw_secret_name_post200_response_any_of.py deleted file mode 100644 index 1ac24f8..0000000 --- a/test/test_api_v3_secrets_raw_secret_name_post200_response_any_of.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of import ApiV3SecretsRawSecretNamePost200ResponseAnyOf # noqa: E501 - -class TestApiV3SecretsRawSecretNamePost200ResponseAnyOf(unittest.TestCase): - """ApiV3SecretsRawSecretNamePost200ResponseAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawSecretNamePost200ResponseAnyOf: - """Test ApiV3SecretsRawSecretNamePost200ResponseAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawSecretNamePost200ResponseAnyOf` - """ - model = ApiV3SecretsRawSecretNamePost200ResponseAnyOf() # noqa: E501 - if include_optional: - return ApiV3SecretsRawSecretNamePost200ResponseAnyOf( - secret = infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else: - return ApiV3SecretsRawSecretNamePost200ResponseAnyOf( - secret = infisicalapi_client.models._api_v1_secret__secret_id__secret_versions_get_200_response_secret_versions_inner._api_v1_secret__secretId__secret_versions_get_200_response_secretVersions_inner( - id = '', - _id = '', - workspace = '', - environment = '', - version = 1.337, - type = '', - secret_key = '', - secret_value = '', - secret_comment = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - metadata = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - ) - """ - - def testApiV3SecretsRawSecretNamePost200ResponseAnyOf(self): - """Test ApiV3SecretsRawSecretNamePost200ResponseAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_secret_name_post200_response_any_of1.py b/test/test_api_v3_secrets_raw_secret_name_post200_response_any_of1.py deleted file mode 100644 index 15d20ef..0000000 --- a/test/test_api_v3_secrets_raw_secret_name_post200_response_any_of1.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post200_response_any_of1 import ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 # noqa: E501 - -class TestApiV3SecretsRawSecretNamePost200ResponseAnyOf1(unittest.TestCase): - """ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawSecretNamePost200ResponseAnyOf1: - """Test ApiV3SecretsRawSecretNamePost200ResponseAnyOf1 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawSecretNamePost200ResponseAnyOf1` - """ - model = ApiV3SecretsRawSecretNamePost200ResponseAnyOf1() # noqa: E501 - if include_optional: - return ApiV3SecretsRawSecretNamePost200ResponseAnyOf1( - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ) - ) - else: - return ApiV3SecretsRawSecretNamePost200ResponseAnyOf1( - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ), - ) - """ - - def testApiV3SecretsRawSecretNamePost200ResponseAnyOf1(self): - """Test ApiV3SecretsRawSecretNamePost200ResponseAnyOf1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_raw_secret_name_post_request.py b/test/test_api_v3_secrets_raw_secret_name_post_request.py deleted file mode 100644 index 7112e5f..0000000 --- a/test/test_api_v3_secrets_raw_secret_name_post_request.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_raw_secret_name_post_request import ApiV3SecretsRawSecretNamePostRequest # noqa: E501 - -class TestApiV3SecretsRawSecretNamePostRequest(unittest.TestCase): - """ApiV3SecretsRawSecretNamePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsRawSecretNamePostRequest: - """Test ApiV3SecretsRawSecretNamePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsRawSecretNamePostRequest` - """ - model = ApiV3SecretsRawSecretNamePostRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsRawSecretNamePostRequest( - workspace_id = '', - environment = '', - secret_path = '/', - secret_value = '', - secret_comment = '', - tag_ids = [ - '' - ], - skip_multiline_encoding = True, - type = 'shared', - secret_reminder_repeat_days = 1.337, - secret_reminder_note = '' - ) - else: - return ApiV3SecretsRawSecretNamePostRequest( - workspace_id = '', - environment = '', - secret_value = '', - ) - """ - - def testApiV3SecretsRawSecretNamePostRequest(self): - """Test ApiV3SecretsRawSecretNamePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_secret_name_delete_request.py b/test/test_api_v3_secrets_secret_name_delete_request.py deleted file mode 100644 index aa36208..0000000 --- a/test/test_api_v3_secrets_secret_name_delete_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_secret_name_delete_request import ApiV3SecretsSecretNameDeleteRequest # noqa: E501 - -class TestApiV3SecretsSecretNameDeleteRequest(unittest.TestCase): - """ApiV3SecretsSecretNameDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsSecretNameDeleteRequest: - """Test ApiV3SecretsSecretNameDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsSecretNameDeleteRequest` - """ - model = ApiV3SecretsSecretNameDeleteRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsSecretNameDeleteRequest( - type = 'shared', - secret_path = '/', - secret_id = '', - workspace_id = '', - environment = '' - ) - else: - return ApiV3SecretsSecretNameDeleteRequest( - workspace_id = '', - environment = '', - ) - """ - - def testApiV3SecretsSecretNameDeleteRequest(self): - """Test ApiV3SecretsSecretNameDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_secret_name_get200_response.py b/test/test_api_v3_secrets_secret_name_get200_response.py deleted file mode 100644 index 879d07f..0000000 --- a/test/test_api_v3_secrets_secret_name_get200_response.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response import ApiV3SecretsSecretNameGet200Response # noqa: E501 - -class TestApiV3SecretsSecretNameGet200Response(unittest.TestCase): - """ApiV3SecretsSecretNameGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsSecretNameGet200Response: - """Test ApiV3SecretsSecretNameGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsSecretNameGet200Response` - """ - model = ApiV3SecretsSecretNameGet200Response() # noqa: E501 - if include_optional: - return ApiV3SecretsSecretNameGet200Response( - secret = infisicalapi_client.models._api_v3_secrets__secret_name__get_200_response_secret._api_v3_secrets__secretName__get_200_response_secret( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - workspace = '', - environment = '', ) - ) - else: - return ApiV3SecretsSecretNameGet200Response( - secret = infisicalapi_client.models._api_v3_secrets__secret_name__get_200_response_secret._api_v3_secrets__secretName__get_200_response_secret( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - workspace = '', - environment = '', ), - ) - """ - - def testApiV3SecretsSecretNameGet200Response(self): - """Test ApiV3SecretsSecretNameGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_secret_name_get200_response_secret.py b/test/test_api_v3_secrets_secret_name_get200_response_secret.py deleted file mode 100644 index a964162..0000000 --- a/test/test_api_v3_secrets_secret_name_get200_response_secret.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_secret_name_get200_response_secret import ApiV3SecretsSecretNameGet200ResponseSecret # noqa: E501 - -class TestApiV3SecretsSecretNameGet200ResponseSecret(unittest.TestCase): - """ApiV3SecretsSecretNameGet200ResponseSecret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsSecretNameGet200ResponseSecret: - """Test ApiV3SecretsSecretNameGet200ResponseSecret - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsSecretNameGet200ResponseSecret` - """ - model = ApiV3SecretsSecretNameGet200ResponseSecret() # noqa: E501 - if include_optional: - return ApiV3SecretsSecretNameGet200ResponseSecret( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = None, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - workspace = '', - environment = '' - ) - else: - return ApiV3SecretsSecretNameGet200ResponseSecret( - id = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - workspace = '', - environment = '', - ) - """ - - def testApiV3SecretsSecretNameGet200ResponseSecret(self): - """Test ApiV3SecretsSecretNameGet200ResponseSecret""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_secret_name_patch_request.py b/test/test_api_v3_secrets_secret_name_patch_request.py deleted file mode 100644 index 3fca696..0000000 --- a/test/test_api_v3_secrets_secret_name_patch_request.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_secret_name_patch_request import ApiV3SecretsSecretNamePatchRequest # noqa: E501 - -class TestApiV3SecretsSecretNamePatchRequest(unittest.TestCase): - """ApiV3SecretsSecretNamePatchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsSecretNamePatchRequest: - """Test ApiV3SecretsSecretNamePatchRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsSecretNamePatchRequest` - """ - model = ApiV3SecretsSecretNamePatchRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsSecretNamePatchRequest( - workspace_id = '', - environment = '', - secret_id = '', - type = 'shared', - secret_path = '/', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_repeat_days = 1, - secret_reminder_note = '', - tags = [ - '' - ], - skip_multiline_encoding = True, - secret_name = '', - secret_key_iv = '', - secret_key_tag = '', - secret_key_ciphertext = '', - metadata = { - 'key' : '' - } - ) - else: - return ApiV3SecretsSecretNamePatchRequest( - workspace_id = '', - environment = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - ) - """ - - def testApiV3SecretsSecretNamePatchRequest(self): - """Test ApiV3SecretsSecretNamePatchRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_secret_name_post200_response.py b/test/test_api_v3_secrets_secret_name_post200_response.py deleted file mode 100644 index b43cca2..0000000 --- a/test/test_api_v3_secrets_secret_name_post200_response.py +++ /dev/null @@ -1,131 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response import ApiV3SecretsSecretNamePost200Response # noqa: E501 - -class TestApiV3SecretsSecretNamePost200Response(unittest.TestCase): - """ApiV3SecretsSecretNamePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsSecretNamePost200Response: - """Test ApiV3SecretsSecretNamePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsSecretNamePost200Response` - """ - model = ApiV3SecretsSecretNamePost200Response() # noqa: E501 - if include_optional: - return ApiV3SecretsSecretNamePost200Response( - secret = infisicalapi_client.models._api_v3_secrets_get_200_response_imports_inner_secrets_inner._api_v3_secrets_get_200_response_imports_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - _id = '', - workspace = '', - environment = '', ), - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ) - ) - else: - return ApiV3SecretsSecretNamePost200Response( - secret = infisicalapi_client.models._api_v3_secrets_get_200_response_imports_inner_secrets_inner._api_v3_secrets_get_200_response_imports_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - _id = '', - workspace = '', - environment = '', ), - approval = infisicalapi_client.models._api_v1_secret_approval_requests__id__merge_post_200_response_approval._api_v1_secret_approval_requests__id__merge_post_200_response_approval( - id = '', - policy_id = '', - has_merged = True, - status = 'open', - conflicts = null, - slug = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_replicated = True, - committer_user_id = '', - status_changed_by_user_id = '', - bypass_reason = '', ), - ) - """ - - def testApiV3SecretsSecretNamePost200Response(self): - """Test ApiV3SecretsSecretNamePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_secret_name_post200_response_any_of.py b/test/test_api_v3_secrets_secret_name_post200_response_any_of.py deleted file mode 100644 index 091e979..0000000 --- a/test/test_api_v3_secrets_secret_name_post200_response_any_of.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_secret_name_post200_response_any_of import ApiV3SecretsSecretNamePost200ResponseAnyOf # noqa: E501 - -class TestApiV3SecretsSecretNamePost200ResponseAnyOf(unittest.TestCase): - """ApiV3SecretsSecretNamePost200ResponseAnyOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsSecretNamePost200ResponseAnyOf: - """Test ApiV3SecretsSecretNamePost200ResponseAnyOf - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsSecretNamePost200ResponseAnyOf` - """ - model = ApiV3SecretsSecretNamePost200ResponseAnyOf() # noqa: E501 - if include_optional: - return ApiV3SecretsSecretNamePost200ResponseAnyOf( - secret = infisicalapi_client.models._api_v3_secrets_get_200_response_imports_inner_secrets_inner._api_v3_secrets_get_200_response_imports_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - _id = '', - workspace = '', - environment = '', ) - ) - else: - return ApiV3SecretsSecretNamePost200ResponseAnyOf( - secret = infisicalapi_client.models._api_v3_secrets_get_200_response_imports_inner_secrets_inner._api_v3_secrets_get_200_response_imports_inner_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - _id = '', - workspace = '', - environment = '', ), - ) - """ - - def testApiV3SecretsSecretNamePost200ResponseAnyOf(self): - """Test ApiV3SecretsSecretNamePost200ResponseAnyOf""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_secret_name_post_request.py b/test/test_api_v3_secrets_secret_name_post_request.py deleted file mode 100644 index d360bc9..0000000 --- a/test/test_api_v3_secrets_secret_name_post_request.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_secret_name_post_request import ApiV3SecretsSecretNamePostRequest # noqa: E501 - -class TestApiV3SecretsSecretNamePostRequest(unittest.TestCase): - """ApiV3SecretsSecretNamePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsSecretNamePostRequest: - """Test ApiV3SecretsSecretNamePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsSecretNamePostRequest` - """ - model = ApiV3SecretsSecretNamePostRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsSecretNamePostRequest( - workspace_id = '', - environment = '', - type = 'shared', - secret_path = '/', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - metadata = { - 'key' : '' - }, - skip_multiline_encoding = True - ) - else: - return ApiV3SecretsSecretNamePostRequest( - workspace_id = '', - environment = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - ) - """ - - def testApiV3SecretsSecretNamePostRequest(self): - """Test ApiV3SecretsSecretNamePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_tags_secret_name_delete_request.py b/test/test_api_v3_secrets_tags_secret_name_delete_request.py deleted file mode 100644 index c09c8fb..0000000 --- a/test/test_api_v3_secrets_tags_secret_name_delete_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_delete_request import ApiV3SecretsTagsSecretNameDeleteRequest # noqa: E501 - -class TestApiV3SecretsTagsSecretNameDeleteRequest(unittest.TestCase): - """ApiV3SecretsTagsSecretNameDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsTagsSecretNameDeleteRequest: - """Test ApiV3SecretsTagsSecretNameDeleteRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsTagsSecretNameDeleteRequest` - """ - model = ApiV3SecretsTagsSecretNameDeleteRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsTagsSecretNameDeleteRequest( - project_slug = '', - environment = '', - secret_path = '/', - type = 'shared', - tag_slugs = [ - '' - ] - ) - else: - return ApiV3SecretsTagsSecretNameDeleteRequest( - project_slug = '', - environment = '', - tag_slugs = [ - '' - ], - ) - """ - - def testApiV3SecretsTagsSecretNameDeleteRequest(self): - """Test ApiV3SecretsTagsSecretNameDeleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_tags_secret_name_post200_response.py b/test/test_api_v3_secrets_tags_secret_name_post200_response.py deleted file mode 100644 index fb9715b..0000000 --- a/test/test_api_v3_secrets_tags_secret_name_post200_response.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response import ApiV3SecretsTagsSecretNamePost200Response # noqa: E501 - -class TestApiV3SecretsTagsSecretNamePost200Response(unittest.TestCase): - """ApiV3SecretsTagsSecretNamePost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsTagsSecretNamePost200Response: - """Test ApiV3SecretsTagsSecretNamePost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsTagsSecretNamePost200Response` - """ - model = ApiV3SecretsTagsSecretNamePost200Response() # noqa: E501 - if include_optional: - return ApiV3SecretsTagsSecretNamePost200Response( - secret = infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret._api_v3_secrets_tags__secretName__post_200_response_secret( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ], ) - ) - else: - return ApiV3SecretsTagsSecretNamePost200Response( - secret = infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret._api_v3_secrets_tags__secretName__post_200_response_secret( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ], ), - ) - """ - - def testApiV3SecretsTagsSecretNamePost200Response(self): - """Test ApiV3SecretsTagsSecretNamePost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_tags_secret_name_post200_response_secret.py b/test/test_api_v3_secrets_tags_secret_name_post200_response_secret.py deleted file mode 100644 index cbed3c3..0000000 --- a/test/test_api_v3_secrets_tags_secret_name_post200_response_secret.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret import ApiV3SecretsTagsSecretNamePost200ResponseSecret # noqa: E501 - -class TestApiV3SecretsTagsSecretNamePost200ResponseSecret(unittest.TestCase): - """ApiV3SecretsTagsSecretNamePost200ResponseSecret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsTagsSecretNamePost200ResponseSecret: - """Test ApiV3SecretsTagsSecretNamePost200ResponseSecret - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsTagsSecretNamePost200ResponseSecret` - """ - model = ApiV3SecretsTagsSecretNamePost200ResponseSecret() # noqa: E501 - if include_optional: - return ApiV3SecretsTagsSecretNamePost200ResponseSecret( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = None, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ] - ) - else: - return ApiV3SecretsTagsSecretNamePost200ResponseSecret( - id = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tags = [ - infisicalapi_client.models._api_v3_secrets_tags__secret_name__post_200_response_secret_tags_inner._api_v3_secrets_tags__secretName__post_200_response_secret_tags_inner( - id = '', - slug = '', - color = '', - name = '', ) - ], - ) - """ - - def testApiV3SecretsTagsSecretNamePost200ResponseSecret(self): - """Test ApiV3SecretsTagsSecretNamePost200ResponseSecret""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner.py b/test/test_api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner.py deleted file mode 100644 index 8ac5230..0000000 --- a/test/test_api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner import ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner # noqa: E501 - -class TestApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner(unittest.TestCase): - """ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner: - """Test ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner` - """ - model = ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner() # noqa: E501 - if include_optional: - return ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner( - id = '', - slug = '', - color = '', - name = '' - ) - else: - return ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner( - id = '', - slug = '', - name = '', - ) - """ - - def testApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner(self): - """Test ApiV3SecretsTagsSecretNamePost200ResponseSecretTagsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_secrets_tags_secret_name_post_request.py b/test/test_api_v3_secrets_tags_secret_name_post_request.py deleted file mode 100644 index e00c078..0000000 --- a/test/test_api_v3_secrets_tags_secret_name_post_request.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_secrets_tags_secret_name_post_request import ApiV3SecretsTagsSecretNamePostRequest # noqa: E501 - -class TestApiV3SecretsTagsSecretNamePostRequest(unittest.TestCase): - """ApiV3SecretsTagsSecretNamePostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SecretsTagsSecretNamePostRequest: - """Test ApiV3SecretsTagsSecretNamePostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SecretsTagsSecretNamePostRequest` - """ - model = ApiV3SecretsTagsSecretNamePostRequest() # noqa: E501 - if include_optional: - return ApiV3SecretsTagsSecretNamePostRequest( - project_slug = '', - environment = '', - secret_path = '/', - type = 'shared', - tag_slugs = [ - '' - ] - ) - else: - return ApiV3SecretsTagsSecretNamePostRequest( - project_slug = '', - environment = '', - tag_slugs = [ - '' - ], - ) - """ - - def testApiV3SecretsTagsSecretNamePostRequest(self): - """Test ApiV3SecretsTagsSecretNamePostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_signup_complete_account_signup_post200_response.py b/test/test_api_v3_signup_complete_account_signup_post200_response.py deleted file mode 100644 index 0dafa5e..0000000 --- a/test/test_api_v3_signup_complete_account_signup_post200_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post200_response import ApiV3SignupCompleteAccountSignupPost200Response # noqa: E501 - -class TestApiV3SignupCompleteAccountSignupPost200Response(unittest.TestCase): - """ApiV3SignupCompleteAccountSignupPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SignupCompleteAccountSignupPost200Response: - """Test ApiV3SignupCompleteAccountSignupPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SignupCompleteAccountSignupPost200Response` - """ - model = ApiV3SignupCompleteAccountSignupPost200Response() # noqa: E501 - if include_optional: - return ApiV3SignupCompleteAccountSignupPost200Response( - message = '', - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ), - token = '', - organization_id = '' - ) - else: - return ApiV3SignupCompleteAccountSignupPost200Response( - message = '', - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ), - token = '', - ) - """ - - def testApiV3SignupCompleteAccountSignupPost200Response(self): - """Test ApiV3SignupCompleteAccountSignupPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_signup_complete_account_signup_post_request.py b/test/test_api_v3_signup_complete_account_signup_post_request.py deleted file mode 100644 index fb049aa..0000000 --- a/test/test_api_v3_signup_complete_account_signup_post_request.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_signup_complete_account_signup_post_request import ApiV3SignupCompleteAccountSignupPostRequest # noqa: E501 - -class TestApiV3SignupCompleteAccountSignupPostRequest(unittest.TestCase): - """ApiV3SignupCompleteAccountSignupPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SignupCompleteAccountSignupPostRequest: - """Test ApiV3SignupCompleteAccountSignupPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SignupCompleteAccountSignupPostRequest` - """ - model = ApiV3SignupCompleteAccountSignupPostRequest() # noqa: E501 - if include_optional: - return ApiV3SignupCompleteAccountSignupPostRequest( - email = '', - first_name = '', - last_name = '', - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - encrypted_private_key_iv = '', - encrypted_private_key_tag = '', - salt = '', - verifier = '', - organization_name = '0', - provider_auth_token = '', - attribution_source = '', - password = '' - ) - else: - return ApiV3SignupCompleteAccountSignupPostRequest( - email = '', - first_name = '', - protected_key = '', - protected_key_iv = '', - protected_key_tag = '', - public_key = '', - encrypted_private_key = '', - encrypted_private_key_iv = '', - encrypted_private_key_tag = '', - salt = '', - verifier = '', - organization_name = '0', - password = '', - ) - """ - - def testApiV3SignupCompleteAccountSignupPostRequest(self): - """Test ApiV3SignupCompleteAccountSignupPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_signup_email_verify_post200_response.py b/test/test_api_v3_signup_email_verify_post200_response.py deleted file mode 100644 index 8dabbc5..0000000 --- a/test/test_api_v3_signup_email_verify_post200_response.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_signup_email_verify_post200_response import ApiV3SignupEmailVerifyPost200Response # noqa: E501 - -class TestApiV3SignupEmailVerifyPost200Response(unittest.TestCase): - """ApiV3SignupEmailVerifyPost200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3SignupEmailVerifyPost200Response: - """Test ApiV3SignupEmailVerifyPost200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3SignupEmailVerifyPost200Response` - """ - model = ApiV3SignupEmailVerifyPost200Response() # noqa: E501 - if include_optional: - return ApiV3SignupEmailVerifyPost200Response( - message = '', - token = '', - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ) - ) - else: - return ApiV3SignupEmailVerifyPost200Response( - message = '', - token = '', - user = infisicalapi_client.models._api_v1_password_email_password_reset_verify_post_200_response_user._api_v1_password_email_password_reset_verify_post_200_response_user( - id = '', - email = '', - auth_methods = [ - '' - ], - super_admin = True, - first_name = '', - last_name = '', - is_accepted = True, - is_mfa_enabled = True, - mfa_methods = [ - '' - ], - devices = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_ghost = True, - username = '', - is_email_verified = True, - consecutive_failed_mfa_attempts = 1.337, - is_locked = True, - temporary_lock_date_end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - consecutive_failed_password_attempts = 1.337, ), - ) - """ - - def testApiV3SignupEmailVerifyPost200Response(self): - """Test ApiV3SignupEmailVerifyPost200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_users_me_api_keys_get200_response.py b/test/test_api_v3_users_me_api_keys_get200_response.py deleted file mode 100644 index 79f151c..0000000 --- a/test/test_api_v3_users_me_api_keys_get200_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_users_me_api_keys_get200_response import ApiV3UsersMeApiKeysGet200Response # noqa: E501 - -class TestApiV3UsersMeApiKeysGet200Response(unittest.TestCase): - """ApiV3UsersMeApiKeysGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3UsersMeApiKeysGet200Response: - """Test ApiV3UsersMeApiKeysGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3UsersMeApiKeysGet200Response` - """ - model = ApiV3UsersMeApiKeysGet200Response() # noqa: E501 - if include_optional: - return ApiV3UsersMeApiKeysGet200Response( - api_key_data = [ - infisicalapi_client.models._api_v2_users_me_api_keys_get_200_response_inner._api_v2_users_me_api_keys_get_200_response_inner( - id = '', - name = '', - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ) - ] - ) - else: - return ApiV3UsersMeApiKeysGet200Response( - api_key_data = [ - infisicalapi_client.models._api_v2_users_me_api_keys_get_200_response_inner._api_v2_users_me_api_keys_get_200_response_inner( - id = '', - name = '', - last_used = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = '', ) - ], - ) - """ - - def testApiV3UsersMeApiKeysGet200Response(self): - """Test ApiV3UsersMeApiKeysGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_workspaces_project_id_secrets_get200_response.py b/test/test_api_v3_workspaces_project_id_secrets_get200_response.py deleted file mode 100644 index 5883cb5..0000000 --- a/test/test_api_v3_workspaces_project_id_secrets_get200_response.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response import ApiV3WorkspacesProjectIdSecretsGet200Response # noqa: E501 - -class TestApiV3WorkspacesProjectIdSecretsGet200Response(unittest.TestCase): - """ApiV3WorkspacesProjectIdSecretsGet200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3WorkspacesProjectIdSecretsGet200Response: - """Test ApiV3WorkspacesProjectIdSecretsGet200Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3WorkspacesProjectIdSecretsGet200Response` - """ - model = ApiV3WorkspacesProjectIdSecretsGet200Response() # noqa: E501 - if include_optional: - return ApiV3WorkspacesProjectIdSecretsGet200Response( - secrets = [ - infisicalapi_client.models._api_v3_workspaces__project_id__secrets_get_200_response_secrets_inner._api_v3_workspaces__projectId__secrets_get_200_response_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = '', - workspace = '', ) - ] - ) - else: - return ApiV3WorkspacesProjectIdSecretsGet200Response( - secrets = [ - infisicalapi_client.models._api_v3_workspaces__project_id__secrets_get_200_response_secrets_inner._api_v3_workspaces__projectId__secrets_get_200_response_secrets_inner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = null, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = '', - workspace = '', ) - ], - ) - """ - - def testApiV3WorkspacesProjectIdSecretsGet200Response(self): - """Test ApiV3WorkspacesProjectIdSecretsGet200Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_workspaces_project_id_secrets_get200_response_secrets_inner.py b/test/test_api_v3_workspaces_project_id_secrets_get200_response_secrets_inner.py deleted file mode 100644 index 26e616c..0000000 --- a/test/test_api_v3_workspaces_project_id_secrets_get200_response_secrets_inner.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_get200_response_secrets_inner import ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner # noqa: E501 - -class TestApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner(unittest.TestCase): - """ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner: - """Test ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner` - """ - model = ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner() # noqa: E501 - if include_optional: - return ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner( - id = '', - version = 1.337, - type = 'shared', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - secret_comment_ciphertext = '', - secret_comment_iv = '', - secret_comment_tag = '', - secret_reminder_note = '', - secret_reminder_repeat_days = 1.337, - skip_multiline_encoding = True, - algorithm = 'aes-256-gcm', - key_encoding = 'utf8', - metadata = None, - user_id = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = '', - workspace = '' - ) - else: - return ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner( - id = '', - secret_key_ciphertext = '', - secret_key_iv = '', - secret_key_tag = '', - secret_value_ciphertext = '', - secret_value_iv = '', - secret_value_tag = '', - folder_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - environment = '', - workspace = '', - ) - """ - - def testApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner(self): - """Test ApiV3WorkspacesProjectIdSecretsGet200ResponseSecretsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_workspaces_project_id_secrets_names_post_request.py b/test/test_api_v3_workspaces_project_id_secrets_names_post_request.py deleted file mode 100644 index e20352b..0000000 --- a/test/test_api_v3_workspaces_project_id_secrets_names_post_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request import ApiV3WorkspacesProjectIdSecretsNamesPostRequest # noqa: E501 - -class TestApiV3WorkspacesProjectIdSecretsNamesPostRequest(unittest.TestCase): - """ApiV3WorkspacesProjectIdSecretsNamesPostRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3WorkspacesProjectIdSecretsNamesPostRequest: - """Test ApiV3WorkspacesProjectIdSecretsNamesPostRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3WorkspacesProjectIdSecretsNamesPostRequest` - """ - model = ApiV3WorkspacesProjectIdSecretsNamesPostRequest() # noqa: E501 - if include_optional: - return ApiV3WorkspacesProjectIdSecretsNamesPostRequest( - secrets_to_update = [ - infisicalapi_client.models._api_v3_workspaces__project_id__secrets_names_post_request_secrets_to_update_inner._api_v3_workspaces__projectId__secrets_names_post_request_secretsToUpdate_inner( - secret_name = '', - secret_id = '', ) - ] - ) - else: - return ApiV3WorkspacesProjectIdSecretsNamesPostRequest( - secrets_to_update = [ - infisicalapi_client.models._api_v3_workspaces__project_id__secrets_names_post_request_secrets_to_update_inner._api_v3_workspaces__projectId__secrets_names_post_request_secretsToUpdate_inner( - secret_name = '', - secret_id = '', ) - ], - ) - """ - - def testApiV3WorkspacesProjectIdSecretsNamesPostRequest(self): - """Test ApiV3WorkspacesProjectIdSecretsNamesPostRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner.py b/test/test_api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner.py deleted file mode 100644 index 488c685..0000000 --- a/test/test_api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from infisicalapi_client.models.api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner import ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner # noqa: E501 - -class TestApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner(unittest.TestCase): - """ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner: - """Test ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner` - """ - model = ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner() # noqa: E501 - if include_optional: - return ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner( - secret_name = '', - secret_id = '' - ) - else: - return ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner( - secret_name = '', - secret_id = '', - ) - """ - - def testApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner(self): - """Test ApiV3WorkspacesProjectIdSecretsNamesPostRequestSecretsToUpdateInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_default_api.py b/test/test_default_api.py deleted file mode 100644 index 1b30ee9..0000000 --- a/test/test_default_api.py +++ /dev/null @@ -1,2551 +0,0 @@ -# coding: utf-8 - -""" - Infisical API - - List of all available APIs that can be consumed - - The version of the OpenAPI document: 0.0.1 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from infisicalapi_client.api.default_api import DefaultApi # noqa: E501 - - -class TestDefaultApi(unittest.TestCase): - """DefaultApi unit test stubs""" - - def setUp(self) -> None: - self.api = DefaultApi() # noqa: E501 - - def tearDown(self) -> None: - pass - - def test_api_status_get(self) -> None: - """Test case for api_status_get - - """ - pass - - def test_api_v1_access_approvals_policies_count_get(self) -> None: - """Test case for api_v1_access_approvals_policies_count_get - - """ - pass - - def test_api_v1_access_approvals_policies_get(self) -> None: - """Test case for api_v1_access_approvals_policies_get - - """ - pass - - def test_api_v1_access_approvals_policies_policy_id_delete(self) -> None: - """Test case for api_v1_access_approvals_policies_policy_id_delete - - """ - pass - - def test_api_v1_access_approvals_policies_policy_id_patch(self) -> None: - """Test case for api_v1_access_approvals_policies_policy_id_patch - - """ - pass - - def test_api_v1_access_approvals_policies_post(self) -> None: - """Test case for api_v1_access_approvals_policies_post - - """ - pass - - def test_api_v1_access_approvals_requests_count_get(self) -> None: - """Test case for api_v1_access_approvals_requests_count_get - - """ - pass - - def test_api_v1_access_approvals_requests_get(self) -> None: - """Test case for api_v1_access_approvals_requests_get - - """ - pass - - def test_api_v1_access_approvals_requests_post(self) -> None: - """Test case for api_v1_access_approvals_requests_post - - """ - pass - - def test_api_v1_access_approvals_requests_request_id_review_post(self) -> None: - """Test case for api_v1_access_approvals_requests_request_id_review_post - - """ - pass - - def test_api_v1_additional_privilege_identity_delete(self) -> None: - """Test case for api_v1_additional_privilege_identity_delete - - """ - pass - - def test_api_v1_additional_privilege_identity_get(self) -> None: - """Test case for api_v1_additional_privilege_identity_get - - """ - pass - - def test_api_v1_additional_privilege_identity_patch(self) -> None: - """Test case for api_v1_additional_privilege_identity_patch - - """ - pass - - def test_api_v1_additional_privilege_identity_permanent_post(self) -> None: - """Test case for api_v1_additional_privilege_identity_permanent_post - - """ - pass - - def test_api_v1_additional_privilege_identity_privilege_slug_get(self) -> None: - """Test case for api_v1_additional_privilege_identity_privilege_slug_get - - """ - pass - - def test_api_v1_additional_privilege_identity_temporary_post(self) -> None: - """Test case for api_v1_additional_privilege_identity_temporary_post - - """ - pass - - def test_api_v1_additional_privilege_users_get(self) -> None: - """Test case for api_v1_additional_privilege_users_get - - """ - pass - - def test_api_v1_additional_privilege_users_permanent_post(self) -> None: - """Test case for api_v1_additional_privilege_users_permanent_post - - """ - pass - - def test_api_v1_additional_privilege_users_privilege_id_delete(self) -> None: - """Test case for api_v1_additional_privilege_users_privilege_id_delete - - """ - pass - - def test_api_v1_additional_privilege_users_privilege_id_get(self) -> None: - """Test case for api_v1_additional_privilege_users_privilege_id_get - - """ - pass - - def test_api_v1_additional_privilege_users_privilege_id_patch(self) -> None: - """Test case for api_v1_additional_privilege_users_privilege_id_patch - - """ - pass - - def test_api_v1_additional_privilege_users_temporary_post(self) -> None: - """Test case for api_v1_additional_privilege_users_temporary_post - - """ - pass - - def test_api_v1_admin_config_get(self) -> None: - """Test case for api_v1_admin_config_get - - """ - pass - - def test_api_v1_admin_config_patch(self) -> None: - """Test case for api_v1_admin_config_patch - - """ - pass - - def test_api_v1_admin_signup_post(self) -> None: - """Test case for api_v1_admin_signup_post - - """ - pass - - def test_api_v1_admin_user_management_users_get(self) -> None: - """Test case for api_v1_admin_user_management_users_get - - """ - pass - - def test_api_v1_admin_user_management_users_user_id_delete(self) -> None: - """Test case for api_v1_admin_user_management_users_user_id_delete - - """ - pass - - def test_api_v1_audit_log_streams_get(self) -> None: - """Test case for api_v1_audit_log_streams_get - - """ - pass - - def test_api_v1_audit_log_streams_id_delete(self) -> None: - """Test case for api_v1_audit_log_streams_id_delete - - """ - pass - - def test_api_v1_audit_log_streams_id_get(self) -> None: - """Test case for api_v1_audit_log_streams_id_get - - """ - pass - - def test_api_v1_audit_log_streams_id_patch(self) -> None: - """Test case for api_v1_audit_log_streams_id_patch - - """ - pass - - def test_api_v1_audit_log_streams_post(self) -> None: - """Test case for api_v1_audit_log_streams_post - - """ - pass - - def test_api_v1_auth_aws_auth_identities_identity_id_delete(self) -> None: - """Test case for api_v1_auth_aws_auth_identities_identity_id_delete - - """ - pass - - def test_api_v1_auth_aws_auth_identities_identity_id_get(self) -> None: - """Test case for api_v1_auth_aws_auth_identities_identity_id_get - - """ - pass - - def test_api_v1_auth_aws_auth_identities_identity_id_patch(self) -> None: - """Test case for api_v1_auth_aws_auth_identities_identity_id_patch - - """ - pass - - def test_api_v1_auth_aws_auth_identities_identity_id_post(self) -> None: - """Test case for api_v1_auth_aws_auth_identities_identity_id_post - - """ - pass - - def test_api_v1_auth_aws_auth_login_post(self) -> None: - """Test case for api_v1_auth_aws_auth_login_post - - """ - pass - - def test_api_v1_auth_azure_auth_identities_identity_id_delete(self) -> None: - """Test case for api_v1_auth_azure_auth_identities_identity_id_delete - - """ - pass - - def test_api_v1_auth_azure_auth_identities_identity_id_get(self) -> None: - """Test case for api_v1_auth_azure_auth_identities_identity_id_get - - """ - pass - - def test_api_v1_auth_azure_auth_identities_identity_id_patch(self) -> None: - """Test case for api_v1_auth_azure_auth_identities_identity_id_patch - - """ - pass - - def test_api_v1_auth_azure_auth_identities_identity_id_post(self) -> None: - """Test case for api_v1_auth_azure_auth_identities_identity_id_post - - """ - pass - - def test_api_v1_auth_azure_auth_login_post(self) -> None: - """Test case for api_v1_auth_azure_auth_login_post - - """ - pass - - def test_api_v1_auth_check_auth_post(self) -> None: - """Test case for api_v1_auth_check_auth_post - - """ - pass - - def test_api_v1_auth_gcp_auth_identities_identity_id_delete(self) -> None: - """Test case for api_v1_auth_gcp_auth_identities_identity_id_delete - - """ - pass - - def test_api_v1_auth_gcp_auth_identities_identity_id_get(self) -> None: - """Test case for api_v1_auth_gcp_auth_identities_identity_id_get - - """ - pass - - def test_api_v1_auth_gcp_auth_identities_identity_id_patch(self) -> None: - """Test case for api_v1_auth_gcp_auth_identities_identity_id_patch - - """ - pass - - def test_api_v1_auth_gcp_auth_identities_identity_id_post(self) -> None: - """Test case for api_v1_auth_gcp_auth_identities_identity_id_post - - """ - pass - - def test_api_v1_auth_gcp_auth_login_post(self) -> None: - """Test case for api_v1_auth_gcp_auth_login_post - - """ - pass - - def test_api_v1_auth_kubernetes_auth_identities_identity_id_delete(self) -> None: - """Test case for api_v1_auth_kubernetes_auth_identities_identity_id_delete - - """ - pass - - def test_api_v1_auth_kubernetes_auth_identities_identity_id_get(self) -> None: - """Test case for api_v1_auth_kubernetes_auth_identities_identity_id_get - - """ - pass - - def test_api_v1_auth_kubernetes_auth_identities_identity_id_patch(self) -> None: - """Test case for api_v1_auth_kubernetes_auth_identities_identity_id_patch - - """ - pass - - def test_api_v1_auth_kubernetes_auth_identities_identity_id_post(self) -> None: - """Test case for api_v1_auth_kubernetes_auth_identities_identity_id_post - - """ - pass - - def test_api_v1_auth_kubernetes_auth_login_post(self) -> None: - """Test case for api_v1_auth_kubernetes_auth_login_post - - """ - pass - - def test_api_v1_auth_logout_post(self) -> None: - """Test case for api_v1_auth_logout_post - - """ - pass - - def test_api_v1_auth_oidc_auth_identities_identity_id_delete(self) -> None: - """Test case for api_v1_auth_oidc_auth_identities_identity_id_delete - - """ - pass - - def test_api_v1_auth_oidc_auth_identities_identity_id_get(self) -> None: - """Test case for api_v1_auth_oidc_auth_identities_identity_id_get - - """ - pass - - def test_api_v1_auth_oidc_auth_identities_identity_id_patch(self) -> None: - """Test case for api_v1_auth_oidc_auth_identities_identity_id_patch - - """ - pass - - def test_api_v1_auth_oidc_auth_identities_identity_id_post(self) -> None: - """Test case for api_v1_auth_oidc_auth_identities_identity_id_post - - """ - pass - - def test_api_v1_auth_oidc_auth_login_post(self) -> None: - """Test case for api_v1_auth_oidc_auth_login_post - - """ - pass - - def test_api_v1_auth_token_auth_identities_identity_id_delete(self) -> None: - """Test case for api_v1_auth_token_auth_identities_identity_id_delete - - """ - pass - - def test_api_v1_auth_token_auth_identities_identity_id_get(self) -> None: - """Test case for api_v1_auth_token_auth_identities_identity_id_get - - """ - pass - - def test_api_v1_auth_token_auth_identities_identity_id_patch(self) -> None: - """Test case for api_v1_auth_token_auth_identities_identity_id_patch - - """ - pass - - def test_api_v1_auth_token_auth_identities_identity_id_post(self) -> None: - """Test case for api_v1_auth_token_auth_identities_identity_id_post - - """ - pass - - def test_api_v1_auth_token_auth_identities_identity_id_tokens_get(self) -> None: - """Test case for api_v1_auth_token_auth_identities_identity_id_tokens_get - - """ - pass - - def test_api_v1_auth_token_auth_identities_identity_id_tokens_post(self) -> None: - """Test case for api_v1_auth_token_auth_identities_identity_id_tokens_post - - """ - pass - - def test_api_v1_auth_token_auth_tokens_token_id_patch(self) -> None: - """Test case for api_v1_auth_token_auth_tokens_token_id_patch - - """ - pass - - def test_api_v1_auth_token_auth_tokens_token_id_revoke_post(self) -> None: - """Test case for api_v1_auth_token_auth_tokens_token_id_revoke_post - - """ - pass - - def test_api_v1_auth_token_post(self) -> None: - """Test case for api_v1_auth_token_post - - """ - pass - - def test_api_v1_auth_token_renew_post(self) -> None: - """Test case for api_v1_auth_token_renew_post - - """ - pass - - def test_api_v1_auth_token_revoke_post(self) -> None: - """Test case for api_v1_auth_token_revoke_post - - """ - pass - - def test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get(self) -> None: - """Test case for api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get - - """ - pass - - def test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post(self) -> None: - """Test case for api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_revoke_post - - """ - pass - - def test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_get(self) -> None: - """Test case for api_v1_auth_universal_auth_identities_identity_id_client_secrets_get - - """ - pass - - def test_api_v1_auth_universal_auth_identities_identity_id_client_secrets_post(self) -> None: - """Test case for api_v1_auth_universal_auth_identities_identity_id_client_secrets_post - - """ - pass - - def test_api_v1_auth_universal_auth_identities_identity_id_delete(self) -> None: - """Test case for api_v1_auth_universal_auth_identities_identity_id_delete - - """ - pass - - def test_api_v1_auth_universal_auth_identities_identity_id_get(self) -> None: - """Test case for api_v1_auth_universal_auth_identities_identity_id_get - - """ - pass - - def test_api_v1_auth_universal_auth_identities_identity_id_patch(self) -> None: - """Test case for api_v1_auth_universal_auth_identities_identity_id_patch - - """ - pass - - def test_api_v1_auth_universal_auth_identities_identity_id_post(self) -> None: - """Test case for api_v1_auth_universal_auth_identities_identity_id_post - - """ - pass - - def test_api_v1_auth_universal_auth_login_post(self) -> None: - """Test case for api_v1_auth_universal_auth_login_post - - """ - pass - - def test_api_v1_bot_bot_id_active_patch(self) -> None: - """Test case for api_v1_bot_bot_id_active_patch - - """ - pass - - def test_api_v1_bot_project_id_get(self) -> None: - """Test case for api_v1_bot_project_id_get - - """ - pass - - def test_api_v1_dynamic_secrets_get(self) -> None: - """Test case for api_v1_dynamic_secrets_get - - """ - pass - - def test_api_v1_dynamic_secrets_leases_lease_id_delete(self) -> None: - """Test case for api_v1_dynamic_secrets_leases_lease_id_delete - - """ - pass - - def test_api_v1_dynamic_secrets_leases_lease_id_get(self) -> None: - """Test case for api_v1_dynamic_secrets_leases_lease_id_get - - """ - pass - - def test_api_v1_dynamic_secrets_leases_lease_id_renew_post(self) -> None: - """Test case for api_v1_dynamic_secrets_leases_lease_id_renew_post - - """ - pass - - def test_api_v1_dynamic_secrets_leases_post(self) -> None: - """Test case for api_v1_dynamic_secrets_leases_post - - """ - pass - - def test_api_v1_dynamic_secrets_name_delete(self) -> None: - """Test case for api_v1_dynamic_secrets_name_delete - - """ - pass - - def test_api_v1_dynamic_secrets_name_get(self) -> None: - """Test case for api_v1_dynamic_secrets_name_get - - """ - pass - - def test_api_v1_dynamic_secrets_name_leases_get(self) -> None: - """Test case for api_v1_dynamic_secrets_name_leases_get - - """ - pass - - def test_api_v1_dynamic_secrets_name_patch(self) -> None: - """Test case for api_v1_dynamic_secrets_name_patch - - """ - pass - - def test_api_v1_dynamic_secrets_post(self) -> None: - """Test case for api_v1_dynamic_secrets_post - - """ - pass - - def test_api_v1_external_kms_get(self) -> None: - """Test case for api_v1_external_kms_get - - """ - pass - - def test_api_v1_external_kms_id_delete(self) -> None: - """Test case for api_v1_external_kms_id_delete - - """ - pass - - def test_api_v1_external_kms_id_get(self) -> None: - """Test case for api_v1_external_kms_id_get - - """ - pass - - def test_api_v1_external_kms_id_patch(self) -> None: - """Test case for api_v1_external_kms_id_patch - - """ - pass - - def test_api_v1_external_kms_post(self) -> None: - """Test case for api_v1_external_kms_post - - """ - pass - - def test_api_v1_external_kms_slug_slug_get(self) -> None: - """Test case for api_v1_external_kms_slug_slug_get - - """ - pass - - def test_api_v1_folders_batch_patch(self) -> None: - """Test case for api_v1_folders_batch_patch - - """ - pass - - def test_api_v1_folders_folder_id_or_name_delete(self) -> None: - """Test case for api_v1_folders_folder_id_or_name_delete - - """ - pass - - def test_api_v1_folders_folder_id_patch(self) -> None: - """Test case for api_v1_folders_folder_id_patch - - """ - pass - - def test_api_v1_folders_get(self) -> None: - """Test case for api_v1_folders_get - - """ - pass - - def test_api_v1_folders_id_get(self) -> None: - """Test case for api_v1_folders_id_get - - """ - pass - - def test_api_v1_folders_post(self) -> None: - """Test case for api_v1_folders_post - - """ - pass - - def test_api_v1_groups_current_slug_patch(self) -> None: - """Test case for api_v1_groups_current_slug_patch - - """ - pass - - def test_api_v1_groups_post(self) -> None: - """Test case for api_v1_groups_post - - """ - pass - - def test_api_v1_groups_slug_delete(self) -> None: - """Test case for api_v1_groups_slug_delete - - """ - pass - - def test_api_v1_groups_slug_users_get(self) -> None: - """Test case for api_v1_groups_slug_users_get - - """ - pass - - def test_api_v1_groups_slug_users_username_delete(self) -> None: - """Test case for api_v1_groups_slug_users_username_delete - - """ - pass - - def test_api_v1_groups_slug_users_username_post(self) -> None: - """Test case for api_v1_groups_slug_users_username_post - - """ - pass - - def test_api_v1_identities_get(self) -> None: - """Test case for api_v1_identities_get - - """ - pass - - def test_api_v1_identities_identity_id_delete(self) -> None: - """Test case for api_v1_identities_identity_id_delete - - """ - pass - - def test_api_v1_identities_identity_id_get(self) -> None: - """Test case for api_v1_identities_identity_id_get - - """ - pass - - def test_api_v1_identities_identity_id_identity_memberships_get(self) -> None: - """Test case for api_v1_identities_identity_id_identity_memberships_get - - """ - pass - - def test_api_v1_identities_identity_id_patch(self) -> None: - """Test case for api_v1_identities_identity_id_patch - - """ - pass - - def test_api_v1_identities_post(self) -> None: - """Test case for api_v1_identities_post - - """ - pass - - def test_api_v1_integration_auth_access_token_post(self) -> None: - """Test case for api_v1_integration_auth_access_token_post - - """ - pass - - def test_api_v1_integration_auth_delete(self) -> None: - """Test case for api_v1_integration_auth_delete - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_apps_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_apps_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_checkly_groups_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_checkly_groups_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_delete(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_delete - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_github_envs_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_github_envs_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_github_orgs_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_github_orgs_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_heroku_pipelines_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_heroku_pipelines_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_qovery_apps_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_qovery_apps_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_qovery_containers_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_qovery_containers_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_qovery_environments_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_qovery_environments_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_qovery_jobs_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_qovery_jobs_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_qovery_orgs_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_qovery_orgs_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_qovery_projects_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_qovery_projects_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_railway_environments_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_railway_environments_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_railway_services_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_railway_services_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_teams_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_teams_get - - """ - pass - - def test_api_v1_integration_auth_integration_auth_id_vercel_branches_get(self) -> None: - """Test case for api_v1_integration_auth_integration_auth_id_vercel_branches_get - - """ - pass - - def test_api_v1_integration_auth_integration_options_get(self) -> None: - """Test case for api_v1_integration_auth_integration_options_get - - """ - pass - - def test_api_v1_integration_auth_oauth_token_post(self) -> None: - """Test case for api_v1_integration_auth_oauth_token_post - - """ - pass - - def test_api_v1_integration_integration_id_delete(self) -> None: - """Test case for api_v1_integration_integration_id_delete - - """ - pass - - def test_api_v1_integration_integration_id_patch(self) -> None: - """Test case for api_v1_integration_integration_id_patch - - """ - pass - - def test_api_v1_integration_integration_id_sync_post(self) -> None: - """Test case for api_v1_integration_integration_id_sync_post - - """ - pass - - def test_api_v1_integration_post(self) -> None: - """Test case for api_v1_integration_post - - """ - pass - - def test_api_v1_invite_org_signup_post(self) -> None: - """Test case for api_v1_invite_org_signup_post - - """ - pass - - def test_api_v1_invite_org_verify_post(self) -> None: - """Test case for api_v1_invite_org_verify_post - - """ - pass - - def test_api_v1_ldap_config_config_id_group_maps_get(self) -> None: - """Test case for api_v1_ldap_config_config_id_group_maps_get - - """ - pass - - def test_api_v1_ldap_config_config_id_group_maps_group_map_id_delete(self) -> None: - """Test case for api_v1_ldap_config_config_id_group_maps_group_map_id_delete - - """ - pass - - def test_api_v1_ldap_config_config_id_group_maps_post(self) -> None: - """Test case for api_v1_ldap_config_config_id_group_maps_post - - """ - pass - - def test_api_v1_ldap_config_config_id_test_connection_post(self) -> None: - """Test case for api_v1_ldap_config_config_id_test_connection_post - - """ - pass - - def test_api_v1_ldap_config_get(self) -> None: - """Test case for api_v1_ldap_config_get - - """ - pass - - def test_api_v1_ldap_config_patch(self) -> None: - """Test case for api_v1_ldap_config_patch - - """ - pass - - def test_api_v1_ldap_config_post(self) -> None: - """Test case for api_v1_ldap_config_post - - """ - pass - - def test_api_v1_ldap_login_post(self) -> None: - """Test case for api_v1_ldap_login_post - - """ - pass - - def test_api_v1_organization_admin_projects_get(self) -> None: - """Test case for api_v1_organization_admin_projects_get - - """ - pass - - def test_api_v1_organization_admin_projects_project_id_grant_admin_access_post(self) -> None: - """Test case for api_v1_organization_admin_projects_project_id_grant_admin_access_post - - """ - pass - - def test_api_v1_organization_get(self) -> None: - """Test case for api_v1_organization_get - - """ - pass - - def test_api_v1_organization_organization_id_get(self) -> None: - """Test case for api_v1_organization_organization_id_get - - """ - pass - - def test_api_v1_organization_organization_id_groups_get(self) -> None: - """Test case for api_v1_organization_organization_id_groups_get - - """ - pass - - def test_api_v1_organization_organization_id_incident_contact_org_get(self) -> None: - """Test case for api_v1_organization_organization_id_incident_contact_org_get - - """ - pass - - def test_api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete(self) -> None: - """Test case for api_v1_organization_organization_id_incident_contact_org_incident_contact_id_delete - - """ - pass - - def test_api_v1_organization_organization_id_incident_contact_org_post(self) -> None: - """Test case for api_v1_organization_organization_id_incident_contact_org_post - - """ - pass - - def test_api_v1_organization_organization_id_patch(self) -> None: - """Test case for api_v1_organization_organization_id_patch - - """ - pass - - def test_api_v1_organization_organization_id_permissions_get(self) -> None: - """Test case for api_v1_organization_organization_id_permissions_get - - """ - pass - - def test_api_v1_organization_organization_id_roles_get(self) -> None: - """Test case for api_v1_organization_organization_id_roles_get - - """ - pass - - def test_api_v1_organization_organization_id_roles_post(self) -> None: - """Test case for api_v1_organization_organization_id_roles_post - - """ - pass - - def test_api_v1_organization_organization_id_roles_role_id_delete(self) -> None: - """Test case for api_v1_organization_organization_id_roles_role_id_delete - - """ - pass - - def test_api_v1_organization_organization_id_roles_role_id_get(self) -> None: - """Test case for api_v1_organization_organization_id_roles_role_id_get - - """ - pass - - def test_api_v1_organization_organization_id_roles_role_id_patch(self) -> None: - """Test case for api_v1_organization_organization_id_roles_role_id_patch - - """ - pass - - def test_api_v1_organization_organization_id_users_get(self) -> None: - """Test case for api_v1_organization_organization_id_users_get - - """ - pass - - def test_api_v1_organizations_organization_id_billing_details_get(self) -> None: - """Test case for api_v1_organizations_organization_id_billing_details_get - - """ - pass - - def test_api_v1_organizations_organization_id_billing_details_patch(self) -> None: - """Test case for api_v1_organizations_organization_id_billing_details_patch - - """ - pass - - def test_api_v1_organizations_organization_id_billing_details_payment_methods_get(self) -> None: - """Test case for api_v1_organizations_organization_id_billing_details_payment_methods_get - - """ - pass - - def test_api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete(self) -> None: - """Test case for api_v1_organizations_organization_id_billing_details_payment_methods_pmt_method_id_delete - - """ - pass - - def test_api_v1_organizations_organization_id_billing_details_payment_methods_post(self) -> None: - """Test case for api_v1_organizations_organization_id_billing_details_payment_methods_post - - """ - pass - - def test_api_v1_organizations_organization_id_billing_details_tax_ids_get(self) -> None: - """Test case for api_v1_organizations_organization_id_billing_details_tax_ids_get - - """ - pass - - def test_api_v1_organizations_organization_id_billing_details_tax_ids_post(self) -> None: - """Test case for api_v1_organizations_organization_id_billing_details_tax_ids_post - - """ - pass - - def test_api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete(self) -> None: - """Test case for api_v1_organizations_organization_id_billing_details_tax_ids_tax_id_delete - - """ - pass - - def test_api_v1_organizations_organization_id_customer_portal_session_post(self) -> None: - """Test case for api_v1_organizations_organization_id_customer_portal_session_post - - """ - pass - - def test_api_v1_organizations_organization_id_invoices_get(self) -> None: - """Test case for api_v1_organizations_organization_id_invoices_get - - """ - pass - - def test_api_v1_organizations_organization_id_licenses_get(self) -> None: - """Test case for api_v1_organizations_organization_id_licenses_get - - """ - pass - - def test_api_v1_organizations_organization_id_plan_billing_get(self) -> None: - """Test case for api_v1_organizations_organization_id_plan_billing_get - - """ - pass - - def test_api_v1_organizations_organization_id_plan_get(self) -> None: - """Test case for api_v1_organizations_organization_id_plan_get - - """ - pass - - def test_api_v1_organizations_organization_id_plan_table_get(self) -> None: - """Test case for api_v1_organizations_organization_id_plan_table_get - - """ - pass - - def test_api_v1_organizations_organization_id_plans_get(self) -> None: - """Test case for api_v1_organizations_organization_id_plans_get - - """ - pass - - def test_api_v1_organizations_organization_id_plans_table_get(self) -> None: - """Test case for api_v1_organizations_organization_id_plans_table_get - - """ - pass - - def test_api_v1_organizations_organization_id_session_trial_post(self) -> None: - """Test case for api_v1_organizations_organization_id_session_trial_post - - """ - pass - - def test_api_v1_password_backup_private_key_get(self) -> None: - """Test case for api_v1_password_backup_private_key_get - - """ - pass - - def test_api_v1_password_backup_private_key_post(self) -> None: - """Test case for api_v1_password_backup_private_key_post - - """ - pass - - def test_api_v1_password_change_password_post(self) -> None: - """Test case for api_v1_password_change_password_post - - """ - pass - - def test_api_v1_password_email_password_reset_post(self) -> None: - """Test case for api_v1_password_email_password_reset_post - - """ - pass - - def test_api_v1_password_email_password_reset_verify_post(self) -> None: - """Test case for api_v1_password_email_password_reset_verify_post - - """ - pass - - def test_api_v1_password_password_reset_post(self) -> None: - """Test case for api_v1_password_password_reset_post - - """ - pass - - def test_api_v1_password_srp1_post(self) -> None: - """Test case for api_v1_password_srp1_post - - """ - pass - - def test_api_v1_pki_ca_ca_id_certificate_get(self) -> None: - """Test case for api_v1_pki_ca_ca_id_certificate_get - - """ - pass - - def test_api_v1_pki_ca_ca_id_crl_get(self) -> None: - """Test case for api_v1_pki_ca_ca_id_crl_get - - """ - pass - - def test_api_v1_pki_ca_ca_id_csr_get(self) -> None: - """Test case for api_v1_pki_ca_ca_id_csr_get - - """ - pass - - def test_api_v1_pki_ca_ca_id_delete(self) -> None: - """Test case for api_v1_pki_ca_ca_id_delete - - """ - pass - - def test_api_v1_pki_ca_ca_id_get(self) -> None: - """Test case for api_v1_pki_ca_ca_id_get - - """ - pass - - def test_api_v1_pki_ca_ca_id_import_certificate_post(self) -> None: - """Test case for api_v1_pki_ca_ca_id_import_certificate_post - - """ - pass - - def test_api_v1_pki_ca_ca_id_issue_certificate_post(self) -> None: - """Test case for api_v1_pki_ca_ca_id_issue_certificate_post - - """ - pass - - def test_api_v1_pki_ca_ca_id_patch(self) -> None: - """Test case for api_v1_pki_ca_ca_id_patch - - """ - pass - - def test_api_v1_pki_ca_ca_id_sign_certificate_post(self) -> None: - """Test case for api_v1_pki_ca_ca_id_sign_certificate_post - - """ - pass - - def test_api_v1_pki_ca_ca_id_sign_intermediate_post(self) -> None: - """Test case for api_v1_pki_ca_ca_id_sign_intermediate_post - - """ - pass - - def test_api_v1_pki_ca_post(self) -> None: - """Test case for api_v1_pki_ca_post - - """ - pass - - def test_api_v1_pki_certificates_serial_number_certificate_get(self) -> None: - """Test case for api_v1_pki_certificates_serial_number_certificate_get - - """ - pass - - def test_api_v1_pki_certificates_serial_number_delete(self) -> None: - """Test case for api_v1_pki_certificates_serial_number_delete - - """ - pass - - def test_api_v1_pki_certificates_serial_number_get(self) -> None: - """Test case for api_v1_pki_certificates_serial_number_get - - """ - pass - - def test_api_v1_pki_certificates_serial_number_revoke_post(self) -> None: - """Test case for api_v1_pki_certificates_serial_number_revoke_post - - """ - pass - - def test_api_v1_rate_limit_get(self) -> None: - """Test case for api_v1_rate_limit_get - - """ - pass - - def test_api_v1_rate_limit_put(self) -> None: - """Test case for api_v1_rate_limit_put - - """ - pass - - def test_api_v1_scim_groups_get(self) -> None: - """Test case for api_v1_scim_groups_get - - """ - pass - - def test_api_v1_scim_groups_group_id_delete(self) -> None: - """Test case for api_v1_scim_groups_group_id_delete - - """ - pass - - def test_api_v1_scim_groups_group_id_get(self) -> None: - """Test case for api_v1_scim_groups_group_id_get - - """ - pass - - def test_api_v1_scim_groups_group_id_patch(self) -> None: - """Test case for api_v1_scim_groups_group_id_patch - - """ - pass - - def test_api_v1_scim_groups_group_id_put(self) -> None: - """Test case for api_v1_scim_groups_group_id_put - - """ - pass - - def test_api_v1_scim_groups_post(self) -> None: - """Test case for api_v1_scim_groups_post - - """ - pass - - def test_api_v1_scim_scim_tokens_get(self) -> None: - """Test case for api_v1_scim_scim_tokens_get - - """ - pass - - def test_api_v1_scim_scim_tokens_post(self) -> None: - """Test case for api_v1_scim_scim_tokens_post - - """ - pass - - def test_api_v1_scim_scim_tokens_scim_token_id_delete(self) -> None: - """Test case for api_v1_scim_scim_tokens_scim_token_id_delete - - """ - pass - - def test_api_v1_scim_users_get(self) -> None: - """Test case for api_v1_scim_users_get - - """ - pass - - def test_api_v1_scim_users_org_membership_id_delete(self) -> None: - """Test case for api_v1_scim_users_org_membership_id_delete - - """ - pass - - def test_api_v1_scim_users_org_membership_id_get(self) -> None: - """Test case for api_v1_scim_users_org_membership_id_get - - """ - pass - - def test_api_v1_scim_users_org_membership_id_put(self) -> None: - """Test case for api_v1_scim_users_org_membership_id_put - - """ - pass - - def test_api_v1_scim_users_post(self) -> None: - """Test case for api_v1_scim_users_post - - """ - pass - - def test_api_v1_secret_approval_requests_count_get(self) -> None: - """Test case for api_v1_secret_approval_requests_count_get - - """ - pass - - def test_api_v1_secret_approval_requests_get(self) -> None: - """Test case for api_v1_secret_approval_requests_get - - """ - pass - - def test_api_v1_secret_approval_requests_id_get(self) -> None: - """Test case for api_v1_secret_approval_requests_id_get - - """ - pass - - def test_api_v1_secret_approval_requests_id_merge_post(self) -> None: - """Test case for api_v1_secret_approval_requests_id_merge_post - - """ - pass - - def test_api_v1_secret_approval_requests_id_review_post(self) -> None: - """Test case for api_v1_secret_approval_requests_id_review_post - - """ - pass - - def test_api_v1_secret_approval_requests_id_status_post(self) -> None: - """Test case for api_v1_secret_approval_requests_id_status_post - - """ - pass - - def test_api_v1_secret_approvals_board_get(self) -> None: - """Test case for api_v1_secret_approvals_board_get - - """ - pass - - def test_api_v1_secret_approvals_get(self) -> None: - """Test case for api_v1_secret_approvals_get - - """ - pass - - def test_api_v1_secret_approvals_post(self) -> None: - """Test case for api_v1_secret_approvals_post - - """ - pass - - def test_api_v1_secret_approvals_sap_id_delete(self) -> None: - """Test case for api_v1_secret_approvals_sap_id_delete - - """ - pass - - def test_api_v1_secret_approvals_sap_id_patch(self) -> None: - """Test case for api_v1_secret_approvals_sap_id_patch - - """ - pass - - def test_api_v1_secret_imports_get(self) -> None: - """Test case for api_v1_secret_imports_get - - """ - pass - - def test_api_v1_secret_imports_post(self) -> None: - """Test case for api_v1_secret_imports_post - - """ - pass - - def test_api_v1_secret_imports_secret_import_id_delete(self) -> None: - """Test case for api_v1_secret_imports_secret_import_id_delete - - """ - pass - - def test_api_v1_secret_imports_secret_import_id_patch(self) -> None: - """Test case for api_v1_secret_imports_secret_import_id_patch - - """ - pass - - def test_api_v1_secret_imports_secret_import_id_replication_resync_post(self) -> None: - """Test case for api_v1_secret_imports_secret_import_id_replication_resync_post - - """ - pass - - def test_api_v1_secret_imports_secrets_get(self) -> None: - """Test case for api_v1_secret_imports_secrets_get - - """ - pass - - def test_api_v1_secret_imports_secrets_raw_get(self) -> None: - """Test case for api_v1_secret_imports_secrets_raw_get - - """ - pass - - def test_api_v1_secret_rotation_providers_workspace_id_get(self) -> None: - """Test case for api_v1_secret_rotation_providers_workspace_id_get - - """ - pass - - def test_api_v1_secret_rotations_get(self) -> None: - """Test case for api_v1_secret_rotations_get - - """ - pass - - def test_api_v1_secret_rotations_id_delete(self) -> None: - """Test case for api_v1_secret_rotations_id_delete - - """ - pass - - def test_api_v1_secret_rotations_post(self) -> None: - """Test case for api_v1_secret_rotations_post - - """ - pass - - def test_api_v1_secret_rotations_restart_post(self) -> None: - """Test case for api_v1_secret_rotations_restart_post - - """ - pass - - def test_api_v1_secret_scanning_create_installation_session_organization_post(self) -> None: - """Test case for api_v1_secret_scanning_create_installation_session_organization_post - - """ - pass - - def test_api_v1_secret_scanning_installation_status_organization_organization_id_get(self) -> None: - """Test case for api_v1_secret_scanning_installation_status_organization_organization_id_get - - """ - pass - - def test_api_v1_secret_scanning_link_installation_post(self) -> None: - """Test case for api_v1_secret_scanning_link_installation_post - - """ - pass - - def test_api_v1_secret_scanning_organization_organization_id_risks_get(self) -> None: - """Test case for api_v1_secret_scanning_organization_organization_id_risks_get - - """ - pass - - def test_api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post(self) -> None: - """Test case for api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post - - """ - pass - - def test_api_v1_secret_secret_id_secret_versions_get(self) -> None: - """Test case for api_v1_secret_secret_id_secret_versions_get - - """ - pass - - def test_api_v1_secret_sharing_get(self) -> None: - """Test case for api_v1_secret_sharing_get - - """ - pass - - def test_api_v1_secret_sharing_post(self) -> None: - """Test case for api_v1_secret_sharing_post - - """ - pass - - def test_api_v1_secret_sharing_public_id_get(self) -> None: - """Test case for api_v1_secret_sharing_public_id_get - - """ - pass - - def test_api_v1_secret_sharing_public_post(self) -> None: - """Test case for api_v1_secret_sharing_public_post - - """ - pass - - def test_api_v1_secret_sharing_shared_secret_id_delete(self) -> None: - """Test case for api_v1_secret_sharing_shared_secret_id_delete - - """ - pass - - def test_api_v1_secret_snapshot_secret_snapshot_id_get(self) -> None: - """Test case for api_v1_secret_snapshot_secret_snapshot_id_get - - """ - pass - - def test_api_v1_secret_snapshot_secret_snapshot_id_rollback_post(self) -> None: - """Test case for api_v1_secret_snapshot_secret_snapshot_id_rollback_post - - """ - pass - - def test_api_v1_sso_config_get(self) -> None: - """Test case for api_v1_sso_config_get - - """ - pass - - def test_api_v1_sso_config_patch(self) -> None: - """Test case for api_v1_sso_config_patch - - """ - pass - - def test_api_v1_sso_config_post(self) -> None: - """Test case for api_v1_sso_config_post - - """ - pass - - def test_api_v1_sso_github_get(self) -> None: - """Test case for api_v1_sso_github_get - - """ - pass - - def test_api_v1_sso_gitlab_get(self) -> None: - """Test case for api_v1_sso_gitlab_get - - """ - pass - - def test_api_v1_sso_google_get(self) -> None: - """Test case for api_v1_sso_google_get - - """ - pass - - def test_api_v1_sso_oidc_callback_get(self) -> None: - """Test case for api_v1_sso_oidc_callback_get - - """ - pass - - def test_api_v1_sso_oidc_config_get(self) -> None: - """Test case for api_v1_sso_oidc_config_get - - """ - pass - - def test_api_v1_sso_oidc_config_patch(self) -> None: - """Test case for api_v1_sso_oidc_config_patch - - """ - pass - - def test_api_v1_sso_oidc_config_post(self) -> None: - """Test case for api_v1_sso_oidc_config_post - - """ - pass - - def test_api_v1_sso_oidc_login_error_get(self) -> None: - """Test case for api_v1_sso_oidc_login_error_get - - """ - pass - - def test_api_v1_sso_oidc_login_get(self) -> None: - """Test case for api_v1_sso_oidc_login_get - - """ - pass - - def test_api_v1_sso_redirect_github_get(self) -> None: - """Test case for api_v1_sso_redirect_github_get - - """ - pass - - def test_api_v1_sso_redirect_gitlab_get(self) -> None: - """Test case for api_v1_sso_redirect_gitlab_get - - """ - pass - - def test_api_v1_sso_redirect_google_get(self) -> None: - """Test case for api_v1_sso_redirect_google_get - - """ - pass - - def test_api_v1_sso_redirect_saml2_organizations_org_slug_get(self) -> None: - """Test case for api_v1_sso_redirect_saml2_organizations_org_slug_get - - """ - pass - - def test_api_v1_sso_redirect_saml2_saml_config_id_get(self) -> None: - """Test case for api_v1_sso_redirect_saml2_saml_config_id_get - - """ - pass - - def test_api_v1_sso_saml2_saml_config_id_post(self) -> None: - """Test case for api_v1_sso_saml2_saml_config_id_post - - """ - pass - - def test_api_v1_sso_token_exchange_post(self) -> None: - """Test case for api_v1_sso_token_exchange_post - - """ - pass - - def test_api_v1_user_action_get(self) -> None: - """Test case for api_v1_user_action_get - - """ - pass - - def test_api_v1_user_action_post(self) -> None: - """Test case for api_v1_user_action_post - - """ - pass - - def test_api_v1_user_engagement_me_wish_post(self) -> None: - """Test case for api_v1_user_engagement_me_wish_post - - """ - pass - - def test_api_v1_user_get(self) -> None: - """Test case for api_v1_user_get - - """ - pass - - def test_api_v1_user_me_project_favorites_get(self) -> None: - """Test case for api_v1_user_me_project_favorites_get - - """ - pass - - def test_api_v1_user_me_project_favorites_put(self) -> None: - """Test case for api_v1_user_me_project_favorites_put - - """ - pass - - def test_api_v1_user_private_key_get(self) -> None: - """Test case for api_v1_user_private_key_get - - """ - pass - - def test_api_v1_user_user_id_unlock_get(self) -> None: - """Test case for api_v1_user_user_id_unlock_get - - """ - pass - - def test_api_v1_webhooks_get(self) -> None: - """Test case for api_v1_webhooks_get - - """ - pass - - def test_api_v1_webhooks_post(self) -> None: - """Test case for api_v1_webhooks_post - - """ - pass - - def test_api_v1_webhooks_webhook_id_delete(self) -> None: - """Test case for api_v1_webhooks_webhook_id_delete - - """ - pass - - def test_api_v1_webhooks_webhook_id_patch(self) -> None: - """Test case for api_v1_webhooks_webhook_id_patch - - """ - pass - - def test_api_v1_webhooks_webhook_id_test_post(self) -> None: - """Test case for api_v1_webhooks_webhook_id_test_post - - """ - pass - - def test_api_v1_workspace_get(self) -> None: - """Test case for api_v1_workspace_get - - """ - pass - - def test_api_v1_workspace_project_id_permissions_get(self) -> None: - """Test case for api_v1_workspace_project_id_permissions_get - - """ - pass - - def test_api_v1_workspace_project_id_tags_get(self) -> None: - """Test case for api_v1_workspace_project_id_tags_get - - """ - pass - - def test_api_v1_workspace_project_id_tags_post(self) -> None: - """Test case for api_v1_workspace_project_id_tags_post - - """ - pass - - def test_api_v1_workspace_project_id_tags_slug_tag_slug_get(self) -> None: - """Test case for api_v1_workspace_project_id_tags_slug_tag_slug_get - - """ - pass - - def test_api_v1_workspace_project_id_tags_tag_id_delete(self) -> None: - """Test case for api_v1_workspace_project_id_tags_tag_id_delete - - """ - pass - - def test_api_v1_workspace_project_id_tags_tag_id_get(self) -> None: - """Test case for api_v1_workspace_project_id_tags_tag_id_get - - """ - pass - - def test_api_v1_workspace_project_id_tags_tag_id_patch(self) -> None: - """Test case for api_v1_workspace_project_id_tags_tag_id_patch - - """ - pass - - def test_api_v1_workspace_project_slug_roles_get(self) -> None: - """Test case for api_v1_workspace_project_slug_roles_get - - """ - pass - - def test_api_v1_workspace_project_slug_roles_post(self) -> None: - """Test case for api_v1_workspace_project_slug_roles_post - - """ - pass - - def test_api_v1_workspace_project_slug_roles_role_id_delete(self) -> None: - """Test case for api_v1_workspace_project_slug_roles_role_id_delete - - """ - pass - - def test_api_v1_workspace_project_slug_roles_role_id_patch(self) -> None: - """Test case for api_v1_workspace_project_slug_roles_role_id_patch - - """ - pass - - def test_api_v1_workspace_project_slug_roles_slug_slug_get(self) -> None: - """Test case for api_v1_workspace_project_slug_roles_slug_slug_get - - """ - pass - - def test_api_v1_workspace_workspace_id_audit_logs_filters_actors_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_audit_logs_filters_actors_get - - """ - pass - - def test_api_v1_workspace_workspace_id_audit_logs_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_audit_logs_get - - """ - pass - - def test_api_v1_workspace_workspace_id_authorizations_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_authorizations_get - - """ - pass - - def test_api_v1_workspace_workspace_id_auto_capitalization_post(self) -> None: - """Test case for api_v1_workspace_workspace_id_auto_capitalization_post - - """ - pass - - def test_api_v1_workspace_workspace_id_delete(self) -> None: - """Test case for api_v1_workspace_workspace_id_delete - - """ - pass - - def test_api_v1_workspace_workspace_id_environments_env_id_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_environments_env_id_get - - """ - pass - - def test_api_v1_workspace_workspace_id_environments_id_delete(self) -> None: - """Test case for api_v1_workspace_workspace_id_environments_id_delete - - """ - pass - - def test_api_v1_workspace_workspace_id_environments_id_patch(self) -> None: - """Test case for api_v1_workspace_workspace_id_environments_id_patch - - """ - pass - - def test_api_v1_workspace_workspace_id_environments_post(self) -> None: - """Test case for api_v1_workspace_workspace_id_environments_post - - """ - pass - - def test_api_v1_workspace_workspace_id_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_get - - """ - pass - - def test_api_v1_workspace_workspace_id_integrations_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_integrations_get - - """ - pass - - def test_api_v1_workspace_workspace_id_key_post(self) -> None: - """Test case for api_v1_workspace_workspace_id_key_post - - """ - pass - - def test_api_v1_workspace_workspace_id_keys_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_keys_get - - """ - pass - - def test_api_v1_workspace_workspace_id_kms_backup_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_kms_backup_get - - """ - pass - - def test_api_v1_workspace_workspace_id_kms_backup_post(self) -> None: - """Test case for api_v1_workspace_workspace_id_kms_backup_post - - """ - pass - - def test_api_v1_workspace_workspace_id_kms_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_kms_get - - """ - pass - - def test_api_v1_workspace_workspace_id_kms_patch(self) -> None: - """Test case for api_v1_workspace_workspace_id_kms_patch - - """ - pass - - def test_api_v1_workspace_workspace_id_leave_delete(self) -> None: - """Test case for api_v1_workspace_workspace_id_leave_delete - - """ - pass - - def test_api_v1_workspace_workspace_id_memberships_details_post(self) -> None: - """Test case for api_v1_workspace_workspace_id_memberships_details_post - - """ - pass - - def test_api_v1_workspace_workspace_id_memberships_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_memberships_get - - """ - pass - - def test_api_v1_workspace_workspace_id_memberships_membership_id_delete(self) -> None: - """Test case for api_v1_workspace_workspace_id_memberships_membership_id_delete - - """ - pass - - def test_api_v1_workspace_workspace_id_memberships_membership_id_patch(self) -> None: - """Test case for api_v1_workspace_workspace_id_memberships_membership_id_patch - - """ - pass - - def test_api_v1_workspace_workspace_id_memberships_post(self) -> None: - """Test case for api_v1_workspace_workspace_id_memberships_post - - """ - pass - - def test_api_v1_workspace_workspace_id_migrate_v3_post(self) -> None: - """Test case for api_v1_workspace_workspace_id_migrate_v3_post - - """ - pass - - def test_api_v1_workspace_workspace_id_name_post(self) -> None: - """Test case for api_v1_workspace_workspace_id_name_post - - """ - pass - - def test_api_v1_workspace_workspace_id_patch(self) -> None: - """Test case for api_v1_workspace_workspace_id_patch - - """ - pass - - def test_api_v1_workspace_workspace_id_secret_snapshots_count_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_secret_snapshots_count_get - - """ - pass - - def test_api_v1_workspace_workspace_id_secret_snapshots_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_secret_snapshots_get - - """ - pass - - def test_api_v1_workspace_workspace_id_service_token_data_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_service_token_data_get - - """ - pass - - def test_api_v1_workspace_workspace_id_trusted_ips_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_trusted_ips_get - - """ - pass - - def test_api_v1_workspace_workspace_id_trusted_ips_post(self) -> None: - """Test case for api_v1_workspace_workspace_id_trusted_ips_post - - """ - pass - - def test_api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete(self) -> None: - """Test case for api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_delete - - """ - pass - - def test_api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch(self) -> None: - """Test case for api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch - - """ - pass - - def test_api_v1_workspace_workspace_id_users_get(self) -> None: - """Test case for api_v1_workspace_workspace_id_users_get - - """ - pass - - def test_api_v1_workspace_workspace_slug_audit_logs_retention_put(self) -> None: - """Test case for api_v1_workspace_workspace_slug_audit_logs_retention_put - - """ - pass - - def test_api_v1_workspace_workspace_slug_version_limit_put(self) -> None: - """Test case for api_v1_workspace_workspace_slug_version_limit_put - - """ - pass - - def test_api_v2_auth_mfa_send_post(self) -> None: - """Test case for api_v2_auth_mfa_send_post - - """ - pass - - def test_api_v2_auth_mfa_verify_post(self) -> None: - """Test case for api_v2_auth_mfa_verify_post - - """ - pass - - def test_api_v2_organizations_org_id_identity_memberships_get(self) -> None: - """Test case for api_v2_organizations_org_id_identity_memberships_get - - """ - pass - - def test_api_v2_organizations_organization_id_delete(self) -> None: - """Test case for api_v2_organizations_organization_id_delete - - """ - pass - - def test_api_v2_organizations_organization_id_memberships_get(self) -> None: - """Test case for api_v2_organizations_organization_id_memberships_get - - """ - pass - - def test_api_v2_organizations_organization_id_memberships_membership_id_delete(self) -> None: - """Test case for api_v2_organizations_organization_id_memberships_membership_id_delete - - """ - pass - - def test_api_v2_organizations_organization_id_memberships_membership_id_get(self) -> None: - """Test case for api_v2_organizations_organization_id_memberships_membership_id_get - - """ - pass - - def test_api_v2_organizations_organization_id_memberships_membership_id_patch(self) -> None: - """Test case for api_v2_organizations_organization_id_memberships_membership_id_patch - - """ - pass - - def test_api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get(self) -> None: - """Test case for api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get - - """ - pass - - def test_api_v2_organizations_organization_id_workspaces_get(self) -> None: - """Test case for api_v2_organizations_organization_id_workspaces_get - - """ - pass - - def test_api_v2_organizations_post(self) -> None: - """Test case for api_v2_organizations_post - - """ - pass - - def test_api_v2_service_token_get(self) -> None: - """Test case for api_v2_service_token_get - - """ - pass - - def test_api_v2_service_token_post(self) -> None: - """Test case for api_v2_service_token_post - - """ - pass - - def test_api_v2_service_token_service_token_id_delete(self) -> None: - """Test case for api_v2_service_token_service_token_id_delete - - """ - pass - - def test_api_v2_users_me_api_keys_api_key_data_id_delete(self) -> None: - """Test case for api_v2_users_me_api_keys_api_key_data_id_delete - - """ - pass - - def test_api_v2_users_me_api_keys_get(self) -> None: - """Test case for api_v2_users_me_api_keys_get - - """ - pass - - def test_api_v2_users_me_api_keys_post(self) -> None: - """Test case for api_v2_users_me_api_keys_post - - """ - pass - - def test_api_v2_users_me_auth_methods_put(self) -> None: - """Test case for api_v2_users_me_auth_methods_put - - """ - pass - - def test_api_v2_users_me_delete(self) -> None: - """Test case for api_v2_users_me_delete - - """ - pass - - def test_api_v2_users_me_emails_code_post(self) -> None: - """Test case for api_v2_users_me_emails_code_post - - """ - pass - - def test_api_v2_users_me_emails_verify_post(self) -> None: - """Test case for api_v2_users_me_emails_verify_post - - """ - pass - - def test_api_v2_users_me_get(self) -> None: - """Test case for api_v2_users_me_get - - """ - pass - - def test_api_v2_users_me_mfa_patch(self) -> None: - """Test case for api_v2_users_me_mfa_patch - - """ - pass - - def test_api_v2_users_me_name_patch(self) -> None: - """Test case for api_v2_users_me_name_patch - - """ - pass - - def test_api_v2_users_me_organizations_get(self) -> None: - """Test case for api_v2_users_me_organizations_get - - """ - pass - - def test_api_v2_users_me_sessions_delete(self) -> None: - """Test case for api_v2_users_me_sessions_delete - - """ - pass - - def test_api_v2_users_me_sessions_get(self) -> None: - """Test case for api_v2_users_me_sessions_get - - """ - pass - - def test_api_v2_workspace_post(self) -> None: - """Test case for api_v2_workspace_post - - """ - pass - - def test_api_v2_workspace_project_id_identity_memberships_get(self) -> None: - """Test case for api_v2_workspace_project_id_identity_memberships_get - - """ - pass - - def test_api_v2_workspace_project_id_identity_memberships_identity_id_delete(self) -> None: - """Test case for api_v2_workspace_project_id_identity_memberships_identity_id_delete - - """ - pass - - def test_api_v2_workspace_project_id_identity_memberships_identity_id_get(self) -> None: - """Test case for api_v2_workspace_project_id_identity_memberships_identity_id_get - - """ - pass - - def test_api_v2_workspace_project_id_identity_memberships_identity_id_patch(self) -> None: - """Test case for api_v2_workspace_project_id_identity_memberships_identity_id_patch - - """ - pass - - def test_api_v2_workspace_project_id_identity_memberships_identity_id_post(self) -> None: - """Test case for api_v2_workspace_project_id_identity_memberships_identity_id_post - - """ - pass - - def test_api_v2_workspace_project_id_memberships_delete(self) -> None: - """Test case for api_v2_workspace_project_id_memberships_delete - - """ - pass - - def test_api_v2_workspace_project_id_memberships_post(self) -> None: - """Test case for api_v2_workspace_project_id_memberships_post - - """ - pass - - def test_api_v2_workspace_project_id_upgrade_post(self) -> None: - """Test case for api_v2_workspace_project_id_upgrade_post - - """ - pass - - def test_api_v2_workspace_project_id_upgrade_status_get(self) -> None: - """Test case for api_v2_workspace_project_id_upgrade_status_get - - """ - pass - - def test_api_v2_workspace_project_slug_groups_get(self) -> None: - """Test case for api_v2_workspace_project_slug_groups_get - - """ - pass - - def test_api_v2_workspace_project_slug_groups_group_slug_delete(self) -> None: - """Test case for api_v2_workspace_project_slug_groups_group_slug_delete - - """ - pass - - def test_api_v2_workspace_project_slug_groups_group_slug_patch(self) -> None: - """Test case for api_v2_workspace_project_slug_groups_group_slug_patch - - """ - pass - - def test_api_v2_workspace_project_slug_groups_group_slug_post(self) -> None: - """Test case for api_v2_workspace_project_slug_groups_group_slug_post - - """ - pass - - def test_api_v2_workspace_slug_cas_get(self) -> None: - """Test case for api_v2_workspace_slug_cas_get - - """ - pass - - def test_api_v2_workspace_slug_certificates_get(self) -> None: - """Test case for api_v2_workspace_slug_certificates_get - - """ - pass - - def test_api_v2_workspace_slug_delete(self) -> None: - """Test case for api_v2_workspace_slug_delete - - """ - pass - - def test_api_v2_workspace_slug_get(self) -> None: - """Test case for api_v2_workspace_slug_get - - """ - pass - - def test_api_v2_workspace_slug_patch(self) -> None: - """Test case for api_v2_workspace_slug_patch - - """ - pass - - def test_api_v2_workspace_workspace_id_encrypted_key_get(self) -> None: - """Test case for api_v2_workspace_workspace_id_encrypted_key_get - - """ - pass - - def test_api_v3_auth_login1_post(self) -> None: - """Test case for api_v3_auth_login1_post - - """ - pass - - def test_api_v3_auth_login2_post(self) -> None: - """Test case for api_v3_auth_login2_post - - """ - pass - - def test_api_v3_auth_select_organization_post(self) -> None: - """Test case for api_v3_auth_select_organization_post - - """ - pass - - def test_api_v3_secrets_backfill_secret_references_post(self) -> None: - """Test case for api_v3_secrets_backfill_secret_references_post - - """ - pass - - def test_api_v3_secrets_batch_delete(self) -> None: - """Test case for api_v3_secrets_batch_delete - - """ - pass - - def test_api_v3_secrets_batch_patch(self) -> None: - """Test case for api_v3_secrets_batch_patch - - """ - pass - - def test_api_v3_secrets_batch_post(self) -> None: - """Test case for api_v3_secrets_batch_post - - """ - pass - - def test_api_v3_secrets_batch_raw_delete(self) -> None: - """Test case for api_v3_secrets_batch_raw_delete - - """ - pass - - def test_api_v3_secrets_batch_raw_patch(self) -> None: - """Test case for api_v3_secrets_batch_raw_patch - - """ - pass - - def test_api_v3_secrets_batch_raw_post(self) -> None: - """Test case for api_v3_secrets_batch_raw_post - - """ - pass - - def test_api_v3_secrets_get(self) -> None: - """Test case for api_v3_secrets_get - - """ - pass - - def test_api_v3_secrets_move_post(self) -> None: - """Test case for api_v3_secrets_move_post - - """ - pass - - def test_api_v3_secrets_raw_get(self) -> None: - """Test case for api_v3_secrets_raw_get - - """ - pass - - def test_api_v3_secrets_raw_secret_name_delete(self) -> None: - """Test case for api_v3_secrets_raw_secret_name_delete - - """ - pass - - def test_api_v3_secrets_raw_secret_name_get(self) -> None: - """Test case for api_v3_secrets_raw_secret_name_get - - """ - pass - - def test_api_v3_secrets_raw_secret_name_patch(self) -> None: - """Test case for api_v3_secrets_raw_secret_name_patch - - """ - pass - - def test_api_v3_secrets_raw_secret_name_post(self) -> None: - """Test case for api_v3_secrets_raw_secret_name_post - - """ - pass - - def test_api_v3_secrets_secret_name_delete(self) -> None: - """Test case for api_v3_secrets_secret_name_delete - - """ - pass - - def test_api_v3_secrets_secret_name_get(self) -> None: - """Test case for api_v3_secrets_secret_name_get - - """ - pass - - def test_api_v3_secrets_secret_name_patch(self) -> None: - """Test case for api_v3_secrets_secret_name_patch - - """ - pass - - def test_api_v3_secrets_secret_name_post(self) -> None: - """Test case for api_v3_secrets_secret_name_post - - """ - pass - - def test_api_v3_secrets_tags_secret_name_delete(self) -> None: - """Test case for api_v3_secrets_tags_secret_name_delete - - """ - pass - - def test_api_v3_secrets_tags_secret_name_post(self) -> None: - """Test case for api_v3_secrets_tags_secret_name_post - - """ - pass - - def test_api_v3_signup_complete_account_invite_post(self) -> None: - """Test case for api_v3_signup_complete_account_invite_post - - """ - pass - - def test_api_v3_signup_complete_account_signup_post(self) -> None: - """Test case for api_v3_signup_complete_account_signup_post - - """ - pass - - def test_api_v3_signup_email_signup_post(self) -> None: - """Test case for api_v3_signup_email_signup_post - - """ - pass - - def test_api_v3_signup_email_verify_post(self) -> None: - """Test case for api_v3_signup_email_verify_post - - """ - pass - - def test_api_v3_users_me_api_keys_get(self) -> None: - """Test case for api_v3_users_me_api_keys_get - - """ - pass - - def test_api_v3_workspaces_project_id_secrets_blind_index_status_get(self) -> None: - """Test case for api_v3_workspaces_project_id_secrets_blind_index_status_get - - """ - pass - - def test_api_v3_workspaces_project_id_secrets_get(self) -> None: - """Test case for api_v3_workspaces_project_id_secrets_get - - """ - pass - - def test_api_v3_workspaces_project_id_secrets_names_post(self) -> None: - """Test case for api_v3_workspaces_project_id_secrets_names_post - - """ - pass - - -if __name__ == '__main__': - unittest.main()